ch-admin-api-client-typescript 2.7.1 → 2.7.2
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.d.ts +67 -73
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +117 -117
- package/package.json +1 -1
- package/src/api.ts +120 -126
package/lib/api.js
CHANGED
|
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
76
76
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
77
77
|
};
|
|
78
78
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79
|
-
exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.
|
|
79
|
+
exports.WeatherForecastApi = exports.WeatherForecastApiFactory = exports.WeatherForecastApiFp = exports.WeatherForecastApiAxiosParamCreator = exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
80
80
|
var axios_1 = __importDefault(require("axios"));
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
@@ -25996,10 +25996,10 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
25996
25996
|
}(base_1.BaseAPI));
|
|
25997
25997
|
exports.ProfilesApi = ProfilesApi;
|
|
25998
25998
|
/**
|
|
25999
|
-
*
|
|
25999
|
+
* ServiceReviewsApi - axios parameter creator
|
|
26000
26000
|
* @export
|
|
26001
26001
|
*/
|
|
26002
|
-
exports.
|
|
26002
|
+
exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
26003
26003
|
var _this = this;
|
|
26004
26004
|
return {
|
|
26005
26005
|
/**
|
|
@@ -26018,14 +26018,14 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26018
26018
|
* @param {*} [options] Override http request option.
|
|
26019
26019
|
* @throws {RequiredError}
|
|
26020
26020
|
*/
|
|
26021
|
-
|
|
26021
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26022
26022
|
if (options === void 0) { options = {}; }
|
|
26023
26023
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26024
26024
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26025
26025
|
return __generator(this, function (_a) {
|
|
26026
26026
|
switch (_a.label) {
|
|
26027
26027
|
case 0:
|
|
26028
|
-
localVarPath = "/api/v1/
|
|
26028
|
+
localVarPath = "/api/v1/servicereviews";
|
|
26029
26029
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26030
26030
|
if (configuration) {
|
|
26031
26031
|
baseOptions = configuration.baseOptions;
|
|
@@ -26090,14 +26090,14 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26090
26090
|
* @param {*} [options] Override http request option.
|
|
26091
26091
|
* @throws {RequiredError}
|
|
26092
26092
|
*/
|
|
26093
|
-
|
|
26093
|
+
apiV1ServicereviewsPost: function (createServiceReviewCommand, options) {
|
|
26094
26094
|
if (options === void 0) { options = {}; }
|
|
26095
26095
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26096
26096
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26097
26097
|
return __generator(this, function (_a) {
|
|
26098
26098
|
switch (_a.label) {
|
|
26099
26099
|
case 0:
|
|
26100
|
-
localVarPath = "/api/v1/
|
|
26100
|
+
localVarPath = "/api/v1/servicereviews";
|
|
26101
26101
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26102
26102
|
if (configuration) {
|
|
26103
26103
|
baseOptions = configuration.baseOptions;
|
|
@@ -26132,7 +26132,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26132
26132
|
* @param {*} [options] Override http request option.
|
|
26133
26133
|
* @throws {RequiredError}
|
|
26134
26134
|
*/
|
|
26135
|
-
|
|
26135
|
+
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26136
26136
|
if (options === void 0) { options = {}; }
|
|
26137
26137
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26138
26138
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26140,8 +26140,8 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26140
26140
|
switch (_a.label) {
|
|
26141
26141
|
case 0:
|
|
26142
26142
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26143
|
-
common_1.assertParamExists('
|
|
26144
|
-
localVarPath = "/api/v1/
|
|
26143
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId);
|
|
26144
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}"
|
|
26145
26145
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26146
26146
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26147
26147
|
if (configuration) {
|
|
@@ -26174,7 +26174,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26174
26174
|
* @param {*} [options] Override http request option.
|
|
26175
26175
|
* @throws {RequiredError}
|
|
26176
26176
|
*/
|
|
26177
|
-
|
|
26177
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26178
26178
|
if (options === void 0) { options = {}; }
|
|
26179
26179
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26180
26180
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26182,8 +26182,8 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26182
26182
|
switch (_a.label) {
|
|
26183
26183
|
case 0:
|
|
26184
26184
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26185
|
-
common_1.assertParamExists('
|
|
26186
|
-
localVarPath = "/api/v1/
|
|
26185
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId);
|
|
26186
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}"
|
|
26187
26187
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26188
26188
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26189
26189
|
if (configuration) {
|
|
@@ -26222,7 +26222,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26222
26222
|
* @param {*} [options] Override http request option.
|
|
26223
26223
|
* @throws {RequiredError}
|
|
26224
26224
|
*/
|
|
26225
|
-
|
|
26225
|
+
apiV1ServicereviewsServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26226
26226
|
if (options === void 0) { options = {}; }
|
|
26227
26227
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26228
26228
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26230,8 +26230,8 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26230
26230
|
switch (_a.label) {
|
|
26231
26231
|
case 0:
|
|
26232
26232
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26233
|
-
common_1.assertParamExists('
|
|
26234
|
-
localVarPath = "/api/v1/
|
|
26233
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId);
|
|
26234
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias"
|
|
26235
26235
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26236
26236
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26237
26237
|
if (configuration) {
|
|
@@ -26283,7 +26283,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26283
26283
|
* @param {*} [options] Override http request option.
|
|
26284
26284
|
* @throws {RequiredError}
|
|
26285
26285
|
*/
|
|
26286
|
-
|
|
26286
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26287
26287
|
if (options === void 0) { options = {}; }
|
|
26288
26288
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26289
26289
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26291,10 +26291,10 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26291
26291
|
switch (_a.label) {
|
|
26292
26292
|
case 0:
|
|
26293
26293
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26294
|
-
common_1.assertParamExists('
|
|
26294
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId);
|
|
26295
26295
|
// verify required parameter 'mediaId' is not null or undefined
|
|
26296
|
-
common_1.assertParamExists('
|
|
26297
|
-
localVarPath = "/api/v1/
|
|
26296
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId);
|
|
26297
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
26298
26298
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26299
26299
|
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26300
26300
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -26330,7 +26330,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26330
26330
|
* @param {*} [options] Override http request option.
|
|
26331
26331
|
* @throws {RequiredError}
|
|
26332
26332
|
*/
|
|
26333
|
-
|
|
26333
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26334
26334
|
if (options === void 0) { options = {}; }
|
|
26335
26335
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26336
26336
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26338,10 +26338,10 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26338
26338
|
switch (_a.label) {
|
|
26339
26339
|
case 0:
|
|
26340
26340
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26341
|
-
common_1.assertParamExists('
|
|
26341
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId);
|
|
26342
26342
|
// verify required parameter 'mediaId' is not null or undefined
|
|
26343
|
-
common_1.assertParamExists('
|
|
26344
|
-
localVarPath = "/api/v1/
|
|
26343
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
26344
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
26345
26345
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26346
26346
|
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26347
26347
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -26378,7 +26378,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26378
26378
|
* @param {*} [options] Override http request option.
|
|
26379
26379
|
* @throws {RequiredError}
|
|
26380
26380
|
*/
|
|
26381
|
-
|
|
26381
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26382
26382
|
if (options === void 0) { options = {}; }
|
|
26383
26383
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26384
26384
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26386,10 +26386,10 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26386
26386
|
switch (_a.label) {
|
|
26387
26387
|
case 0:
|
|
26388
26388
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26389
|
-
common_1.assertParamExists('
|
|
26389
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdPut', 'serviceReviewId', serviceReviewId);
|
|
26390
26390
|
// verify required parameter 'mediaId' is not null or undefined
|
|
26391
|
-
common_1.assertParamExists('
|
|
26392
|
-
localVarPath = "/api/v1/
|
|
26391
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdPut', 'mediaId', mediaId);
|
|
26392
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
26393
26393
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26394
26394
|
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26395
26395
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -26427,7 +26427,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26427
26427
|
* @param {*} [options] Override http request option.
|
|
26428
26428
|
* @throws {RequiredError}
|
|
26429
26429
|
*/
|
|
26430
|
-
|
|
26430
|
+
apiV1ServicereviewsServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26431
26431
|
if (options === void 0) { options = {}; }
|
|
26432
26432
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26433
26433
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26435,8 +26435,8 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26435
26435
|
switch (_a.label) {
|
|
26436
26436
|
case 0:
|
|
26437
26437
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26438
|
-
common_1.assertParamExists('
|
|
26439
|
-
localVarPath = "/api/v1/
|
|
26438
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasPost', 'serviceReviewId', serviceReviewId);
|
|
26439
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias"
|
|
26440
26440
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26441
26441
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26442
26442
|
if (configuration) {
|
|
@@ -26473,7 +26473,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26473
26473
|
* @param {*} [options] Override http request option.
|
|
26474
26474
|
* @throws {RequiredError}
|
|
26475
26475
|
*/
|
|
26476
|
-
|
|
26476
|
+
apiV1ServicereviewsServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26477
26477
|
if (options === void 0) { options = {}; }
|
|
26478
26478
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26479
26479
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26481,8 +26481,8 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26481
26481
|
switch (_a.label) {
|
|
26482
26482
|
case 0:
|
|
26483
26483
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26484
|
-
common_1.assertParamExists('
|
|
26485
|
-
localVarPath = "/api/v1/
|
|
26484
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdPut', 'serviceReviewId', serviceReviewId);
|
|
26485
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}"
|
|
26486
26486
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26487
26487
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26488
26488
|
if (configuration) {
|
|
@@ -26514,11 +26514,11 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26514
26514
|
};
|
|
26515
26515
|
};
|
|
26516
26516
|
/**
|
|
26517
|
-
*
|
|
26517
|
+
* ServiceReviewsApi - functional programming interface
|
|
26518
26518
|
* @export
|
|
26519
26519
|
*/
|
|
26520
|
-
exports.
|
|
26521
|
-
var localVarAxiosParamCreator = exports.
|
|
26520
|
+
exports.ServiceReviewsApiFp = function (configuration) {
|
|
26521
|
+
var localVarAxiosParamCreator = exports.ServiceReviewsApiAxiosParamCreator(configuration);
|
|
26522
26522
|
return {
|
|
26523
26523
|
/**
|
|
26524
26524
|
*
|
|
@@ -26536,12 +26536,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26536
26536
|
* @param {*} [options] Override http request option.
|
|
26537
26537
|
* @throws {RequiredError}
|
|
26538
26538
|
*/
|
|
26539
|
-
|
|
26539
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26540
26540
|
return __awaiter(this, void 0, void 0, function () {
|
|
26541
26541
|
var localVarAxiosArgs;
|
|
26542
26542
|
return __generator(this, function (_a) {
|
|
26543
26543
|
switch (_a.label) {
|
|
26544
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26544
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
26545
26545
|
case 1:
|
|
26546
26546
|
localVarAxiosArgs = _a.sent();
|
|
26547
26547
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26556,12 +26556,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26556
26556
|
* @param {*} [options] Override http request option.
|
|
26557
26557
|
* @throws {RequiredError}
|
|
26558
26558
|
*/
|
|
26559
|
-
|
|
26559
|
+
apiV1ServicereviewsPost: function (createServiceReviewCommand, options) {
|
|
26560
26560
|
return __awaiter(this, void 0, void 0, function () {
|
|
26561
26561
|
var localVarAxiosArgs;
|
|
26562
26562
|
return __generator(this, function (_a) {
|
|
26563
26563
|
switch (_a.label) {
|
|
26564
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26564
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsPost(createServiceReviewCommand, options)];
|
|
26565
26565
|
case 1:
|
|
26566
26566
|
localVarAxiosArgs = _a.sent();
|
|
26567
26567
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26576,12 +26576,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26576
26576
|
* @param {*} [options] Override http request option.
|
|
26577
26577
|
* @throws {RequiredError}
|
|
26578
26578
|
*/
|
|
26579
|
-
|
|
26579
|
+
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26580
26580
|
return __awaiter(this, void 0, void 0, function () {
|
|
26581
26581
|
var localVarAxiosArgs;
|
|
26582
26582
|
return __generator(this, function (_a) {
|
|
26583
26583
|
switch (_a.label) {
|
|
26584
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26584
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options)];
|
|
26585
26585
|
case 1:
|
|
26586
26586
|
localVarAxiosArgs = _a.sent();
|
|
26587
26587
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26595,12 +26595,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26595
26595
|
* @param {*} [options] Override http request option.
|
|
26596
26596
|
* @throws {RequiredError}
|
|
26597
26597
|
*/
|
|
26598
|
-
|
|
26598
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26599
26599
|
return __awaiter(this, void 0, void 0, function () {
|
|
26600
26600
|
var localVarAxiosArgs;
|
|
26601
26601
|
return __generator(this, function (_a) {
|
|
26602
26602
|
switch (_a.label) {
|
|
26603
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26603
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
26604
26604
|
case 1:
|
|
26605
26605
|
localVarAxiosArgs = _a.sent();
|
|
26606
26606
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26620,12 +26620,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26620
26620
|
* @param {*} [options] Override http request option.
|
|
26621
26621
|
* @throws {RequiredError}
|
|
26622
26622
|
*/
|
|
26623
|
-
|
|
26623
|
+
apiV1ServicereviewsServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26624
26624
|
return __awaiter(this, void 0, void 0, function () {
|
|
26625
26625
|
var localVarAxiosArgs;
|
|
26626
26626
|
return __generator(this, function (_a) {
|
|
26627
26627
|
switch (_a.label) {
|
|
26628
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26628
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
26629
26629
|
case 1:
|
|
26630
26630
|
localVarAxiosArgs = _a.sent();
|
|
26631
26631
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26641,12 +26641,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26641
26641
|
* @param {*} [options] Override http request option.
|
|
26642
26642
|
* @throws {RequiredError}
|
|
26643
26643
|
*/
|
|
26644
|
-
|
|
26644
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26645
26645
|
return __awaiter(this, void 0, void 0, function () {
|
|
26646
26646
|
var localVarAxiosArgs;
|
|
26647
26647
|
return __generator(this, function (_a) {
|
|
26648
26648
|
switch (_a.label) {
|
|
26649
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26649
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options)];
|
|
26650
26650
|
case 1:
|
|
26651
26651
|
localVarAxiosArgs = _a.sent();
|
|
26652
26652
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26662,12 +26662,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26662
26662
|
* @param {*} [options] Override http request option.
|
|
26663
26663
|
* @throws {RequiredError}
|
|
26664
26664
|
*/
|
|
26665
|
-
|
|
26665
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26666
26666
|
return __awaiter(this, void 0, void 0, function () {
|
|
26667
26667
|
var localVarAxiosArgs;
|
|
26668
26668
|
return __generator(this, function (_a) {
|
|
26669
26669
|
switch (_a.label) {
|
|
26670
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26670
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options)];
|
|
26671
26671
|
case 1:
|
|
26672
26672
|
localVarAxiosArgs = _a.sent();
|
|
26673
26673
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26684,12 +26684,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26684
26684
|
* @param {*} [options] Override http request option.
|
|
26685
26685
|
* @throws {RequiredError}
|
|
26686
26686
|
*/
|
|
26687
|
-
|
|
26687
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26688
26688
|
return __awaiter(this, void 0, void 0, function () {
|
|
26689
26689
|
var localVarAxiosArgs;
|
|
26690
26690
|
return __generator(this, function (_a) {
|
|
26691
26691
|
switch (_a.label) {
|
|
26692
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26692
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options)];
|
|
26693
26693
|
case 1:
|
|
26694
26694
|
localVarAxiosArgs = _a.sent();
|
|
26695
26695
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26705,12 +26705,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26705
26705
|
* @param {*} [options] Override http request option.
|
|
26706
26706
|
* @throws {RequiredError}
|
|
26707
26707
|
*/
|
|
26708
|
-
|
|
26708
|
+
apiV1ServicereviewsServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26709
26709
|
return __awaiter(this, void 0, void 0, function () {
|
|
26710
26710
|
var localVarAxiosArgs;
|
|
26711
26711
|
return __generator(this, function (_a) {
|
|
26712
26712
|
switch (_a.label) {
|
|
26713
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26713
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options)];
|
|
26714
26714
|
case 1:
|
|
26715
26715
|
localVarAxiosArgs = _a.sent();
|
|
26716
26716
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26726,12 +26726,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26726
26726
|
* @param {*} [options] Override http request option.
|
|
26727
26727
|
* @throws {RequiredError}
|
|
26728
26728
|
*/
|
|
26729
|
-
|
|
26729
|
+
apiV1ServicereviewsServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26730
26730
|
return __awaiter(this, void 0, void 0, function () {
|
|
26731
26731
|
var localVarAxiosArgs;
|
|
26732
26732
|
return __generator(this, function (_a) {
|
|
26733
26733
|
switch (_a.label) {
|
|
26734
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26734
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options)];
|
|
26735
26735
|
case 1:
|
|
26736
26736
|
localVarAxiosArgs = _a.sent();
|
|
26737
26737
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26742,11 +26742,11 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26742
26742
|
};
|
|
26743
26743
|
};
|
|
26744
26744
|
/**
|
|
26745
|
-
*
|
|
26745
|
+
* ServiceReviewsApi - factory interface
|
|
26746
26746
|
* @export
|
|
26747
26747
|
*/
|
|
26748
|
-
exports.
|
|
26749
|
-
var localVarFp = exports.
|
|
26748
|
+
exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
26749
|
+
var localVarFp = exports.ServiceReviewsApiFp(configuration);
|
|
26750
26750
|
return {
|
|
26751
26751
|
/**
|
|
26752
26752
|
*
|
|
@@ -26764,8 +26764,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26764
26764
|
* @param {*} [options] Override http request option.
|
|
26765
26765
|
* @throws {RequiredError}
|
|
26766
26766
|
*/
|
|
26767
|
-
|
|
26768
|
-
return localVarFp.
|
|
26767
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26768
|
+
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26769
26769
|
},
|
|
26770
26770
|
/**
|
|
26771
26771
|
*
|
|
@@ -26774,8 +26774,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26774
26774
|
* @param {*} [options] Override http request option.
|
|
26775
26775
|
* @throws {RequiredError}
|
|
26776
26776
|
*/
|
|
26777
|
-
|
|
26778
|
-
return localVarFp.
|
|
26777
|
+
apiV1ServicereviewsPost: function (createServiceReviewCommand, options) {
|
|
26778
|
+
return localVarFp.apiV1ServicereviewsPost(createServiceReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26779
26779
|
},
|
|
26780
26780
|
/**
|
|
26781
26781
|
*
|
|
@@ -26784,8 +26784,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26784
26784
|
* @param {*} [options] Override http request option.
|
|
26785
26785
|
* @throws {RequiredError}
|
|
26786
26786
|
*/
|
|
26787
|
-
|
|
26788
|
-
return localVarFp.
|
|
26787
|
+
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26788
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
26789
26789
|
},
|
|
26790
26790
|
/**
|
|
26791
26791
|
*
|
|
@@ -26793,8 +26793,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26793
26793
|
* @param {*} [options] Override http request option.
|
|
26794
26794
|
* @throws {RequiredError}
|
|
26795
26795
|
*/
|
|
26796
|
-
|
|
26797
|
-
return localVarFp.
|
|
26796
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26797
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
26798
26798
|
},
|
|
26799
26799
|
/**
|
|
26800
26800
|
*
|
|
@@ -26808,8 +26808,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26808
26808
|
* @param {*} [options] Override http request option.
|
|
26809
26809
|
* @throws {RequiredError}
|
|
26810
26810
|
*/
|
|
26811
|
-
|
|
26812
|
-
return localVarFp.
|
|
26811
|
+
apiV1ServicereviewsServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26812
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26813
26813
|
},
|
|
26814
26814
|
/**
|
|
26815
26815
|
*
|
|
@@ -26819,8 +26819,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26819
26819
|
* @param {*} [options] Override http request option.
|
|
26820
26820
|
* @throws {RequiredError}
|
|
26821
26821
|
*/
|
|
26822
|
-
|
|
26823
|
-
return localVarFp.
|
|
26822
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26823
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
26824
26824
|
},
|
|
26825
26825
|
/**
|
|
26826
26826
|
*
|
|
@@ -26830,8 +26830,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26830
26830
|
* @param {*} [options] Override http request option.
|
|
26831
26831
|
* @throws {RequiredError}
|
|
26832
26832
|
*/
|
|
26833
|
-
|
|
26834
|
-
return localVarFp.
|
|
26833
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26834
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
26835
26835
|
},
|
|
26836
26836
|
/**
|
|
26837
26837
|
*
|
|
@@ -26842,8 +26842,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26842
26842
|
* @param {*} [options] Override http request option.
|
|
26843
26843
|
* @throws {RequiredError}
|
|
26844
26844
|
*/
|
|
26845
|
-
|
|
26846
|
-
return localVarFp.
|
|
26845
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26846
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26847
26847
|
},
|
|
26848
26848
|
/**
|
|
26849
26849
|
*
|
|
@@ -26853,8 +26853,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26853
26853
|
* @param {*} [options] Override http request option.
|
|
26854
26854
|
* @throws {RequiredError}
|
|
26855
26855
|
*/
|
|
26856
|
-
|
|
26857
|
-
return localVarFp.
|
|
26856
|
+
apiV1ServicereviewsServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26857
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26858
26858
|
},
|
|
26859
26859
|
/**
|
|
26860
26860
|
*
|
|
@@ -26864,20 +26864,20 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26864
26864
|
* @param {*} [options] Override http request option.
|
|
26865
26865
|
* @throws {RequiredError}
|
|
26866
26866
|
*/
|
|
26867
|
-
|
|
26868
|
-
return localVarFp.
|
|
26867
|
+
apiV1ServicereviewsServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26868
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26869
26869
|
},
|
|
26870
26870
|
};
|
|
26871
26871
|
};
|
|
26872
26872
|
/**
|
|
26873
|
-
*
|
|
26873
|
+
* ServiceReviewsApi - object-oriented interface
|
|
26874
26874
|
* @export
|
|
26875
|
-
* @class
|
|
26875
|
+
* @class ServiceReviewsApi
|
|
26876
26876
|
* @extends {BaseAPI}
|
|
26877
26877
|
*/
|
|
26878
|
-
var
|
|
26879
|
-
__extends(
|
|
26880
|
-
function
|
|
26878
|
+
var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
26879
|
+
__extends(ServiceReviewsApi, _super);
|
|
26880
|
+
function ServiceReviewsApi() {
|
|
26881
26881
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
26882
26882
|
}
|
|
26883
26883
|
/**
|
|
@@ -26895,11 +26895,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26895
26895
|
* @param {Date} [lastRetrieved]
|
|
26896
26896
|
* @param {*} [options] Override http request option.
|
|
26897
26897
|
* @throws {RequiredError}
|
|
26898
|
-
* @memberof
|
|
26898
|
+
* @memberof ServiceReviewsApi
|
|
26899
26899
|
*/
|
|
26900
|
-
|
|
26900
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26901
26901
|
var _this = this;
|
|
26902
|
-
return exports.
|
|
26902
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26903
26903
|
};
|
|
26904
26904
|
/**
|
|
26905
26905
|
*
|
|
@@ -26907,11 +26907,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26907
26907
|
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
26908
26908
|
* @param {*} [options] Override http request option.
|
|
26909
26909
|
* @throws {RequiredError}
|
|
26910
|
-
* @memberof
|
|
26910
|
+
* @memberof ServiceReviewsApi
|
|
26911
26911
|
*/
|
|
26912
|
-
|
|
26912
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsPost = function (createServiceReviewCommand, options) {
|
|
26913
26913
|
var _this = this;
|
|
26914
|
-
return exports.
|
|
26914
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsPost(createServiceReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26915
26915
|
};
|
|
26916
26916
|
/**
|
|
26917
26917
|
*
|
|
@@ -26919,22 +26919,22 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26919
26919
|
* @param {string} serviceReviewId
|
|
26920
26920
|
* @param {*} [options] Override http request option.
|
|
26921
26921
|
* @throws {RequiredError}
|
|
26922
|
-
* @memberof
|
|
26922
|
+
* @memberof ServiceReviewsApi
|
|
26923
26923
|
*/
|
|
26924
|
-
|
|
26924
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdDelete = function (serviceReviewId, options) {
|
|
26925
26925
|
var _this = this;
|
|
26926
|
-
return exports.
|
|
26926
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26927
26927
|
};
|
|
26928
26928
|
/**
|
|
26929
26929
|
*
|
|
26930
26930
|
* @param {string} serviceReviewId
|
|
26931
26931
|
* @param {*} [options] Override http request option.
|
|
26932
26932
|
* @throws {RequiredError}
|
|
26933
|
-
* @memberof
|
|
26933
|
+
* @memberof ServiceReviewsApi
|
|
26934
26934
|
*/
|
|
26935
|
-
|
|
26935
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
26936
26936
|
var _this = this;
|
|
26937
|
-
return exports.
|
|
26937
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26938
26938
|
};
|
|
26939
26939
|
/**
|
|
26940
26940
|
*
|
|
@@ -26947,11 +26947,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26947
26947
|
* @param {Date} [lastRetrieved]
|
|
26948
26948
|
* @param {*} [options] Override http request option.
|
|
26949
26949
|
* @throws {RequiredError}
|
|
26950
|
-
* @memberof
|
|
26950
|
+
* @memberof ServiceReviewsApi
|
|
26951
26951
|
*/
|
|
26952
|
-
|
|
26952
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdMediasGet = function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26953
26953
|
var _this = this;
|
|
26954
|
-
return exports.
|
|
26954
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26955
26955
|
};
|
|
26956
26956
|
/**
|
|
26957
26957
|
*
|
|
@@ -26960,11 +26960,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26960
26960
|
* @param {string} mediaId
|
|
26961
26961
|
* @param {*} [options] Override http request option.
|
|
26962
26962
|
* @throws {RequiredError}
|
|
26963
|
-
* @memberof
|
|
26963
|
+
* @memberof ServiceReviewsApi
|
|
26964
26964
|
*/
|
|
26965
|
-
|
|
26965
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete = function (serviceReviewId, mediaId, options) {
|
|
26966
26966
|
var _this = this;
|
|
26967
|
-
return exports.
|
|
26967
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26968
26968
|
};
|
|
26969
26969
|
/**
|
|
26970
26970
|
*
|
|
@@ -26973,11 +26973,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26973
26973
|
* @param {string} mediaId
|
|
26974
26974
|
* @param {*} [options] Override http request option.
|
|
26975
26975
|
* @throws {RequiredError}
|
|
26976
|
-
* @memberof
|
|
26976
|
+
* @memberof ServiceReviewsApi
|
|
26977
26977
|
*/
|
|
26978
|
-
|
|
26978
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdMediasMediaIdGet = function (serviceReviewId, mediaId, options) {
|
|
26979
26979
|
var _this = this;
|
|
26980
|
-
return exports.
|
|
26980
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26981
26981
|
};
|
|
26982
26982
|
/**
|
|
26983
26983
|
*
|
|
@@ -26987,11 +26987,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26987
26987
|
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26988
26988
|
* @param {*} [options] Override http request option.
|
|
26989
26989
|
* @throws {RequiredError}
|
|
26990
|
-
* @memberof
|
|
26990
|
+
* @memberof ServiceReviewsApi
|
|
26991
26991
|
*/
|
|
26992
|
-
|
|
26992
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdMediasMediaIdPut = function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26993
26993
|
var _this = this;
|
|
26994
|
-
return exports.
|
|
26994
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26995
26995
|
};
|
|
26996
26996
|
/**
|
|
26997
26997
|
*
|
|
@@ -27000,11 +27000,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
27000
27000
|
* @param {CreateMediaCommand} [createMediaCommand]
|
|
27001
27001
|
* @param {*} [options] Override http request option.
|
|
27002
27002
|
* @throws {RequiredError}
|
|
27003
|
-
* @memberof
|
|
27003
|
+
* @memberof ServiceReviewsApi
|
|
27004
27004
|
*/
|
|
27005
|
-
|
|
27005
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdMediasPost = function (serviceReviewId, createMediaCommand, options) {
|
|
27006
27006
|
var _this = this;
|
|
27007
|
-
return exports.
|
|
27007
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27008
27008
|
};
|
|
27009
27009
|
/**
|
|
27010
27010
|
*
|
|
@@ -27013,15 +27013,15 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
27013
27013
|
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
27014
27014
|
* @param {*} [options] Override http request option.
|
|
27015
27015
|
* @throws {RequiredError}
|
|
27016
|
-
* @memberof
|
|
27016
|
+
* @memberof ServiceReviewsApi
|
|
27017
27017
|
*/
|
|
27018
|
-
|
|
27018
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdPut = function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
27019
27019
|
var _this = this;
|
|
27020
|
-
return exports.
|
|
27020
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27021
27021
|
};
|
|
27022
|
-
return
|
|
27022
|
+
return ServiceReviewsApi;
|
|
27023
27023
|
}(base_1.BaseAPI));
|
|
27024
|
-
exports.
|
|
27024
|
+
exports.ServiceReviewsApi = ServiceReviewsApi;
|
|
27025
27025
|
/**
|
|
27026
27026
|
* ServicesApi - axios parameter creator
|
|
27027
27027
|
* @export
|