ch-admin-api-client-typescript 5.19.50 → 5.19.53
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/hospitals-api.d.ts +24 -6
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +24 -12
- package/lib/models/create-service-review-command.d.ts +6 -0
- package/lib/models/create-service-review-command.d.ts.map +1 -1
- package/lib/models/hospital-contact-item-model.d.ts +7 -0
- package/lib/models/hospital-contact-item-model.d.ts.map +1 -1
- package/lib/models/hospital-contact-model.d.ts +7 -0
- package/lib/models/hospital-contact-model.d.ts.map +1 -1
- package/lib/models/service-review-item-model.d.ts +9 -3
- package/lib/models/service-review-item-model.d.ts.map +1 -1
- package/lib/models/service-review-model.d.ts +9 -3
- package/lib/models/service-review-model.d.ts.map +1 -1
- package/lib/models/update-service-review-command.d.ts +6 -0
- package/lib/models/update-service-review-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/hospitals-api.ts +40 -12
- package/src/models/create-service-review-command.ts +6 -0
- package/src/models/hospital-contact-item-model.ts +9 -0
- package/src/models/hospital-contact-model.ts +9 -0
- package/src/models/service-review-item-model.ts +9 -3
- package/src/models/service-review-model.ts +9 -3
- package/src/models/update-service-review-command.ts +6 -0
package/lib/api/hospitals-api.js
CHANGED
|
@@ -940,10 +940,11 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
940
940
|
* @summary Delete hospital contact
|
|
941
941
|
* @param {string} hospitalId
|
|
942
942
|
* @param {string} contactId
|
|
943
|
+
* @param {boolean} [isPermanent]
|
|
943
944
|
* @param {*} [options] Override http request option.
|
|
944
945
|
* @throws {RequiredError}
|
|
945
946
|
*/
|
|
946
|
-
apiV1HospitalsHospitalIdContactsContactIdDelete: function (hospitalId, contactId, options) {
|
|
947
|
+
apiV1HospitalsHospitalIdContactsContactIdDelete: function (hospitalId, contactId, isPermanent, options) {
|
|
947
948
|
if (options === void 0) { options = {}; }
|
|
948
949
|
return __awaiter(_this, void 0, void 0, function () {
|
|
949
950
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -971,6 +972,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
971
972
|
// authentication oauth2 required
|
|
972
973
|
// oauth required
|
|
973
974
|
_a.sent();
|
|
975
|
+
if (isPermanent !== undefined) {
|
|
976
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
977
|
+
}
|
|
974
978
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
975
979
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
976
980
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1087,13 +1091,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
1087
1091
|
* @param {ContactType} [contactType]
|
|
1088
1092
|
* @param {string} [name]
|
|
1089
1093
|
* @param {string} [languageCode]
|
|
1094
|
+
* @param {boolean} [showHidden]
|
|
1090
1095
|
* @param {number} [page]
|
|
1091
1096
|
* @param {number} [limit]
|
|
1092
1097
|
* @param {Date} [lastRetrieved]
|
|
1093
1098
|
* @param {*} [options] Override http request option.
|
|
1094
1099
|
* @throws {RequiredError}
|
|
1095
1100
|
*/
|
|
1096
|
-
apiV1HospitalsHospitalIdContactsGet: function (hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options) {
|
|
1101
|
+
apiV1HospitalsHospitalIdContactsGet: function (hospitalId, contactId, contactType, name, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
1097
1102
|
if (options === void 0) { options = {}; }
|
|
1098
1103
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1099
1104
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1130,6 +1135,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
1130
1135
|
if (languageCode !== undefined) {
|
|
1131
1136
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
1132
1137
|
}
|
|
1138
|
+
if (showHidden !== undefined) {
|
|
1139
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
1140
|
+
}
|
|
1133
1141
|
if (page !== undefined) {
|
|
1134
1142
|
localVarQueryParameter['page'] = page;
|
|
1135
1143
|
}
|
|
@@ -8817,15 +8825,16 @@ var HospitalsApiFp = function (configuration) {
|
|
|
8817
8825
|
* @summary Delete hospital contact
|
|
8818
8826
|
* @param {string} hospitalId
|
|
8819
8827
|
* @param {string} contactId
|
|
8828
|
+
* @param {boolean} [isPermanent]
|
|
8820
8829
|
* @param {*} [options] Override http request option.
|
|
8821
8830
|
* @throws {RequiredError}
|
|
8822
8831
|
*/
|
|
8823
|
-
apiV1HospitalsHospitalIdContactsContactIdDelete: function (hospitalId, contactId, options) {
|
|
8832
|
+
apiV1HospitalsHospitalIdContactsContactIdDelete: function (hospitalId, contactId, isPermanent, options) {
|
|
8824
8833
|
return __awaiter(this, void 0, void 0, function () {
|
|
8825
8834
|
var localVarAxiosArgs;
|
|
8826
8835
|
return __generator(this, function (_a) {
|
|
8827
8836
|
switch (_a.label) {
|
|
8828
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId, contactId, options)];
|
|
8837
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId, contactId, isPermanent, options)];
|
|
8829
8838
|
case 1:
|
|
8830
8839
|
localVarAxiosArgs = _a.sent();
|
|
8831
8840
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -8884,18 +8893,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
8884
8893
|
* @param {ContactType} [contactType]
|
|
8885
8894
|
* @param {string} [name]
|
|
8886
8895
|
* @param {string} [languageCode]
|
|
8896
|
+
* @param {boolean} [showHidden]
|
|
8887
8897
|
* @param {number} [page]
|
|
8888
8898
|
* @param {number} [limit]
|
|
8889
8899
|
* @param {Date} [lastRetrieved]
|
|
8890
8900
|
* @param {*} [options] Override http request option.
|
|
8891
8901
|
* @throws {RequiredError}
|
|
8892
8902
|
*/
|
|
8893
|
-
apiV1HospitalsHospitalIdContactsGet: function (hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options) {
|
|
8903
|
+
apiV1HospitalsHospitalIdContactsGet: function (hospitalId, contactId, contactType, name, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
8894
8904
|
return __awaiter(this, void 0, void 0, function () {
|
|
8895
8905
|
var localVarAxiosArgs;
|
|
8896
8906
|
return __generator(this, function (_a) {
|
|
8897
8907
|
switch (_a.label) {
|
|
8898
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options)];
|
|
8908
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
8899
8909
|
case 1:
|
|
8900
8910
|
localVarAxiosArgs = _a.sent();
|
|
8901
8911
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12175,11 +12185,12 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12175
12185
|
* @summary Delete hospital contact
|
|
12176
12186
|
* @param {string} hospitalId
|
|
12177
12187
|
* @param {string} contactId
|
|
12188
|
+
* @param {boolean} [isPermanent]
|
|
12178
12189
|
* @param {*} [options] Override http request option.
|
|
12179
12190
|
* @throws {RequiredError}
|
|
12180
12191
|
*/
|
|
12181
|
-
apiV1HospitalsHospitalIdContactsContactIdDelete: function (hospitalId, contactId, options) {
|
|
12182
|
-
return localVarFp.apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId, contactId, options).then(function (request) { return request(axios, basePath); });
|
|
12192
|
+
apiV1HospitalsHospitalIdContactsContactIdDelete: function (hospitalId, contactId, isPermanent, options) {
|
|
12193
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId, contactId, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
12183
12194
|
},
|
|
12184
12195
|
/**
|
|
12185
12196
|
*
|
|
@@ -12212,14 +12223,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12212
12223
|
* @param {ContactType} [contactType]
|
|
12213
12224
|
* @param {string} [name]
|
|
12214
12225
|
* @param {string} [languageCode]
|
|
12226
|
+
* @param {boolean} [showHidden]
|
|
12215
12227
|
* @param {number} [page]
|
|
12216
12228
|
* @param {number} [limit]
|
|
12217
12229
|
* @param {Date} [lastRetrieved]
|
|
12218
12230
|
* @param {*} [options] Override http request option.
|
|
12219
12231
|
* @throws {RequiredError}
|
|
12220
12232
|
*/
|
|
12221
|
-
apiV1HospitalsHospitalIdContactsGet: function (hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options) {
|
|
12222
|
-
return localVarFp.apiV1HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12233
|
+
apiV1HospitalsHospitalIdContactsGet: function (hospitalId, contactId, contactType, name, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12234
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12223
12235
|
},
|
|
12224
12236
|
/**
|
|
12225
12237
|
*
|
|
@@ -14146,7 +14158,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
14146
14158
|
*/
|
|
14147
14159
|
HospitalsApi.prototype.apiV1HospitalsHospitalIdContactsContactIdDelete = function (requestParameters, options) {
|
|
14148
14160
|
var _this = this;
|
|
14149
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdContactsContactIdDelete(requestParameters.hospitalId, requestParameters.contactId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14161
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdContactsContactIdDelete(requestParameters.hospitalId, requestParameters.contactId, requestParameters.isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14150
14162
|
};
|
|
14151
14163
|
/**
|
|
14152
14164
|
*
|
|
@@ -14182,7 +14194,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
14182
14194
|
*/
|
|
14183
14195
|
HospitalsApi.prototype.apiV1HospitalsHospitalIdContactsGet = function (requestParameters, options) {
|
|
14184
14196
|
var _this = this;
|
|
14185
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdContactsGet(requestParameters.hospitalId, requestParameters.contactId, requestParameters.contactType, requestParameters.name, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14197
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV1HospitalsHospitalIdContactsGet(requestParameters.hospitalId, requestParameters.contactId, requestParameters.contactType, requestParameters.name, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14186
14198
|
};
|
|
14187
14199
|
/**
|
|
14188
14200
|
*
|
|
@@ -70,6 +70,12 @@ export interface CreateServiceReviewCommand {
|
|
|
70
70
|
* @memberof CreateServiceReviewCommand
|
|
71
71
|
*/
|
|
72
72
|
'rate'?: number;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {Date}
|
|
76
|
+
* @memberof CreateServiceReviewCommand
|
|
77
|
+
*/
|
|
78
|
+
'surgeryDate'?: Date;
|
|
73
79
|
/**
|
|
74
80
|
*
|
|
75
81
|
* @type {ReviewType}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-service-review-command.d.ts","sourceRoot":"","sources":["../../src/models/create-service-review-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;CAC7B"}
|
|
1
|
+
{"version":3,"file":"create-service-review-command.d.ts","sourceRoot":"","sources":["../../src/models/create-service-review-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;CAC7B"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { AuditableEntityModel } from './auditable-entity-model';
|
|
12
13
|
import { ContactType } from './contact-type';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -76,5 +77,11 @@ export interface HospitalContactItemModel {
|
|
|
76
77
|
* @memberof HospitalContactItemModel
|
|
77
78
|
*/
|
|
78
79
|
'languageLocalizedName'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {AuditableEntityModel}
|
|
83
|
+
* @memberof HospitalContactItemModel
|
|
84
|
+
*/
|
|
85
|
+
'auditableEntity'?: AuditableEntityModel;
|
|
79
86
|
}
|
|
80
87
|
//# sourceMappingURL=hospital-contact-item-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hospital-contact-item-model.d.ts","sourceRoot":"","sources":["../../src/models/hospital-contact-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"hospital-contact-item-model.d.ts","sourceRoot":"","sources":["../../src/models/hospital-contact-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { AuditableEntityModel } from './auditable-entity-model';
|
|
12
13
|
import { ContactType } from './contact-type';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -76,5 +77,11 @@ export interface HospitalContactModel {
|
|
|
76
77
|
* @memberof HospitalContactModel
|
|
77
78
|
*/
|
|
78
79
|
'languageLocalizedName'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {AuditableEntityModel}
|
|
83
|
+
* @memberof HospitalContactModel
|
|
84
|
+
*/
|
|
85
|
+
'auditableEntity'?: AuditableEntityModel;
|
|
79
86
|
}
|
|
80
87
|
//# sourceMappingURL=hospital-contact-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hospital-contact-model.d.ts","sourceRoot":"","sources":["../../src/models/hospital-contact-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"hospital-contact-model.d.ts","sourceRoot":"","sources":["../../src/models/hospital-contact-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { AuditableEntityModel } from './auditable-entity-model';
|
|
13
13
|
import { MediaModel } from './media-model';
|
|
14
14
|
import { ReviewType } from './review-type';
|
|
15
15
|
/**
|
|
@@ -108,6 +108,12 @@ export interface ServiceReviewItemModel {
|
|
|
108
108
|
* @memberof ServiceReviewItemModel
|
|
109
109
|
*/
|
|
110
110
|
'rate'?: number;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {Date}
|
|
114
|
+
* @memberof ServiceReviewItemModel
|
|
115
|
+
*/
|
|
116
|
+
'surgeryDate'?: Date | null;
|
|
111
117
|
/**
|
|
112
118
|
*
|
|
113
119
|
* @type {ReviewType}
|
|
@@ -122,9 +128,9 @@ export interface ServiceReviewItemModel {
|
|
|
122
128
|
'medias'?: Array<MediaModel> | null;
|
|
123
129
|
/**
|
|
124
130
|
*
|
|
125
|
-
* @type {
|
|
131
|
+
* @type {AuditableEntityModel}
|
|
126
132
|
* @memberof ServiceReviewItemModel
|
|
127
133
|
*/
|
|
128
|
-
'auditableEntity'?:
|
|
134
|
+
'auditableEntity'?: AuditableEntityModel;
|
|
129
135
|
}
|
|
130
136
|
//# sourceMappingURL=service-review-item-model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-review-item-model.d.ts","sourceRoot":"","sources":["../../src/models/service-review-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"service-review-item-model.d.ts","sourceRoot":"","sources":["../../src/models/service-review-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { AuditableEntityModel } from './auditable-entity-model';
|
|
13
13
|
import { MediaModel } from './media-model';
|
|
14
14
|
import { ReviewType } from './review-type';
|
|
15
15
|
/**
|
|
@@ -108,6 +108,12 @@ export interface ServiceReviewModel {
|
|
|
108
108
|
* @memberof ServiceReviewModel
|
|
109
109
|
*/
|
|
110
110
|
'rate'?: number;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {Date}
|
|
114
|
+
* @memberof ServiceReviewModel
|
|
115
|
+
*/
|
|
116
|
+
'surgeryDate'?: Date | null;
|
|
111
117
|
/**
|
|
112
118
|
*
|
|
113
119
|
* @type {ReviewType}
|
|
@@ -122,10 +128,10 @@ export interface ServiceReviewModel {
|
|
|
122
128
|
'medias'?: Array<MediaModel> | null;
|
|
123
129
|
/**
|
|
124
130
|
*
|
|
125
|
-
* @type {
|
|
131
|
+
* @type {AuditableEntityModel}
|
|
126
132
|
* @memberof ServiceReviewModel
|
|
127
133
|
*/
|
|
128
|
-
'auditableEntity'?:
|
|
134
|
+
'auditableEntity'?: AuditableEntityModel;
|
|
129
135
|
/**
|
|
130
136
|
*
|
|
131
137
|
* @type {string}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-review-model.d.ts","sourceRoot":"","sources":["../../src/models/service-review-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"service-review-model.d.ts","sourceRoot":"","sources":["../../src/models/service-review-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IACzC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
|
|
@@ -63,6 +63,12 @@ export interface UpdateServiceReviewCommand {
|
|
|
63
63
|
* @memberof UpdateServiceReviewCommand
|
|
64
64
|
*/
|
|
65
65
|
'rate'?: number | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof UpdateServiceReviewCommand
|
|
70
|
+
*/
|
|
71
|
+
'surgeryDate'?: Date | null;
|
|
66
72
|
/**
|
|
67
73
|
*
|
|
68
74
|
* @type {boolean}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-service-review-command.d.ts","sourceRoot":"","sources":["../../src/models/update-service-review-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
1
|
+
{"version":3,"file":"update-service-review-command.d.ts","sourceRoot":"","sources":["../../src/models/update-service-review-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
package/package.json
CHANGED
package/src/api/hospitals-api.ts
CHANGED
|
@@ -1052,10 +1052,11 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1052
1052
|
* @summary Delete hospital contact
|
|
1053
1053
|
* @param {string} hospitalId
|
|
1054
1054
|
* @param {string} contactId
|
|
1055
|
+
* @param {boolean} [isPermanent]
|
|
1055
1056
|
* @param {*} [options] Override http request option.
|
|
1056
1057
|
* @throws {RequiredError}
|
|
1057
1058
|
*/
|
|
1058
|
-
apiV1HospitalsHospitalIdContactsContactIdDelete: async (hospitalId: string, contactId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1059
|
+
apiV1HospitalsHospitalIdContactsContactIdDelete: async (hospitalId: string, contactId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1059
1060
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
1060
1061
|
assertParamExists('apiV1HospitalsHospitalIdContactsContactIdDelete', 'hospitalId', hospitalId)
|
|
1061
1062
|
// verify required parameter 'contactId' is not null or undefined
|
|
@@ -1078,6 +1079,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1078
1079
|
// oauth required
|
|
1079
1080
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
1080
1081
|
|
|
1082
|
+
if (isPermanent !== undefined) {
|
|
1083
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1081
1086
|
|
|
1082
1087
|
|
|
1083
1088
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1185,13 +1190,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1185
1190
|
* @param {ContactType} [contactType]
|
|
1186
1191
|
* @param {string} [name]
|
|
1187
1192
|
* @param {string} [languageCode]
|
|
1193
|
+
* @param {boolean} [showHidden]
|
|
1188
1194
|
* @param {number} [page]
|
|
1189
1195
|
* @param {number} [limit]
|
|
1190
1196
|
* @param {Date} [lastRetrieved]
|
|
1191
1197
|
* @param {*} [options] Override http request option.
|
|
1192
1198
|
* @throws {RequiredError}
|
|
1193
1199
|
*/
|
|
1194
|
-
apiV1HospitalsHospitalIdContactsGet: async (hospitalId: string, contactId?: string, contactType?: ContactType, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1200
|
+
apiV1HospitalsHospitalIdContactsGet: async (hospitalId: string, contactId?: string, contactType?: ContactType, name?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1195
1201
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
1196
1202
|
assertParamExists('apiV1HospitalsHospitalIdContactsGet', 'hospitalId', hospitalId)
|
|
1197
1203
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/contacts`
|
|
@@ -1227,6 +1233,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1227
1233
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
1228
1234
|
}
|
|
1229
1235
|
|
|
1236
|
+
if (showHidden !== undefined) {
|
|
1237
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1230
1240
|
if (page !== undefined) {
|
|
1231
1241
|
localVarQueryParameter['page'] = page;
|
|
1232
1242
|
}
|
|
@@ -8373,11 +8383,12 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
8373
8383
|
* @summary Delete hospital contact
|
|
8374
8384
|
* @param {string} hospitalId
|
|
8375
8385
|
* @param {string} contactId
|
|
8386
|
+
* @param {boolean} [isPermanent]
|
|
8376
8387
|
* @param {*} [options] Override http request option.
|
|
8377
8388
|
* @throws {RequiredError}
|
|
8378
8389
|
*/
|
|
8379
|
-
async apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId: string, contactId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
8380
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId, contactId, options);
|
|
8390
|
+
async apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId: string, contactId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
8391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId, contactId, isPermanent, options);
|
|
8381
8392
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8382
8393
|
},
|
|
8383
8394
|
/**
|
|
@@ -8413,14 +8424,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
8413
8424
|
* @param {ContactType} [contactType]
|
|
8414
8425
|
* @param {string} [name]
|
|
8415
8426
|
* @param {string} [languageCode]
|
|
8427
|
+
* @param {boolean} [showHidden]
|
|
8416
8428
|
* @param {number} [page]
|
|
8417
8429
|
* @param {number} [limit]
|
|
8418
8430
|
* @param {Date} [lastRetrieved]
|
|
8419
8431
|
* @param {*} [options] Override http request option.
|
|
8420
8432
|
* @throws {RequiredError}
|
|
8421
8433
|
*/
|
|
8422
|
-
async apiV1HospitalsHospitalIdContactsGet(hospitalId: string, contactId?: string, contactType?: ContactType, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalContactsModel>> {
|
|
8423
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options);
|
|
8434
|
+
async apiV1HospitalsHospitalIdContactsGet(hospitalId: string, contactId?: string, contactType?: ContactType, name?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalContactsModel>> {
|
|
8435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
8424
8436
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8425
8437
|
},
|
|
8426
8438
|
/**
|
|
@@ -10489,11 +10501,12 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
10489
10501
|
* @summary Delete hospital contact
|
|
10490
10502
|
* @param {string} hospitalId
|
|
10491
10503
|
* @param {string} contactId
|
|
10504
|
+
* @param {boolean} [isPermanent]
|
|
10492
10505
|
* @param {*} [options] Override http request option.
|
|
10493
10506
|
* @throws {RequiredError}
|
|
10494
10507
|
*/
|
|
10495
|
-
apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId: string, contactId: string, options?: any): AxiosPromise<boolean> {
|
|
10496
|
-
return localVarFp.apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId, contactId, options).then((request) => request(axios, basePath));
|
|
10508
|
+
apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId: string, contactId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
|
|
10509
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsContactIdDelete(hospitalId, contactId, isPermanent, options).then((request) => request(axios, basePath));
|
|
10497
10510
|
},
|
|
10498
10511
|
/**
|
|
10499
10512
|
*
|
|
@@ -10526,14 +10539,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
10526
10539
|
* @param {ContactType} [contactType]
|
|
10527
10540
|
* @param {string} [name]
|
|
10528
10541
|
* @param {string} [languageCode]
|
|
10542
|
+
* @param {boolean} [showHidden]
|
|
10529
10543
|
* @param {number} [page]
|
|
10530
10544
|
* @param {number} [limit]
|
|
10531
10545
|
* @param {Date} [lastRetrieved]
|
|
10532
10546
|
* @param {*} [options] Override http request option.
|
|
10533
10547
|
* @throws {RequiredError}
|
|
10534
10548
|
*/
|
|
10535
|
-
apiV1HospitalsHospitalIdContactsGet(hospitalId: string, contactId?: string, contactType?: ContactType, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalContactsModel> {
|
|
10536
|
-
return localVarFp.apiV1HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
10549
|
+
apiV1HospitalsHospitalIdContactsGet(hospitalId: string, contactId?: string, contactType?: ContactType, name?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalContactsModel> {
|
|
10550
|
+
return localVarFp.apiV1HospitalsHospitalIdContactsGet(hospitalId, contactId, contactType, name, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
10537
10551
|
},
|
|
10538
10552
|
/**
|
|
10539
10553
|
*
|
|
@@ -12816,6 +12830,13 @@ export interface HospitalsApiApiV1HospitalsHospitalIdContactsContactIdDeleteRequ
|
|
|
12816
12830
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdDelete
|
|
12817
12831
|
*/
|
|
12818
12832
|
readonly contactId: string
|
|
12833
|
+
|
|
12834
|
+
/**
|
|
12835
|
+
*
|
|
12836
|
+
* @type {boolean}
|
|
12837
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsContactIdDelete
|
|
12838
|
+
*/
|
|
12839
|
+
readonly isPermanent?: boolean
|
|
12819
12840
|
}
|
|
12820
12841
|
|
|
12821
12842
|
/**
|
|
@@ -12908,6 +12929,13 @@ export interface HospitalsApiApiV1HospitalsHospitalIdContactsGetRequest {
|
|
|
12908
12929
|
*/
|
|
12909
12930
|
readonly languageCode?: string
|
|
12910
12931
|
|
|
12932
|
+
/**
|
|
12933
|
+
*
|
|
12934
|
+
* @type {boolean}
|
|
12935
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdContactsGet
|
|
12936
|
+
*/
|
|
12937
|
+
readonly showHidden?: boolean
|
|
12938
|
+
|
|
12911
12939
|
/**
|
|
12912
12940
|
*
|
|
12913
12941
|
* @type {number}
|
|
@@ -17662,7 +17690,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
17662
17690
|
* @memberof HospitalsApi
|
|
17663
17691
|
*/
|
|
17664
17692
|
public apiV1HospitalsHospitalIdContactsContactIdDelete(requestParameters: HospitalsApiApiV1HospitalsHospitalIdContactsContactIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
17665
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsContactIdDelete(requestParameters.hospitalId, requestParameters.contactId, options).then((request) => request(this.axios, this.basePath));
|
|
17693
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsContactIdDelete(requestParameters.hospitalId, requestParameters.contactId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
|
|
17666
17694
|
}
|
|
17667
17695
|
|
|
17668
17696
|
/**
|
|
@@ -17698,7 +17726,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
17698
17726
|
* @memberof HospitalsApi
|
|
17699
17727
|
*/
|
|
17700
17728
|
public apiV1HospitalsHospitalIdContactsGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdContactsGetRequest, options?: AxiosRequestConfig) {
|
|
17701
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsGet(requestParameters.hospitalId, requestParameters.contactId, requestParameters.contactType, requestParameters.name, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17729
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdContactsGet(requestParameters.hospitalId, requestParameters.contactId, requestParameters.contactType, requestParameters.name, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
17702
17730
|
}
|
|
17703
17731
|
|
|
17704
17732
|
/**
|
|
@@ -77,6 +77,12 @@ export interface CreateServiceReviewCommand {
|
|
|
77
77
|
* @memberof CreateServiceReviewCommand
|
|
78
78
|
*/
|
|
79
79
|
'rate'?: number;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Date}
|
|
83
|
+
* @memberof CreateServiceReviewCommand
|
|
84
|
+
*/
|
|
85
|
+
'surgeryDate'?: Date;
|
|
80
86
|
/**
|
|
81
87
|
*
|
|
82
88
|
* @type {ReviewType}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AuditableEntityModel } from './auditable-entity-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { ContactType } from './contact-type';
|
|
@@ -83,5 +86,11 @@ export interface HospitalContactItemModel {
|
|
|
83
86
|
* @memberof HospitalContactItemModel
|
|
84
87
|
*/
|
|
85
88
|
'languageLocalizedName'?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {AuditableEntityModel}
|
|
92
|
+
* @memberof HospitalContactItemModel
|
|
93
|
+
*/
|
|
94
|
+
'auditableEntity'?: AuditableEntityModel;
|
|
86
95
|
}
|
|
87
96
|
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AuditableEntityModel } from './auditable-entity-model';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { ContactType } from './contact-type';
|
|
@@ -83,5 +86,11 @@ export interface HospitalContactModel {
|
|
|
83
86
|
* @memberof HospitalContactModel
|
|
84
87
|
*/
|
|
85
88
|
'languageLocalizedName'?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {AuditableEntityModel}
|
|
92
|
+
* @memberof HospitalContactModel
|
|
93
|
+
*/
|
|
94
|
+
'auditableEntity'?: AuditableEntityModel;
|
|
86
95
|
}
|
|
87
96
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
|
-
import {
|
|
18
|
+
import { AuditableEntityModel } from './auditable-entity-model';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import { MediaModel } from './media-model';
|
|
@@ -119,6 +119,12 @@ export interface ServiceReviewItemModel {
|
|
|
119
119
|
* @memberof ServiceReviewItemModel
|
|
120
120
|
*/
|
|
121
121
|
'rate'?: number;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {Date}
|
|
125
|
+
* @memberof ServiceReviewItemModel
|
|
126
|
+
*/
|
|
127
|
+
'surgeryDate'?: Date | null;
|
|
122
128
|
/**
|
|
123
129
|
*
|
|
124
130
|
* @type {ReviewType}
|
|
@@ -133,9 +139,9 @@ export interface ServiceReviewItemModel {
|
|
|
133
139
|
'medias'?: Array<MediaModel> | null;
|
|
134
140
|
/**
|
|
135
141
|
*
|
|
136
|
-
* @type {
|
|
142
|
+
* @type {AuditableEntityModel}
|
|
137
143
|
* @memberof ServiceReviewItemModel
|
|
138
144
|
*/
|
|
139
|
-
'auditableEntity'?:
|
|
145
|
+
'auditableEntity'?: AuditableEntityModel;
|
|
140
146
|
}
|
|
141
147
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
|
-
import {
|
|
18
|
+
import { AuditableEntityModel } from './auditable-entity-model';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import { MediaModel } from './media-model';
|
|
@@ -119,6 +119,12 @@ export interface ServiceReviewModel {
|
|
|
119
119
|
* @memberof ServiceReviewModel
|
|
120
120
|
*/
|
|
121
121
|
'rate'?: number;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {Date}
|
|
125
|
+
* @memberof ServiceReviewModel
|
|
126
|
+
*/
|
|
127
|
+
'surgeryDate'?: Date | null;
|
|
122
128
|
/**
|
|
123
129
|
*
|
|
124
130
|
* @type {ReviewType}
|
|
@@ -133,10 +139,10 @@ export interface ServiceReviewModel {
|
|
|
133
139
|
'medias'?: Array<MediaModel> | null;
|
|
134
140
|
/**
|
|
135
141
|
*
|
|
136
|
-
* @type {
|
|
142
|
+
* @type {AuditableEntityModel}
|
|
137
143
|
* @memberof ServiceReviewModel
|
|
138
144
|
*/
|
|
139
|
-
'auditableEntity'?:
|
|
145
|
+
'auditableEntity'?: AuditableEntityModel;
|
|
140
146
|
/**
|
|
141
147
|
*
|
|
142
148
|
* @type {string}
|
|
@@ -68,6 +68,12 @@ export interface UpdateServiceReviewCommand {
|
|
|
68
68
|
* @memberof UpdateServiceReviewCommand
|
|
69
69
|
*/
|
|
70
70
|
'rate'?: number | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Date}
|
|
74
|
+
* @memberof UpdateServiceReviewCommand
|
|
75
|
+
*/
|
|
76
|
+
'surgeryDate'?: Date | null;
|
|
71
77
|
/**
|
|
72
78
|
*
|
|
73
79
|
* @type {boolean}
|