ch-api-client-typescript2 5.91.14 → 5.91.28
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/deals-api.d.ts +232 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +308 -0
- package/lib/api/doctor-affiliations-api.d.ts +232 -0
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +308 -0
- package/lib/api/hospitals-api.d.ts +232 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +308 -0
- package/lib/api/patient-review-form-settings-api.d.ts +106 -0
- package/lib/api/patient-review-form-settings-api.d.ts.map +1 -0
- package/lib/api/patient-review-form-settings-api.js +232 -0
- package/lib/api/patient-reviews-api.d.ts +293 -0
- package/lib/api/patient-reviews-api.d.ts.map +1 -0
- package/lib/api/patient-reviews-api.js +541 -0
- package/lib/api.d.ts +2 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +2 -0
- package/lib/models/accreditation-item-model.d.ts +7 -0
- package/lib/models/accreditation-item-model.d.ts.map +1 -1
- package/lib/models/accreditation-model.d.ts +7 -0
- package/lib/models/accreditation-model.d.ts.map +1 -1
- package/lib/models/accreditation-type.d.ts +22 -0
- package/lib/models/accreditation-type.d.ts.map +1 -0
- package/lib/models/accreditation-type.js +25 -0
- package/lib/models/create-patient-review-before-and-after-photo-input-model.d.ts +49 -0
- package/lib/models/create-patient-review-before-and-after-photo-input-model.d.ts.map +1 -0
- package/lib/models/create-patient-review-before-and-after-photo-input-model.js +15 -0
- package/lib/models/create-patient-review-command.d.ts +90 -0
- package/lib/models/create-patient-review-command.d.ts.map +1 -0
- package/lib/models/create-patient-review-command.js +15 -0
- package/lib/models/create-patient-review-consent-input-model.d.ts +43 -0
- package/lib/models/create-patient-review-consent-input-model.d.ts.map +1 -0
- package/lib/models/create-patient-review-consent-input-model.js +15 -0
- package/lib/models/create-patient-review-detail-input-model.d.ts +37 -0
- package/lib/models/create-patient-review-detail-input-model.d.ts.map +1 -0
- package/lib/models/create-patient-review-detail-input-model.js +15 -0
- package/lib/models/create-patient-review-general-photo-input-model.d.ts +37 -0
- package/lib/models/create-patient-review-general-photo-input-model.d.ts.map +1 -0
- package/lib/models/create-patient-review-general-photo-input-model.js +15 -0
- package/lib/models/create-patient-review-verification-document-input-model.d.ts +31 -0
- package/lib/models/create-patient-review-verification-document-input-model.d.ts.map +1 -0
- package/lib/models/create-patient-review-verification-document-input-model.js +15 -0
- package/lib/models/index.d.ts +18 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +18 -0
- package/lib/models/patient-review-before-and-after-public-photo-model.d.ts +61 -0
- package/lib/models/patient-review-before-and-after-public-photo-model.d.ts.map +1 -0
- package/lib/models/patient-review-before-and-after-public-photo-model.js +15 -0
- package/lib/models/patient-review-detail-model.d.ts +37 -0
- package/lib/models/patient-review-detail-model.d.ts.map +1 -0
- package/lib/models/patient-review-detail-model.js +15 -0
- package/lib/models/patient-review-form-setting-detail-model.d.ts +79 -0
- package/lib/models/patient-review-form-setting-detail-model.d.ts.map +1 -0
- package/lib/models/patient-review-form-setting-detail-model.js +15 -0
- package/lib/models/patient-review-form-setting-model.d.ts +75 -0
- package/lib/models/patient-review-form-setting-model.d.ts.map +1 -0
- package/lib/models/patient-review-form-setting-model.js +15 -0
- package/lib/models/patient-review-general-public-photo-model.d.ts +49 -0
- package/lib/models/patient-review-general-public-photo-model.d.ts.map +1 -0
- package/lib/models/patient-review-general-public-photo-model.js +15 -0
- package/lib/models/patient-review-item-model.d.ts +114 -0
- package/lib/models/patient-review-item-model.d.ts.map +1 -0
- package/lib/models/patient-review-item-model.js +15 -0
- package/lib/models/patient-review-model.d.ts +114 -0
- package/lib/models/patient-review-model.d.ts.map +1 -0
- package/lib/models/patient-review-model.js +15 -0
- package/lib/models/patient-review-platform.d.ts +23 -0
- package/lib/models/patient-review-platform.d.ts.map +1 -0
- package/lib/models/patient-review-platform.js +26 -0
- package/lib/models/patient-review-status.d.ts +23 -0
- package/lib/models/patient-review-status.d.ts.map +1 -0
- package/lib/models/patient-review-status.js +26 -0
- package/lib/models/patient-review-target-sorting-field.d.ts +22 -0
- package/lib/models/patient-review-target-sorting-field.d.ts.map +1 -0
- package/lib/models/patient-review-target-sorting-field.js +25 -0
- package/lib/models/patient-reviews-model.d.ts +51 -0
- package/lib/models/patient-reviews-model.d.ts.map +1 -0
- package/lib/models/patient-reviews-model.js +15 -0
- package/package.json +1 -1
package/lib/api/hospitals-api.js
CHANGED
|
@@ -2094,6 +2094,168 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
2094
2094
|
});
|
|
2095
2095
|
});
|
|
2096
2096
|
},
|
|
2097
|
+
/**
|
|
2098
|
+
*
|
|
2099
|
+
* @summary Gets the Verified patient reviews for a hospital.
|
|
2100
|
+
* @param {string} hospitalId Target hospital id.
|
|
2101
|
+
* @param {string} [languageCode]
|
|
2102
|
+
* @param {PatientReviewTargetSortingField} [sortingField]
|
|
2103
|
+
* @param {SortingDirection} [sortingDirection]
|
|
2104
|
+
* @param {number} [page]
|
|
2105
|
+
* @param {number} [limit]
|
|
2106
|
+
* @param {Date} [lastRetrieved]
|
|
2107
|
+
* @param {*} [options] Override http request option.
|
|
2108
|
+
* @throws {RequiredError}
|
|
2109
|
+
*/
|
|
2110
|
+
apiV2HospitalsHospitalIdPatientreviewsGet: function (hospitalId_1, languageCode_1, sortingField_1, sortingDirection_1, page_1, limit_1, lastRetrieved_1) {
|
|
2111
|
+
var args_1 = [];
|
|
2112
|
+
for (var _i = 7; _i < arguments.length; _i++) {
|
|
2113
|
+
args_1[_i - 7] = arguments[_i];
|
|
2114
|
+
}
|
|
2115
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, languageCode_1, sortingField_1, sortingDirection_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (hospitalId, languageCode, sortingField, sortingDirection, page, limit, lastRetrieved, options) {
|
|
2116
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2117
|
+
if (options === void 0) { options = {}; }
|
|
2118
|
+
return __generator(this, function (_a) {
|
|
2119
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
2120
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdPatientreviewsGet', 'hospitalId', hospitalId);
|
|
2121
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/patientreviews"
|
|
2122
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
2123
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2124
|
+
if (configuration) {
|
|
2125
|
+
baseOptions = configuration.baseOptions;
|
|
2126
|
+
}
|
|
2127
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2128
|
+
localVarHeaderParameter = {};
|
|
2129
|
+
localVarQueryParameter = {};
|
|
2130
|
+
if (languageCode !== undefined) {
|
|
2131
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
2132
|
+
}
|
|
2133
|
+
if (sortingField !== undefined) {
|
|
2134
|
+
localVarQueryParameter['sortingField'] = sortingField;
|
|
2135
|
+
}
|
|
2136
|
+
if (sortingDirection !== undefined) {
|
|
2137
|
+
localVarQueryParameter['sortingDirection'] = sortingDirection;
|
|
2138
|
+
}
|
|
2139
|
+
if (page !== undefined) {
|
|
2140
|
+
localVarQueryParameter['page'] = page;
|
|
2141
|
+
}
|
|
2142
|
+
if (limit !== undefined) {
|
|
2143
|
+
localVarQueryParameter['limit'] = limit;
|
|
2144
|
+
}
|
|
2145
|
+
if (lastRetrieved !== undefined) {
|
|
2146
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
2147
|
+
lastRetrieved.toISOString() :
|
|
2148
|
+
lastRetrieved;
|
|
2149
|
+
}
|
|
2150
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2151
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2152
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2153
|
+
return [2 /*return*/, {
|
|
2154
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2155
|
+
options: localVarRequestOptions,
|
|
2156
|
+
}];
|
|
2157
|
+
});
|
|
2158
|
+
});
|
|
2159
|
+
},
|
|
2160
|
+
/**
|
|
2161
|
+
*
|
|
2162
|
+
* @summary Gets a single Verified patient review for a hospital.
|
|
2163
|
+
* @param {string} hospitalId Target hospital id.
|
|
2164
|
+
* @param {string} patientReviewId Patient review id.
|
|
2165
|
+
* @param {string} [languageCode] Language code. Accepts either `en` (ISO 639-1 two-letter) or `en-US` (locale) format.
|
|
2166
|
+
* @param {*} [options] Override http request option.
|
|
2167
|
+
* @throws {RequiredError}
|
|
2168
|
+
*/
|
|
2169
|
+
apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet: function (hospitalId_1, patientReviewId_1, languageCode_1) {
|
|
2170
|
+
var args_1 = [];
|
|
2171
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
2172
|
+
args_1[_i - 3] = arguments[_i];
|
|
2173
|
+
}
|
|
2174
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, patientReviewId_1, languageCode_1], args_1, true), void 0, function (hospitalId, patientReviewId, languageCode, options) {
|
|
2175
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2176
|
+
if (options === void 0) { options = {}; }
|
|
2177
|
+
return __generator(this, function (_a) {
|
|
2178
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
2179
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet', 'hospitalId', hospitalId);
|
|
2180
|
+
// verify required parameter 'patientReviewId' is not null or undefined
|
|
2181
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet', 'patientReviewId', patientReviewId);
|
|
2182
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/patientreviews/{patientReviewId}"
|
|
2183
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
2184
|
+
.replace("{".concat("patientReviewId", "}"), encodeURIComponent(String(patientReviewId)));
|
|
2185
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2186
|
+
if (configuration) {
|
|
2187
|
+
baseOptions = configuration.baseOptions;
|
|
2188
|
+
}
|
|
2189
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2190
|
+
localVarHeaderParameter = {};
|
|
2191
|
+
localVarQueryParameter = {};
|
|
2192
|
+
if (languageCode !== undefined) {
|
|
2193
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
2194
|
+
}
|
|
2195
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2196
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2197
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2198
|
+
return [2 /*return*/, {
|
|
2199
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2200
|
+
options: localVarRequestOptions,
|
|
2201
|
+
}];
|
|
2202
|
+
});
|
|
2203
|
+
});
|
|
2204
|
+
},
|
|
2205
|
+
/**
|
|
2206
|
+
*
|
|
2207
|
+
* @summary Create a patient review by hospitalId.
|
|
2208
|
+
* @param {string} hospitalId Target hospital id.
|
|
2209
|
+
* @param {string} [xCloudhospitalPlatform] Request platform header value.
|
|
2210
|
+
* @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
|
|
2211
|
+
* @param {*} [options] Override http request option.
|
|
2212
|
+
* @throws {RequiredError}
|
|
2213
|
+
*/
|
|
2214
|
+
apiV2HospitalsHospitalIdPatientreviewsPost: function (hospitalId_1, xCloudhospitalPlatform_1, createPatientReviewCommand_1) {
|
|
2215
|
+
var args_1 = [];
|
|
2216
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
2217
|
+
args_1[_i - 3] = arguments[_i];
|
|
2218
|
+
}
|
|
2219
|
+
return __awaiter(_this, __spreadArray([hospitalId_1, xCloudhospitalPlatform_1, createPatientReviewCommand_1], args_1, true), void 0, function (hospitalId, xCloudhospitalPlatform, createPatientReviewCommand, options) {
|
|
2220
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2221
|
+
if (options === void 0) { options = {}; }
|
|
2222
|
+
return __generator(this, function (_a) {
|
|
2223
|
+
switch (_a.label) {
|
|
2224
|
+
case 0:
|
|
2225
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
2226
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdPatientreviewsPost', 'hospitalId', hospitalId);
|
|
2227
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/patientreviews"
|
|
2228
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
2229
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2230
|
+
if (configuration) {
|
|
2231
|
+
baseOptions = configuration.baseOptions;
|
|
2232
|
+
}
|
|
2233
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2234
|
+
localVarHeaderParameter = {};
|
|
2235
|
+
localVarQueryParameter = {};
|
|
2236
|
+
// authentication oauth2 required
|
|
2237
|
+
// oauth required
|
|
2238
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)];
|
|
2239
|
+
case 1:
|
|
2240
|
+
// authentication oauth2 required
|
|
2241
|
+
// oauth required
|
|
2242
|
+
_a.sent();
|
|
2243
|
+
if (xCloudhospitalPlatform != null) {
|
|
2244
|
+
localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
|
|
2245
|
+
}
|
|
2246
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2247
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2248
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2249
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2250
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPatientReviewCommand, localVarRequestOptions, configuration);
|
|
2251
|
+
return [2 /*return*/, {
|
|
2252
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2253
|
+
options: localVarRequestOptions,
|
|
2254
|
+
}];
|
|
2255
|
+
}
|
|
2256
|
+
});
|
|
2257
|
+
});
|
|
2258
|
+
},
|
|
2097
2259
|
/**
|
|
2098
2260
|
*
|
|
2099
2261
|
* @summary Get HospitalPaymentMethods
|
|
@@ -5021,6 +5183,76 @@ var HospitalsApiFp = function (configuration) {
|
|
|
5021
5183
|
});
|
|
5022
5184
|
});
|
|
5023
5185
|
},
|
|
5186
|
+
/**
|
|
5187
|
+
*
|
|
5188
|
+
* @summary Gets the Verified patient reviews for a hospital.
|
|
5189
|
+
* @param {string} hospitalId Target hospital id.
|
|
5190
|
+
* @param {string} [languageCode]
|
|
5191
|
+
* @param {PatientReviewTargetSortingField} [sortingField]
|
|
5192
|
+
* @param {SortingDirection} [sortingDirection]
|
|
5193
|
+
* @param {number} [page]
|
|
5194
|
+
* @param {number} [limit]
|
|
5195
|
+
* @param {Date} [lastRetrieved]
|
|
5196
|
+
* @param {*} [options] Override http request option.
|
|
5197
|
+
* @throws {RequiredError}
|
|
5198
|
+
*/
|
|
5199
|
+
apiV2HospitalsHospitalIdPatientreviewsGet: function (hospitalId, languageCode, sortingField, sortingDirection, page, limit, lastRetrieved, options) {
|
|
5200
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5201
|
+
var localVarAxiosArgs;
|
|
5202
|
+
return __generator(this, function (_a) {
|
|
5203
|
+
switch (_a.label) {
|
|
5204
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdPatientreviewsGet(hospitalId, languageCode, sortingField, sortingDirection, page, limit, lastRetrieved, options)];
|
|
5205
|
+
case 1:
|
|
5206
|
+
localVarAxiosArgs = _a.sent();
|
|
5207
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
5208
|
+
}
|
|
5209
|
+
});
|
|
5210
|
+
});
|
|
5211
|
+
},
|
|
5212
|
+
/**
|
|
5213
|
+
*
|
|
5214
|
+
* @summary Gets a single Verified patient review for a hospital.
|
|
5215
|
+
* @param {string} hospitalId Target hospital id.
|
|
5216
|
+
* @param {string} patientReviewId Patient review id.
|
|
5217
|
+
* @param {string} [languageCode] Language code. Accepts either `en` (ISO 639-1 two-letter) or `en-US` (locale) format.
|
|
5218
|
+
* @param {*} [options] Override http request option.
|
|
5219
|
+
* @throws {RequiredError}
|
|
5220
|
+
*/
|
|
5221
|
+
apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet: function (hospitalId, patientReviewId, languageCode, options) {
|
|
5222
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5223
|
+
var localVarAxiosArgs;
|
|
5224
|
+
return __generator(this, function (_a) {
|
|
5225
|
+
switch (_a.label) {
|
|
5226
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet(hospitalId, patientReviewId, languageCode, options)];
|
|
5227
|
+
case 1:
|
|
5228
|
+
localVarAxiosArgs = _a.sent();
|
|
5229
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
5230
|
+
}
|
|
5231
|
+
});
|
|
5232
|
+
});
|
|
5233
|
+
},
|
|
5234
|
+
/**
|
|
5235
|
+
*
|
|
5236
|
+
* @summary Create a patient review by hospitalId.
|
|
5237
|
+
* @param {string} hospitalId Target hospital id.
|
|
5238
|
+
* @param {string} [xCloudhospitalPlatform] Request platform header value.
|
|
5239
|
+
* @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
|
|
5240
|
+
* @param {*} [options] Override http request option.
|
|
5241
|
+
* @throws {RequiredError}
|
|
5242
|
+
*/
|
|
5243
|
+
apiV2HospitalsHospitalIdPatientreviewsPost: function (hospitalId, xCloudhospitalPlatform, createPatientReviewCommand, options) {
|
|
5244
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5245
|
+
var localVarAxiosArgs;
|
|
5246
|
+
return __generator(this, function (_a) {
|
|
5247
|
+
switch (_a.label) {
|
|
5248
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdPatientreviewsPost(hospitalId, xCloudhospitalPlatform, createPatientReviewCommand, options)];
|
|
5249
|
+
case 1:
|
|
5250
|
+
localVarAxiosArgs = _a.sent();
|
|
5251
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
5252
|
+
}
|
|
5253
|
+
});
|
|
5254
|
+
});
|
|
5255
|
+
},
|
|
5024
5256
|
/**
|
|
5025
5257
|
*
|
|
5026
5258
|
* @summary Get HospitalPaymentMethods
|
|
@@ -6382,6 +6614,46 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6382
6614
|
apiV2HospitalsHospitalIdPagesSlugGet: function (hospitalId, slug, languageCode, previewSecret, options) {
|
|
6383
6615
|
return localVarFp.apiV2HospitalsHospitalIdPagesSlugGet(hospitalId, slug, languageCode, previewSecret, options).then(function (request) { return request(axios, basePath); });
|
|
6384
6616
|
},
|
|
6617
|
+
/**
|
|
6618
|
+
*
|
|
6619
|
+
* @summary Gets the Verified patient reviews for a hospital.
|
|
6620
|
+
* @param {string} hospitalId Target hospital id.
|
|
6621
|
+
* @param {string} [languageCode]
|
|
6622
|
+
* @param {PatientReviewTargetSortingField} [sortingField]
|
|
6623
|
+
* @param {SortingDirection} [sortingDirection]
|
|
6624
|
+
* @param {number} [page]
|
|
6625
|
+
* @param {number} [limit]
|
|
6626
|
+
* @param {Date} [lastRetrieved]
|
|
6627
|
+
* @param {*} [options] Override http request option.
|
|
6628
|
+
* @throws {RequiredError}
|
|
6629
|
+
*/
|
|
6630
|
+
apiV2HospitalsHospitalIdPatientreviewsGet: function (hospitalId, languageCode, sortingField, sortingDirection, page, limit, lastRetrieved, options) {
|
|
6631
|
+
return localVarFp.apiV2HospitalsHospitalIdPatientreviewsGet(hospitalId, languageCode, sortingField, sortingDirection, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6632
|
+
},
|
|
6633
|
+
/**
|
|
6634
|
+
*
|
|
6635
|
+
* @summary Gets a single Verified patient review for a hospital.
|
|
6636
|
+
* @param {string} hospitalId Target hospital id.
|
|
6637
|
+
* @param {string} patientReviewId Patient review id.
|
|
6638
|
+
* @param {string} [languageCode] Language code. Accepts either `en` (ISO 639-1 two-letter) or `en-US` (locale) format.
|
|
6639
|
+
* @param {*} [options] Override http request option.
|
|
6640
|
+
* @throws {RequiredError}
|
|
6641
|
+
*/
|
|
6642
|
+
apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet: function (hospitalId, patientReviewId, languageCode, options) {
|
|
6643
|
+
return localVarFp.apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet(hospitalId, patientReviewId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
6644
|
+
},
|
|
6645
|
+
/**
|
|
6646
|
+
*
|
|
6647
|
+
* @summary Create a patient review by hospitalId.
|
|
6648
|
+
* @param {string} hospitalId Target hospital id.
|
|
6649
|
+
* @param {string} [xCloudhospitalPlatform] Request platform header value.
|
|
6650
|
+
* @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
|
|
6651
|
+
* @param {*} [options] Override http request option.
|
|
6652
|
+
* @throws {RequiredError}
|
|
6653
|
+
*/
|
|
6654
|
+
apiV2HospitalsHospitalIdPatientreviewsPost: function (hospitalId, xCloudhospitalPlatform, createPatientReviewCommand, options) {
|
|
6655
|
+
return localVarFp.apiV2HospitalsHospitalIdPatientreviewsPost(hospitalId, xCloudhospitalPlatform, createPatientReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
6656
|
+
},
|
|
6385
6657
|
/**
|
|
6386
6658
|
*
|
|
6387
6659
|
* @summary Get HospitalPaymentMethods
|
|
@@ -7338,6 +7610,42 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
7338
7610
|
var _this = this;
|
|
7339
7611
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdPagesSlugGet(requestParameters.hospitalId, requestParameters.slug, requestParameters.languageCode, requestParameters.previewSecret, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7340
7612
|
};
|
|
7613
|
+
/**
|
|
7614
|
+
*
|
|
7615
|
+
* @summary Gets the Verified patient reviews for a hospital.
|
|
7616
|
+
* @param {HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGetRequest} requestParameters Request parameters.
|
|
7617
|
+
* @param {*} [options] Override http request option.
|
|
7618
|
+
* @throws {RequiredError}
|
|
7619
|
+
* @memberof HospitalsApi
|
|
7620
|
+
*/
|
|
7621
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdPatientreviewsGet = function (requestParameters, options) {
|
|
7622
|
+
var _this = this;
|
|
7623
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdPatientreviewsGet(requestParameters.hospitalId, requestParameters.languageCode, requestParameters.sortingField, requestParameters.sortingDirection, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7624
|
+
};
|
|
7625
|
+
/**
|
|
7626
|
+
*
|
|
7627
|
+
* @summary Gets a single Verified patient review for a hospital.
|
|
7628
|
+
* @param {HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGetRequest} requestParameters Request parameters.
|
|
7629
|
+
* @param {*} [options] Override http request option.
|
|
7630
|
+
* @throws {RequiredError}
|
|
7631
|
+
* @memberof HospitalsApi
|
|
7632
|
+
*/
|
|
7633
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet = function (requestParameters, options) {
|
|
7634
|
+
var _this = this;
|
|
7635
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet(requestParameters.hospitalId, requestParameters.patientReviewId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7636
|
+
};
|
|
7637
|
+
/**
|
|
7638
|
+
*
|
|
7639
|
+
* @summary Create a patient review by hospitalId.
|
|
7640
|
+
* @param {HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPostRequest} requestParameters Request parameters.
|
|
7641
|
+
* @param {*} [options] Override http request option.
|
|
7642
|
+
* @throws {RequiredError}
|
|
7643
|
+
* @memberof HospitalsApi
|
|
7644
|
+
*/
|
|
7645
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdPatientreviewsPost = function (requestParameters, options) {
|
|
7646
|
+
var _this = this;
|
|
7647
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdPatientreviewsPost(requestParameters.hospitalId, requestParameters.xCloudhospitalPlatform, requestParameters.createPatientReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7648
|
+
};
|
|
7341
7649
|
/**
|
|
7342
7650
|
*
|
|
7343
7651
|
* @summary Get HospitalPaymentMethods
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudHospital Api
|
|
3
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2
|
|
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
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { PatientReviewFormSettingModel } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* PatientReviewFormSettingsApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const PatientReviewFormSettingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @summary Gets patient review form setting for the given hospital and request platform.
|
|
24
|
+
* @param {string} [xCloudhospitalPlatform] Request platform header value.
|
|
25
|
+
* @param {string} [hospitalId] Target hospital id.
|
|
26
|
+
* @param {string} [languageCode] Preferred response language code.
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
apiV2PatientreviewformsettingsGet: (xCloudhospitalPlatform?: string, hospitalId?: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* PatientReviewFormSettingsApi - functional programming interface
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export declare const PatientReviewFormSettingsApiFp: (configuration?: Configuration) => {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary Gets patient review form setting for the given hospital and request platform.
|
|
40
|
+
* @param {string} [xCloudhospitalPlatform] Request platform header value.
|
|
41
|
+
* @param {string} [hospitalId] Target hospital id.
|
|
42
|
+
* @param {string} [languageCode] Preferred response language code.
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
apiV2PatientreviewformsettingsGet(xCloudhospitalPlatform?: string, hospitalId?: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientReviewFormSettingModel>>;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* PatientReviewFormSettingsApi - factory interface
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const PatientReviewFormSettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @summary Gets patient review form setting for the given hospital and request platform.
|
|
56
|
+
* @param {string} [xCloudhospitalPlatform] Request platform header value.
|
|
57
|
+
* @param {string} [hospitalId] Target hospital id.
|
|
58
|
+
* @param {string} [languageCode] Preferred response language code.
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
62
|
+
apiV2PatientreviewformsettingsGet(xCloudhospitalPlatform?: string, hospitalId?: string, languageCode?: string, options?: any): AxiosPromise<PatientReviewFormSettingModel>;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Request parameters for apiV2PatientreviewformsettingsGet operation in PatientReviewFormSettingsApi.
|
|
66
|
+
* @export
|
|
67
|
+
* @interface PatientReviewFormSettingsApiApiV2PatientreviewformsettingsGetRequest
|
|
68
|
+
*/
|
|
69
|
+
export interface PatientReviewFormSettingsApiApiV2PatientreviewformsettingsGetRequest {
|
|
70
|
+
/**
|
|
71
|
+
* Request platform header value.
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof PatientReviewFormSettingsApiApiV2PatientreviewformsettingsGet
|
|
74
|
+
*/
|
|
75
|
+
readonly xCloudhospitalPlatform?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Target hospital id.
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof PatientReviewFormSettingsApiApiV2PatientreviewformsettingsGet
|
|
80
|
+
*/
|
|
81
|
+
readonly hospitalId?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Preferred response language code.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof PatientReviewFormSettingsApiApiV2PatientreviewformsettingsGet
|
|
86
|
+
*/
|
|
87
|
+
readonly languageCode?: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* PatientReviewFormSettingsApi - object-oriented interface
|
|
91
|
+
* @export
|
|
92
|
+
* @class PatientReviewFormSettingsApi
|
|
93
|
+
* @extends {BaseAPI}
|
|
94
|
+
*/
|
|
95
|
+
export declare class PatientReviewFormSettingsApi extends BaseAPI {
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @summary Gets patient review form setting for the given hospital and request platform.
|
|
99
|
+
* @param {PatientReviewFormSettingsApiApiV2PatientreviewformsettingsGetRequest} requestParameters Request parameters.
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
* @memberof PatientReviewFormSettingsApi
|
|
103
|
+
*/
|
|
104
|
+
apiV2PatientreviewformsettingsGet(requestParameters?: PatientReviewFormSettingsApiApiV2PatientreviewformsettingsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientReviewFormSettingModel, any>>;
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=patient-review-form-settings-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patient-review-form-settings-api.d.ts","sourceRoot":"","sources":["../../src/api/patient-review-form-settings-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,6BAA6B,EAAE,MAAM,WAAW,CAAC;AAC1D;;;GAGG;AACH,eAAO,MAAM,6CAA6C,mBAA6B,aAAa;IAE5F;;;;;;;;OAQG;iEACgE,MAAM,eAAe,MAAM,iBAAiB,MAAM,YAAW,kBAAkB,KAAQ,OAAO,CAAC,WAAW,CAAC;CAqCrL,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,mBAA4B,aAAa;IAG5E;;;;;;;;OAQG;+DAC8D,MAAM,eAAe,MAAM,iBAAiB,MAAM,YAAY,kBAAkB,GAAG,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC,6BAA6B,CAAC,CAAC;CAK7P,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mCAAmC,mBAA6B,aAAa,aAAa,MAAM,UAAU,aAAa;IAG5H;;;;;;;;OAQG;+DACwD,MAAM,eAAe,MAAM,iBAAiB,MAAM,YAAY,GAAG,GAAG,YAAY,CAAC,6BAA6B,CAAC;CAIjL,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,oEAAoE;IACjF;;;;OAIG;IACH,QAAQ,CAAC,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAExC;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAE5B;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CACjC;AAED;;;;;GAKG;AACH,qBAAa,4BAA6B,SAAQ,OAAO;IACrD;;;;;;;OAOG;IACI,iCAAiC,CAAC,iBAAiB,GAAE,oEAAyE,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGtK"}
|