ch-admin-api-client-typescript 5.36.28 → 5.36.31
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/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/models/form-template-item-model.d.ts +6 -6
- package/lib/models/form-template-item-model.d.ts.map +1 -1
- package/lib/models/form-template-model.d.ts +6 -6
- package/lib/models/form-template-model.d.ts.map +1 -1
- package/lib/models/save-form-template-command.d.ts +6 -6
- package/lib/models/save-form-template-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/form-templates-api.ts +20 -6
- package/src/api/survey-forms-api.ts +20 -6
- package/src/models/form-template-item-model.ts +6 -6
- package/src/models/form-template-model.ts +6 -6
- package/src/models/save-form-template-command.ts +6 -6
|
@@ -88,6 +88,7 @@ export declare const FormTemplatesApiAxiosParamCreator: (configuration?: Configu
|
|
|
88
88
|
* @param {FormTemplatePlatform} [platform]
|
|
89
89
|
* @param {FormTemplateType} [formTemplateType]
|
|
90
90
|
* @param {FormTemplateStatus} [status]
|
|
91
|
+
* @param {boolean} [isShared]
|
|
91
92
|
* @param {boolean} [showHidden]
|
|
92
93
|
* @param {number} [page]
|
|
93
94
|
* @param {number} [limit]
|
|
@@ -95,7 +96,7 @@ export declare const FormTemplatesApiAxiosParamCreator: (configuration?: Configu
|
|
|
95
96
|
* @param {*} [options] Override http request option.
|
|
96
97
|
* @throws {RequiredError}
|
|
97
98
|
*/
|
|
98
|
-
apiV1FormtemplatesGet: (languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
99
|
+
apiV1FormtemplatesGet: (languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, isShared?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
99
100
|
/**
|
|
100
101
|
*
|
|
101
102
|
* @summary Create formTemplate
|
|
@@ -174,6 +175,7 @@ export declare const FormTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
174
175
|
* @param {FormTemplatePlatform} [platform]
|
|
175
176
|
* @param {FormTemplateType} [formTemplateType]
|
|
176
177
|
* @param {FormTemplateStatus} [status]
|
|
178
|
+
* @param {boolean} [isShared]
|
|
177
179
|
* @param {boolean} [showHidden]
|
|
178
180
|
* @param {number} [page]
|
|
179
181
|
* @param {number} [limit]
|
|
@@ -181,7 +183,7 @@ export declare const FormTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
181
183
|
* @param {*} [options] Override http request option.
|
|
182
184
|
* @throws {RequiredError}
|
|
183
185
|
*/
|
|
184
|
-
apiV1FormtemplatesGet(languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FormTemplatesModel>>;
|
|
186
|
+
apiV1FormtemplatesGet(languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, isShared?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FormTemplatesModel>>;
|
|
185
187
|
/**
|
|
186
188
|
*
|
|
187
189
|
* @summary Create formTemplate
|
|
@@ -260,6 +262,7 @@ export declare const FormTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
260
262
|
* @param {FormTemplatePlatform} [platform]
|
|
261
263
|
* @param {FormTemplateType} [formTemplateType]
|
|
262
264
|
* @param {FormTemplateStatus} [status]
|
|
265
|
+
* @param {boolean} [isShared]
|
|
263
266
|
* @param {boolean} [showHidden]
|
|
264
267
|
* @param {number} [page]
|
|
265
268
|
* @param {number} [limit]
|
|
@@ -267,7 +270,7 @@ export declare const FormTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
267
270
|
* @param {*} [options] Override http request option.
|
|
268
271
|
* @throws {RequiredError}
|
|
269
272
|
*/
|
|
270
|
-
apiV1FormtemplatesGet(languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FormTemplatesModel>;
|
|
273
|
+
apiV1FormtemplatesGet(languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, isShared?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FormTemplatesModel>;
|
|
271
274
|
/**
|
|
272
275
|
*
|
|
273
276
|
* @summary Create formTemplate
|
|
@@ -439,6 +442,12 @@ export interface FormTemplatesApiApiV1FormtemplatesGetRequest {
|
|
|
439
442
|
* @memberof FormTemplatesApiApiV1FormtemplatesGet
|
|
440
443
|
*/
|
|
441
444
|
readonly status?: FormTemplateStatus;
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
* @type {boolean}
|
|
448
|
+
* @memberof FormTemplatesApiApiV1FormtemplatesGet
|
|
449
|
+
*/
|
|
450
|
+
readonly isShared?: boolean;
|
|
442
451
|
/**
|
|
443
452
|
*
|
|
444
453
|
* @type {boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-templates-api.d.ts","sourceRoot":"","sources":["../../src/api/form-templates-api.ts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AC,EAAE,kBAAkB;IAI1K;;;;;;;OAOG;IACI,qBAAqB,CAAC,iBAAiB,GAAE,4CAAiD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI/H;;;;;;;OAOG;IACI,sBAAsB,CAAC,iBAAiB,GAAE,6CAAkD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGpI"}
|
|
@@ -385,6 +385,7 @@ var FormTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
385
385
|
* @param {FormTemplatePlatform} [platform]
|
|
386
386
|
* @param {FormTemplateType} [formTemplateType]
|
|
387
387
|
* @param {FormTemplateStatus} [status]
|
|
388
|
+
* @param {boolean} [isShared]
|
|
388
389
|
* @param {boolean} [showHidden]
|
|
389
390
|
* @param {number} [page]
|
|
390
391
|
* @param {number} [limit]
|
|
@@ -392,7 +393,7 @@ var FormTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
392
393
|
* @param {*} [options] Override http request option.
|
|
393
394
|
* @throws {RequiredError}
|
|
394
395
|
*/
|
|
395
|
-
apiV1FormtemplatesGet: function (languageCode, name, hospitalId, platform, formTemplateType, status, showHidden, page, limit, lastRetrieved, options) {
|
|
396
|
+
apiV1FormtemplatesGet: function (languageCode, name, hospitalId, platform, formTemplateType, status, isShared, showHidden, page, limit, lastRetrieved, options) {
|
|
396
397
|
if (options === void 0) { options = {}; }
|
|
397
398
|
return __awaiter(_this, void 0, void 0, function () {
|
|
398
399
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -432,6 +433,9 @@ var FormTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
432
433
|
if (status !== undefined) {
|
|
433
434
|
localVarQueryParameter['Status'] = status;
|
|
434
435
|
}
|
|
436
|
+
if (isShared !== undefined) {
|
|
437
|
+
localVarQueryParameter['IsShared'] = isShared;
|
|
438
|
+
}
|
|
435
439
|
if (showHidden !== undefined) {
|
|
436
440
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
437
441
|
}
|
|
@@ -645,6 +649,7 @@ var FormTemplatesApiFp = function (configuration) {
|
|
|
645
649
|
* @param {FormTemplatePlatform} [platform]
|
|
646
650
|
* @param {FormTemplateType} [formTemplateType]
|
|
647
651
|
* @param {FormTemplateStatus} [status]
|
|
652
|
+
* @param {boolean} [isShared]
|
|
648
653
|
* @param {boolean} [showHidden]
|
|
649
654
|
* @param {number} [page]
|
|
650
655
|
* @param {number} [limit]
|
|
@@ -652,12 +657,12 @@ var FormTemplatesApiFp = function (configuration) {
|
|
|
652
657
|
* @param {*} [options] Override http request option.
|
|
653
658
|
* @throws {RequiredError}
|
|
654
659
|
*/
|
|
655
|
-
apiV1FormtemplatesGet: function (languageCode, name, hospitalId, platform, formTemplateType, status, showHidden, page, limit, lastRetrieved, options) {
|
|
660
|
+
apiV1FormtemplatesGet: function (languageCode, name, hospitalId, platform, formTemplateType, status, isShared, showHidden, page, limit, lastRetrieved, options) {
|
|
656
661
|
return __awaiter(this, void 0, void 0, function () {
|
|
657
662
|
var localVarAxiosArgs;
|
|
658
663
|
return __generator(this, function (_a) {
|
|
659
664
|
switch (_a.label) {
|
|
660
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FormtemplatesGet(languageCode, name, hospitalId, platform, formTemplateType, status, showHidden, page, limit, lastRetrieved, options)];
|
|
665
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FormtemplatesGet(languageCode, name, hospitalId, platform, formTemplateType, status, isShared, showHidden, page, limit, lastRetrieved, options)];
|
|
661
666
|
case 1:
|
|
662
667
|
localVarAxiosArgs = _a.sent();
|
|
663
668
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -771,6 +776,7 @@ var FormTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
771
776
|
* @param {FormTemplatePlatform} [platform]
|
|
772
777
|
* @param {FormTemplateType} [formTemplateType]
|
|
773
778
|
* @param {FormTemplateStatus} [status]
|
|
779
|
+
* @param {boolean} [isShared]
|
|
774
780
|
* @param {boolean} [showHidden]
|
|
775
781
|
* @param {number} [page]
|
|
776
782
|
* @param {number} [limit]
|
|
@@ -778,8 +784,8 @@ var FormTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
778
784
|
* @param {*} [options] Override http request option.
|
|
779
785
|
* @throws {RequiredError}
|
|
780
786
|
*/
|
|
781
|
-
apiV1FormtemplatesGet: function (languageCode, name, hospitalId, platform, formTemplateType, status, showHidden, page, limit, lastRetrieved, options) {
|
|
782
|
-
return localVarFp.apiV1FormtemplatesGet(languageCode, name, hospitalId, platform, formTemplateType, status, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
787
|
+
apiV1FormtemplatesGet: function (languageCode, name, hospitalId, platform, formTemplateType, status, isShared, showHidden, page, limit, lastRetrieved, options) {
|
|
788
|
+
return localVarFp.apiV1FormtemplatesGet(languageCode, name, hospitalId, platform, formTemplateType, status, isShared, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
783
789
|
},
|
|
784
790
|
/**
|
|
785
791
|
*
|
|
@@ -888,7 +894,7 @@ var FormTemplatesApi = /** @class */ (function (_super) {
|
|
|
888
894
|
FormTemplatesApi.prototype.apiV1FormtemplatesGet = function (requestParameters, options) {
|
|
889
895
|
var _this = this;
|
|
890
896
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
891
|
-
return (0, exports.FormTemplatesApiFp)(this.configuration).apiV1FormtemplatesGet(requestParameters.languageCode, requestParameters.name, requestParameters.hospitalId, requestParameters.platform, requestParameters.formTemplateType, requestParameters.status, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
897
|
+
return (0, exports.FormTemplatesApiFp)(this.configuration).apiV1FormtemplatesGet(requestParameters.languageCode, requestParameters.name, requestParameters.hospitalId, requestParameters.platform, requestParameters.formTemplateType, requestParameters.status, requestParameters.isShared, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
892
898
|
};
|
|
893
899
|
/**
|
|
894
900
|
*
|
|
@@ -31,6 +31,7 @@ export declare const SurveyFormsApiAxiosParamCreator: (configuration?: Configura
|
|
|
31
31
|
* @param {string} [name]
|
|
32
32
|
* @param {string} [languageCode]
|
|
33
33
|
* @param {boolean} [showHidden]
|
|
34
|
+
* @param {boolean} [isShared]
|
|
34
35
|
* @param {SurveyFormStatus} [status]
|
|
35
36
|
* @param {number} [page]
|
|
36
37
|
* @param {number} [limit]
|
|
@@ -38,7 +39,7 @@ export declare const SurveyFormsApiAxiosParamCreator: (configuration?: Configura
|
|
|
38
39
|
* @param {*} [options] Override http request option.
|
|
39
40
|
* @throws {RequiredError}
|
|
40
41
|
*/
|
|
41
|
-
apiV1SurveyformsGet: (id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
apiV1SurveyformsGet: (id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, isShared?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
43
|
/**
|
|
43
44
|
*
|
|
44
45
|
* @summary Create survey form
|
|
@@ -117,6 +118,7 @@ export declare const SurveyFormsApiFp: (configuration?: Configuration) => {
|
|
|
117
118
|
* @param {string} [name]
|
|
118
119
|
* @param {string} [languageCode]
|
|
119
120
|
* @param {boolean} [showHidden]
|
|
121
|
+
* @param {boolean} [isShared]
|
|
120
122
|
* @param {SurveyFormStatus} [status]
|
|
121
123
|
* @param {number} [page]
|
|
122
124
|
* @param {number} [limit]
|
|
@@ -124,7 +126,7 @@ export declare const SurveyFormsApiFp: (configuration?: Configuration) => {
|
|
|
124
126
|
* @param {*} [options] Override http request option.
|
|
125
127
|
* @throws {RequiredError}
|
|
126
128
|
*/
|
|
127
|
-
apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormsModel>>;
|
|
129
|
+
apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, isShared?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormsModel>>;
|
|
128
130
|
/**
|
|
129
131
|
*
|
|
130
132
|
* @summary Create survey form
|
|
@@ -203,6 +205,7 @@ export declare const SurveyFormsApiFactory: (configuration?: Configuration, base
|
|
|
203
205
|
* @param {string} [name]
|
|
204
206
|
* @param {string} [languageCode]
|
|
205
207
|
* @param {boolean} [showHidden]
|
|
208
|
+
* @param {boolean} [isShared]
|
|
206
209
|
* @param {SurveyFormStatus} [status]
|
|
207
210
|
* @param {number} [page]
|
|
208
211
|
* @param {number} [limit]
|
|
@@ -210,7 +213,7 @@ export declare const SurveyFormsApiFactory: (configuration?: Configuration, base
|
|
|
210
213
|
* @param {*} [options] Override http request option.
|
|
211
214
|
* @throws {RequiredError}
|
|
212
215
|
*/
|
|
213
|
-
apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyFormsModel>;
|
|
216
|
+
apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, isShared?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyFormsModel>;
|
|
214
217
|
/**
|
|
215
218
|
*
|
|
216
219
|
* @summary Create survey form
|
|
@@ -312,6 +315,12 @@ export interface SurveyFormsApiApiV1SurveyformsGetRequest {
|
|
|
312
315
|
* @memberof SurveyFormsApiApiV1SurveyformsGet
|
|
313
316
|
*/
|
|
314
317
|
readonly showHidden?: boolean;
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @type {boolean}
|
|
321
|
+
* @memberof SurveyFormsApiApiV1SurveyformsGet
|
|
322
|
+
*/
|
|
323
|
+
readonly isShared?: boolean;
|
|
315
324
|
/**
|
|
316
325
|
*
|
|
317
326
|
* @type {SurveyFormStatus}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"survey-forms-api.d.ts","sourceRoot":"","sources":["../../src/api/survey-forms-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAIpD,OAAO,EAAE,gCAAgC,EAAE,MAAM,WAAW,CAAC;AAE7D,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AACpD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,mBAA6B,aAAa;IAE9E
|
|
1
|
+
{"version":3,"file":"survey-forms-api.d.ts","sourceRoot":"","sources":["../../src/api/survey-forms-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAo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AE,kBAAkB;CAGnK"}
|
|
@@ -100,6 +100,7 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {string} [name]
|
|
101
101
|
* @param {string} [languageCode]
|
|
102
102
|
* @param {boolean} [showHidden]
|
|
103
|
+
* @param {boolean} [isShared]
|
|
103
104
|
* @param {SurveyFormStatus} [status]
|
|
104
105
|
* @param {number} [page]
|
|
105
106
|
* @param {number} [limit]
|
|
@@ -107,7 +108,7 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
107
108
|
* @param {*} [options] Override http request option.
|
|
108
109
|
* @throws {RequiredError}
|
|
109
110
|
*/
|
|
110
|
-
apiV1SurveyformsGet: function (id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options) {
|
|
111
|
+
apiV1SurveyformsGet: function (id, hospitalId, name, languageCode, showHidden, isShared, status, page, limit, lastRetrieved, options) {
|
|
111
112
|
if (options === void 0) { options = {}; }
|
|
112
113
|
return __awaiter(_this, void 0, void 0, function () {
|
|
113
114
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -144,6 +145,9 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
144
145
|
if (showHidden !== undefined) {
|
|
145
146
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
146
147
|
}
|
|
148
|
+
if (isShared !== undefined) {
|
|
149
|
+
localVarQueryParameter['IsShared'] = isShared;
|
|
150
|
+
}
|
|
147
151
|
if (status !== undefined) {
|
|
148
152
|
localVarQueryParameter['Status'] = status;
|
|
149
153
|
}
|
|
@@ -517,6 +521,7 @@ var SurveyFormsApiFp = function (configuration) {
|
|
|
517
521
|
* @param {string} [name]
|
|
518
522
|
* @param {string} [languageCode]
|
|
519
523
|
* @param {boolean} [showHidden]
|
|
524
|
+
* @param {boolean} [isShared]
|
|
520
525
|
* @param {SurveyFormStatus} [status]
|
|
521
526
|
* @param {number} [page]
|
|
522
527
|
* @param {number} [limit]
|
|
@@ -524,12 +529,12 @@ var SurveyFormsApiFp = function (configuration) {
|
|
|
524
529
|
* @param {*} [options] Override http request option.
|
|
525
530
|
* @throws {RequiredError}
|
|
526
531
|
*/
|
|
527
|
-
apiV1SurveyformsGet: function (id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options) {
|
|
532
|
+
apiV1SurveyformsGet: function (id, hospitalId, name, languageCode, showHidden, isShared, status, page, limit, lastRetrieved, options) {
|
|
528
533
|
return __awaiter(this, void 0, void 0, function () {
|
|
529
534
|
var localVarAxiosArgs;
|
|
530
535
|
return __generator(this, function (_a) {
|
|
531
536
|
switch (_a.label) {
|
|
532
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options)];
|
|
537
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, isShared, status, page, limit, lastRetrieved, options)];
|
|
533
538
|
case 1:
|
|
534
539
|
localVarAxiosArgs = _a.sent();
|
|
535
540
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -703,6 +708,7 @@ var SurveyFormsApiFactory = function (configuration, basePath, axios) {
|
|
|
703
708
|
* @param {string} [name]
|
|
704
709
|
* @param {string} [languageCode]
|
|
705
710
|
* @param {boolean} [showHidden]
|
|
711
|
+
* @param {boolean} [isShared]
|
|
706
712
|
* @param {SurveyFormStatus} [status]
|
|
707
713
|
* @param {number} [page]
|
|
708
714
|
* @param {number} [limit]
|
|
@@ -710,8 +716,8 @@ var SurveyFormsApiFactory = function (configuration, basePath, axios) {
|
|
|
710
716
|
* @param {*} [options] Override http request option.
|
|
711
717
|
* @throws {RequiredError}
|
|
712
718
|
*/
|
|
713
|
-
apiV1SurveyformsGet: function (id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options) {
|
|
714
|
-
return localVarFp.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
719
|
+
apiV1SurveyformsGet: function (id, hospitalId, name, languageCode, showHidden, isShared, status, page, limit, lastRetrieved, options) {
|
|
720
|
+
return localVarFp.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, isShared, status, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
715
721
|
},
|
|
716
722
|
/**
|
|
717
723
|
*
|
|
@@ -816,7 +822,7 @@ var SurveyFormsApi = /** @class */ (function (_super) {
|
|
|
816
822
|
SurveyFormsApi.prototype.apiV1SurveyformsGet = function (requestParameters, options) {
|
|
817
823
|
var _this = this;
|
|
818
824
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
819
|
-
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV1SurveyformsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.name, requestParameters.languageCode, requestParameters.showHidden, requestParameters.status, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
825
|
+
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV1SurveyformsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.name, requestParameters.languageCode, requestParameters.showHidden, requestParameters.isShared, requestParameters.status, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
820
826
|
};
|
|
821
827
|
/**
|
|
822
828
|
*
|
|
@@ -38,12 +38,6 @@ export interface FormTemplateItemModel {
|
|
|
38
38
|
* @memberof FormTemplateItemModel
|
|
39
39
|
*/
|
|
40
40
|
'status'?: FormTemplateStatus;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof FormTemplateItemModel
|
|
45
|
-
*/
|
|
46
|
-
'hospitalId'?: string | null;
|
|
47
41
|
/**
|
|
48
42
|
*
|
|
49
43
|
* @type {string}
|
|
@@ -74,6 +68,12 @@ export interface FormTemplateItemModel {
|
|
|
74
68
|
* @memberof FormTemplateItemModel
|
|
75
69
|
*/
|
|
76
70
|
'formTemplateAffiliations'?: Array<FormTemplateAffiliationModel> | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof FormTemplateItemModel
|
|
75
|
+
*/
|
|
76
|
+
'hospitalId'?: string | null;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-template-item-model.d.ts","sourceRoot":"","sources":["../../src/models/form-template-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAGjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IACtC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"form-template-item-model.d.ts","sourceRoot":"","sources":["../../src/models/form-template-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,4BAA4B,E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|
45
|
-
* @memberof FormTemplateModel
|
|
46
|
-
*/
|
|
47
|
-
'hospitalId'?: string | null;
|
|
48
42
|
/**
|
|
49
43
|
*
|
|
50
44
|
* @type {string}
|
|
@@ -75,6 +69,12 @@ export interface FormTemplateModel {
|
|
|
75
69
|
* @memberof FormTemplateModel
|
|
76
70
|
*/
|
|
77
71
|
'formTemplateAffiliations'?: Array<FormTemplateAffiliationModel> | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof FormTemplateModel
|
|
76
|
+
*/
|
|
77
|
+
'hospitalId'?: string | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-template-model.d.ts","sourceRoot":"","sources":["../../src/models/form-template-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAGjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IACtC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"form-template-model.d.ts","sourceRoot":"","sources":["../../src/models/form-template-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;G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KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC5C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
|
|
@@ -36,12 +36,6 @@ export interface SaveFormTemplateCommand {
|
|
|
36
36
|
* @memberof SaveFormTemplateCommand
|
|
37
37
|
*/
|
|
38
38
|
'status'?: FormTemplateStatus;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof SaveFormTemplateCommand
|
|
43
|
-
*/
|
|
44
|
-
'hospitalId'?: string | null;
|
|
45
39
|
/**
|
|
46
40
|
*
|
|
47
41
|
* @type {string}
|
|
@@ -60,6 +54,12 @@ export interface SaveFormTemplateCommand {
|
|
|
60
54
|
* @memberof SaveFormTemplateCommand
|
|
61
55
|
*/
|
|
62
56
|
'isConfirmed'?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof SaveFormTemplateCommand
|
|
61
|
+
*/
|
|
62
|
+
'hospitalId'?: string;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-form-template-command.d.ts","sourceRoot":"","sources":["../../src/models/save-form-template-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IACtC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"save-form-template-command.d.ts","sourceRoot":"","sources":["../../src/models/save-form-template-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IACtC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;CACpD"}
|
package/package.json
CHANGED
|
@@ -310,6 +310,7 @@ export const FormTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
310
310
|
* @param {FormTemplatePlatform} [platform]
|
|
311
311
|
* @param {FormTemplateType} [formTemplateType]
|
|
312
312
|
* @param {FormTemplateStatus} [status]
|
|
313
|
+
* @param {boolean} [isShared]
|
|
313
314
|
* @param {boolean} [showHidden]
|
|
314
315
|
* @param {number} [page]
|
|
315
316
|
* @param {number} [limit]
|
|
@@ -317,7 +318,7 @@ export const FormTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
317
318
|
* @param {*} [options] Override http request option.
|
|
318
319
|
* @throws {RequiredError}
|
|
319
320
|
*/
|
|
320
|
-
apiV1FormtemplatesGet: async (languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
321
|
+
apiV1FormtemplatesGet: async (languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, isShared?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
321
322
|
const localVarPath = `/api/v1/formtemplates`;
|
|
322
323
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
323
324
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -358,6 +359,10 @@ export const FormTemplatesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
358
359
|
localVarQueryParameter['Status'] = status;
|
|
359
360
|
}
|
|
360
361
|
|
|
362
|
+
if (isShared !== undefined) {
|
|
363
|
+
localVarQueryParameter['IsShared'] = isShared;
|
|
364
|
+
}
|
|
365
|
+
|
|
361
366
|
if (showHidden !== undefined) {
|
|
362
367
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
363
368
|
}
|
|
@@ -517,6 +522,7 @@ export const FormTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
517
522
|
* @param {FormTemplatePlatform} [platform]
|
|
518
523
|
* @param {FormTemplateType} [formTemplateType]
|
|
519
524
|
* @param {FormTemplateStatus} [status]
|
|
525
|
+
* @param {boolean} [isShared]
|
|
520
526
|
* @param {boolean} [showHidden]
|
|
521
527
|
* @param {number} [page]
|
|
522
528
|
* @param {number} [limit]
|
|
@@ -524,8 +530,8 @@ export const FormTemplatesApiFp = function(configuration?: Configuration) {
|
|
|
524
530
|
* @param {*} [options] Override http request option.
|
|
525
531
|
* @throws {RequiredError}
|
|
526
532
|
*/
|
|
527
|
-
async apiV1FormtemplatesGet(languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FormTemplatesModel>> {
|
|
528
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FormtemplatesGet(languageCode, name, hospitalId, platform, formTemplateType, status, showHidden, page, limit, lastRetrieved, options);
|
|
533
|
+
async apiV1FormtemplatesGet(languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, isShared?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FormTemplatesModel>> {
|
|
534
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FormtemplatesGet(languageCode, name, hospitalId, platform, formTemplateType, status, isShared, showHidden, page, limit, lastRetrieved, options);
|
|
529
535
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
530
536
|
},
|
|
531
537
|
/**
|
|
@@ -625,6 +631,7 @@ export const FormTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
625
631
|
* @param {FormTemplatePlatform} [platform]
|
|
626
632
|
* @param {FormTemplateType} [formTemplateType]
|
|
627
633
|
* @param {FormTemplateStatus} [status]
|
|
634
|
+
* @param {boolean} [isShared]
|
|
628
635
|
* @param {boolean} [showHidden]
|
|
629
636
|
* @param {number} [page]
|
|
630
637
|
* @param {number} [limit]
|
|
@@ -632,8 +639,8 @@ export const FormTemplatesApiFactory = function (configuration?: Configuration,
|
|
|
632
639
|
* @param {*} [options] Override http request option.
|
|
633
640
|
* @throws {RequiredError}
|
|
634
641
|
*/
|
|
635
|
-
apiV1FormtemplatesGet(languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FormTemplatesModel> {
|
|
636
|
-
return localVarFp.apiV1FormtemplatesGet(languageCode, name, hospitalId, platform, formTemplateType, status, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
642
|
+
apiV1FormtemplatesGet(languageCode?: string, name?: string, hospitalId?: string, platform?: FormTemplatePlatform, formTemplateType?: FormTemplateType, status?: FormTemplateStatus, isShared?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<FormTemplatesModel> {
|
|
643
|
+
return localVarFp.apiV1FormtemplatesGet(languageCode, name, hospitalId, platform, formTemplateType, status, isShared, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
637
644
|
},
|
|
638
645
|
/**
|
|
639
646
|
*
|
|
@@ -829,6 +836,13 @@ export interface FormTemplatesApiApiV1FormtemplatesGetRequest {
|
|
|
829
836
|
*/
|
|
830
837
|
readonly status?: FormTemplateStatus
|
|
831
838
|
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @type {boolean}
|
|
842
|
+
* @memberof FormTemplatesApiApiV1FormtemplatesGet
|
|
843
|
+
*/
|
|
844
|
+
readonly isShared?: boolean
|
|
845
|
+
|
|
832
846
|
/**
|
|
833
847
|
*
|
|
834
848
|
* @type {boolean}
|
|
@@ -960,7 +974,7 @@ export class FormTemplatesApi extends BaseAPI {
|
|
|
960
974
|
* @memberof FormTemplatesApi
|
|
961
975
|
*/
|
|
962
976
|
public apiV1FormtemplatesGet(requestParameters: FormTemplatesApiApiV1FormtemplatesGetRequest = {}, options?: AxiosRequestConfig) {
|
|
963
|
-
return FormTemplatesApiFp(this.configuration).apiV1FormtemplatesGet(requestParameters.languageCode, requestParameters.name, requestParameters.hospitalId, requestParameters.platform, requestParameters.formTemplateType, requestParameters.status, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
977
|
+
return FormTemplatesApiFp(this.configuration).apiV1FormtemplatesGet(requestParameters.languageCode, requestParameters.name, requestParameters.hospitalId, requestParameters.platform, requestParameters.formTemplateType, requestParameters.status, requestParameters.isShared, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
964
978
|
}
|
|
965
979
|
|
|
966
980
|
/**
|
|
@@ -48,6 +48,7 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
48
48
|
* @param {string} [name]
|
|
49
49
|
* @param {string} [languageCode]
|
|
50
50
|
* @param {boolean} [showHidden]
|
|
51
|
+
* @param {boolean} [isShared]
|
|
51
52
|
* @param {SurveyFormStatus} [status]
|
|
52
53
|
* @param {number} [page]
|
|
53
54
|
* @param {number} [limit]
|
|
@@ -55,7 +56,7 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
55
56
|
* @param {*} [options] Override http request option.
|
|
56
57
|
* @throws {RequiredError}
|
|
57
58
|
*/
|
|
58
|
-
apiV1SurveyformsGet: async (id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59
|
+
apiV1SurveyformsGet: async (id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, isShared?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59
60
|
const localVarPath = `/api/v1/surveyforms`;
|
|
60
61
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61
62
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -92,6 +93,10 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
92
93
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
93
94
|
}
|
|
94
95
|
|
|
96
|
+
if (isShared !== undefined) {
|
|
97
|
+
localVarQueryParameter['IsShared'] = isShared;
|
|
98
|
+
}
|
|
99
|
+
|
|
95
100
|
if (status !== undefined) {
|
|
96
101
|
localVarQueryParameter['Status'] = status;
|
|
97
102
|
}
|
|
@@ -441,6 +446,7 @@ export const SurveyFormsApiFp = function(configuration?: Configuration) {
|
|
|
441
446
|
* @param {string} [name]
|
|
442
447
|
* @param {string} [languageCode]
|
|
443
448
|
* @param {boolean} [showHidden]
|
|
449
|
+
* @param {boolean} [isShared]
|
|
444
450
|
* @param {SurveyFormStatus} [status]
|
|
445
451
|
* @param {number} [page]
|
|
446
452
|
* @param {number} [limit]
|
|
@@ -448,8 +454,8 @@ export const SurveyFormsApiFp = function(configuration?: Configuration) {
|
|
|
448
454
|
* @param {*} [options] Override http request option.
|
|
449
455
|
* @throws {RequiredError}
|
|
450
456
|
*/
|
|
451
|
-
async apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormsModel>> {
|
|
452
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options);
|
|
457
|
+
async apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, isShared?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormsModel>> {
|
|
458
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, isShared, status, page, limit, lastRetrieved, options);
|
|
453
459
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
454
460
|
},
|
|
455
461
|
/**
|
|
@@ -555,6 +561,7 @@ export const SurveyFormsApiFactory = function (configuration?: Configuration, ba
|
|
|
555
561
|
* @param {string} [name]
|
|
556
562
|
* @param {string} [languageCode]
|
|
557
563
|
* @param {boolean} [showHidden]
|
|
564
|
+
* @param {boolean} [isShared]
|
|
558
565
|
* @param {SurveyFormStatus} [status]
|
|
559
566
|
* @param {number} [page]
|
|
560
567
|
* @param {number} [limit]
|
|
@@ -562,8 +569,8 @@ export const SurveyFormsApiFactory = function (configuration?: Configuration, ba
|
|
|
562
569
|
* @param {*} [options] Override http request option.
|
|
563
570
|
* @throws {RequiredError}
|
|
564
571
|
*/
|
|
565
|
-
apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyFormsModel> {
|
|
566
|
-
return localVarFp.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
572
|
+
apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, isShared?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyFormsModel> {
|
|
573
|
+
return localVarFp.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, isShared, status, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
567
574
|
},
|
|
568
575
|
/**
|
|
569
576
|
*
|
|
@@ -687,6 +694,13 @@ export interface SurveyFormsApiApiV1SurveyformsGetRequest {
|
|
|
687
694
|
*/
|
|
688
695
|
readonly showHidden?: boolean
|
|
689
696
|
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @type {boolean}
|
|
700
|
+
* @memberof SurveyFormsApiApiV1SurveyformsGet
|
|
701
|
+
*/
|
|
702
|
+
readonly isShared?: boolean
|
|
703
|
+
|
|
690
704
|
/**
|
|
691
705
|
*
|
|
692
706
|
* @type {SurveyFormStatus}
|
|
@@ -886,7 +900,7 @@ export class SurveyFormsApi extends BaseAPI {
|
|
|
886
900
|
* @memberof SurveyFormsApi
|
|
887
901
|
*/
|
|
888
902
|
public apiV1SurveyformsGet(requestParameters: SurveyFormsApiApiV1SurveyformsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
889
|
-
return SurveyFormsApiFp(this.configuration).apiV1SurveyformsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.name, requestParameters.languageCode, requestParameters.showHidden, requestParameters.status, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
903
|
+
return SurveyFormsApiFp(this.configuration).apiV1SurveyformsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.name, requestParameters.languageCode, requestParameters.showHidden, requestParameters.isShared, requestParameters.status, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
890
904
|
}
|
|
891
905
|
|
|
892
906
|
/**
|
|
@@ -53,12 +53,6 @@ export interface FormTemplateItemModel {
|
|
|
53
53
|
* @memberof FormTemplateItemModel
|
|
54
54
|
*/
|
|
55
55
|
'status'?: FormTemplateStatus;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof FormTemplateItemModel
|
|
60
|
-
*/
|
|
61
|
-
'hospitalId'?: string | null;
|
|
62
56
|
/**
|
|
63
57
|
*
|
|
64
58
|
* @type {string}
|
|
@@ -89,6 +83,12 @@ export interface FormTemplateItemModel {
|
|
|
89
83
|
* @memberof FormTemplateItemModel
|
|
90
84
|
*/
|
|
91
85
|
'formTemplateAffiliations'?: Array<FormTemplateAffiliationModel> | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof FormTemplateItemModel
|
|
90
|
+
*/
|
|
91
|
+
'hospitalId'?: string | null;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
94
|
* @type {string}
|
|
@@ -56,12 +56,6 @@ export interface FormTemplateModel {
|
|
|
56
56
|
* @memberof FormTemplateModel
|
|
57
57
|
*/
|
|
58
58
|
'status'?: FormTemplateStatus;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof FormTemplateModel
|
|
63
|
-
*/
|
|
64
|
-
'hospitalId'?: string | null;
|
|
65
59
|
/**
|
|
66
60
|
*
|
|
67
61
|
* @type {string}
|
|
@@ -92,6 +86,12 @@ export interface FormTemplateModel {
|
|
|
92
86
|
* @memberof FormTemplateModel
|
|
93
87
|
*/
|
|
94
88
|
'formTemplateAffiliations'?: Array<FormTemplateAffiliationModel> | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof FormTemplateModel
|
|
93
|
+
*/
|
|
94
|
+
'hospitalId'?: string | null;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @type {string}
|
|
@@ -47,12 +47,6 @@ export interface SaveFormTemplateCommand {
|
|
|
47
47
|
* @memberof SaveFormTemplateCommand
|
|
48
48
|
*/
|
|
49
49
|
'status'?: FormTemplateStatus;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof SaveFormTemplateCommand
|
|
54
|
-
*/
|
|
55
|
-
'hospitalId'?: string | null;
|
|
56
50
|
/**
|
|
57
51
|
*
|
|
58
52
|
* @type {string}
|
|
@@ -71,6 +65,12 @@ export interface SaveFormTemplateCommand {
|
|
|
71
65
|
* @memberof SaveFormTemplateCommand
|
|
72
66
|
*/
|
|
73
67
|
'isConfirmed'?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof SaveFormTemplateCommand
|
|
72
|
+
*/
|
|
73
|
+
'hospitalId'?: string;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @type {string}
|