ch-api-client-typescript2 5.91.12 → 5.91.24

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.
Files changed (80) hide show
  1. package/lib/api/deals-api.d.ts +232 -0
  2. package/lib/api/deals-api.d.ts.map +1 -1
  3. package/lib/api/deals-api.js +308 -0
  4. package/lib/api/doctor-affiliations-api.d.ts +232 -0
  5. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  6. package/lib/api/doctor-affiliations-api.js +308 -0
  7. package/lib/api/hospitals-api.d.ts +232 -0
  8. package/lib/api/hospitals-api.d.ts.map +1 -1
  9. package/lib/api/hospitals-api.js +308 -0
  10. package/lib/api/patient-review-form-settings-api.d.ts +106 -0
  11. package/lib/api/patient-review-form-settings-api.d.ts.map +1 -0
  12. package/lib/api/patient-review-form-settings-api.js +232 -0
  13. package/lib/api/patient-reviews-api.d.ts +293 -0
  14. package/lib/api/patient-reviews-api.d.ts.map +1 -0
  15. package/lib/api/patient-reviews-api.js +541 -0
  16. package/lib/api.d.ts +2 -0
  17. package/lib/api.d.ts.map +1 -1
  18. package/lib/api.js +2 -0
  19. package/lib/models/accreditation-item-model.d.ts +7 -0
  20. package/lib/models/accreditation-item-model.d.ts.map +1 -1
  21. package/lib/models/accreditation-model.d.ts +7 -0
  22. package/lib/models/accreditation-model.d.ts.map +1 -1
  23. package/lib/models/accreditation-type.d.ts +22 -0
  24. package/lib/models/accreditation-type.d.ts.map +1 -0
  25. package/lib/models/accreditation-type.js +25 -0
  26. package/lib/models/create-patient-review-before-and-after-photo-input-model.d.ts +49 -0
  27. package/lib/models/create-patient-review-before-and-after-photo-input-model.d.ts.map +1 -0
  28. package/lib/models/create-patient-review-before-and-after-photo-input-model.js +15 -0
  29. package/lib/models/create-patient-review-command.d.ts +90 -0
  30. package/lib/models/create-patient-review-command.d.ts.map +1 -0
  31. package/lib/models/create-patient-review-command.js +15 -0
  32. package/lib/models/create-patient-review-consent-input-model.d.ts +43 -0
  33. package/lib/models/create-patient-review-consent-input-model.d.ts.map +1 -0
  34. package/lib/models/create-patient-review-consent-input-model.js +15 -0
  35. package/lib/models/create-patient-review-detail-input-model.d.ts +37 -0
  36. package/lib/models/create-patient-review-detail-input-model.d.ts.map +1 -0
  37. package/lib/models/create-patient-review-detail-input-model.js +15 -0
  38. package/lib/models/create-patient-review-general-photo-input-model.d.ts +37 -0
  39. package/lib/models/create-patient-review-general-photo-input-model.d.ts.map +1 -0
  40. package/lib/models/create-patient-review-general-photo-input-model.js +15 -0
  41. package/lib/models/create-patient-review-verification-document-input-model.d.ts +31 -0
  42. package/lib/models/create-patient-review-verification-document-input-model.d.ts.map +1 -0
  43. package/lib/models/create-patient-review-verification-document-input-model.js +15 -0
  44. package/lib/models/index.d.ts +18 -0
  45. package/lib/models/index.d.ts.map +1 -1
  46. package/lib/models/index.js +18 -0
  47. package/lib/models/patient-review-before-and-after-public-photo-model.d.ts +61 -0
  48. package/lib/models/patient-review-before-and-after-public-photo-model.d.ts.map +1 -0
  49. package/lib/models/patient-review-before-and-after-public-photo-model.js +15 -0
  50. package/lib/models/patient-review-detail-model.d.ts +37 -0
  51. package/lib/models/patient-review-detail-model.d.ts.map +1 -0
  52. package/lib/models/patient-review-detail-model.js +15 -0
  53. package/lib/models/patient-review-form-setting-detail-model.d.ts +79 -0
  54. package/lib/models/patient-review-form-setting-detail-model.d.ts.map +1 -0
  55. package/lib/models/patient-review-form-setting-detail-model.js +15 -0
  56. package/lib/models/patient-review-form-setting-model.d.ts +75 -0
  57. package/lib/models/patient-review-form-setting-model.d.ts.map +1 -0
  58. package/lib/models/patient-review-form-setting-model.js +15 -0
  59. package/lib/models/patient-review-general-public-photo-model.d.ts +49 -0
  60. package/lib/models/patient-review-general-public-photo-model.d.ts.map +1 -0
  61. package/lib/models/patient-review-general-public-photo-model.js +15 -0
  62. package/lib/models/patient-review-item-model.d.ts +114 -0
  63. package/lib/models/patient-review-item-model.d.ts.map +1 -0
  64. package/lib/models/patient-review-item-model.js +15 -0
  65. package/lib/models/patient-review-model.d.ts +114 -0
  66. package/lib/models/patient-review-model.d.ts.map +1 -0
  67. package/lib/models/patient-review-model.js +15 -0
  68. package/lib/models/patient-review-platform.d.ts +23 -0
  69. package/lib/models/patient-review-platform.d.ts.map +1 -0
  70. package/lib/models/patient-review-platform.js +26 -0
  71. package/lib/models/patient-review-status.d.ts +23 -0
  72. package/lib/models/patient-review-status.d.ts.map +1 -0
  73. package/lib/models/patient-review-status.js +26 -0
  74. package/lib/models/patient-review-target-sorting-field.d.ts +22 -0
  75. package/lib/models/patient-review-target-sorting-field.d.ts.map +1 -0
  76. package/lib/models/patient-review-target-sorting-field.js +25 -0
  77. package/lib/models/patient-reviews-model.d.ts +51 -0
  78. package/lib/models/patient-reviews-model.d.ts.map +1 -0
  79. package/lib/models/patient-reviews-model.js +15 -0
  80. package/package.json +1 -1
