ch-admin-api-client-typescript 2.6.6 → 2.6.7
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 +635 -1
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1024 -1
- package/package.json +1 -1
- package/src/api.ts +1102 -1
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.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.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;
|
|
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.ServiceReviewApi = exports.ServiceReviewApiFactory = exports.ServiceReviewApiFp = exports.ServiceReviewApiAxiosParamCreator = 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.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
|
|
@@ -181,6 +181,9 @@ var MediaType;
|
|
|
181
181
|
MediaType["Video"] = "Video";
|
|
182
182
|
MediaType["Youtube"] = "Youtube";
|
|
183
183
|
MediaType["Document"] = "Document";
|
|
184
|
+
MediaType["Frontal"] = "Frontal";
|
|
185
|
+
MediaType["Diagonal"] = "Diagonal";
|
|
186
|
+
MediaType["Side"] = "Side";
|
|
184
187
|
})(MediaType = exports.MediaType || (exports.MediaType = {}));
|
|
185
188
|
/**
|
|
186
189
|
*
|
|
@@ -25733,6 +25736,1026 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
25733
25736
|
return ProfilesApi;
|
|
25734
25737
|
}(base_1.BaseAPI));
|
|
25735
25738
|
exports.ProfilesApi = ProfilesApi;
|
|
25739
|
+
/**
|
|
25740
|
+
* ServiceReviewApi - axios parameter creator
|
|
25741
|
+
* @export
|
|
25742
|
+
*/
|
|
25743
|
+
exports.ServiceReviewApiAxiosParamCreator = function (configuration) {
|
|
25744
|
+
var _this = this;
|
|
25745
|
+
return {
|
|
25746
|
+
/**
|
|
25747
|
+
*
|
|
25748
|
+
* @summary Get all ServiceReviews.
|
|
25749
|
+
* @param {string} [serviceId]
|
|
25750
|
+
* @param {string} [serviceName]
|
|
25751
|
+
* @param {string} [patientId]
|
|
25752
|
+
* @param {string} [patientName]
|
|
25753
|
+
* @param {boolean} [recommended]
|
|
25754
|
+
* @param {number} [rate]
|
|
25755
|
+
* @param {number} [page]
|
|
25756
|
+
* @param {number} [limit]
|
|
25757
|
+
* @param {Date} [lastRetrieved]
|
|
25758
|
+
* @param {*} [options] Override http request option.
|
|
25759
|
+
* @throws {RequiredError}
|
|
25760
|
+
*/
|
|
25761
|
+
apiV1ServicereviewGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options) {
|
|
25762
|
+
if (options === void 0) { options = {}; }
|
|
25763
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
25764
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25765
|
+
return __generator(this, function (_a) {
|
|
25766
|
+
switch (_a.label) {
|
|
25767
|
+
case 0:
|
|
25768
|
+
localVarPath = "/api/v1/servicereview";
|
|
25769
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25770
|
+
if (configuration) {
|
|
25771
|
+
baseOptions = configuration.baseOptions;
|
|
25772
|
+
}
|
|
25773
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
25774
|
+
localVarHeaderParameter = {};
|
|
25775
|
+
localVarQueryParameter = {};
|
|
25776
|
+
// authentication oauth2 required
|
|
25777
|
+
// oauth required
|
|
25778
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
25779
|
+
case 1:
|
|
25780
|
+
// authentication oauth2 required
|
|
25781
|
+
// oauth required
|
|
25782
|
+
_a.sent();
|
|
25783
|
+
if (serviceId !== undefined) {
|
|
25784
|
+
localVarQueryParameter['ServiceId'] = serviceId;
|
|
25785
|
+
}
|
|
25786
|
+
if (serviceName !== undefined) {
|
|
25787
|
+
localVarQueryParameter['ServiceName'] = serviceName;
|
|
25788
|
+
}
|
|
25789
|
+
if (patientId !== undefined) {
|
|
25790
|
+
localVarQueryParameter['PatientId'] = patientId;
|
|
25791
|
+
}
|
|
25792
|
+
if (patientName !== undefined) {
|
|
25793
|
+
localVarQueryParameter['PatientName'] = patientName;
|
|
25794
|
+
}
|
|
25795
|
+
if (recommended !== undefined) {
|
|
25796
|
+
localVarQueryParameter['Recommended'] = recommended;
|
|
25797
|
+
}
|
|
25798
|
+
if (rate !== undefined) {
|
|
25799
|
+
localVarQueryParameter['Rate'] = rate;
|
|
25800
|
+
}
|
|
25801
|
+
if (page !== undefined) {
|
|
25802
|
+
localVarQueryParameter['page'] = page;
|
|
25803
|
+
}
|
|
25804
|
+
if (limit !== undefined) {
|
|
25805
|
+
localVarQueryParameter['limit'] = limit;
|
|
25806
|
+
}
|
|
25807
|
+
if (lastRetrieved !== undefined) {
|
|
25808
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
25809
|
+
lastRetrieved.toISOString() :
|
|
25810
|
+
lastRetrieved;
|
|
25811
|
+
}
|
|
25812
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25813
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25814
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25815
|
+
return [2 /*return*/, {
|
|
25816
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
25817
|
+
options: localVarRequestOptions,
|
|
25818
|
+
}];
|
|
25819
|
+
}
|
|
25820
|
+
});
|
|
25821
|
+
});
|
|
25822
|
+
},
|
|
25823
|
+
/**
|
|
25824
|
+
*
|
|
25825
|
+
* @summary Create a ServiceReview.
|
|
25826
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
25827
|
+
* @param {*} [options] Override http request option.
|
|
25828
|
+
* @throws {RequiredError}
|
|
25829
|
+
*/
|
|
25830
|
+
apiV1ServicereviewPost: function (createServiceReviewCommand, options) {
|
|
25831
|
+
if (options === void 0) { options = {}; }
|
|
25832
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
25833
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25834
|
+
return __generator(this, function (_a) {
|
|
25835
|
+
switch (_a.label) {
|
|
25836
|
+
case 0:
|
|
25837
|
+
localVarPath = "/api/v1/servicereview";
|
|
25838
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25839
|
+
if (configuration) {
|
|
25840
|
+
baseOptions = configuration.baseOptions;
|
|
25841
|
+
}
|
|
25842
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
25843
|
+
localVarHeaderParameter = {};
|
|
25844
|
+
localVarQueryParameter = {};
|
|
25845
|
+
// authentication oauth2 required
|
|
25846
|
+
// oauth required
|
|
25847
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
25848
|
+
case 1:
|
|
25849
|
+
// authentication oauth2 required
|
|
25850
|
+
// oauth required
|
|
25851
|
+
_a.sent();
|
|
25852
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25853
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25854
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25855
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25856
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createServiceReviewCommand, localVarRequestOptions, configuration);
|
|
25857
|
+
return [2 /*return*/, {
|
|
25858
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
25859
|
+
options: localVarRequestOptions,
|
|
25860
|
+
}];
|
|
25861
|
+
}
|
|
25862
|
+
});
|
|
25863
|
+
});
|
|
25864
|
+
},
|
|
25865
|
+
/**
|
|
25866
|
+
*
|
|
25867
|
+
* @summary Delete ServiceReview.
|
|
25868
|
+
* @param {string} serviceReviewId
|
|
25869
|
+
* @param {*} [options] Override http request option.
|
|
25870
|
+
* @throws {RequiredError}
|
|
25871
|
+
*/
|
|
25872
|
+
apiV1ServicereviewServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
25873
|
+
if (options === void 0) { options = {}; }
|
|
25874
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
25875
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25876
|
+
return __generator(this, function (_a) {
|
|
25877
|
+
switch (_a.label) {
|
|
25878
|
+
case 0:
|
|
25879
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
25880
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdDelete', 'serviceReviewId', serviceReviewId);
|
|
25881
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}"
|
|
25882
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
25883
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25884
|
+
if (configuration) {
|
|
25885
|
+
baseOptions = configuration.baseOptions;
|
|
25886
|
+
}
|
|
25887
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
25888
|
+
localVarHeaderParameter = {};
|
|
25889
|
+
localVarQueryParameter = {};
|
|
25890
|
+
// authentication oauth2 required
|
|
25891
|
+
// oauth required
|
|
25892
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
25893
|
+
case 1:
|
|
25894
|
+
// authentication oauth2 required
|
|
25895
|
+
// oauth required
|
|
25896
|
+
_a.sent();
|
|
25897
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25898
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25899
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25900
|
+
return [2 /*return*/, {
|
|
25901
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
25902
|
+
options: localVarRequestOptions,
|
|
25903
|
+
}];
|
|
25904
|
+
}
|
|
25905
|
+
});
|
|
25906
|
+
});
|
|
25907
|
+
},
|
|
25908
|
+
/**
|
|
25909
|
+
*
|
|
25910
|
+
* @param {string} serviceReviewId
|
|
25911
|
+
* @param {*} [options] Override http request option.
|
|
25912
|
+
* @throws {RequiredError}
|
|
25913
|
+
*/
|
|
25914
|
+
apiV1ServicereviewServiceReviewIdGet: function (serviceReviewId, options) {
|
|
25915
|
+
if (options === void 0) { options = {}; }
|
|
25916
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
25917
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25918
|
+
return __generator(this, function (_a) {
|
|
25919
|
+
switch (_a.label) {
|
|
25920
|
+
case 0:
|
|
25921
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
25922
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdGet', 'serviceReviewId', serviceReviewId);
|
|
25923
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}"
|
|
25924
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
25925
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25926
|
+
if (configuration) {
|
|
25927
|
+
baseOptions = configuration.baseOptions;
|
|
25928
|
+
}
|
|
25929
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
25930
|
+
localVarHeaderParameter = {};
|
|
25931
|
+
localVarQueryParameter = {};
|
|
25932
|
+
// authentication oauth2 required
|
|
25933
|
+
// oauth required
|
|
25934
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
25935
|
+
case 1:
|
|
25936
|
+
// authentication oauth2 required
|
|
25937
|
+
// oauth required
|
|
25938
|
+
_a.sent();
|
|
25939
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25940
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25941
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25942
|
+
return [2 /*return*/, {
|
|
25943
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
25944
|
+
options: localVarRequestOptions,
|
|
25945
|
+
}];
|
|
25946
|
+
}
|
|
25947
|
+
});
|
|
25948
|
+
});
|
|
25949
|
+
},
|
|
25950
|
+
/**
|
|
25951
|
+
*
|
|
25952
|
+
* @summary Get all ServiceReviewMedias.
|
|
25953
|
+
* @param {string} serviceReviewId
|
|
25954
|
+
* @param {string} [id]
|
|
25955
|
+
* @param {MediaType} [mediaType]
|
|
25956
|
+
* @param {number} [page]
|
|
25957
|
+
* @param {number} [limit]
|
|
25958
|
+
* @param {Date} [lastRetrieved]
|
|
25959
|
+
* @param {*} [options] Override http request option.
|
|
25960
|
+
* @throws {RequiredError}
|
|
25961
|
+
*/
|
|
25962
|
+
apiV1ServicereviewServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
25963
|
+
if (options === void 0) { options = {}; }
|
|
25964
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
25965
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
25966
|
+
return __generator(this, function (_a) {
|
|
25967
|
+
switch (_a.label) {
|
|
25968
|
+
case 0:
|
|
25969
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
25970
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasGet', 'serviceReviewId', serviceReviewId);
|
|
25971
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}/medias"
|
|
25972
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
25973
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25974
|
+
if (configuration) {
|
|
25975
|
+
baseOptions = configuration.baseOptions;
|
|
25976
|
+
}
|
|
25977
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
25978
|
+
localVarHeaderParameter = {};
|
|
25979
|
+
localVarQueryParameter = {};
|
|
25980
|
+
// authentication oauth2 required
|
|
25981
|
+
// oauth required
|
|
25982
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
25983
|
+
case 1:
|
|
25984
|
+
// authentication oauth2 required
|
|
25985
|
+
// oauth required
|
|
25986
|
+
_a.sent();
|
|
25987
|
+
if (id !== undefined) {
|
|
25988
|
+
localVarQueryParameter['Id'] = id;
|
|
25989
|
+
}
|
|
25990
|
+
if (mediaType !== undefined) {
|
|
25991
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
25992
|
+
}
|
|
25993
|
+
if (page !== undefined) {
|
|
25994
|
+
localVarQueryParameter['page'] = page;
|
|
25995
|
+
}
|
|
25996
|
+
if (limit !== undefined) {
|
|
25997
|
+
localVarQueryParameter['limit'] = limit;
|
|
25998
|
+
}
|
|
25999
|
+
if (lastRetrieved !== undefined) {
|
|
26000
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
26001
|
+
lastRetrieved.toISOString() :
|
|
26002
|
+
lastRetrieved;
|
|
26003
|
+
}
|
|
26004
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26005
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26006
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26007
|
+
return [2 /*return*/, {
|
|
26008
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26009
|
+
options: localVarRequestOptions,
|
|
26010
|
+
}];
|
|
26011
|
+
}
|
|
26012
|
+
});
|
|
26013
|
+
});
|
|
26014
|
+
},
|
|
26015
|
+
/**
|
|
26016
|
+
*
|
|
26017
|
+
* @summary Delete ServiceReviewMedia
|
|
26018
|
+
* @param {string} serviceReviewId
|
|
26019
|
+
* @param {string} mediaId
|
|
26020
|
+
* @param {*} [options] Override http request option.
|
|
26021
|
+
* @throws {RequiredError}
|
|
26022
|
+
*/
|
|
26023
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26024
|
+
if (options === void 0) { options = {}; }
|
|
26025
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26026
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26027
|
+
return __generator(this, function (_a) {
|
|
26028
|
+
switch (_a.label) {
|
|
26029
|
+
case 0:
|
|
26030
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26031
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdDelete', 'serviceReviewId', serviceReviewId);
|
|
26032
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
26033
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdDelete', 'mediaId', mediaId);
|
|
26034
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}/medias/{mediaId}"
|
|
26035
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26036
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26037
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26038
|
+
if (configuration) {
|
|
26039
|
+
baseOptions = configuration.baseOptions;
|
|
26040
|
+
}
|
|
26041
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
26042
|
+
localVarHeaderParameter = {};
|
|
26043
|
+
localVarQueryParameter = {};
|
|
26044
|
+
// authentication oauth2 required
|
|
26045
|
+
// oauth required
|
|
26046
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26047
|
+
case 1:
|
|
26048
|
+
// authentication oauth2 required
|
|
26049
|
+
// oauth required
|
|
26050
|
+
_a.sent();
|
|
26051
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26052
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26053
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26054
|
+
return [2 /*return*/, {
|
|
26055
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26056
|
+
options: localVarRequestOptions,
|
|
26057
|
+
}];
|
|
26058
|
+
}
|
|
26059
|
+
});
|
|
26060
|
+
});
|
|
26061
|
+
},
|
|
26062
|
+
/**
|
|
26063
|
+
*
|
|
26064
|
+
* @summary Get ServiceReviewMedia.
|
|
26065
|
+
* @param {string} serviceReviewId
|
|
26066
|
+
* @param {string} mediaId
|
|
26067
|
+
* @param {*} [options] Override http request option.
|
|
26068
|
+
* @throws {RequiredError}
|
|
26069
|
+
*/
|
|
26070
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26071
|
+
if (options === void 0) { options = {}; }
|
|
26072
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26073
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26074
|
+
return __generator(this, function (_a) {
|
|
26075
|
+
switch (_a.label) {
|
|
26076
|
+
case 0:
|
|
26077
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26078
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdGet', 'serviceReviewId', serviceReviewId);
|
|
26079
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
26080
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
26081
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}/medias/{mediaId}"
|
|
26082
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26083
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26084
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26085
|
+
if (configuration) {
|
|
26086
|
+
baseOptions = configuration.baseOptions;
|
|
26087
|
+
}
|
|
26088
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
26089
|
+
localVarHeaderParameter = {};
|
|
26090
|
+
localVarQueryParameter = {};
|
|
26091
|
+
// authentication oauth2 required
|
|
26092
|
+
// oauth required
|
|
26093
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26094
|
+
case 1:
|
|
26095
|
+
// authentication oauth2 required
|
|
26096
|
+
// oauth required
|
|
26097
|
+
_a.sent();
|
|
26098
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26099
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26100
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26101
|
+
return [2 /*return*/, {
|
|
26102
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26103
|
+
options: localVarRequestOptions,
|
|
26104
|
+
}];
|
|
26105
|
+
}
|
|
26106
|
+
});
|
|
26107
|
+
});
|
|
26108
|
+
},
|
|
26109
|
+
/**
|
|
26110
|
+
*
|
|
26111
|
+
* @summary Update ServiceReviewMedia.
|
|
26112
|
+
* @param {string} serviceReviewId
|
|
26113
|
+
* @param {string} mediaId
|
|
26114
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26115
|
+
* @param {*} [options] Override http request option.
|
|
26116
|
+
* @throws {RequiredError}
|
|
26117
|
+
*/
|
|
26118
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26119
|
+
if (options === void 0) { options = {}; }
|
|
26120
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26121
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26122
|
+
return __generator(this, function (_a) {
|
|
26123
|
+
switch (_a.label) {
|
|
26124
|
+
case 0:
|
|
26125
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26126
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdPut', 'serviceReviewId', serviceReviewId);
|
|
26127
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
26128
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasMediaIdPut', 'mediaId', mediaId);
|
|
26129
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}/medias/{mediaId}"
|
|
26130
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)))
|
|
26131
|
+
.replace("{" + "mediaId" + "}", encodeURIComponent(String(mediaId)));
|
|
26132
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26133
|
+
if (configuration) {
|
|
26134
|
+
baseOptions = configuration.baseOptions;
|
|
26135
|
+
}
|
|
26136
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
26137
|
+
localVarHeaderParameter = {};
|
|
26138
|
+
localVarQueryParameter = {};
|
|
26139
|
+
// authentication oauth2 required
|
|
26140
|
+
// oauth required
|
|
26141
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26142
|
+
case 1:
|
|
26143
|
+
// authentication oauth2 required
|
|
26144
|
+
// oauth required
|
|
26145
|
+
_a.sent();
|
|
26146
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26147
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26148
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26149
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26150
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateMediaCommand, localVarRequestOptions, configuration);
|
|
26151
|
+
return [2 /*return*/, {
|
|
26152
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26153
|
+
options: localVarRequestOptions,
|
|
26154
|
+
}];
|
|
26155
|
+
}
|
|
26156
|
+
});
|
|
26157
|
+
});
|
|
26158
|
+
},
|
|
26159
|
+
/**
|
|
26160
|
+
*
|
|
26161
|
+
* @summary Create ServiceReviewMedia.
|
|
26162
|
+
* @param {string} serviceReviewId
|
|
26163
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
26164
|
+
* @param {*} [options] Override http request option.
|
|
26165
|
+
* @throws {RequiredError}
|
|
26166
|
+
*/
|
|
26167
|
+
apiV1ServicereviewServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26168
|
+
if (options === void 0) { options = {}; }
|
|
26169
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26170
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26171
|
+
return __generator(this, function (_a) {
|
|
26172
|
+
switch (_a.label) {
|
|
26173
|
+
case 0:
|
|
26174
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26175
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdMediasPost', 'serviceReviewId', serviceReviewId);
|
|
26176
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}/medias"
|
|
26177
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26178
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26179
|
+
if (configuration) {
|
|
26180
|
+
baseOptions = configuration.baseOptions;
|
|
26181
|
+
}
|
|
26182
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
26183
|
+
localVarHeaderParameter = {};
|
|
26184
|
+
localVarQueryParameter = {};
|
|
26185
|
+
// authentication oauth2 required
|
|
26186
|
+
// oauth required
|
|
26187
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26188
|
+
case 1:
|
|
26189
|
+
// authentication oauth2 required
|
|
26190
|
+
// oauth required
|
|
26191
|
+
_a.sent();
|
|
26192
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26193
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26194
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26195
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26196
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createMediaCommand, localVarRequestOptions, configuration);
|
|
26197
|
+
return [2 /*return*/, {
|
|
26198
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26199
|
+
options: localVarRequestOptions,
|
|
26200
|
+
}];
|
|
26201
|
+
}
|
|
26202
|
+
});
|
|
26203
|
+
});
|
|
26204
|
+
},
|
|
26205
|
+
/**
|
|
26206
|
+
*
|
|
26207
|
+
* @summary Update ServiceReview.
|
|
26208
|
+
* @param {string} serviceReviewId
|
|
26209
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
26210
|
+
* @param {*} [options] Override http request option.
|
|
26211
|
+
* @throws {RequiredError}
|
|
26212
|
+
*/
|
|
26213
|
+
apiV1ServicereviewServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26214
|
+
if (options === void 0) { options = {}; }
|
|
26215
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
26216
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
26217
|
+
return __generator(this, function (_a) {
|
|
26218
|
+
switch (_a.label) {
|
|
26219
|
+
case 0:
|
|
26220
|
+
// verify required parameter 'serviceReviewId' is not null or undefined
|
|
26221
|
+
common_1.assertParamExists('apiV1ServicereviewServiceReviewIdPut', 'serviceReviewId', serviceReviewId);
|
|
26222
|
+
localVarPath = "/api/v1/servicereview/{serviceReviewId}"
|
|
26223
|
+
.replace("{" + "serviceReviewId" + "}", encodeURIComponent(String(serviceReviewId)));
|
|
26224
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
26225
|
+
if (configuration) {
|
|
26226
|
+
baseOptions = configuration.baseOptions;
|
|
26227
|
+
}
|
|
26228
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
26229
|
+
localVarHeaderParameter = {};
|
|
26230
|
+
localVarQueryParameter = {};
|
|
26231
|
+
// authentication oauth2 required
|
|
26232
|
+
// oauth required
|
|
26233
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
26234
|
+
case 1:
|
|
26235
|
+
// authentication oauth2 required
|
|
26236
|
+
// oauth required
|
|
26237
|
+
_a.sent();
|
|
26238
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26239
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26240
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26241
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
26242
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateServiceReviewCommand, localVarRequestOptions, configuration);
|
|
26243
|
+
return [2 /*return*/, {
|
|
26244
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
26245
|
+
options: localVarRequestOptions,
|
|
26246
|
+
}];
|
|
26247
|
+
}
|
|
26248
|
+
});
|
|
26249
|
+
});
|
|
26250
|
+
},
|
|
26251
|
+
};
|
|
26252
|
+
};
|
|
26253
|
+
/**
|
|
26254
|
+
* ServiceReviewApi - functional programming interface
|
|
26255
|
+
* @export
|
|
26256
|
+
*/
|
|
26257
|
+
exports.ServiceReviewApiFp = function (configuration) {
|
|
26258
|
+
var localVarAxiosParamCreator = exports.ServiceReviewApiAxiosParamCreator(configuration);
|
|
26259
|
+
return {
|
|
26260
|
+
/**
|
|
26261
|
+
*
|
|
26262
|
+
* @summary Get all ServiceReviews.
|
|
26263
|
+
* @param {string} [serviceId]
|
|
26264
|
+
* @param {string} [serviceName]
|
|
26265
|
+
* @param {string} [patientId]
|
|
26266
|
+
* @param {string} [patientName]
|
|
26267
|
+
* @param {boolean} [recommended]
|
|
26268
|
+
* @param {number} [rate]
|
|
26269
|
+
* @param {number} [page]
|
|
26270
|
+
* @param {number} [limit]
|
|
26271
|
+
* @param {Date} [lastRetrieved]
|
|
26272
|
+
* @param {*} [options] Override http request option.
|
|
26273
|
+
* @throws {RequiredError}
|
|
26274
|
+
*/
|
|
26275
|
+
apiV1ServicereviewGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options) {
|
|
26276
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26277
|
+
var localVarAxiosArgs;
|
|
26278
|
+
return __generator(this, function (_a) {
|
|
26279
|
+
switch (_a.label) {
|
|
26280
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options)];
|
|
26281
|
+
case 1:
|
|
26282
|
+
localVarAxiosArgs = _a.sent();
|
|
26283
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26284
|
+
}
|
|
26285
|
+
});
|
|
26286
|
+
});
|
|
26287
|
+
},
|
|
26288
|
+
/**
|
|
26289
|
+
*
|
|
26290
|
+
* @summary Create a ServiceReview.
|
|
26291
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
26292
|
+
* @param {*} [options] Override http request option.
|
|
26293
|
+
* @throws {RequiredError}
|
|
26294
|
+
*/
|
|
26295
|
+
apiV1ServicereviewPost: function (createServiceReviewCommand, options) {
|
|
26296
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26297
|
+
var localVarAxiosArgs;
|
|
26298
|
+
return __generator(this, function (_a) {
|
|
26299
|
+
switch (_a.label) {
|
|
26300
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewPost(createServiceReviewCommand, options)];
|
|
26301
|
+
case 1:
|
|
26302
|
+
localVarAxiosArgs = _a.sent();
|
|
26303
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26304
|
+
}
|
|
26305
|
+
});
|
|
26306
|
+
});
|
|
26307
|
+
},
|
|
26308
|
+
/**
|
|
26309
|
+
*
|
|
26310
|
+
* @summary Delete ServiceReview.
|
|
26311
|
+
* @param {string} serviceReviewId
|
|
26312
|
+
* @param {*} [options] Override http request option.
|
|
26313
|
+
* @throws {RequiredError}
|
|
26314
|
+
*/
|
|
26315
|
+
apiV1ServicereviewServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26316
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26317
|
+
var localVarAxiosArgs;
|
|
26318
|
+
return __generator(this, function (_a) {
|
|
26319
|
+
switch (_a.label) {
|
|
26320
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdDelete(serviceReviewId, options)];
|
|
26321
|
+
case 1:
|
|
26322
|
+
localVarAxiosArgs = _a.sent();
|
|
26323
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26324
|
+
}
|
|
26325
|
+
});
|
|
26326
|
+
});
|
|
26327
|
+
},
|
|
26328
|
+
/**
|
|
26329
|
+
*
|
|
26330
|
+
* @param {string} serviceReviewId
|
|
26331
|
+
* @param {*} [options] Override http request option.
|
|
26332
|
+
* @throws {RequiredError}
|
|
26333
|
+
*/
|
|
26334
|
+
apiV1ServicereviewServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26335
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26336
|
+
var localVarAxiosArgs;
|
|
26337
|
+
return __generator(this, function (_a) {
|
|
26338
|
+
switch (_a.label) {
|
|
26339
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdGet(serviceReviewId, options)];
|
|
26340
|
+
case 1:
|
|
26341
|
+
localVarAxiosArgs = _a.sent();
|
|
26342
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26343
|
+
}
|
|
26344
|
+
});
|
|
26345
|
+
});
|
|
26346
|
+
},
|
|
26347
|
+
/**
|
|
26348
|
+
*
|
|
26349
|
+
* @summary Get all ServiceReviewMedias.
|
|
26350
|
+
* @param {string} serviceReviewId
|
|
26351
|
+
* @param {string} [id]
|
|
26352
|
+
* @param {MediaType} [mediaType]
|
|
26353
|
+
* @param {number} [page]
|
|
26354
|
+
* @param {number} [limit]
|
|
26355
|
+
* @param {Date} [lastRetrieved]
|
|
26356
|
+
* @param {*} [options] Override http request option.
|
|
26357
|
+
* @throws {RequiredError}
|
|
26358
|
+
*/
|
|
26359
|
+
apiV1ServicereviewServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26360
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26361
|
+
var localVarAxiosArgs;
|
|
26362
|
+
return __generator(this, function (_a) {
|
|
26363
|
+
switch (_a.label) {
|
|
26364
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
26365
|
+
case 1:
|
|
26366
|
+
localVarAxiosArgs = _a.sent();
|
|
26367
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26368
|
+
}
|
|
26369
|
+
});
|
|
26370
|
+
});
|
|
26371
|
+
},
|
|
26372
|
+
/**
|
|
26373
|
+
*
|
|
26374
|
+
* @summary Delete ServiceReviewMedia
|
|
26375
|
+
* @param {string} serviceReviewId
|
|
26376
|
+
* @param {string} mediaId
|
|
26377
|
+
* @param {*} [options] Override http request option.
|
|
26378
|
+
* @throws {RequiredError}
|
|
26379
|
+
*/
|
|
26380
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26381
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26382
|
+
var localVarAxiosArgs;
|
|
26383
|
+
return __generator(this, function (_a) {
|
|
26384
|
+
switch (_a.label) {
|
|
26385
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options)];
|
|
26386
|
+
case 1:
|
|
26387
|
+
localVarAxiosArgs = _a.sent();
|
|
26388
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26389
|
+
}
|
|
26390
|
+
});
|
|
26391
|
+
});
|
|
26392
|
+
},
|
|
26393
|
+
/**
|
|
26394
|
+
*
|
|
26395
|
+
* @summary Get ServiceReviewMedia.
|
|
26396
|
+
* @param {string} serviceReviewId
|
|
26397
|
+
* @param {string} mediaId
|
|
26398
|
+
* @param {*} [options] Override http request option.
|
|
26399
|
+
* @throws {RequiredError}
|
|
26400
|
+
*/
|
|
26401
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26402
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26403
|
+
var localVarAxiosArgs;
|
|
26404
|
+
return __generator(this, function (_a) {
|
|
26405
|
+
switch (_a.label) {
|
|
26406
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options)];
|
|
26407
|
+
case 1:
|
|
26408
|
+
localVarAxiosArgs = _a.sent();
|
|
26409
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26410
|
+
}
|
|
26411
|
+
});
|
|
26412
|
+
});
|
|
26413
|
+
},
|
|
26414
|
+
/**
|
|
26415
|
+
*
|
|
26416
|
+
* @summary Update ServiceReviewMedia.
|
|
26417
|
+
* @param {string} serviceReviewId
|
|
26418
|
+
* @param {string} mediaId
|
|
26419
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26420
|
+
* @param {*} [options] Override http request option.
|
|
26421
|
+
* @throws {RequiredError}
|
|
26422
|
+
*/
|
|
26423
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26424
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26425
|
+
var localVarAxiosArgs;
|
|
26426
|
+
return __generator(this, function (_a) {
|
|
26427
|
+
switch (_a.label) {
|
|
26428
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options)];
|
|
26429
|
+
case 1:
|
|
26430
|
+
localVarAxiosArgs = _a.sent();
|
|
26431
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26432
|
+
}
|
|
26433
|
+
});
|
|
26434
|
+
});
|
|
26435
|
+
},
|
|
26436
|
+
/**
|
|
26437
|
+
*
|
|
26438
|
+
* @summary Create ServiceReviewMedia.
|
|
26439
|
+
* @param {string} serviceReviewId
|
|
26440
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
26441
|
+
* @param {*} [options] Override http request option.
|
|
26442
|
+
* @throws {RequiredError}
|
|
26443
|
+
*/
|
|
26444
|
+
apiV1ServicereviewServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26445
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26446
|
+
var localVarAxiosArgs;
|
|
26447
|
+
return __generator(this, function (_a) {
|
|
26448
|
+
switch (_a.label) {
|
|
26449
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options)];
|
|
26450
|
+
case 1:
|
|
26451
|
+
localVarAxiosArgs = _a.sent();
|
|
26452
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26453
|
+
}
|
|
26454
|
+
});
|
|
26455
|
+
});
|
|
26456
|
+
},
|
|
26457
|
+
/**
|
|
26458
|
+
*
|
|
26459
|
+
* @summary Update ServiceReview.
|
|
26460
|
+
* @param {string} serviceReviewId
|
|
26461
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
26462
|
+
* @param {*} [options] Override http request option.
|
|
26463
|
+
* @throws {RequiredError}
|
|
26464
|
+
*/
|
|
26465
|
+
apiV1ServicereviewServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26466
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
26467
|
+
var localVarAxiosArgs;
|
|
26468
|
+
return __generator(this, function (_a) {
|
|
26469
|
+
switch (_a.label) {
|
|
26470
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options)];
|
|
26471
|
+
case 1:
|
|
26472
|
+
localVarAxiosArgs = _a.sent();
|
|
26473
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
26474
|
+
}
|
|
26475
|
+
});
|
|
26476
|
+
});
|
|
26477
|
+
},
|
|
26478
|
+
};
|
|
26479
|
+
};
|
|
26480
|
+
/**
|
|
26481
|
+
* ServiceReviewApi - factory interface
|
|
26482
|
+
* @export
|
|
26483
|
+
*/
|
|
26484
|
+
exports.ServiceReviewApiFactory = function (configuration, basePath, axios) {
|
|
26485
|
+
var localVarFp = exports.ServiceReviewApiFp(configuration);
|
|
26486
|
+
return {
|
|
26487
|
+
/**
|
|
26488
|
+
*
|
|
26489
|
+
* @summary Get all ServiceReviews.
|
|
26490
|
+
* @param {string} [serviceId]
|
|
26491
|
+
* @param {string} [serviceName]
|
|
26492
|
+
* @param {string} [patientId]
|
|
26493
|
+
* @param {string} [patientName]
|
|
26494
|
+
* @param {boolean} [recommended]
|
|
26495
|
+
* @param {number} [rate]
|
|
26496
|
+
* @param {number} [page]
|
|
26497
|
+
* @param {number} [limit]
|
|
26498
|
+
* @param {Date} [lastRetrieved]
|
|
26499
|
+
* @param {*} [options] Override http request option.
|
|
26500
|
+
* @throws {RequiredError}
|
|
26501
|
+
*/
|
|
26502
|
+
apiV1ServicereviewGet: function (serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options) {
|
|
26503
|
+
return localVarFp.apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26504
|
+
},
|
|
26505
|
+
/**
|
|
26506
|
+
*
|
|
26507
|
+
* @summary Create a ServiceReview.
|
|
26508
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
26509
|
+
* @param {*} [options] Override http request option.
|
|
26510
|
+
* @throws {RequiredError}
|
|
26511
|
+
*/
|
|
26512
|
+
apiV1ServicereviewPost: function (createServiceReviewCommand, options) {
|
|
26513
|
+
return localVarFp.apiV1ServicereviewPost(createServiceReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26514
|
+
},
|
|
26515
|
+
/**
|
|
26516
|
+
*
|
|
26517
|
+
* @summary Delete ServiceReview.
|
|
26518
|
+
* @param {string} serviceReviewId
|
|
26519
|
+
* @param {*} [options] Override http request option.
|
|
26520
|
+
* @throws {RequiredError}
|
|
26521
|
+
*/
|
|
26522
|
+
apiV1ServicereviewServiceReviewIdDelete: function (serviceReviewId, options) {
|
|
26523
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
26524
|
+
},
|
|
26525
|
+
/**
|
|
26526
|
+
*
|
|
26527
|
+
* @param {string} serviceReviewId
|
|
26528
|
+
* @param {*} [options] Override http request option.
|
|
26529
|
+
* @throws {RequiredError}
|
|
26530
|
+
*/
|
|
26531
|
+
apiV1ServicereviewServiceReviewIdGet: function (serviceReviewId, options) {
|
|
26532
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(axios, basePath); });
|
|
26533
|
+
},
|
|
26534
|
+
/**
|
|
26535
|
+
*
|
|
26536
|
+
* @summary Get all ServiceReviewMedias.
|
|
26537
|
+
* @param {string} serviceReviewId
|
|
26538
|
+
* @param {string} [id]
|
|
26539
|
+
* @param {MediaType} [mediaType]
|
|
26540
|
+
* @param {number} [page]
|
|
26541
|
+
* @param {number} [limit]
|
|
26542
|
+
* @param {Date} [lastRetrieved]
|
|
26543
|
+
* @param {*} [options] Override http request option.
|
|
26544
|
+
* @throws {RequiredError}
|
|
26545
|
+
*/
|
|
26546
|
+
apiV1ServicereviewServiceReviewIdMediasGet: function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26547
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
26548
|
+
},
|
|
26549
|
+
/**
|
|
26550
|
+
*
|
|
26551
|
+
* @summary Delete ServiceReviewMedia
|
|
26552
|
+
* @param {string} serviceReviewId
|
|
26553
|
+
* @param {string} mediaId
|
|
26554
|
+
* @param {*} [options] Override http request option.
|
|
26555
|
+
* @throws {RequiredError}
|
|
26556
|
+
*/
|
|
26557
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdDelete: function (serviceReviewId, mediaId, options) {
|
|
26558
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
26559
|
+
},
|
|
26560
|
+
/**
|
|
26561
|
+
*
|
|
26562
|
+
* @summary Get ServiceReviewMedia.
|
|
26563
|
+
* @param {string} serviceReviewId
|
|
26564
|
+
* @param {string} mediaId
|
|
26565
|
+
* @param {*} [options] Override http request option.
|
|
26566
|
+
* @throws {RequiredError}
|
|
26567
|
+
*/
|
|
26568
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdGet: function (serviceReviewId, mediaId, options) {
|
|
26569
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
26570
|
+
},
|
|
26571
|
+
/**
|
|
26572
|
+
*
|
|
26573
|
+
* @summary Update ServiceReviewMedia.
|
|
26574
|
+
* @param {string} serviceReviewId
|
|
26575
|
+
* @param {string} mediaId
|
|
26576
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26577
|
+
* @param {*} [options] Override http request option.
|
|
26578
|
+
* @throws {RequiredError}
|
|
26579
|
+
*/
|
|
26580
|
+
apiV1ServicereviewServiceReviewIdMediasMediaIdPut: function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26581
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26582
|
+
},
|
|
26583
|
+
/**
|
|
26584
|
+
*
|
|
26585
|
+
* @summary Create ServiceReviewMedia.
|
|
26586
|
+
* @param {string} serviceReviewId
|
|
26587
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
26588
|
+
* @param {*} [options] Override http request option.
|
|
26589
|
+
* @throws {RequiredError}
|
|
26590
|
+
*/
|
|
26591
|
+
apiV1ServicereviewServiceReviewIdMediasPost: function (serviceReviewId, createMediaCommand, options) {
|
|
26592
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26593
|
+
},
|
|
26594
|
+
/**
|
|
26595
|
+
*
|
|
26596
|
+
* @summary Update ServiceReview.
|
|
26597
|
+
* @param {string} serviceReviewId
|
|
26598
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
26599
|
+
* @param {*} [options] Override http request option.
|
|
26600
|
+
* @throws {RequiredError}
|
|
26601
|
+
*/
|
|
26602
|
+
apiV1ServicereviewServiceReviewIdPut: function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26603
|
+
return localVarFp.apiV1ServicereviewServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then(function (request) { return request(axios, basePath); });
|
|
26604
|
+
},
|
|
26605
|
+
};
|
|
26606
|
+
};
|
|
26607
|
+
/**
|
|
26608
|
+
* ServiceReviewApi - object-oriented interface
|
|
26609
|
+
* @export
|
|
26610
|
+
* @class ServiceReviewApi
|
|
26611
|
+
* @extends {BaseAPI}
|
|
26612
|
+
*/
|
|
26613
|
+
var ServiceReviewApi = /** @class */ (function (_super) {
|
|
26614
|
+
__extends(ServiceReviewApi, _super);
|
|
26615
|
+
function ServiceReviewApi() {
|
|
26616
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
26617
|
+
}
|
|
26618
|
+
/**
|
|
26619
|
+
*
|
|
26620
|
+
* @summary Get all ServiceReviews.
|
|
26621
|
+
* @param {string} [serviceId]
|
|
26622
|
+
* @param {string} [serviceName]
|
|
26623
|
+
* @param {string} [patientId]
|
|
26624
|
+
* @param {string} [patientName]
|
|
26625
|
+
* @param {boolean} [recommended]
|
|
26626
|
+
* @param {number} [rate]
|
|
26627
|
+
* @param {number} [page]
|
|
26628
|
+
* @param {number} [limit]
|
|
26629
|
+
* @param {Date} [lastRetrieved]
|
|
26630
|
+
* @param {*} [options] Override http request option.
|
|
26631
|
+
* @throws {RequiredError}
|
|
26632
|
+
* @memberof ServiceReviewApi
|
|
26633
|
+
*/
|
|
26634
|
+
ServiceReviewApi.prototype.apiV1ServicereviewGet = function (serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options) {
|
|
26635
|
+
var _this = this;
|
|
26636
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewGet(serviceId, serviceName, patientId, patientName, recommended, rate, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26637
|
+
};
|
|
26638
|
+
/**
|
|
26639
|
+
*
|
|
26640
|
+
* @summary Create a ServiceReview.
|
|
26641
|
+
* @param {CreateServiceReviewCommand} [createServiceReviewCommand]
|
|
26642
|
+
* @param {*} [options] Override http request option.
|
|
26643
|
+
* @throws {RequiredError}
|
|
26644
|
+
* @memberof ServiceReviewApi
|
|
26645
|
+
*/
|
|
26646
|
+
ServiceReviewApi.prototype.apiV1ServicereviewPost = function (createServiceReviewCommand, options) {
|
|
26647
|
+
var _this = this;
|
|
26648
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewPost(createServiceReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26649
|
+
};
|
|
26650
|
+
/**
|
|
26651
|
+
*
|
|
26652
|
+
* @summary Delete ServiceReview.
|
|
26653
|
+
* @param {string} serviceReviewId
|
|
26654
|
+
* @param {*} [options] Override http request option.
|
|
26655
|
+
* @throws {RequiredError}
|
|
26656
|
+
* @memberof ServiceReviewApi
|
|
26657
|
+
*/
|
|
26658
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdDelete = function (serviceReviewId, options) {
|
|
26659
|
+
var _this = this;
|
|
26660
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdDelete(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26661
|
+
};
|
|
26662
|
+
/**
|
|
26663
|
+
*
|
|
26664
|
+
* @param {string} serviceReviewId
|
|
26665
|
+
* @param {*} [options] Override http request option.
|
|
26666
|
+
* @throws {RequiredError}
|
|
26667
|
+
* @memberof ServiceReviewApi
|
|
26668
|
+
*/
|
|
26669
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdGet = function (serviceReviewId, options) {
|
|
26670
|
+
var _this = this;
|
|
26671
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdGet(serviceReviewId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26672
|
+
};
|
|
26673
|
+
/**
|
|
26674
|
+
*
|
|
26675
|
+
* @summary Get all ServiceReviewMedias.
|
|
26676
|
+
* @param {string} serviceReviewId
|
|
26677
|
+
* @param {string} [id]
|
|
26678
|
+
* @param {MediaType} [mediaType]
|
|
26679
|
+
* @param {number} [page]
|
|
26680
|
+
* @param {number} [limit]
|
|
26681
|
+
* @param {Date} [lastRetrieved]
|
|
26682
|
+
* @param {*} [options] Override http request option.
|
|
26683
|
+
* @throws {RequiredError}
|
|
26684
|
+
* @memberof ServiceReviewApi
|
|
26685
|
+
*/
|
|
26686
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdMediasGet = function (serviceReviewId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
26687
|
+
var _this = this;
|
|
26688
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasGet(serviceReviewId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26689
|
+
};
|
|
26690
|
+
/**
|
|
26691
|
+
*
|
|
26692
|
+
* @summary Delete ServiceReviewMedia
|
|
26693
|
+
* @param {string} serviceReviewId
|
|
26694
|
+
* @param {string} mediaId
|
|
26695
|
+
* @param {*} [options] Override http request option.
|
|
26696
|
+
* @throws {RequiredError}
|
|
26697
|
+
* @memberof ServiceReviewApi
|
|
26698
|
+
*/
|
|
26699
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdMediasMediaIdDelete = function (serviceReviewId, mediaId, options) {
|
|
26700
|
+
var _this = this;
|
|
26701
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasMediaIdDelete(serviceReviewId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26702
|
+
};
|
|
26703
|
+
/**
|
|
26704
|
+
*
|
|
26705
|
+
* @summary Get ServiceReviewMedia.
|
|
26706
|
+
* @param {string} serviceReviewId
|
|
26707
|
+
* @param {string} mediaId
|
|
26708
|
+
* @param {*} [options] Override http request option.
|
|
26709
|
+
* @throws {RequiredError}
|
|
26710
|
+
* @memberof ServiceReviewApi
|
|
26711
|
+
*/
|
|
26712
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdMediasMediaIdGet = function (serviceReviewId, mediaId, options) {
|
|
26713
|
+
var _this = this;
|
|
26714
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasMediaIdGet(serviceReviewId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26715
|
+
};
|
|
26716
|
+
/**
|
|
26717
|
+
*
|
|
26718
|
+
* @summary Update ServiceReviewMedia.
|
|
26719
|
+
* @param {string} serviceReviewId
|
|
26720
|
+
* @param {string} mediaId
|
|
26721
|
+
* @param {UpdateMediaCommand} [updateMediaCommand]
|
|
26722
|
+
* @param {*} [options] Override http request option.
|
|
26723
|
+
* @throws {RequiredError}
|
|
26724
|
+
* @memberof ServiceReviewApi
|
|
26725
|
+
*/
|
|
26726
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdMediasMediaIdPut = function (serviceReviewId, mediaId, updateMediaCommand, options) {
|
|
26727
|
+
var _this = this;
|
|
26728
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasMediaIdPut(serviceReviewId, mediaId, updateMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26729
|
+
};
|
|
26730
|
+
/**
|
|
26731
|
+
*
|
|
26732
|
+
* @summary Create ServiceReviewMedia.
|
|
26733
|
+
* @param {string} serviceReviewId
|
|
26734
|
+
* @param {CreateMediaCommand} [createMediaCommand]
|
|
26735
|
+
* @param {*} [options] Override http request option.
|
|
26736
|
+
* @throws {RequiredError}
|
|
26737
|
+
* @memberof ServiceReviewApi
|
|
26738
|
+
*/
|
|
26739
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdMediasPost = function (serviceReviewId, createMediaCommand, options) {
|
|
26740
|
+
var _this = this;
|
|
26741
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdMediasPost(serviceReviewId, createMediaCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26742
|
+
};
|
|
26743
|
+
/**
|
|
26744
|
+
*
|
|
26745
|
+
* @summary Update ServiceReview.
|
|
26746
|
+
* @param {string} serviceReviewId
|
|
26747
|
+
* @param {UpdateServiceReviewCommand} [updateServiceReviewCommand]
|
|
26748
|
+
* @param {*} [options] Override http request option.
|
|
26749
|
+
* @throws {RequiredError}
|
|
26750
|
+
* @memberof ServiceReviewApi
|
|
26751
|
+
*/
|
|
26752
|
+
ServiceReviewApi.prototype.apiV1ServicereviewServiceReviewIdPut = function (serviceReviewId, updateServiceReviewCommand, options) {
|
|
26753
|
+
var _this = this;
|
|
26754
|
+
return exports.ServiceReviewApiFp(this.configuration).apiV1ServicereviewServiceReviewIdPut(serviceReviewId, updateServiceReviewCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
26755
|
+
};
|
|
26756
|
+
return ServiceReviewApi;
|
|
26757
|
+
}(base_1.BaseAPI));
|
|
26758
|
+
exports.ServiceReviewApi = ServiceReviewApi;
|
|
25736
26759
|
/**
|
|
25737
26760
|
* ServicesApi - axios parameter creator
|
|
25738
26761
|
* @export
|