ch-admin-api-client-typescript 2.7.1 → 2.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +75 -77
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +131 -124
- package/package.json +1 -1
- package/src/api.ts +135 -133
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
|
|
@@ -17524,13 +17524,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17524
17524
|
* @param {string} [hospitalName]
|
|
17525
17525
|
* @param {string} [description]
|
|
17526
17526
|
* @param {Date} [created]
|
|
17527
|
+
* @param {boolean} [showHidden]
|
|
17527
17528
|
* @param {number} [page]
|
|
17528
17529
|
* @param {number} [limit]
|
|
17529
17530
|
* @param {Date} [lastRetrieved]
|
|
17530
17531
|
* @param {*} [options] Override http request option.
|
|
17531
17532
|
* @throws {RequiredError}
|
|
17532
17533
|
*/
|
|
17533
|
-
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options) {
|
|
17534
|
+
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options) {
|
|
17534
17535
|
if (options === void 0) { options = {}; }
|
|
17535
17536
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17536
17537
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17575,6 +17576,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
17575
17576
|
created.toISOString() :
|
|
17576
17577
|
created;
|
|
17577
17578
|
}
|
|
17579
|
+
if (showHidden !== undefined) {
|
|
17580
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17581
|
+
}
|
|
17578
17582
|
if (page !== undefined) {
|
|
17579
17583
|
localVarQueryParameter['page'] = page;
|
|
17580
17584
|
}
|
|
@@ -19674,18 +19678,19 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
19674
19678
|
* @param {string} [hospitalName]
|
|
19675
19679
|
* @param {string} [description]
|
|
19676
19680
|
* @param {Date} [created]
|
|
19681
|
+
* @param {boolean} [showHidden]
|
|
19677
19682
|
* @param {number} [page]
|
|
19678
19683
|
* @param {number} [limit]
|
|
19679
19684
|
* @param {Date} [lastRetrieved]
|
|
19680
19685
|
* @param {*} [options] Override http request option.
|
|
19681
19686
|
* @throws {RequiredError}
|
|
19682
19687
|
*/
|
|
19683
|
-
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options) {
|
|
19688
|
+
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options) {
|
|
19684
19689
|
return __awaiter(this, void 0, void 0, function () {
|
|
19685
19690
|
var localVarAxiosArgs;
|
|
19686
19691
|
return __generator(this, function (_a) {
|
|
19687
19692
|
switch (_a.label) {
|
|
19688
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options)];
|
|
19693
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options)];
|
|
19689
19694
|
case 1:
|
|
19690
19695
|
localVarAxiosArgs = _a.sent();
|
|
19691
19696
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -20609,14 +20614,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
20609
20614
|
* @param {string} [hospitalName]
|
|
20610
20615
|
* @param {string} [description]
|
|
20611
20616
|
* @param {Date} [created]
|
|
20617
|
+
* @param {boolean} [showHidden]
|
|
20612
20618
|
* @param {number} [page]
|
|
20613
20619
|
* @param {number} [limit]
|
|
20614
20620
|
* @param {Date} [lastRetrieved]
|
|
20615
20621
|
* @param {*} [options] Override http request option.
|
|
20616
20622
|
* @throws {RequiredError}
|
|
20617
20623
|
*/
|
|
20618
|
-
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options) {
|
|
20619
|
-
return localVarFp.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20624
|
+
apiV1HospitalsHospitalIdEquipmentsGet: function (hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options) {
|
|
20625
|
+
return localVarFp.apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
20620
20626
|
},
|
|
20621
20627
|
/**
|
|
20622
20628
|
*
|
|
@@ -21268,6 +21274,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21268
21274
|
* @param {string} [hospitalName]
|
|
21269
21275
|
* @param {string} [description]
|
|
21270
21276
|
* @param {Date} [created]
|
|
21277
|
+
* @param {boolean} [showHidden]
|
|
21271
21278
|
* @param {number} [page]
|
|
21272
21279
|
* @param {number} [limit]
|
|
21273
21280
|
* @param {Date} [lastRetrieved]
|
|
@@ -21275,9 +21282,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
21275
21282
|
* @throws {RequiredError}
|
|
21276
21283
|
* @memberof HospitalsApi
|
|
21277
21284
|
*/
|
|
21278
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdEquipmentsGet = function (hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options) {
|
|
21285
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdEquipmentsGet = function (hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options) {
|
|
21279
21286
|
var _this = this;
|
|
21280
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21287
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsGet(hospitalId, id, name, hospitalId2, hospitalName, description, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
21281
21288
|
};
|
|
21282
21289
|
/**
|
|
21283
21290
|
*
|
|
@@ -25996,10 +26003,10 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
25996
26003
|
}(base_1.BaseAPI));
|
|
25997
26004
|
exports.ProfilesApi = ProfilesApi;
|
|
25998
26005
|
/**
|
|
25999
|
-
*
|
|
26006
|
+
* ServiceReviewsApi - axios parameter creator
|
|
26000
26007
|
* @export
|
|
26001
26008
|
*/
|
|
26002
|
-
exports.
|
|
26009
|
+
exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
|
|
26003
26010
|
var _this = this;
|
|
26004
26011
|
return {
|
|
26005
26012
|
/**
|
|
@@ -26018,14 +26025,14 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26018
26025
|
* @param {*} [options] Override http request option.
|
|
26019
26026
|
* @throws {RequiredError}
|
|
26020
26027
|
*/
|
|
26021
|
-
|
|
26028
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26022
26029
|
if (options === void 0) { options = {}; }
|
|
26023
26030
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26024
26031
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26025
26032
|
return __generator(this, function (_a) {
|
|
26026
26033
|
switch (_a.label) {
|
|
26027
26034
|
case 0:
|
|
26028
|
-
localVarPath = "/api/v1/
|
|
26035
|
+
localVarPath = "/api/v1/servicereviews";
|
|
26029
26036
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26030
26037
|
if (configuration) {
|
|
26031
26038
|
baseOptions = configuration.baseOptions;
|
|
@@ -26090,14 +26097,14 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26090
26097
|
* @param {*} [options] Override http request option.
|
|
26091
26098
|
* @throws {RequiredError}
|
|
26092
26099
|
*/
|
|
26093
|
-
|
|
26100
|
+
apiV1ServicereviewsPost: function (createServiceReviewCommand, options) {
|
|
26094
26101
|
if (options === void 0) { options = {}; }
|
|
26095
26102
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26096
26103
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26097
26104
|
return __generator(this, function (_a) {
|
|
26098
26105
|
switch (_a.label) {
|
|
26099
26106
|
case 0:
|
|
26100
|
-
localVarPath = "/api/v1/
|
|
26107
|
+
localVarPath = "/api/v1/servicereviews";
|
|
26101
26108
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26102
26109
|
if (configuration) {
|
|
26103
26110
|
baseOptions = configuration.baseOptions;
|
|
@@ -26132,7 +26139,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26132
26139
|
* @param {*} [options] Override http request option.
|
|
26133
26140
|
* @throws {RequiredError}
|
|
26134
26141
|
*/
|
|
26135
|
-
|
|
26142
|
+
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26136
26143
|
if (options === void 0) { options = {}; }
|
|
26137
26144
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26138
26145
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26140,8 +26147,8 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26140
26147
|
switch (_a.label) {
|
|
26141
26148
|
case 0:
|
|
26142
26149
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26143
|
-
common_1.assertParamExists('
|
|
26144
|
-
localVarPath = "/api/v1/
|
|
26150
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdDelete', 'serviceReviewId', serviceReviewId);
|
|
26151
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}"
|
|
26145
26152
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26146
26153
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26147
26154
|
if (configuration) {
|
|
@@ -26174,7 +26181,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26174
26181
|
* @param {*} [options] Override http request option.
|
|
26175
26182
|
* @throws {RequiredError}
|
|
26176
26183
|
*/
|
|
26177
|
-
|
|
26184
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26178
26185
|
if (options === void 0) { options = {}; }
|
|
26179
26186
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26180
26187
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26182,8 +26189,8 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26182
26189
|
switch (_a.label) {
|
|
26183
26190
|
case 0:
|
|
26184
26191
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26185
|
-
common_1.assertParamExists('
|
|
26186
|
-
localVarPath = "/api/v1/
|
|
26192
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId);
|
|
26193
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}"
|
|
26187
26194
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26188
26195
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26189
26196
|
if (configuration) {
|
|
@@ -26222,7 +26229,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26222
26229
|
* @param {*} [options] Override http request option.
|
|
26223
26230
|
* @throws {RequiredError}
|
|
26224
26231
|
*/
|
|
26225
|
-
|
|
26232
|
+
apiV1ServicereviewsServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26226
26233
|
if (options === void 0) { options = {}; }
|
|
26227
26234
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26228
26235
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26230,8 +26237,8 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26230
26237
|
switch (_a.label) {
|
|
26231
26238
|
case 0:
|
|
26232
26239
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26233
|
-
common_1.assertParamExists('
|
|
26234
|
-
localVarPath = "/api/v1/
|
|
26240
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId);
|
|
26241
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias"
|
|
26235
26242
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26236
26243
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26237
26244
|
if (configuration) {
|
|
@@ -26283,7 +26290,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26283
26290
|
* @param {*} [options] Override http request option.
|
|
26284
26291
|
* @throws {RequiredError}
|
|
26285
26292
|
*/
|
|
26286
|
-
|
|
26293
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26287
26294
|
if (options === void 0) { options = {}; }
|
|
26288
26295
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26289
26296
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26291,10 +26298,10 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26291
26298
|
switch (_a.label) {
|
|
26292
26299
|
case 0:
|
|
26293
26300
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26294
|
-
common_1.assertParamExists('
|
|
26301
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId);
|
|
26295
26302
|
// verify required parameter 'mediaId' is not null or undefined
|
|
26296
|
-
common_1.assertParamExists('
|
|
26297
|
-
localVarPath = "/api/v1/
|
|
26303
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId);
|
|
26304
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
26298
26305
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26299
26306
|
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26300
26307
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -26330,7 +26337,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26330
26337
|
* @param {*} [options] Override http request option.
|
|
26331
26338
|
* @throws {RequiredError}
|
|
26332
26339
|
*/
|
|
26333
|
-
|
|
26340
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26334
26341
|
if (options === void 0) { options = {}; }
|
|
26335
26342
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26336
26343
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26338,10 +26345,10 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26338
26345
|
switch (_a.label) {
|
|
26339
26346
|
case 0:
|
|
26340
26347
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26341
|
-
common_1.assertParamExists('
|
|
26348
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId);
|
|
26342
26349
|
// verify required parameter 'mediaId' is not null or undefined
|
|
26343
|
-
common_1.assertParamExists('
|
|
26344
|
-
localVarPath = "/api/v1/
|
|
26350
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
26351
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
26345
26352
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26346
26353
|
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26347
26354
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -26378,7 +26385,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26378
26385
|
* @param {*} [options] Override http request option.
|
|
26379
26386
|
* @throws {RequiredError}
|
|
26380
26387
|
*/
|
|
26381
|
-
|
|
26388
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26382
26389
|
if (options === void 0) { options = {}; }
|
|
26383
26390
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26384
26391
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26386,10 +26393,10 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26386
26393
|
switch (_a.label) {
|
|
26387
26394
|
case 0:
|
|
26388
26395
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26389
|
-
common_1.assertParamExists('
|
|
26396
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdPut', 'serviceReviewId', serviceReviewId);
|
|
26390
26397
|
// verify required parameter 'mediaId' is not null or undefined
|
|
26391
|
-
common_1.assertParamExists('
|
|
26392
|
-
localVarPath = "/api/v1/
|
|
26398
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasMediaIdPut', 'mediaId', mediaId);
|
|
26399
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias/{mediaId}"
|
|
26393
26400
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26394
26401
|
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26395
26402
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -26427,7 +26434,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26427
26434
|
* @param {*} [options] Override http request option.
|
|
26428
26435
|
* @throws {RequiredError}
|
|
26429
26436
|
*/
|
|
26430
|
-
|
|
26437
|
+
apiV1ServicereviewsServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26431
26438
|
if (options === void 0) { options = {}; }
|
|
26432
26439
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26433
26440
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26435,8 +26442,8 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26435
26442
|
switch (_a.label) {
|
|
26436
26443
|
case 0:
|
|
26437
26444
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26438
|
-
common_1.assertParamExists('
|
|
26439
|
-
localVarPath = "/api/v1/
|
|
26445
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdMediasPost', 'serviceReviewId', serviceReviewId);
|
|
26446
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}/medias"
|
|
26440
26447
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26441
26448
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26442
26449
|
if (configuration) {
|
|
@@ -26473,7 +26480,7 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26473
26480
|
* @param {*} [options] Override http request option.
|
|
26474
26481
|
* @throws {RequiredError}
|
|
26475
26482
|
*/
|
|
26476
|
-
|
|
26483
|
+
apiV1ServicereviewsServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26477
26484
|
if (options === void 0) { options = {}; }
|
|
26478
26485
|
return __awaiter(_this, void 0, void 0, function () {
|
|
26479
26486
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -26481,8 +26488,8 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26481
26488
|
switch (_a.label) {
|
|
26482
26489
|
case 0:
|
|
26483
26490
|
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26484
|
-
common_1.assertParamExists('
|
|
26485
|
-
localVarPath = "/api/v1/
|
|
26491
|
+
common_1.assertParamExists('apiV1ServicereviewsServiceReviewIdPut', 'serviceReviewId', serviceReviewId);
|
|
26492
|
+
localVarPath = "/api/v1/servicereviews/{serviceReviewId}"
|
|
26486
26493
|
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26487
26494
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26488
26495
|
if (configuration) {
|
|
@@ -26514,11 +26521,11 @@ exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
|
26514
26521
|
};
|
|
26515
26522
|
};
|
|
26516
26523
|
/**
|
|
26517
|
-
*
|
|
26524
|
+
* ServiceReviewsApi - functional programming interface
|
|
26518
26525
|
* @export
|
|
26519
26526
|
*/
|
|
26520
|
-
exports.
|
|
26521
|
-
var localVarAxiosParamCreator = exports.
|
|
26527
|
+
exports.ServiceReviewsApiFp = function (configuration) {
|
|
26528
|
+
var localVarAxiosParamCreator = exports.ServiceReviewsApiAxiosParamCreator(configuration);
|
|
26522
26529
|
return {
|
|
26523
26530
|
/**
|
|
26524
26531
|
*
|
|
@@ -26536,12 +26543,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26536
26543
|
* @param {*} [options] Override http request option.
|
|
26537
26544
|
* @throws {RequiredError}
|
|
26538
26545
|
*/
|
|
26539
|
-
|
|
26546
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26540
26547
|
return __awaiter(this, void 0, void 0, function () {
|
|
26541
26548
|
var localVarAxiosArgs;
|
|
26542
26549
|
return __generator(this, function (_a) {
|
|
26543
26550
|
switch (_a.label) {
|
|
26544
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26551
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
|
|
26545
26552
|
case 1:
|
|
26546
26553
|
localVarAxiosArgs = _a.sent();
|
|
26547
26554
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26556,12 +26563,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26556
26563
|
* @param {*} [options] Override http request option.
|
|
26557
26564
|
* @throws {RequiredError}
|
|
26558
26565
|
*/
|
|
26559
|
-
|
|
26566
|
+
apiV1ServicereviewsPost: function (createServiceReviewCommand, options) {
|
|
26560
26567
|
return __awaiter(this, void 0, void 0, function () {
|
|
26561
26568
|
var localVarAxiosArgs;
|
|
26562
26569
|
return __generator(this, function (_a) {
|
|
26563
26570
|
switch (_a.label) {
|
|
26564
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26571
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsPost(createServiceReviewCommand, options)];
|
|
26565
26572
|
case 1:
|
|
26566
26573
|
localVarAxiosArgs = _a.sent();
|
|
26567
26574
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26576,12 +26583,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26576
26583
|
* @param {*} [options] Override http request option.
|
|
26577
26584
|
* @throws {RequiredError}
|
|
26578
26585
|
*/
|
|
26579
|
-
|
|
26586
|
+
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26580
26587
|
return __awaiter(this, void 0, void 0, function () {
|
|
26581
26588
|
var localVarAxiosArgs;
|
|
26582
26589
|
return __generator(this, function (_a) {
|
|
26583
26590
|
switch (_a.label) {
|
|
26584
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26591
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options)];
|
|
26585
26592
|
case 1:
|
|
26586
26593
|
localVarAxiosArgs = _a.sent();
|
|
26587
26594
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26595,12 +26602,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26595
26602
|
* @param {*} [options] Override http request option.
|
|
26596
26603
|
* @throws {RequiredError}
|
|
26597
26604
|
*/
|
|
26598
|
-
|
|
26605
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26599
26606
|
return __awaiter(this, void 0, void 0, function () {
|
|
26600
26607
|
var localVarAxiosArgs;
|
|
26601
26608
|
return __generator(this, function (_a) {
|
|
26602
26609
|
switch (_a.label) {
|
|
26603
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26610
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options)];
|
|
26604
26611
|
case 1:
|
|
26605
26612
|
localVarAxiosArgs = _a.sent();
|
|
26606
26613
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26620,12 +26627,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26620
26627
|
* @param {*} [options] Override http request option.
|
|
26621
26628
|
* @throws {RequiredError}
|
|
26622
26629
|
*/
|
|
26623
|
-
|
|
26630
|
+
apiV1ServicereviewsServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26624
26631
|
return __awaiter(this, void 0, void 0, function () {
|
|
26625
26632
|
var localVarAxiosArgs;
|
|
26626
26633
|
return __generator(this, function (_a) {
|
|
26627
26634
|
switch (_a.label) {
|
|
26628
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26635
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
26629
26636
|
case 1:
|
|
26630
26637
|
localVarAxiosArgs = _a.sent();
|
|
26631
26638
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26641,12 +26648,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26641
26648
|
* @param {*} [options] Override http request option.
|
|
26642
26649
|
* @throws {RequiredError}
|
|
26643
26650
|
*/
|
|
26644
|
-
|
|
26651
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26645
26652
|
return __awaiter(this, void 0, void 0, function () {
|
|
26646
26653
|
var localVarAxiosArgs;
|
|
26647
26654
|
return __generator(this, function (_a) {
|
|
26648
26655
|
switch (_a.label) {
|
|
26649
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26656
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options)];
|
|
26650
26657
|
case 1:
|
|
26651
26658
|
localVarAxiosArgs = _a.sent();
|
|
26652
26659
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26662,12 +26669,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26662
26669
|
* @param {*} [options] Override http request option.
|
|
26663
26670
|
* @throws {RequiredError}
|
|
26664
26671
|
*/
|
|
26665
|
-
|
|
26672
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26666
26673
|
return __awaiter(this, void 0, void 0, function () {
|
|
26667
26674
|
var localVarAxiosArgs;
|
|
26668
26675
|
return __generator(this, function (_a) {
|
|
26669
26676
|
switch (_a.label) {
|
|
26670
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26677
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options)];
|
|
26671
26678
|
case 1:
|
|
26672
26679
|
localVarAxiosArgs = _a.sent();
|
|
26673
26680
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26684,12 +26691,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26684
26691
|
* @param {*} [options] Override http request option.
|
|
26685
26692
|
* @throws {RequiredError}
|
|
26686
26693
|
*/
|
|
26687
|
-
|
|
26694
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26688
26695
|
return __awaiter(this, void 0, void 0, function () {
|
|
26689
26696
|
var localVarAxiosArgs;
|
|
26690
26697
|
return __generator(this, function (_a) {
|
|
26691
26698
|
switch (_a.label) {
|
|
26692
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26699
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options)];
|
|
26693
26700
|
case 1:
|
|
26694
26701
|
localVarAxiosArgs = _a.sent();
|
|
26695
26702
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26705,12 +26712,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26705
26712
|
* @param {*} [options] Override http request option.
|
|
26706
26713
|
* @throws {RequiredError}
|
|
26707
26714
|
*/
|
|
26708
|
-
|
|
26715
|
+
apiV1ServicereviewsServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26709
26716
|
return __awaiter(this, void 0, void 0, function () {
|
|
26710
26717
|
var localVarAxiosArgs;
|
|
26711
26718
|
return __generator(this, function (_a) {
|
|
26712
26719
|
switch (_a.label) {
|
|
26713
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26720
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options)];
|
|
26714
26721
|
case 1:
|
|
26715
26722
|
localVarAxiosArgs = _a.sent();
|
|
26716
26723
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26726,12 +26733,12 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26726
26733
|
* @param {*} [options] Override http request option.
|
|
26727
26734
|
* @throws {RequiredError}
|
|
26728
26735
|
*/
|
|
26729
|
-
|
|
26736
|
+
apiV1ServicereviewsServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26730
26737
|
return __awaiter(this, void 0, void 0, function () {
|
|
26731
26738
|
var localVarAxiosArgs;
|
|
26732
26739
|
return __generator(this, function (_a) {
|
|
26733
26740
|
switch (_a.label) {
|
|
26734
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
26741
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options)];
|
|
26735
26742
|
case 1:
|
|
26736
26743
|
localVarAxiosArgs = _a.sent();
|
|
26737
26744
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -26742,11 +26749,11 @@ exports.ServiceReviewApiFp = function (configuration) {
|
|
|
26742
26749
|
};
|
|
26743
26750
|
};
|
|
26744
26751
|
/**
|
|
26745
|
-
*
|
|
26752
|
+
* ServiceReviewsApi - factory interface
|
|
26746
26753
|
* @export
|
|
26747
26754
|
*/
|
|
26748
|
-
exports.
|
|
26749
|
-
var localVarFp = exports.
|
|
26755
|
+
exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
|
|
26756
|
+
var localVarFp = exports.ServiceReviewsApiFp(configuration);
|
|
26750
26757
|
return {
|
|
26751
26758
|
/**
|
|
26752
26759
|
*
|
|
@@ -26764,8 +26771,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26764
26771
|
* @param {*} [options] Override http request option.
|
|
26765
26772
|
* @throws {RequiredError}
|
|
26766
26773
|
*/
|
|
26767
|
-
|
|
26768
|
-
return localVarFp.
|
|
26774
|
+
apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26775
|
+
return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26769
26776
|
},
|
|
26770
26777
|
/**
|
|
26771
26778
|
*
|
|
@@ -26774,8 +26781,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26774
26781
|
* @param {*} [options] Override http request option.
|
|
26775
26782
|
* @throws {RequiredError}
|
|
26776
26783
|
*/
|
|
26777
|
-
|
|
26778
|
-
return localVarFp.
|
|
26784
|
+
apiV1ServicereviewsPost: function (createServiceReviewCommand, options) {
|
|
26785
|
+
return localVarFp.apiV1ServicereviewsPost(createServiceReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26779
26786
|
},
|
|
26780
26787
|
/**
|
|
26781
26788
|
*
|
|
@@ -26784,8 +26791,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26784
26791
|
* @param {*} [options] Override http request option.
|
|
26785
26792
|
* @throws {RequiredError}
|
|
26786
26793
|
*/
|
|
26787
|
-
|
|
26788
|
-
return localVarFp.
|
|
26794
|
+
apiV1ServicereviewsServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26795
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
26789
26796
|
},
|
|
26790
26797
|
/**
|
|
26791
26798
|
*
|
|
@@ -26793,8 +26800,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26793
26800
|
* @param {*} [options] Override http request option.
|
|
26794
26801
|
* @throws {RequiredError}
|
|
26795
26802
|
*/
|
|
26796
|
-
|
|
26797
|
-
return localVarFp.
|
|
26803
|
+
apiV1ServicereviewsServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26804
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
26798
26805
|
},
|
|
26799
26806
|
/**
|
|
26800
26807
|
*
|
|
@@ -26808,8 +26815,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26808
26815
|
* @param {*} [options] Override http request option.
|
|
26809
26816
|
* @throws {RequiredError}
|
|
26810
26817
|
*/
|
|
26811
|
-
|
|
26812
|
-
return localVarFp.
|
|
26818
|
+
apiV1ServicereviewsServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26819
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26813
26820
|
},
|
|
26814
26821
|
/**
|
|
26815
26822
|
*
|
|
@@ -26819,8 +26826,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26819
26826
|
* @param {*} [options] Override http request option.
|
|
26820
26827
|
* @throws {RequiredError}
|
|
26821
26828
|
*/
|
|
26822
|
-
|
|
26823
|
-
return localVarFp.
|
|
26829
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26830
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
26824
26831
|
},
|
|
26825
26832
|
/**
|
|
26826
26833
|
*
|
|
@@ -26830,8 +26837,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26830
26837
|
* @param {*} [options] Override http request option.
|
|
26831
26838
|
* @throws {RequiredError}
|
|
26832
26839
|
*/
|
|
26833
|
-
|
|
26834
|
-
return localVarFp.
|
|
26840
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26841
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
26835
26842
|
},
|
|
26836
26843
|
/**
|
|
26837
26844
|
*
|
|
@@ -26842,8 +26849,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26842
26849
|
* @param {*} [options] Override http request option.
|
|
26843
26850
|
* @throws {RequiredError}
|
|
26844
26851
|
*/
|
|
26845
|
-
|
|
26846
|
-
return localVarFp.
|
|
26852
|
+
apiV1ServicereviewsServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26853
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26847
26854
|
},
|
|
26848
26855
|
/**
|
|
26849
26856
|
*
|
|
@@ -26853,8 +26860,8 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26853
26860
|
* @param {*} [options] Override http request option.
|
|
26854
26861
|
* @throws {RequiredError}
|
|
26855
26862
|
*/
|
|
26856
|
-
|
|
26857
|
-
return localVarFp.
|
|
26863
|
+
apiV1ServicereviewsServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26864
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26858
26865
|
},
|
|
26859
26866
|
/**
|
|
26860
26867
|
*
|
|
@@ -26864,20 +26871,20 @@ exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
|
26864
26871
|
* @param {*} [options] Override http request option.
|
|
26865
26872
|
* @throws {RequiredError}
|
|
26866
26873
|
*/
|
|
26867
|
-
|
|
26868
|
-
return localVarFp.
|
|
26874
|
+
apiV1ServicereviewsServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26875
|
+
return localVarFp.apiV1ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26869
26876
|
},
|
|
26870
26877
|
};
|
|
26871
26878
|
};
|
|
26872
26879
|
/**
|
|
26873
|
-
*
|
|
26880
|
+
* ServiceReviewsApi - object-oriented interface
|
|
26874
26881
|
* @export
|
|
26875
|
-
* @class
|
|
26882
|
+
* @class ServiceReviewsApi
|
|
26876
26883
|
* @extends {BaseAPI}
|
|
26877
26884
|
*/
|
|
26878
|
-
var
|
|
26879
|
-
__extends(
|
|
26880
|
-
function
|
|
26885
|
+
var ServiceReviewsApi = /** @class */ (function (_super) {
|
|
26886
|
+
__extends(ServiceReviewsApi, _super);
|
|
26887
|
+
function ServiceReviewsApi() {
|
|
26881
26888
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
26882
26889
|
}
|
|
26883
26890
|
/**
|
|
@@ -26895,11 +26902,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26895
26902
|
* @param {Date} [lastRetrieved]
|
|
26896
26903
|
* @param {*} [options] Override http request option.
|
|
26897
26904
|
* @throws {RequiredError}
|
|
26898
|
-
* @memberof
|
|
26905
|
+
* @memberof ServiceReviewsApi
|
|
26899
26906
|
*/
|
|
26900
|
-
|
|
26907
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
|
|
26901
26908
|
var _this = this;
|
|
26902
|
-
return exports.
|
|
26909
|
+
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
26910
|
};
|
|
26904
26911
|
/**
|
|
26905
26912
|
*
|
|
@@ -26907,11 +26914,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26907
26914
|
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
26908
26915
|
* @param {*} [options] Override http request option.
|
|
26909
26916
|
* @throws {RequiredError}
|
|
26910
|
-
* @memberof
|
|
26917
|
+
* @memberof ServiceReviewsApi
|
|
26911
26918
|
*/
|
|
26912
|
-
|
|
26919
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsPost = function (createServiceReviewCommand, options) {
|
|
26913
26920
|
var _this = this;
|
|
26914
|
-
return exports.
|
|
26921
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsPost(createServiceReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26915
26922
|
};
|
|
26916
26923
|
/**
|
|
26917
26924
|
*
|
|
@@ -26919,22 +26926,22 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26919
26926
|
* @param {string} serviceReviewId
|
|
26920
26927
|
* @param {*} [options] Override http request option.
|
|
26921
26928
|
* @throws {RequiredError}
|
|
26922
|
-
* @memberof
|
|
26929
|
+
* @memberof ServiceReviewsApi
|
|
26923
26930
|
*/
|
|
26924
|
-
|
|
26931
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdDelete = function (serviceReviewId, options) {
|
|
26925
26932
|
var _this = this;
|
|
26926
|
-
return exports.
|
|
26933
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26927
26934
|
};
|
|
26928
26935
|
/**
|
|
26929
26936
|
*
|
|
26930
26937
|
* @param {string} serviceReviewId
|
|
26931
26938
|
* @param {*} [options] Override http request option.
|
|
26932
26939
|
* @throws {RequiredError}
|
|
26933
|
-
* @memberof
|
|
26940
|
+
* @memberof ServiceReviewsApi
|
|
26934
26941
|
*/
|
|
26935
|
-
|
|
26942
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdGet = function (serviceReviewId, options) {
|
|
26936
26943
|
var _this = this;
|
|
26937
|
-
return exports.
|
|
26944
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26938
26945
|
};
|
|
26939
26946
|
/**
|
|
26940
26947
|
*
|
|
@@ -26947,11 +26954,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26947
26954
|
* @param {Date} [lastRetrieved]
|
|
26948
26955
|
* @param {*} [options] Override http request option.
|
|
26949
26956
|
* @throws {RequiredError}
|
|
26950
|
-
* @memberof
|
|
26957
|
+
* @memberof ServiceReviewsApi
|
|
26951
26958
|
*/
|
|
26952
|
-
|
|
26959
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdMediasGet = function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26953
26960
|
var _this = this;
|
|
26954
|
-
return exports.
|
|
26961
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26955
26962
|
};
|
|
26956
26963
|
/**
|
|
26957
26964
|
*
|
|
@@ -26960,11 +26967,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26960
26967
|
* @param {string} mediaId
|
|
26961
26968
|
* @param {*} [options] Override http request option.
|
|
26962
26969
|
* @throws {RequiredError}
|
|
26963
|
-
* @memberof
|
|
26970
|
+
* @memberof ServiceReviewsApi
|
|
26964
26971
|
*/
|
|
26965
|
-
|
|
26972
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete = function (serviceReviewId, mediaId, options) {
|
|
26966
26973
|
var _this = this;
|
|
26967
|
-
return exports.
|
|
26974
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26968
26975
|
};
|
|
26969
26976
|
/**
|
|
26970
26977
|
*
|
|
@@ -26973,11 +26980,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26973
26980
|
* @param {string} mediaId
|
|
26974
26981
|
* @param {*} [options] Override http request option.
|
|
26975
26982
|
* @throws {RequiredError}
|
|
26976
|
-
* @memberof
|
|
26983
|
+
* @memberof ServiceReviewsApi
|
|
26977
26984
|
*/
|
|
26978
|
-
|
|
26985
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdMediasMediaIdGet = function (serviceReviewId, mediaId, options) {
|
|
26979
26986
|
var _this = this;
|
|
26980
|
-
return exports.
|
|
26987
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26981
26988
|
};
|
|
26982
26989
|
/**
|
|
26983
26990
|
*
|
|
@@ -26987,11 +26994,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
26987
26994
|
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26988
26995
|
* @param {*} [options] Override http request option.
|
|
26989
26996
|
* @throws {RequiredError}
|
|
26990
|
-
* @memberof
|
|
26997
|
+
* @memberof ServiceReviewsApi
|
|
26991
26998
|
*/
|
|
26992
|
-
|
|
26999
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdMediasMediaIdPut = function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26993
27000
|
var _this = this;
|
|
26994
|
-
return exports.
|
|
27001
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26995
27002
|
};
|
|
26996
27003
|
/**
|
|
26997
27004
|
*
|
|
@@ -27000,11 +27007,11 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
27000
27007
|
* @param {CreateMediaCommand} [createMediaCommand]
|
|
27001
27008
|
* @param {*} [options] Override http request option.
|
|
27002
27009
|
* @throws {RequiredError}
|
|
27003
|
-
* @memberof
|
|
27010
|
+
* @memberof ServiceReviewsApi
|
|
27004
27011
|
*/
|
|
27005
|
-
|
|
27012
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdMediasPost = function (serviceReviewId, createMediaCommand, options) {
|
|
27006
27013
|
var _this = this;
|
|
27007
|
-
return exports.
|
|
27014
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27008
27015
|
};
|
|
27009
27016
|
/**
|
|
27010
27017
|
*
|
|
@@ -27013,15 +27020,15 @@ var ServiceReviewApi = /** @class */ (function (_super) {
|
|
|
27013
27020
|
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
27014
27021
|
* @param {*} [options] Override http request option.
|
|
27015
27022
|
* @throws {RequiredError}
|
|
27016
|
-
* @memberof
|
|
27023
|
+
* @memberof ServiceReviewsApi
|
|
27017
27024
|
*/
|
|
27018
|
-
|
|
27025
|
+
ServiceReviewsApi.prototype.apiV1ServicereviewsServiceReviewIdPut = function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
27019
27026
|
var _this = this;
|
|
27020
|
-
return exports.
|
|
27027
|
+
return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
27021
27028
|
};
|
|
27022
|
-
return
|
|
27029
|
+
return ServiceReviewsApi;
|
|
27023
27030
|
}(base_1.BaseAPI));
|
|
27024
|
-
exports.
|
|
27031
|
+
exports.ServiceReviewsApi = ServiceReviewsApi;
|
|
27025
27032
|
/**
|
|
27026
27033
|
* ServicesApi - axios parameter creator
|
|
27027
27034
|
* @export
|