@@ -359,6 +359,168 @@ var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
359
359
  });
360
360
  });
361
361
  },
362
+ /**
363
+ *
364
+ * @summary Gets the Verified patient reviews for a doctor affiliation.
365
+ * @param {string} doctorAffiliationId Target doctor affiliation id.
366
+ * @param {string} [languageCode]
367
+ * @param {PatientReviewTargetSortingField} [sortingField]
368
+ * @param {SortingDirection} [sortingDirection]
369
+ * @param {number} [page]
370
+ * @param {number} [limit]
371
+ * @param {Date} [lastRetrieved]
372
+ * @param {*} [options] Override http request option.
373
+ * @throws {RequiredError}
374
+ */
375
+ apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsGet: function (doctorAffiliationId_1, languageCode_1, sortingField_1, sortingDirection_1, page_1, limit_1, lastRetrieved_1) {
376
+ var args_1 = [];
377
+ for (var _i = 7; _i < arguments.length; _i++) {
378
+ args_1[_i - 7] = arguments[_i];
379
+ }
380
+ return __awaiter(_this, __spreadArray([doctorAffiliationId_1, languageCode_1, sortingField_1, sortingDirection_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (doctorAffiliationId, languageCode, sortingField, sortingDirection, page, limit, lastRetrieved, options) {
381
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
382
+ if (options === void 0) { options = {}; }
383
+ return __generator(this, function (_a) {
384
+ // verify required parameter 'doctorAffiliationId' is not null or undefined
385
+ (0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsGet', 'doctorAffiliationId', doctorAffiliationId);
386
+ localVarPath = "/api/v2/doctoraffiliations/{doctorAffiliationId}/patientreviews"
387
+ .replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)));
388
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
389
+ if (configuration) {
390
+ baseOptions = configuration.baseOptions;
391
+ }
392
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
393
+ localVarHeaderParameter = {};
394
+ localVarQueryParameter = {};
395
+ if (languageCode !== undefined) {
396
+ localVarQueryParameter['languageCode'] = languageCode;
397
+ }
398
+ if (sortingField !== undefined) {
399
+ localVarQueryParameter['sortingField'] = sortingField;
400
+ }
401
+ if (sortingDirection !== undefined) {
402
+ localVarQueryParameter['sortingDirection'] = sortingDirection;
403
+ }
404
+ if (page !== undefined) {
405
+ localVarQueryParameter['page'] = page;
406
+ }
407
+ if (limit !== undefined) {
408
+ localVarQueryParameter['limit'] = limit;
409
+ }
410
+ if (lastRetrieved !== undefined) {
411
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
412
+ lastRetrieved.toISOString() :
413
+ lastRetrieved;
414
+ }
415
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
416
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
417
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
418
+ return [2 /*return*/, {
419
+ url: (0, common_1.toPathString)(localVarUrlObj),
420
+ options: localVarRequestOptions,
421
+ }];
422
+ });
423
+ });
424
+ },
425
+ /**
426
+ *
427
+ * @summary Gets a single Verified patient review for a doctor affiliation.
428
+ * @param {string} doctorAffiliationId Target doctor affiliation id.
429
+ * @param {string} patientReviewId Patient review id.
430
+ * @param {string} [languageCode] Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
431
+ * @param {*} [options] Override http request option.
432
+ * @throws {RequiredError}
433
+ */
434
+ apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPatientReviewIdGet: function (doctorAffiliationId_1, patientReviewId_1, languageCode_1) {
435
+ var args_1 = [];
436
+ for (var _i = 3; _i < arguments.length; _i++) {
437
+ args_1[_i - 3] = arguments[_i];
438
+ }
439
+ return __awaiter(_this, __spreadArray([doctorAffiliationId_1, patientReviewId_1, languageCode_1], args_1, true), void 0, function (doctorAffiliationId, patientReviewId, languageCode, options) {
440
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
441
+ if (options === void 0) { options = {}; }
442
+ return __generator(this, function (_a) {
443
+ // verify required parameter 'doctorAffiliationId' is not null or undefined
444
+ (0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPatientReviewIdGet', 'doctorAffiliationId', doctorAffiliationId);
445
+ // verify required parameter 'patientReviewId' is not null or undefined
446
+ (0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPatientReviewIdGet', 'patientReviewId', patientReviewId);
447
+ localVarPath = "/api/v2/doctoraffiliations/{doctorAffiliationId}/patientreviews/{patientReviewId}"
448
+ .replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)))
449
+ .replace("{".concat("patientReviewId", "}"), encodeURIComponent(String(patientReviewId)));
450
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
451
+ if (configuration) {
452
+ baseOptions = configuration.baseOptions;
453
+ }
454
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
455
+ localVarHeaderParameter = {};
456
+ localVarQueryParameter = {};
457
+ if (languageCode !== undefined) {
458
+ localVarQueryParameter['languageCode'] = languageCode;
459
+ }
460
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
461
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
462
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
463
+ return [2 /*return*/, {
464
+ url: (0, common_1.toPathString)(localVarUrlObj),
465
+ options: localVarRequestOptions,
466
+ }];
467
+ });
468
+ });
469
+ },
470
+ /**
471
+ *
472
+ * @summary Create a patient review by doctorAffiliationId.
473
+ * @param {string} doctorAffiliationId Target doctor affiliation id.
474
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
475
+ * @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
476
+ * @param {*} [options] Override http request option.
477
+ * @throws {RequiredError}
478
+ */
479
+ apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPost: function (doctorAffiliationId_1, xCloudhospitalPlatform_1, createPatientReviewCommand_1) {
480
+ var args_1 = [];
481
+ for (var _i = 3; _i < arguments.length; _i++) {
482
+ args_1[_i - 3] = arguments[_i];
483
+ }
484
+ return __awaiter(_this, __spreadArray([doctorAffiliationId_1, xCloudhospitalPlatform_1, createPatientReviewCommand_1], args_1, true), void 0, function (doctorAffiliationId, xCloudhospitalPlatform, createPatientReviewCommand, options) {
485
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
486
+ if (options === void 0) { options = {}; }
487
+ return __generator(this, function (_a) {
488
+ switch (_a.label) {
489
+ case 0:
490
+ // verify required parameter 'doctorAffiliationId' is not null or undefined
491
+ (0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPost', 'doctorAffiliationId', doctorAffiliationId);
492
+ localVarPath = "/api/v2/doctoraffiliations/{doctorAffiliationId}/patientreviews"
493
+ .replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)));
494
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
495
+ if (configuration) {
496
+ baseOptions = configuration.baseOptions;
497
+ }
498
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
499
+ localVarHeaderParameter = {};
500
+ localVarQueryParameter = {};
501
+ // authentication oauth2 required
502
+ // oauth required
503
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)];
504
+ case 1:
505
+ // authentication oauth2 required
506
+ // oauth required
507
+ _a.sent();
508
+ if (xCloudhospitalPlatform != null) {
509
+ localVarHeaderParameter['x-cloudhospital-platform'] = String(xCloudhospitalPlatform);
510
+ }
511
+ localVarHeaderParameter['Content-Type'] = 'application/json';
512
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
513
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
514
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
515
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPatientReviewCommand, localVarRequestOptions, configuration);
516
+ return [2 /*return*/, {
517
+ url: (0, common_1.toPathString)(localVarUrlObj),
518
+ options: localVarRequestOptions,
519
+ }];
520
+ }
521
+ });
522
+ });
523
+ },
362
524
  /**
363
525
  *
364
526
  * @summary Get all doctor affiliations.
@@ -697,6 +859,76 @@ var DoctorAffiliationsApiFp = function (configuration) {
697
859
  });
698
860
  });
699
861
  },
862
+ /**
863
+ *
864
+ * @summary Gets the Verified patient reviews for a doctor affiliation.
865
+ * @param {string} doctorAffiliationId Target doctor affiliation id.
866
+ * @param {string} [languageCode]
867
+ * @param {PatientReviewTargetSortingField} [sortingField]
868
+ * @param {SortingDirection} [sortingDirection]
869
+ * @param {number} [page]
870
+ * @param {number} [limit]
871
+ * @param {Date} [lastRetrieved]
872
+ * @param {*} [options] Override http request option.
873
+ * @throws {RequiredError}
874
+ */
875
+ apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsGet: function (doctorAffiliationId, languageCode, sortingField, sortingDirection, page, limit, lastRetrieved, options) {
876
+ return __awaiter(this, void 0, void 0, function () {
877
+ var localVarAxiosArgs;
878
+ return __generator(this, function (_a) {
879
+ switch (_a.label) {
880
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsGet(doctorAffiliationId, languageCode, sortingField, sortingDirection, page, limit, lastRetrieved, options)];
881
+ case 1:
882
+ localVarAxiosArgs = _a.sent();
883
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
884
+ }
885
+ });
886
+ });
887
+ },
888
+ /**
889
+ *
890
+ * @summary Gets a single Verified patient review for a doctor affiliation.
891
+ * @param {string} doctorAffiliationId Target doctor affiliation id.
892
+ * @param {string} patientReviewId Patient review id.
893
+ * @param {string} [languageCode] Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
894
+ * @param {*} [options] Override http request option.
895
+ * @throws {RequiredError}
896
+ */
897
+ apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPatientReviewIdGet: function (doctorAffiliationId, patientReviewId, languageCode, options) {
898
+ return __awaiter(this, void 0, void 0, function () {
899
+ var localVarAxiosArgs;
900
+ return __generator(this, function (_a) {
901
+ switch (_a.label) {
902
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPatientReviewIdGet(doctorAffiliationId, patientReviewId, languageCode, options)];
903
+ case 1:
904
+ localVarAxiosArgs = _a.sent();
905
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
906
+ }
907
+ });
908
+ });
909
+ },
910
+ /**
911
+ *
912
+ * @summary Create a patient review by doctorAffiliationId.
913
+ * @param {string} doctorAffiliationId Target doctor affiliation id.
914
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
915
+ * @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
916
+ * @param {*} [options] Override http request option.
917
+ * @throws {RequiredError}
918
+ */
919
+ apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPost: function (doctorAffiliationId, xCloudhospitalPlatform, createPatientReviewCommand, options) {
920
+ return __awaiter(this, void 0, void 0, function () {
921
+ var localVarAxiosArgs;
922
+ return __generator(this, function (_a) {
923
+ switch (_a.label) {
924
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPost(doctorAffiliationId, xCloudhospitalPlatform, createPatientReviewCommand, options)];
925
+ case 1:
926
+ localVarAxiosArgs = _a.sent();
927
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
928
+ }
929
+ });
930
+ });
931
+ },
700
932
  /**
701
933
  *
702
934
  * @summary Get all doctor affiliations.
@@ -853,6 +1085,46 @@ var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
853
1085
  apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: function (doctorAffiliationId, mediaId, options) {
854
1086
  return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then(function (request) { return request(axios, basePath); });
855
1087
  },
1088
+ /**
1089
+ *
1090
+ * @summary Gets the Verified patient reviews for a doctor affiliation.
1091
+ * @param {string} doctorAffiliationId Target doctor affiliation id.
1092
+ * @param {string} [languageCode]
1093
+ * @param {PatientReviewTargetSortingField} [sortingField]
1094
+ * @param {SortingDirection} [sortingDirection]
1095
+ * @param {number} [page]
1096
+ * @param {number} [limit]
1097
+ * @param {Date} [lastRetrieved]
1098
+ * @param {*} [options] Override http request option.
1099
+ * @throws {RequiredError}
1100
+ */
1101
+ apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsGet: function (doctorAffiliationId, languageCode, sortingField, sortingDirection, page, limit, lastRetrieved, options) {
1102
+ return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsGet(doctorAffiliationId, languageCode, sortingField, sortingDirection, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
1103
+ },
1104
+ /**
1105
+ *
1106
+ * @summary Gets a single Verified patient review for a doctor affiliation.
1107
+ * @param {string} doctorAffiliationId Target doctor affiliation id.
1108
+ * @param {string} patientReviewId Patient review id.
1109
+ * @param {string} [languageCode] Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
1110
+ * @param {*} [options] Override http request option.
1111
+ * @throws {RequiredError}
1112
+ */
1113
+ apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPatientReviewIdGet: function (doctorAffiliationId, patientReviewId, languageCode, options) {
1114
+ return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPatientReviewIdGet(doctorAffiliationId, patientReviewId, languageCode, options).then(function (request) { return request(axios, basePath); });
1115
+ },
1116
+ /**
1117
+ *
1118
+ * @summary Create a patient review by doctorAffiliationId.
1119
+ * @param {string} doctorAffiliationId Target doctor affiliation id.
1120
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
1121
+ * @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
1122
+ * @param {*} [options] Override http request option.
1123
+ * @throws {RequiredError}
1124
+ */
1125
+ apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPost: function (doctorAffiliationId, xCloudhospitalPlatform, createPatientReviewCommand, options) {
1126
+ return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPost(doctorAffiliationId, xCloudhospitalPlatform, createPatientReviewCommand, options).then(function (request) { return request(axios, basePath); });
1127
+ },
856
1128
  /**
857
1129
  *
858
1130
  * @summary Get all doctor affiliations.
@@ -968,6 +1240,42 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
968
1240
  var _this = this;
969
1241
  return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(requestParameters.doctorAffiliationId, requestParameters.mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
970
1242
  };
1243
+ /**
1244
+ *
1245
+ * @summary Gets the Verified patient reviews for a doctor affiliation.
1246
+ * @param {DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsGetRequest} requestParameters Request parameters.
1247
+ * @param {*} [options] Override http request option.
1248
+ * @throws {RequiredError}
1249
+ * @memberof DoctorAffiliationsApi
1250
+ */
1251
+ DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsGet = function (requestParameters, options) {
1252
+ var _this = this;
1253
+ return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsGet(requestParameters.doctorAffiliationId, requestParameters.languageCode, requestParameters.sortingField, requestParameters.sortingDirection, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
1254
+ };
1255
+ /**
1256
+ *
1257
+ * @summary Gets a single Verified patient review for a doctor affiliation.
1258
+ * @param {DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPatientReviewIdGetRequest} requestParameters Request parameters.
1259
+ * @param {*} [options] Override http request option.
1260
+ * @throws {RequiredError}
1261
+ * @memberof DoctorAffiliationsApi
1262
+ */
1263
+ DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPatientReviewIdGet = function (requestParameters, options) {
1264
+ var _this = this;
1265
+ return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPatientReviewIdGet(requestParameters.doctorAffiliationId, requestParameters.patientReviewId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
1266
+ };
1267
+ /**
1268
+ *
1269
+ * @summary Create a patient review by doctorAffiliationId.
1270
+ * @param {DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPostRequest} requestParameters Request parameters.
1271
+ * @param {*} [options] Override http request option.
1272
+ * @throws {RequiredError}
1273
+ * @memberof DoctorAffiliationsApi
1274
+ */
1275
+ DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPost = function (requestParameters, options) {
1276
+ var _this = this;
1277
+ return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdPatientreviewsPost(requestParameters.doctorAffiliationId, requestParameters.xCloudhospitalPlatform, requestParameters.createPatientReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1278
+ };
971
1279
  /**
972
1280
  *
973
1281
  * @summary Get all doctor affiliations.
@@ -16,6 +16,7 @@ import { ArticleModel } from '../models';
16
16
  import { BankAccountInfoModel } from '../models';
17
17
  import { BankAccountInfosModel } from '../models';
18
18
  import { ContactType } from '../models';
19
+ import { CreatePatientReviewCommand } from '../models';
19
20
  import { DealModel } from '../models';
20
21
  import { DoctorAffiliationModel } from '../models';
21
22
  import { FooterNavigationItemModel } from '../models';
@@ -58,6 +59,9 @@ import { MediaType } from '../models';
58
59
  import { MediasModel } from '../models';
59
60
  import { NoticesModel } from '../models';
60
61
  import { PageItemModel } from '../models';
62
+ import { PatientReviewModel } from '../models';
63
+ import { PatientReviewTargetSortingField } from '../models';
64
+ import { PatientReviewsModel } from '../models';
61
65
  import { PaymentMethod } from '../models';
62
66
  import { PoliciesModel } from '../models';
63
67
  import { PolicyModel } from '../models';
@@ -514,6 +518,40 @@ export declare const HospitalsApiAxiosParamCreator: (configuration?: Configurati
514
518
  * @throws {RequiredError}
515
519
  */
516
520
  apiV2HospitalsHospitalIdPagesSlugGet: (hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
521
+ /**
522
+ *
523
+ * @summary Gets the Verified patient reviews for a hospital.
524
+ * @param {string} hospitalId Target hospital id.
525
+ * @param {string} [languageCode]
526
+ * @param {PatientReviewTargetSortingField} [sortingField]
527
+ * @param {SortingDirection} [sortingDirection]
528
+ * @param {number} [page]
529
+ * @param {number} [limit]
530
+ * @param {Date} [lastRetrieved]
531
+ * @param {*} [options] Override http request option.
532
+ * @throws {RequiredError}
533
+ */
534
+ apiV2HospitalsHospitalIdPatientreviewsGet: (hospitalId: string, languageCode?: string, sortingField?: PatientReviewTargetSortingField, sortingDirection?: SortingDirection, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
535
+ /**
536
+ *
537
+ * @summary Gets a single Verified patient review for a hospital.
538
+ * @param {string} hospitalId Target hospital id.
539
+ * @param {string} patientReviewId Patient review id.
540
+ * @param {string} [languageCode] Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ */
544
+ apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet: (hospitalId: string, patientReviewId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
545
+ /**
546
+ *
547
+ * @summary Create a patient review by hospitalId.
548
+ * @param {string} hospitalId Target hospital id.
549
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
550
+ * @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
551
+ * @param {*} [options] Override http request option.
552
+ * @throws {RequiredError}
553
+ */
554
+ apiV2HospitalsHospitalIdPatientreviewsPost: (hospitalId: string, xCloudhospitalPlatform?: string, createPatientReviewCommand?: CreatePatientReviewCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
517
555
  /**
518
556
  *
519
557
  * @summary Get HospitalPaymentMethods
@@ -1417,6 +1455,40 @@ export declare const HospitalsApiFp: (configuration?: Configuration) => {
1417
1455
  * @throws {RequiredError}
1418
1456
  */
1419
1457
  apiV2HospitalsHospitalIdPagesSlugGet(hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageItemModel>>;
1458
+ /**
1459
+ *
1460
+ * @summary Gets the Verified patient reviews for a hospital.
1461
+ * @param {string} hospitalId Target hospital id.
1462
+ * @param {string} [languageCode]
1463
+ * @param {PatientReviewTargetSortingField} [sortingField]
1464
+ * @param {SortingDirection} [sortingDirection]
1465
+ * @param {number} [page]
1466
+ * @param {number} [limit]
1467
+ * @param {Date} [lastRetrieved]
1468
+ * @param {*} [options] Override http request option.
1469
+ * @throws {RequiredError}
1470
+ */
1471
+ apiV2HospitalsHospitalIdPatientreviewsGet(hospitalId: string, languageCode?: string, sortingField?: PatientReviewTargetSortingField, sortingDirection?: SortingDirection, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientReviewsModel>>;
1472
+ /**
1473
+ *
1474
+ * @summary Gets a single Verified patient review for a hospital.
1475
+ * @param {string} hospitalId Target hospital id.
1476
+ * @param {string} patientReviewId Patient review id.
1477
+ * @param {string} [languageCode] Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
1478
+ * @param {*} [options] Override http request option.
1479
+ * @throws {RequiredError}
1480
+ */
1481
+ apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet(hospitalId: string, patientReviewId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientReviewModel>>;
1482
+ /**
1483
+ *
1484
+ * @summary Create a patient review by hospitalId.
1485
+ * @param {string} hospitalId Target hospital id.
1486
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
1487
+ * @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
1488
+ * @param {*} [options] Override http request option.
1489
+ * @throws {RequiredError}
1490
+ */
1491
+ apiV2HospitalsHospitalIdPatientreviewsPost(hospitalId: string, xCloudhospitalPlatform?: string, createPatientReviewCommand?: CreatePatientReviewCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
1420
1492
  /**
1421
1493
  *
1422
1494
  * @summary Get HospitalPaymentMethods
@@ -2320,6 +2392,40 @@ export declare const HospitalsApiFactory: (configuration?: Configuration, basePa
2320
2392
  * @throws {RequiredError}
2321
2393
  */
2322
2394
  apiV2HospitalsHospitalIdPagesSlugGet(hospitalId: string, slug: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<PageItemModel>;
2395
+ /**
2396
+ *
2397
+ * @summary Gets the Verified patient reviews for a hospital.
2398
+ * @param {string} hospitalId Target hospital id.
2399
+ * @param {string} [languageCode]
2400
+ * @param {PatientReviewTargetSortingField} [sortingField]
2401
+ * @param {SortingDirection} [sortingDirection]
2402
+ * @param {number} [page]
2403
+ * @param {number} [limit]
2404
+ * @param {Date} [lastRetrieved]
2405
+ * @param {*} [options] Override http request option.
2406
+ * @throws {RequiredError}
2407
+ */
2408
+ apiV2HospitalsHospitalIdPatientreviewsGet(hospitalId: string, languageCode?: string, sortingField?: PatientReviewTargetSortingField, sortingDirection?: SortingDirection, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PatientReviewsModel>;
2409
+ /**
2410
+ *
2411
+ * @summary Gets a single Verified patient review for a hospital.
2412
+ * @param {string} hospitalId Target hospital id.
2413
+ * @param {string} patientReviewId Patient review id.
2414
+ * @param {string} [languageCode] Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
2415
+ * @param {*} [options] Override http request option.
2416
+ * @throws {RequiredError}
2417
+ */
2418
+ apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet(hospitalId: string, patientReviewId: string, languageCode?: string, options?: any): AxiosPromise<PatientReviewModel>;
2419
+ /**
2420
+ *
2421
+ * @summary Create a patient review by hospitalId.
2422
+ * @param {string} hospitalId Target hospital id.
2423
+ * @param {string} [xCloudhospitalPlatform] Request platform header value.
2424
+ * @param {CreatePatientReviewCommand} [createPatientReviewCommand] Patient review creation payload.
2425
+ * @param {*} [options] Override http request option.
2426
+ * @throws {RequiredError}
2427
+ */
2428
+ apiV2HospitalsHospitalIdPatientreviewsPost(hospitalId: string, xCloudhospitalPlatform?: string, createPatientReviewCommand?: CreatePatientReviewCommand, options?: any): AxiosPromise<string>;
2323
2429
  /**
2324
2430
  *
2325
2431
  * @summary Get HospitalPaymentMethods
@@ -4193,6 +4299,105 @@ export interface HospitalsApiApiV2HospitalsHospitalIdPagesSlugGetRequest {
4193
4299
  */
4194
4300
  readonly previewSecret?: string;
4195
4301
  }
4302
+ /**
4303
+ * Request parameters for apiV2HospitalsHospitalIdPatientreviewsGet operation in HospitalsApi.
4304
+ * @export
4305
+ * @interface HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGetRequest
4306
+ */
4307
+ export interface HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGetRequest {
4308
+ /**
4309
+ * Target hospital id.
4310
+ * @type {string}
4311
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGet
4312
+ */
4313
+ readonly hospitalId: string;
4314
+ /**
4315
+ *
4316
+ * @type {string}
4317
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGet
4318
+ */
4319
+ readonly languageCode?: string;
4320
+ /**
4321
+ *
4322
+ * @type {PatientReviewTargetSortingField}
4323
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGet
4324
+ */
4325
+ readonly sortingField?: PatientReviewTargetSortingField;
4326
+ /**
4327
+ *
4328
+ * @type {SortingDirection}
4329
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGet
4330
+ */
4331
+ readonly sortingDirection?: SortingDirection;
4332
+ /**
4333
+ *
4334
+ * @type {number}
4335
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGet
4336
+ */
4337
+ readonly page?: number;
4338
+ /**
4339
+ *
4340
+ * @type {number}
4341
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGet
4342
+ */
4343
+ readonly limit?: number;
4344
+ /**
4345
+ *
4346
+ * @type {Date}
4347
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGet
4348
+ */
4349
+ readonly lastRetrieved?: Date;
4350
+ }
4351
+ /**
4352
+ * Request parameters for apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet operation in HospitalsApi.
4353
+ * @export
4354
+ * @interface HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGetRequest
4355
+ */
4356
+ export interface HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGetRequest {
4357
+ /**
4358
+ * Target hospital id.
4359
+ * @type {string}
4360
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet
4361
+ */
4362
+ readonly hospitalId: string;
4363
+ /**
4364
+ * Patient review id.
4365
+ * @type {string}
4366
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet
4367
+ */
4368
+ readonly patientReviewId: string;
4369
+ /**
4370
+ * Language code. Accepts either &#x60;en&#x60; (ISO 639-1 two-letter) or &#x60;en-US&#x60; (locale) format.
4371
+ * @type {string}
4372
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet
4373
+ */
4374
+ readonly languageCode?: string;
4375
+ }
4376
+ /**
4377
+ * Request parameters for apiV2HospitalsHospitalIdPatientreviewsPost operation in HospitalsApi.
4378
+ * @export
4379
+ * @interface HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPostRequest
4380
+ */
4381
+ export interface HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPostRequest {
4382
+ /**
4383
+ * Target hospital id.
4384
+ * @type {string}
4385
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPost
4386
+ */
4387
+ readonly hospitalId: string;
4388
+ /**
4389
+ * Request platform header value.
4390
+ * @type {string}
4391
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPost
4392
+ */
4393
+ readonly xCloudhospitalPlatform?: string;
4394
+ /**
4395
+ * Patient review creation payload.
4396
+ * @type {CreatePatientReviewCommand}
4397
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPost
4398
+ */
4399
+ readonly createPatientReviewCommand?: CreatePatientReviewCommand;
4400
+ }
4196
4401
  /**
4197
4402
  * Request parameters for apiV2HospitalsHospitalIdPaymentmethodsGet operation in HospitalsApi.
4198
4403
  * @export
@@ -6137,6 +6342,33 @@ export declare class HospitalsApi extends BaseAPI {
6137
6342
  * @memberof HospitalsApi
6138
6343
  */
6139
6344
  apiV2HospitalsHospitalIdPagesSlugGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdPagesSlugGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PageItemModel, any>>;
6345
+ /**
6346
+ *
6347
+ * @summary Gets the Verified patient reviews for a hospital.
6348
+ * @param {HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGetRequest} requestParameters Request parameters.
6349
+ * @param {*} [options] Override http request option.
6350
+ * @throws {RequiredError}
6351
+ * @memberof HospitalsApi
6352
+ */
6353
+ apiV2HospitalsHospitalIdPatientreviewsGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdPatientreviewsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientReviewsModel, any>>;
6354
+ /**
6355
+ *
6356
+ * @summary Gets a single Verified patient review for a hospital.
6357
+ * @param {HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGetRequest} requestParameters Request parameters.
6358
+ * @param {*} [options] Override http request option.
6359
+ * @throws {RequiredError}
6360
+ * @memberof HospitalsApi
6361
+ */
6362
+ apiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPatientReviewIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientReviewModel, any>>;
6363
+ /**
6364
+ *
6365
+ * @summary Create a patient review by hospitalId.
6366
+ * @param {HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPostRequest} requestParameters Request parameters.
6367
+ * @param {*} [options] Override http request option.
6368
+ * @throws {RequiredError}
6369
+ * @memberof HospitalsApi
6370
+ */
6371
+ apiV2HospitalsHospitalIdPatientreviewsPost(requestParameters: HospitalsApiApiV2HospitalsHospitalIdPatientreviewsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
6140
6372
  /**
6141
6373
  *
6142
6374
  * @summary Get HospitalPaymentMethods