ch-admin-api-client-typescript 5.12.0 → 5.12.4
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/survey-results-api.d.ts +12 -3
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +12 -6
- package/lib/models/survey-result-item-model.d.ts +6 -0
- package/lib/models/survey-result-item-model.d.ts.map +1 -1
- package/lib/models/survey-result-model.d.ts +6 -0
- package/lib/models/survey-result-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/survey-results-api.ts +20 -6
- package/src/models/survey-result-item-model.ts +6 -0
- package/src/models/survey-result-model.ts +6 -0
|
@@ -32,13 +32,14 @@ export declare const SurveyResultsApiAxiosParamCreator: (configuration?: Configu
|
|
|
32
32
|
* @param {PeriodUnits} [periodUnit]
|
|
33
33
|
* @param {Date} [startDateTime]
|
|
34
34
|
* @param {Date} [endDateTime]
|
|
35
|
+
* @param {boolean} [isExternal]
|
|
35
36
|
* @param {number} [page]
|
|
36
37
|
* @param {number} [limit]
|
|
37
38
|
* @param {Date} [lastRetrieved]
|
|
38
39
|
* @param {*} [options] Override http request option.
|
|
39
40
|
* @throws {RequiredError}
|
|
40
41
|
*/
|
|
41
|
-
apiV1SurveyresultsGet: (id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
apiV1SurveyresultsGet: (id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
43
|
/**
|
|
43
44
|
*
|
|
44
45
|
* @summary Send manual notification of target SurveyResult
|
|
@@ -81,13 +82,14 @@ export declare const SurveyResultsApiFp: (configuration?: Configuration) => {
|
|
|
81
82
|
* @param {PeriodUnits} [periodUnit]
|
|
82
83
|
* @param {Date} [startDateTime]
|
|
83
84
|
* @param {Date} [endDateTime]
|
|
85
|
+
* @param {boolean} [isExternal]
|
|
84
86
|
* @param {number} [page]
|
|
85
87
|
* @param {number} [limit]
|
|
86
88
|
* @param {Date} [lastRetrieved]
|
|
87
89
|
* @param {*} [options] Override http request option.
|
|
88
90
|
* @throws {RequiredError}
|
|
89
91
|
*/
|
|
90
|
-
apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyResultsModel>>;
|
|
92
|
+
apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyResultsModel>>;
|
|
91
93
|
/**
|
|
92
94
|
*
|
|
93
95
|
* @summary Send manual notification of target SurveyResult
|
|
@@ -130,13 +132,14 @@ export declare const SurveyResultsApiFactory: (configuration?: Configuration, ba
|
|
|
130
132
|
* @param {PeriodUnits} [periodUnit]
|
|
131
133
|
* @param {Date} [startDateTime]
|
|
132
134
|
* @param {Date} [endDateTime]
|
|
135
|
+
* @param {boolean} [isExternal]
|
|
133
136
|
* @param {number} [page]
|
|
134
137
|
* @param {number} [limit]
|
|
135
138
|
* @param {Date} [lastRetrieved]
|
|
136
139
|
* @param {*} [options] Override http request option.
|
|
137
140
|
* @throws {RequiredError}
|
|
138
141
|
*/
|
|
139
|
-
apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyResultsModel>;
|
|
142
|
+
apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyResultsModel>;
|
|
140
143
|
/**
|
|
141
144
|
*
|
|
142
145
|
* @summary Send manual notification of target SurveyResult
|
|
@@ -217,6 +220,12 @@ export interface SurveyResultsApiApiV1SurveyresultsGetRequest {
|
|
|
217
220
|
* @memberof SurveyResultsApiApiV1SurveyresultsGet
|
|
218
221
|
*/
|
|
219
222
|
readonly endDateTime?: Date;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {boolean}
|
|
226
|
+
* @memberof SurveyResultsApiApiV1SurveyresultsGet
|
|
227
|
+
*/
|
|
228
|
+
readonly isExternal?: boolean;
|
|
220
229
|
/**
|
|
221
230
|
*
|
|
222
231
|
* @type {number}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"survey-results-api.d.ts","sourceRoot":"","sources":["../../src/api/survey-results-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,WAAW,EAAE,MAAM,WAAW,CAAC;AAIxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAA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AA+B,CAAC,iBAAiB,GAAE,sDAA2D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAInJ;;;;;;;OAOG;IACI,sCAAsC,CAAC,iBAAiB,EAAE,6DAA6D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI5J;;;;;;;OAOG;IACI,mCAAmC,CAAC,iBAAiB,EAAE,0DAA0D,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGzJ"}
|
|
@@ -103,13 +103,14 @@ var SurveyResultsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
* @param {PeriodUnits} [periodUnit]
|
|
104
104
|
* @param {Date} [startDateTime]
|
|
105
105
|
* @param {Date} [endDateTime]
|
|
106
|
+
* @param {boolean} [isExternal]
|
|
106
107
|
* @param {number} [page]
|
|
107
108
|
* @param {number} [limit]
|
|
108
109
|
* @param {Date} [lastRetrieved]
|
|
109
110
|
* @param {*} [options] Override http request option.
|
|
110
111
|
* @throws {RequiredError}
|
|
111
112
|
*/
|
|
112
|
-
apiV1SurveyresultsGet: function (id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, page, limit, lastRetrieved, options) {
|
|
113
|
+
apiV1SurveyresultsGet: function (id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, isExternal, page, limit, lastRetrieved, options) {
|
|
113
114
|
if (options === void 0) { options = {}; }
|
|
114
115
|
return __awaiter(_this, void 0, void 0, function () {
|
|
115
116
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -159,6 +160,9 @@ var SurveyResultsApiAxiosParamCreator = function (configuration) {
|
|
|
159
160
|
endDateTime.toISOString() :
|
|
160
161
|
endDateTime;
|
|
161
162
|
}
|
|
163
|
+
if (isExternal !== undefined) {
|
|
164
|
+
localVarQueryParameter['IsExternal'] = isExternal;
|
|
165
|
+
}
|
|
162
166
|
if (page !== undefined) {
|
|
163
167
|
localVarQueryParameter['page'] = page;
|
|
164
168
|
}
|
|
@@ -334,18 +338,19 @@ var SurveyResultsApiFp = function (configuration) {
|
|
|
334
338
|
* @param {PeriodUnits} [periodUnit]
|
|
335
339
|
* @param {Date} [startDateTime]
|
|
336
340
|
* @param {Date} [endDateTime]
|
|
341
|
+
* @param {boolean} [isExternal]
|
|
337
342
|
* @param {number} [page]
|
|
338
343
|
* @param {number} [limit]
|
|
339
344
|
* @param {Date} [lastRetrieved]
|
|
340
345
|
* @param {*} [options] Override http request option.
|
|
341
346
|
* @throws {RequiredError}
|
|
342
347
|
*/
|
|
343
|
-
apiV1SurveyresultsGet: function (id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, page, limit, lastRetrieved, options) {
|
|
348
|
+
apiV1SurveyresultsGet: function (id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, isExternal, page, limit, lastRetrieved, options) {
|
|
344
349
|
return __awaiter(this, void 0, void 0, function () {
|
|
345
350
|
var localVarAxiosArgs;
|
|
346
351
|
return __generator(this, function (_a) {
|
|
347
352
|
switch (_a.label) {
|
|
348
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyresultsGet(id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, page, limit, lastRetrieved, options)];
|
|
353
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1SurveyresultsGet(id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, isExternal, page, limit, lastRetrieved, options)];
|
|
349
354
|
case 1:
|
|
350
355
|
localVarAxiosArgs = _a.sent();
|
|
351
356
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -435,14 +440,15 @@ var SurveyResultsApiFactory = function (configuration, basePath, axios) {
|
|
|
435
440
|
* @param {PeriodUnits} [periodUnit]
|
|
436
441
|
* @param {Date} [startDateTime]
|
|
437
442
|
* @param {Date} [endDateTime]
|
|
443
|
+
* @param {boolean} [isExternal]
|
|
438
444
|
* @param {number} [page]
|
|
439
445
|
* @param {number} [limit]
|
|
440
446
|
* @param {Date} [lastRetrieved]
|
|
441
447
|
* @param {*} [options] Override http request option.
|
|
442
448
|
* @throws {RequiredError}
|
|
443
449
|
*/
|
|
444
|
-
apiV1SurveyresultsGet: function (id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, page, limit, lastRetrieved, options) {
|
|
445
|
-
return localVarFp.apiV1SurveyresultsGet(id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
450
|
+
apiV1SurveyresultsGet: function (id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, isExternal, page, limit, lastRetrieved, options) {
|
|
451
|
+
return localVarFp.apiV1SurveyresultsGet(id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
446
452
|
},
|
|
447
453
|
/**
|
|
448
454
|
*
|
|
@@ -500,7 +506,7 @@ var SurveyResultsApi = /** @class */ (function (_super) {
|
|
|
500
506
|
SurveyResultsApi.prototype.apiV1SurveyresultsGet = function (requestParameters, options) {
|
|
501
507
|
var _this = this;
|
|
502
508
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
503
|
-
return (0, exports.SurveyResultsApiFp)(this.configuration).apiV1SurveyresultsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.surveyFormId, requestParameters.name, requestParameters.languageCode, requestParameters.periodUnit, requestParameters.startDateTime, requestParameters.endDateTime, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
509
|
+
return (0, exports.SurveyResultsApiFp)(this.configuration).apiV1SurveyresultsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.surveyFormId, requestParameters.name, requestParameters.languageCode, requestParameters.periodUnit, requestParameters.startDateTime, requestParameters.endDateTime, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
504
510
|
};
|
|
505
511
|
/**
|
|
506
512
|
*
|
|
@@ -64,6 +64,12 @@ export interface SurveyResultItemModel {
|
|
|
64
64
|
* @memberof SurveyResultItemModel
|
|
65
65
|
*/
|
|
66
66
|
'recipentEmails'?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof SurveyResultItemModel
|
|
71
|
+
*/
|
|
72
|
+
'isExternal'?: boolean;
|
|
67
73
|
/**
|
|
68
74
|
*
|
|
69
75
|
* @type {SurveyResultUserModel}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"survey-result-item-model.d.ts","sourceRoot":"","sources":["../../src/models/survey-result-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;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;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC"}
|
|
1
|
+
{"version":3,"file":"survey-result-item-model.d.ts","sourceRoot":"","sources":["../../src/models/survey-result-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;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;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC"}
|
|
@@ -66,6 +66,12 @@ export interface SurveyResultModel {
|
|
|
66
66
|
* @memberof SurveyResultModel
|
|
67
67
|
*/
|
|
68
68
|
'recipentEmails'?: string | null;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {boolean}
|
|
72
|
+
* @memberof SurveyResultModel
|
|
73
|
+
*/
|
|
74
|
+
'isExternal'?: boolean;
|
|
69
75
|
/**
|
|
70
76
|
*
|
|
71
77
|
* @type {SurveyResultUserModel}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"survey-result-model.d.ts","sourceRoot":"","sources":["../../src/models/survey-result-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAGvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAGzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;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;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC;IACpD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC;CACvD"}
|
|
1
|
+
{"version":3,"file":"survey-result-model.d.ts","sourceRoot":"","sources":["../../src/models/survey-result-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAGvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAGzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;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;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC;IACpD;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC;CACvD"}
|
package/package.json
CHANGED
|
@@ -47,13 +47,14 @@ export const SurveyResultsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
47
47
|
* @param {PeriodUnits} [periodUnit]
|
|
48
48
|
* @param {Date} [startDateTime]
|
|
49
49
|
* @param {Date} [endDateTime]
|
|
50
|
+
* @param {boolean} [isExternal]
|
|
50
51
|
* @param {number} [page]
|
|
51
52
|
* @param {number} [limit]
|
|
52
53
|
* @param {Date} [lastRetrieved]
|
|
53
54
|
* @param {*} [options] Override http request option.
|
|
54
55
|
* @throws {RequiredError}
|
|
55
56
|
*/
|
|
56
|
-
apiV1SurveyresultsGet: async (id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57
|
+
apiV1SurveyresultsGet: async (id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57
58
|
const localVarPath = `/api/v1/surveyresults`;
|
|
58
59
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
60
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -106,6 +107,10 @@ export const SurveyResultsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
106
107
|
endDateTime;
|
|
107
108
|
}
|
|
108
109
|
|
|
110
|
+
if (isExternal !== undefined) {
|
|
111
|
+
localVarQueryParameter['IsExternal'] = isExternal;
|
|
112
|
+
}
|
|
113
|
+
|
|
109
114
|
if (page !== undefined) {
|
|
110
115
|
localVarQueryParameter['page'] = page;
|
|
111
116
|
}
|
|
@@ -271,14 +276,15 @@ export const SurveyResultsApiFp = function(configuration?: Configuration) {
|
|
|
271
276
|
* @param {PeriodUnits} [periodUnit]
|
|
272
277
|
* @param {Date} [startDateTime]
|
|
273
278
|
* @param {Date} [endDateTime]
|
|
279
|
+
* @param {boolean} [isExternal]
|
|
274
280
|
* @param {number} [page]
|
|
275
281
|
* @param {number} [limit]
|
|
276
282
|
* @param {Date} [lastRetrieved]
|
|
277
283
|
* @param {*} [options] Override http request option.
|
|
278
284
|
* @throws {RequiredError}
|
|
279
285
|
*/
|
|
280
|
-
async apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyResultsModel>> {
|
|
281
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SurveyresultsGet(id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, page, limit, lastRetrieved, options);
|
|
286
|
+
async apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyResultsModel>> {
|
|
287
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SurveyresultsGet(id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, isExternal, page, limit, lastRetrieved, options);
|
|
282
288
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
283
289
|
},
|
|
284
290
|
/**
|
|
@@ -336,14 +342,15 @@ export const SurveyResultsApiFactory = function (configuration?: Configuration,
|
|
|
336
342
|
* @param {PeriodUnits} [periodUnit]
|
|
337
343
|
* @param {Date} [startDateTime]
|
|
338
344
|
* @param {Date} [endDateTime]
|
|
345
|
+
* @param {boolean} [isExternal]
|
|
339
346
|
* @param {number} [page]
|
|
340
347
|
* @param {number} [limit]
|
|
341
348
|
* @param {Date} [lastRetrieved]
|
|
342
349
|
* @param {*} [options] Override http request option.
|
|
343
350
|
* @throws {RequiredError}
|
|
344
351
|
*/
|
|
345
|
-
apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyResultsModel> {
|
|
346
|
-
return localVarFp.apiV1SurveyresultsGet(id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
352
|
+
apiV1SurveyresultsGet(id?: string, hospitalId?: string, surveyFormId?: string, name?: string, languageCode?: string, periodUnit?: PeriodUnits, startDateTime?: Date, endDateTime?: Date, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyResultsModel> {
|
|
353
|
+
return localVarFp.apiV1SurveyresultsGet(id, hospitalId, surveyFormId, name, languageCode, periodUnit, startDateTime, endDateTime, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
347
354
|
},
|
|
348
355
|
/**
|
|
349
356
|
*
|
|
@@ -441,6 +448,13 @@ export interface SurveyResultsApiApiV1SurveyresultsGetRequest {
|
|
|
441
448
|
*/
|
|
442
449
|
readonly endDateTime?: Date
|
|
443
450
|
|
|
451
|
+
/**
|
|
452
|
+
*
|
|
453
|
+
* @type {boolean}
|
|
454
|
+
* @memberof SurveyResultsApiApiV1SurveyresultsGet
|
|
455
|
+
*/
|
|
456
|
+
readonly isExternal?: boolean
|
|
457
|
+
|
|
444
458
|
/**
|
|
445
459
|
*
|
|
446
460
|
* @type {number}
|
|
@@ -528,7 +542,7 @@ export class SurveyResultsApi extends BaseAPI {
|
|
|
528
542
|
* @memberof SurveyResultsApi
|
|
529
543
|
*/
|
|
530
544
|
public apiV1SurveyresultsGet(requestParameters: SurveyResultsApiApiV1SurveyresultsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
531
|
-
return SurveyResultsApiFp(this.configuration).apiV1SurveyresultsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.surveyFormId, requestParameters.name, requestParameters.languageCode, requestParameters.periodUnit, requestParameters.startDateTime, requestParameters.endDateTime, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
545
|
+
return SurveyResultsApiFp(this.configuration).apiV1SurveyresultsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.surveyFormId, requestParameters.name, requestParameters.languageCode, requestParameters.periodUnit, requestParameters.startDateTime, requestParameters.endDateTime, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
532
546
|
}
|
|
533
547
|
|
|
534
548
|
/**
|
|
@@ -71,6 +71,12 @@ export interface SurveyResultItemModel {
|
|
|
71
71
|
* @memberof SurveyResultItemModel
|
|
72
72
|
*/
|
|
73
73
|
'recipentEmails'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {boolean}
|
|
77
|
+
* @memberof SurveyResultItemModel
|
|
78
|
+
*/
|
|
79
|
+
'isExternal'?: boolean;
|
|
74
80
|
/**
|
|
75
81
|
*
|
|
76
82
|
* @type {SurveyResultUserModel}
|
|
@@ -77,6 +77,12 @@ export interface SurveyResultModel {
|
|
|
77
77
|
* @memberof SurveyResultModel
|
|
78
78
|
*/
|
|
79
79
|
'recipentEmails'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof SurveyResultModel
|
|
84
|
+
*/
|
|
85
|
+
'isExternal'?: boolean;
|
|
80
86
|
/**
|
|
81
87
|
*
|
|
82
88
|
* @type {SurveyResultUserModel}
|