ch-admin-api-client-typescript 5.36.17 → 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 +144 -6
- package/lib/api/form-templates-api.d.ts.map +1 -1
- package/lib/api/form-templates-api.js +211 -12
- package/lib/api/survey-forms-api.d.ts +190 -6
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +296 -12
- package/lib/models/create-survey-form-command.d.ts +6 -0
- package/lib/models/create-survey-form-command.d.ts.map +1 -1
- package/lib/models/form-template-affiliation-model.d.ts +37 -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-item-model.d.ts +20 -1
- package/lib/models/form-template-item-model.d.ts.map +1 -1
- package/lib/models/form-template-model.d.ts +20 -1
- 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/save-form-template-command.d.ts +14 -2
- package/lib/models/save-form-template-command.d.ts.map +1 -1
- package/lib/models/set-hospital-into-form-template-command.d.ts +25 -0
- package/lib/models/set-hospital-into-form-template-command.d.ts.map +1 -0
- package/lib/models/set-hospital-into-form-template-command.js +15 -0
- package/lib/models/set-hospital-into-survey-form-command.d.ts +25 -0
- package/lib/models/set-hospital-into-survey-form-command.d.ts.map +1 -0
- package/lib/models/set-hospital-into-survey-form-command.js +15 -0
- package/lib/models/survey-form-affiliation-model.d.ts +31 -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-item-model.d.ts +13 -0
- package/lib/models/survey-form-item-model.d.ts.map +1 -1
- package/lib/models/survey-form-model.d.ts +13 -0
- package/lib/models/survey-form-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +4 -0
- package/src/api/form-templates-api.ts +251 -12
- package/src/api/survey-forms-api.ts +336 -12
- package/src/models/create-survey-form-command.ts +6 -0
- package/src/models/form-template-affiliation-model.ts +42 -0
- package/src/models/form-template-item-model.ts +22 -1
- package/src/models/form-template-model.ts +22 -1
- package/src/models/index.ts +4 -0
- package/src/models/save-form-template-command.ts +14 -2
- package/src/models/set-hospital-into-form-template-command.ts +30 -0
- package/src/models/set-hospital-into-survey-form-command.ts +30 -0
- package/src/models/survey-form-affiliation-model.ts +36 -0
- package/src/models/survey-form-item-model.ts +15 -0
- package/src/models/survey-form-model.ts +15 -0
|
@@ -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
|
}
|
|
@@ -267,10 +271,11 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
267
271
|
* @summary Get survey form by Id
|
|
268
272
|
* @param {string} surveyFormId
|
|
269
273
|
* @param {string} [languageCode]
|
|
274
|
+
* @param {string} [hospitalId]
|
|
270
275
|
* @param {*} [options] Override http request option.
|
|
271
276
|
* @throws {RequiredError}
|
|
272
277
|
*/
|
|
273
|
-
apiV1SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, options) {
|
|
278
|
+
apiV1SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, hospitalId, options) {
|
|
274
279
|
if (options === void 0) { options = {}; }
|
|
275
280
|
return __awaiter(_this, void 0, void 0, function () {
|
|
276
281
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -298,6 +303,9 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
298
303
|
if (languageCode !== undefined) {
|
|
299
304
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
300
305
|
}
|
|
306
|
+
if (hospitalId !== undefined) {
|
|
307
|
+
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
308
|
+
}
|
|
301
309
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
302
310
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
303
311
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -309,6 +317,103 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
309
317
|
});
|
|
310
318
|
});
|
|
311
319
|
},
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @summary Remove hospital from surveyFormAffiliations
|
|
323
|
+
* @param {string} surveyFormId
|
|
324
|
+
* @param {string} hospitalId
|
|
325
|
+
* @param {*} [options] Override http request option.
|
|
326
|
+
* @throws {RequiredError}
|
|
327
|
+
*/
|
|
328
|
+
apiV1SurveyformsSurveyFormIdHospitalsHospitalIdDelete: function (surveyFormId, hospitalId, options) {
|
|
329
|
+
if (options === void 0) { options = {}; }
|
|
330
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
331
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
332
|
+
return __generator(this, function (_a) {
|
|
333
|
+
switch (_a.label) {
|
|
334
|
+
case 0:
|
|
335
|
+
// verify required parameter 'surveyFormId' is not null or undefined
|
|
336
|
+
(0, common_1.assertParamExists)('apiV1SurveyformsSurveyFormIdHospitalsHospitalIdDelete', 'surveyFormId', surveyFormId);
|
|
337
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
338
|
+
(0, common_1.assertParamExists)('apiV1SurveyformsSurveyFormIdHospitalsHospitalIdDelete', 'hospitalId', hospitalId);
|
|
339
|
+
localVarPath = "/api/v1/surveyforms/{surveyFormId}/hospitals/{hospitalId}"
|
|
340
|
+
.replace("{".concat("surveyFormId", "}"), encodeURIComponent(String(surveyFormId)))
|
|
341
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
342
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
343
|
+
if (configuration) {
|
|
344
|
+
baseOptions = configuration.baseOptions;
|
|
345
|
+
}
|
|
346
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
347
|
+
localVarHeaderParameter = {};
|
|
348
|
+
localVarQueryParameter = {};
|
|
349
|
+
// authentication oauth2 required
|
|
350
|
+
// oauth required
|
|
351
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
352
|
+
case 1:
|
|
353
|
+
// authentication oauth2 required
|
|
354
|
+
// oauth required
|
|
355
|
+
_a.sent();
|
|
356
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
357
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
358
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
359
|
+
return [2 /*return*/, {
|
|
360
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
361
|
+
options: localVarRequestOptions,
|
|
362
|
+
}];
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
});
|
|
366
|
+
},
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @summary Add hospital into surveyFormAffiliation.
|
|
370
|
+
* @param {string} surveyFormId
|
|
371
|
+
* @param {string} hospitalId
|
|
372
|
+
* @param {SetHospitalIntoSurveyFormCommand} [setHospitalIntoSurveyFormCommand]
|
|
373
|
+
* @param {*} [options] Override http request option.
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
*/
|
|
376
|
+
apiV1SurveyformsSurveyFormIdHospitalsHospitalIdPost: function (surveyFormId, hospitalId, setHospitalIntoSurveyFormCommand, options) {
|
|
377
|
+
if (options === void 0) { options = {}; }
|
|
378
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
379
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
380
|
+
return __generator(this, function (_a) {
|
|
381
|
+
switch (_a.label) {
|
|
382
|
+
case 0:
|
|
383
|
+
// verify required parameter 'surveyFormId' is not null or undefined
|
|
384
|
+
(0, common_1.assertParamExists)('apiV1SurveyformsSurveyFormIdHospitalsHospitalIdPost', 'surveyFormId', surveyFormId);
|
|
385
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
386
|
+
(0, common_1.assertParamExists)('apiV1SurveyformsSurveyFormIdHospitalsHospitalIdPost', 'hospitalId', hospitalId);
|
|
387
|
+
localVarPath = "/api/v1/surveyforms/{surveyFormId}/hospitals/{hospitalId}"
|
|
388
|
+
.replace("{".concat("surveyFormId", "}"), encodeURIComponent(String(surveyFormId)))
|
|
389
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
390
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
391
|
+
if (configuration) {
|
|
392
|
+
baseOptions = configuration.baseOptions;
|
|
393
|
+
}
|
|
394
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
395
|
+
localVarHeaderParameter = {};
|
|
396
|
+
localVarQueryParameter = {};
|
|
397
|
+
// authentication oauth2 required
|
|
398
|
+
// oauth required
|
|
399
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
400
|
+
case 1:
|
|
401
|
+
// authentication oauth2 required
|
|
402
|
+
// oauth required
|
|
403
|
+
_a.sent();
|
|
404
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
405
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
406
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
407
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
408
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setHospitalIntoSurveyFormCommand, localVarRequestOptions, configuration);
|
|
409
|
+
return [2 /*return*/, {
|
|
410
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
411
|
+
options: localVarRequestOptions,
|
|
412
|
+
}];
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
});
|
|
416
|
+
},
|
|
312
417
|
/**
|
|
313
418
|
*
|
|
314
419
|
* @summary Update survey form
|
|
@@ -355,6 +460,49 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
|
|
|
355
460
|
});
|
|
356
461
|
});
|
|
357
462
|
},
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @summary Reactivate surveyForm
|
|
466
|
+
* @param {string} surveyFormId
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
apiV1SurveyformsSurveyFormIdReactivatePut: function (surveyFormId, options) {
|
|
471
|
+
if (options === void 0) { options = {}; }
|
|
472
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
473
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
474
|
+
return __generator(this, function (_a) {
|
|
475
|
+
switch (_a.label) {
|
|
476
|
+
case 0:
|
|
477
|
+
// verify required parameter 'surveyFormId' is not null or undefined
|
|
478
|
+
(0, common_1.assertParamExists)('apiV1SurveyformsSurveyFormIdReactivatePut', 'surveyFormId', surveyFormId);
|
|
479
|
+
localVarPath = "/api/v1/surveyforms/{surveyFormId}/reactivate"
|
|
480
|
+
.replace("{".concat("surveyFormId", "}"), encodeURIComponent(String(surveyFormId)));
|
|
481
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
482
|
+
if (configuration) {
|
|
483
|
+
baseOptions = configuration.baseOptions;
|
|
484
|
+
}
|
|
485
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
486
|
+
localVarHeaderParameter = {};
|
|
487
|
+
localVarQueryParameter = {};
|
|
488
|
+
// authentication oauth2 required
|
|
489
|
+
// oauth required
|
|
490
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
491
|
+
case 1:
|
|
492
|
+
// authentication oauth2 required
|
|
493
|
+
// oauth required
|
|
494
|
+
_a.sent();
|
|
495
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
496
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
497
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
498
|
+
return [2 /*return*/, {
|
|
499
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
500
|
+
options: localVarRequestOptions,
|
|
501
|
+
}];
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
});
|
|
505
|
+
},
|
|
358
506
|
};
|
|
359
507
|
};
|
|
360
508
|
exports.SurveyFormsApiAxiosParamCreator = SurveyFormsApiAxiosParamCreator;
|
|
@@ -373,6 +521,7 @@ var SurveyFormsApiFp = function (configuration) {
|
|
|
373
521
|
* @param {string} [name]
|
|
374
522
|
* @param {string} [languageCode]
|
|
375
523
|
* @param {boolean} [showHidden]
|
|
524
|
+
* @param {boolean} [isShared]
|
|
376
525
|
* @param {SurveyFormStatus} [status]
|
|
377
526
|
* @param {number} [page]
|
|
378
527
|
* @param {number} [limit]
|
|
@@ -380,12 +529,12 @@ var SurveyFormsApiFp = function (configuration) {
|
|
|
380
529
|
* @param {*} [options] Override http request option.
|
|
381
530
|
* @throws {RequiredError}
|
|
382
531
|
*/
|
|
383
|
-
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) {
|
|
384
533
|
return __awaiter(this, void 0, void 0, function () {
|
|
385
534
|
var localVarAxiosArgs;
|
|
386
535
|
return __generator(this, function (_a) {
|
|
387
536
|
switch (_a.label) {
|
|
388
|
-
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)];
|
|
389
538
|
case 1:
|
|
390
539
|
localVarAxiosArgs = _a.sent();
|
|
391
540
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -440,15 +589,59 @@ var SurveyFormsApiFp = function (configuration) {
|
|
|
440
589
|
* @summary Get survey form by Id
|
|
441
590
|
* @param {string} surveyFormId
|
|
442
591
|
* @param {string} [languageCode]
|
|
592
|
+
* @param {string} [hospitalId]
|
|
443
593
|
* @param {*} [options] Override http request option.
|
|
444
594
|
* @throws {RequiredError}
|
|
445
595
|
*/
|
|
446
|
-
apiV1SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, options) {
|
|
596
|
+
apiV1SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, hospitalId, options) {
|
|
447
597
|
return __awaiter(this, void 0, void 0, function () {
|
|
448
598
|
var localVarAxiosArgs;
|
|
449
599
|
return __generator(this, function (_a) {
|
|
450
600
|
switch (_a.label) {
|
|
451
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options)];
|
|
601
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdGet(surveyFormId, languageCode, hospitalId, options)];
|
|
602
|
+
case 1:
|
|
603
|
+
localVarAxiosArgs = _a.sent();
|
|
604
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
605
|
+
}
|
|
606
|
+
});
|
|
607
|
+
});
|
|
608
|
+
},
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @summary Remove hospital from surveyFormAffiliations
|
|
612
|
+
* @param {string} surveyFormId
|
|
613
|
+
* @param {string} hospitalId
|
|
614
|
+
* @param {*} [options] Override http request option.
|
|
615
|
+
* @throws {RequiredError}
|
|
616
|
+
*/
|
|
617
|
+
apiV1SurveyformsSurveyFormIdHospitalsHospitalIdDelete: function (surveyFormId, hospitalId, options) {
|
|
618
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
619
|
+
var localVarAxiosArgs;
|
|
620
|
+
return __generator(this, function (_a) {
|
|
621
|
+
switch (_a.label) {
|
|
622
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdHospitalsHospitalIdDelete(surveyFormId, hospitalId, options)];
|
|
623
|
+
case 1:
|
|
624
|
+
localVarAxiosArgs = _a.sent();
|
|
625
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
626
|
+
}
|
|
627
|
+
});
|
|
628
|
+
});
|
|
629
|
+
},
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @summary Add hospital into surveyFormAffiliation.
|
|
633
|
+
* @param {string} surveyFormId
|
|
634
|
+
* @param {string} hospitalId
|
|
635
|
+
* @param {SetHospitalIntoSurveyFormCommand} [setHospitalIntoSurveyFormCommand]
|
|
636
|
+
* @param {*} [options] Override http request option.
|
|
637
|
+
* @throws {RequiredError}
|
|
638
|
+
*/
|
|
639
|
+
apiV1SurveyformsSurveyFormIdHospitalsHospitalIdPost: function (surveyFormId, hospitalId, setHospitalIntoSurveyFormCommand, options) {
|
|
640
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
641
|
+
var localVarAxiosArgs;
|
|
642
|
+
return __generator(this, function (_a) {
|
|
643
|
+
switch (_a.label) {
|
|
644
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdHospitalsHospitalIdPost(surveyFormId, hospitalId, setHospitalIntoSurveyFormCommand, options)];
|
|
452
645
|
case 1:
|
|
453
646
|
localVarAxiosArgs = _a.sent();
|
|
454
647
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -477,6 +670,26 @@ var SurveyFormsApiFp = function (configuration) {
|
|
|
477
670
|
});
|
|
478
671
|
});
|
|
479
672
|
},
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @summary Reactivate surveyForm
|
|
676
|
+
* @param {string} surveyFormId
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @throws {RequiredError}
|
|
679
|
+
*/
|
|
680
|
+
apiV1SurveyformsSurveyFormIdReactivatePut: function (surveyFormId, options) {
|
|
681
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
682
|
+
var localVarAxiosArgs;
|
|
683
|
+
return __generator(this, function (_a) {
|
|
684
|
+
switch (_a.label) {
|
|
685
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyformsSurveyFormIdReactivatePut(surveyFormId, options)];
|
|
686
|
+
case 1:
|
|
687
|
+
localVarAxiosArgs = _a.sent();
|
|
688
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
689
|
+
}
|
|
690
|
+
});
|
|
691
|
+
});
|
|
692
|
+
},
|
|
480
693
|
};
|
|
481
694
|
};
|
|
482
695
|
exports.SurveyFormsApiFp = SurveyFormsApiFp;
|
|
@@ -495,6 +708,7 @@ var SurveyFormsApiFactory = function (configuration, basePath, axios) {
|
|
|
495
708
|
* @param {string} [name]
|
|
496
709
|
* @param {string} [languageCode]
|
|
497
710
|
* @param {boolean} [showHidden]
|
|
711
|
+
* @param {boolean} [isShared]
|
|
498
712
|
* @param {SurveyFormStatus} [status]
|
|
499
713
|
* @param {number} [page]
|
|
500
714
|
* @param {number} [limit]
|
|
@@ -502,8 +716,8 @@ var SurveyFormsApiFactory = function (configuration, basePath, axios) {
|
|
|
502
716
|
* @param {*} [options] Override http request option.
|
|
503
717
|
* @throws {RequiredError}
|
|
504
718
|
*/
|
|
505
|
-
apiV1SurveyformsGet: function (id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options) {
|
|
506
|
-
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); });
|
|
507
721
|
},
|
|
508
722
|
/**
|
|
509
723
|
*
|
|
@@ -532,11 +746,35 @@ var SurveyFormsApiFactory = function (configuration, basePath, axios) {
|
|
|
532
746
|
* @summary Get survey form by Id
|
|
533
747
|
* @param {string} surveyFormId
|
|
534
748
|
* @param {string} [languageCode]
|
|
749
|
+
* @param {string} [hospitalId]
|
|
535
750
|
* @param {*} [options] Override http request option.
|
|
536
751
|
* @throws {RequiredError}
|
|
537
752
|
*/
|
|
538
|
-
apiV1SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, options) {
|
|
539
|
-
return localVarFp.apiV1SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
753
|
+
apiV1SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, hospitalId, options) {
|
|
754
|
+
return localVarFp.apiV1SurveyformsSurveyFormIdGet(surveyFormId, languageCode, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
755
|
+
},
|
|
756
|
+
/**
|
|
757
|
+
*
|
|
758
|
+
* @summary Remove hospital from surveyFormAffiliations
|
|
759
|
+
* @param {string} surveyFormId
|
|
760
|
+
* @param {string} hospitalId
|
|
761
|
+
* @param {*} [options] Override http request option.
|
|
762
|
+
* @throws {RequiredError}
|
|
763
|
+
*/
|
|
764
|
+
apiV1SurveyformsSurveyFormIdHospitalsHospitalIdDelete: function (surveyFormId, hospitalId, options) {
|
|
765
|
+
return localVarFp.apiV1SurveyformsSurveyFormIdHospitalsHospitalIdDelete(surveyFormId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
766
|
+
},
|
|
767
|
+
/**
|
|
768
|
+
*
|
|
769
|
+
* @summary Add hospital into surveyFormAffiliation.
|
|
770
|
+
* @param {string} surveyFormId
|
|
771
|
+
* @param {string} hospitalId
|
|
772
|
+
* @param {SetHospitalIntoSurveyFormCommand} [setHospitalIntoSurveyFormCommand]
|
|
773
|
+
* @param {*} [options] Override http request option.
|
|
774
|
+
* @throws {RequiredError}
|
|
775
|
+
*/
|
|
776
|
+
apiV1SurveyformsSurveyFormIdHospitalsHospitalIdPost: function (surveyFormId, hospitalId, setHospitalIntoSurveyFormCommand, options) {
|
|
777
|
+
return localVarFp.apiV1SurveyformsSurveyFormIdHospitalsHospitalIdPost(surveyFormId, hospitalId, setHospitalIntoSurveyFormCommand, options).then(function (request) { return request(axios, basePath); });
|
|
540
778
|
},
|
|
541
779
|
/**
|
|
542
780
|
*
|
|
@@ -549,6 +787,16 @@ var SurveyFormsApiFactory = function (configuration, basePath, axios) {
|
|
|
549
787
|
apiV1SurveyformsSurveyFormIdPut: function (surveyFormId, updateSurveyFormCommand, options) {
|
|
550
788
|
return localVarFp.apiV1SurveyformsSurveyFormIdPut(surveyFormId, updateSurveyFormCommand, options).then(function (request) { return request(axios, basePath); });
|
|
551
789
|
},
|
|
790
|
+
/**
|
|
791
|
+
*
|
|
792
|
+
* @summary Reactivate surveyForm
|
|
793
|
+
* @param {string} surveyFormId
|
|
794
|
+
* @param {*} [options] Override http request option.
|
|
795
|
+
* @throws {RequiredError}
|
|
796
|
+
*/
|
|
797
|
+
apiV1SurveyformsSurveyFormIdReactivatePut: function (surveyFormId, options) {
|
|
798
|
+
return localVarFp.apiV1SurveyformsSurveyFormIdReactivatePut(surveyFormId, options).then(function (request) { return request(axios, basePath); });
|
|
799
|
+
},
|
|
552
800
|
};
|
|
553
801
|
};
|
|
554
802
|
exports.SurveyFormsApiFactory = SurveyFormsApiFactory;
|
|
@@ -574,7 +822,7 @@ var SurveyFormsApi = /** @class */ (function (_super) {
|
|
|
574
822
|
SurveyFormsApi.prototype.apiV1SurveyformsGet = function (requestParameters, options) {
|
|
575
823
|
var _this = this;
|
|
576
824
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
577
|
-
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); });
|
|
578
826
|
};
|
|
579
827
|
/**
|
|
580
828
|
*
|
|
@@ -611,7 +859,31 @@ var SurveyFormsApi = /** @class */ (function (_super) {
|
|
|
611
859
|
*/
|
|
612
860
|
SurveyFormsApi.prototype.apiV1SurveyformsSurveyFormIdGet = function (requestParameters, options) {
|
|
613
861
|
var _this = this;
|
|
614
|
-
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV1SurveyformsSurveyFormIdGet(requestParameters.surveyFormId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
862
|
+
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV1SurveyformsSurveyFormIdGet(requestParameters.surveyFormId, requestParameters.languageCode, requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
863
|
+
};
|
|
864
|
+
/**
|
|
865
|
+
*
|
|
866
|
+
* @summary Remove hospital from surveyFormAffiliations
|
|
867
|
+
* @param {SurveyFormsApiApiV1SurveyformsSurveyFormIdHospitalsHospitalIdDeleteRequest} requestParameters Request parameters.
|
|
868
|
+
* @param {*} [options] Override http request option.
|
|
869
|
+
* @throws {RequiredError}
|
|
870
|
+
* @memberof SurveyFormsApi
|
|
871
|
+
*/
|
|
872
|
+
SurveyFormsApi.prototype.apiV1SurveyformsSurveyFormIdHospitalsHospitalIdDelete = function (requestParameters, options) {
|
|
873
|
+
var _this = this;
|
|
874
|
+
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV1SurveyformsSurveyFormIdHospitalsHospitalIdDelete(requestParameters.surveyFormId, requestParameters.hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
*
|
|
878
|
+
* @summary Add hospital into surveyFormAffiliation.
|
|
879
|
+
* @param {SurveyFormsApiApiV1SurveyformsSurveyFormIdHospitalsHospitalIdPostRequest} requestParameters Request parameters.
|
|
880
|
+
* @param {*} [options] Override http request option.
|
|
881
|
+
* @throws {RequiredError}
|
|
882
|
+
* @memberof SurveyFormsApi
|
|
883
|
+
*/
|
|
884
|
+
SurveyFormsApi.prototype.apiV1SurveyformsSurveyFormIdHospitalsHospitalIdPost = function (requestParameters, options) {
|
|
885
|
+
var _this = this;
|
|
886
|
+
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV1SurveyformsSurveyFormIdHospitalsHospitalIdPost(requestParameters.surveyFormId, requestParameters.hospitalId, requestParameters.setHospitalIntoSurveyFormCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
615
887
|
};
|
|
616
888
|
/**
|
|
617
889
|
*
|
|
@@ -625,6 +897,18 @@ var SurveyFormsApi = /** @class */ (function (_super) {
|
|
|
625
897
|
var _this = this;
|
|
626
898
|
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV1SurveyformsSurveyFormIdPut(requestParameters.surveyFormId, requestParameters.updateSurveyFormCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
627
899
|
};
|
|
900
|
+
/**
|
|
901
|
+
*
|
|
902
|
+
* @summary Reactivate surveyForm
|
|
903
|
+
* @param {SurveyFormsApiApiV1SurveyformsSurveyFormIdReactivatePutRequest} requestParameters Request parameters.
|
|
904
|
+
* @param {*} [options] Override http request option.
|
|
905
|
+
* @throws {RequiredError}
|
|
906
|
+
* @memberof SurveyFormsApi
|
|
907
|
+
*/
|
|
908
|
+
SurveyFormsApi.prototype.apiV1SurveyformsSurveyFormIdReactivatePut = function (requestParameters, options) {
|
|
909
|
+
var _this = this;
|
|
910
|
+
return (0, exports.SurveyFormsApiFp)(this.configuration).apiV1SurveyformsSurveyFormIdReactivatePut(requestParameters.surveyFormId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
911
|
+
};
|
|
628
912
|
return SurveyFormsApi;
|
|
629
913
|
}(base_1.BaseAPI));
|
|
630
914
|
exports.SurveyFormsApi = SurveyFormsApi;
|
|
@@ -41,6 +41,12 @@ export interface CreateSurveyFormCommand {
|
|
|
41
41
|
* @memberof CreateSurveyFormCommand
|
|
42
42
|
*/
|
|
43
43
|
'urlAfterDone'?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof CreateSurveyFormCommand
|
|
48
|
+
*/
|
|
49
|
+
'isShared'?: boolean | null;
|
|
44
50
|
/**
|
|
45
51
|
*
|
|
46
52
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-survey-form-command.d.ts","sourceRoot":"","sources":["../../src/models/create-survey-form-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAGhF,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,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC;CAC1D"}
|
|
1
|
+
{"version":3,"file":"create-survey-form-command.d.ts","sourceRoot":"","sources":["../../src/models/create-survey-form-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAGhF,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,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC;CAC1D"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudHospital Admin Api
|
|
3
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: developer@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FormTemplateAffiliationModel
|
|
16
|
+
*/
|
|
17
|
+
export interface FormTemplateAffiliationModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FormTemplateAffiliationModel
|
|
22
|
+
*/
|
|
23
|
+
'hospitalId'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FormTemplateAffiliationModel
|
|
28
|
+
*/
|
|
29
|
+
'hospitalName'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FormTemplateAffiliationModel
|
|
34
|
+
*/
|
|
35
|
+
'urlAfterDone'?: string | null;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=form-template-affiliation-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-template-affiliation-model.d.ts","sourceRoot":"","sources":["../../src/models/form-template-affiliation-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CloudHospital Admin Api
|
|
6
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
* Contact: developer@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { AuditableEntityModel } from './auditable-entity-model';
|
|
13
|
+
import { FormTemplateAffiliationModel } from './form-template-affiliation-model';
|
|
13
14
|
import { FormTemplatePlatform } from './form-template-platform';
|
|
14
15
|
import { FormTemplateStatus } from './form-template-status';
|
|
15
16
|
import { FormTemplateType } from './form-template-type';
|
|
@@ -42,7 +43,7 @@ export interface FormTemplateItemModel {
|
|
|
42
43
|
* @type {string}
|
|
43
44
|
* @memberof FormTemplateItemModel
|
|
44
45
|
*/
|
|
45
|
-
'
|
|
46
|
+
'urlAfterDone'?: string | null;
|
|
46
47
|
/**
|
|
47
48
|
*
|
|
48
49
|
* @type {string}
|
|
@@ -55,6 +56,24 @@ export interface FormTemplateItemModel {
|
|
|
55
56
|
* @memberof FormTemplateItemModel
|
|
56
57
|
*/
|
|
57
58
|
'platform'?: FormTemplatePlatform;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof FormTemplateItemModel
|
|
63
|
+
*/
|
|
64
|
+
'isShared'?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<FormTemplateAffiliationModel>}
|
|
68
|
+
* @memberof FormTemplateItemModel
|
|
69
|
+
*/
|
|
70
|
+
'formTemplateAffiliations'?: Array<FormTemplateAffiliationModel> | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof FormTemplateItemModel
|
|
75
|
+
*/
|
|
76
|
+
'hospitalId'?: string | null;
|
|
58
77
|
/**
|
|
59
78
|
*
|
|
60
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,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,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,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;IACxE;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { AuditableEntityModel } from './auditable-entity-model';
|
|
13
13
|
import { FormSectionModel } from './form-section-model';
|
|
14
|
+
import { FormTemplateAffiliationModel } from './form-template-affiliation-model';
|
|
14
15
|
import { FormTemplatePlatform } from './form-template-platform';
|
|
15
16
|
import { FormTemplateStatus } from './form-template-status';
|
|
16
17
|
import { FormTemplateType } from './form-template-type';
|
|
@@ -43,7 +44,7 @@ export interface FormTemplateModel {
|
|
|
43
44
|
* @type {string}
|
|
44
45
|
* @memberof FormTemplateModel
|
|
45
46
|
*/
|
|
46
|
-
'
|
|
47
|
+
'urlAfterDone'?: string | null;
|
|
47
48
|
/**
|
|
48
49
|
*
|
|
49
50
|
* @type {string}
|
|
@@ -56,6 +57,24 @@ export interface FormTemplateModel {
|
|
|
56
57
|
* @memberof FormTemplateModel
|
|
57
58
|
*/
|
|
58
59
|
'platform'?: FormTemplatePlatform;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof FormTemplateModel
|
|
64
|
+
*/
|
|
65
|
+
'isShared'?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<FormTemplateAffiliationModel>}
|
|
69
|
+
* @memberof FormTemplateModel
|
|
70
|
+
*/
|
|
71
|
+
'formTemplateAffiliations'?: Array<FormTemplateAffiliationModel> | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof FormTemplateModel
|
|
76
|
+
*/
|
|
77
|
+
'hospitalId'?: string | null;
|
|
59
78
|
/**
|
|
60
79
|
*
|
|
61
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,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;;;;;;;;;;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,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;IACxE;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IACzC;;;;OAIG;IACH,UAAU,CAAC,EAAE,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"}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -237,6 +237,7 @@ export * from './form-result-value-model';
|
|
|
237
237
|
export * from './form-results-model';
|
|
238
238
|
export * from './form-section-input-model';
|
|
239
239
|
export * from './form-section-model';
|
|
240
|
+
export * from './form-template-affiliation-model';
|
|
240
241
|
export * from './form-template-item-model';
|
|
241
242
|
export * from './form-template-model';
|
|
242
243
|
export * from './form-template-platform';
|
|
@@ -433,6 +434,8 @@ export * from './service-review-item-model';
|
|
|
433
434
|
export * from './service-review-model';
|
|
434
435
|
export * from './service-reviews-model';
|
|
435
436
|
export * from './session-token';
|
|
437
|
+
export * from './set-hospital-into-form-template-command';
|
|
438
|
+
export * from './set-hospital-into-survey-form-command';
|
|
436
439
|
export * from './sns-handle-model';
|
|
437
440
|
export * from './sns-type';
|
|
438
441
|
export * from './sort-footer-navigations-command';
|
|
@@ -453,6 +456,7 @@ export * from './specialty-types-model';
|
|
|
453
456
|
export * from './specialty-types-simple-model';
|
|
454
457
|
export * from './string-filter-types';
|
|
455
458
|
export * from './subscription-model';
|
|
459
|
+
export * from './survey-form-affiliation-model';
|
|
456
460
|
export * from './survey-form-duration-statistics-model';
|
|
457
461
|
export * from './survey-form-element-input-model';
|
|
458
462
|
export * from './survey-form-element-model';
|