ch-api-client-typescript2 4.8.1 → 4.8.3

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.js CHANGED
@@ -78,10 +78,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AppVersionApi = exports.AppVersionApiFactory = exports.AppVersionApiFp = exports.AppVersionApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.Platform = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.DayOfWeek = exports.ContributionType = exports.ConsultationType = exports.ConsultationTimetableStatus = exports.ConsultationStatus = exports.BookingStatus = void 0;
82
- exports.HospitalsConsultationTimetablesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.HeaderNavigationsApi = exports.HeaderNavigationsApiFactory = exports.HeaderNavigationsApiFp = exports.HeaderNavigationsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.ExternalApi = exports.ExternalApiFactory = exports.ExternalApiFp = exports.ExternalApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DevicesApi = exports.DevicesApiFactory = exports.DevicesApiFp = exports.DevicesApiAxiosParamCreator = 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 = void 0;
83
- 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.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsConsultationTimetablesApi = exports.HospitalsConsultationTimetablesApiFactory = exports.HospitalsConsultationTimetablesApiFp = void 0;
84
- exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = void 0;
81
+ exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AppVersionApi = exports.AppVersionApiFactory = exports.AppVersionApiFp = exports.AppVersionApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SurveyFormStatus = exports.SurveyFormElementTypes = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.Platform = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.DayOfWeek = exports.ContributionType = exports.ConsultationType = exports.ConsultationTimetableStatus = exports.ConsultationStatus = exports.BookingStatus = void 0;
82
+ exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.HeaderNavigationsApi = exports.HeaderNavigationsApiFactory = exports.HeaderNavigationsApiFp = exports.HeaderNavigationsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.ExternalApi = exports.ExternalApiFactory = exports.ExternalApiFp = exports.ExternalApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DevicesApi = exports.DevicesApiFactory = exports.DevicesApiFp = exports.DevicesApiAxiosParamCreator = 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 = void 0;
83
+ 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.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsConsultationTimetablesApi = exports.HospitalsConsultationTimetablesApiFactory = exports.HospitalsConsultationTimetablesApiFp = exports.HospitalsConsultationTimetablesApiAxiosParamCreator = exports.HospitalsApi = void 0;
84
+ exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SurveyResultsApi = exports.SurveyResultsApiFactory = exports.SurveyResultsApiFp = exports.SurveyResultsApiAxiosParamCreator = exports.SurveyFormsApi = exports.SurveyFormsApiFactory = exports.SurveyFormsApiFp = exports.SurveyFormsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = void 0;
85
85
  var axios_1 = __importDefault(require("axios"));
86
86
  // Some imports not used depending on template conditions
87
87
  // @ts-ignore
@@ -304,6 +304,34 @@ exports.SortingOrder = {
304
304
  Ascending: 'Ascending',
305
305
  Descending: 'Descending'
306
306
  };
307
+ /**
308
+ *
309
+ * @export
310
+ * @enum {string}
311
+ */
312
+ exports.SurveyFormElementTypes = {
313
+ SingleLineText: 'SingleLineText',
314
+ MultiLineText: 'MultiLineText',
315
+ Email: 'Email',
316
+ DateTime: 'DateTime',
317
+ Date: 'Date',
318
+ Time: 'Time',
319
+ NumberInteger: 'NumberInteger',
320
+ NumberFloat: 'NumberFloat',
321
+ Select: 'Select',
322
+ Checkbox: 'Checkbox',
323
+ Radio: 'Radio',
324
+ File: 'File'
325
+ };
326
+ /**
327
+ *
328
+ * @export
329
+ * @enum {string}
330
+ */
331
+ exports.SurveyFormStatus = {
332
+ Draft: 'Draft',
333
+ Active: 'Active'
334
+ };
307
335
  /**
308
336
  *
309
337
  * @export
@@ -20776,6 +20804,260 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
20776
20804
  return SpecialtyTypesApi;
20777
20805
  }(base_1.BaseAPI));
20778
20806
  exports.SpecialtyTypesApi = SpecialtyTypesApi;
20807
+ /**
20808
+ * SurveyFormsApi - axios parameter creator
20809
+ * @export
20810
+ */
20811
+ var SurveyFormsApiAxiosParamCreator = function (configuration) {
20812
+ var _this = this;
20813
+ return {
20814
+ /**
20815
+ *
20816
+ * @summary Get survey form by id
20817
+ * @param {string} surveyFormId
20818
+ * @param {string} [languageCode]
20819
+ * @param {*} [options] Override http request option.
20820
+ * @throws {RequiredError}
20821
+ */
20822
+ apiV2SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, options) {
20823
+ if (options === void 0) { options = {}; }
20824
+ return __awaiter(_this, void 0, void 0, function () {
20825
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20826
+ return __generator(this, function (_a) {
20827
+ // verify required parameter 'surveyFormId' is not null or undefined
20828
+ (0, common_1.assertParamExists)('apiV2SurveyformsSurveyFormIdGet', 'surveyFormId', surveyFormId);
20829
+ localVarPath = "/api/v2/surveyforms/{surveyFormId}"
20830
+ .replace("{".concat("surveyFormId", "}"), encodeURIComponent(String(surveyFormId)));
20831
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20832
+ if (configuration) {
20833
+ baseOptions = configuration.baseOptions;
20834
+ }
20835
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
20836
+ localVarHeaderParameter = {};
20837
+ localVarQueryParameter = {};
20838
+ if (languageCode !== undefined) {
20839
+ localVarQueryParameter['languageCode'] = languageCode;
20840
+ }
20841
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
20842
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20843
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20844
+ return [2 /*return*/, {
20845
+ url: (0, common_1.toPathString)(localVarUrlObj),
20846
+ options: localVarRequestOptions,
20847
+ }];
20848
+ });
20849
+ });
20850
+ },
20851
+ };
20852
+ };
20853
+ exports.SurveyFormsApiAxiosParamCreator = SurveyFormsApiAxiosParamCreator;
20854
+ /**
20855
+ * SurveyFormsApi - functional programming interface
20856
+ * @export
20857
+ */
20858
+ var SurveyFormsApiFp = function (configuration) {
20859
+ var localVarAxiosParamCreator = (0, exports.SurveyFormsApiAxiosParamCreator)(configuration);
20860
+ return {
20861
+ /**
20862
+ *
20863
+ * @summary Get survey form by id
20864
+ * @param {string} surveyFormId
20865
+ * @param {string} [languageCode]
20866
+ * @param {*} [options] Override http request option.
20867
+ * @throws {RequiredError}
20868
+ */
20869
+ apiV2SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, options) {
20870
+ return __awaiter(this, void 0, void 0, function () {
20871
+ var localVarAxiosArgs;
20872
+ return __generator(this, function (_a) {
20873
+ switch (_a.label) {
20874
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options)];
20875
+ case 1:
20876
+ localVarAxiosArgs = _a.sent();
20877
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
20878
+ }
20879
+ });
20880
+ });
20881
+ },
20882
+ };
20883
+ };
20884
+ exports.SurveyFormsApiFp = SurveyFormsApiFp;
20885
+ /**
20886
+ * SurveyFormsApi - factory interface
20887
+ * @export
20888
+ */
20889
+ var SurveyFormsApiFactory = function (configuration, basePath, axios) {
20890
+ var localVarFp = (0, exports.SurveyFormsApiFp)(configuration);
20891
+ return {
20892
+ /**
20893
+ *
20894
+ * @summary Get survey form by id
20895
+ * @param {string} surveyFormId
20896
+ * @param {string} [languageCode]
20897
+ * @param {*} [options] Override http request option.
20898
+ * @throws {RequiredError}
20899
+ */
20900
+ apiV2SurveyformsSurveyFormIdGet: function (surveyFormId, languageCode, options) {
20901
+ return localVarFp.apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options).then(function (request) { return request(axios, basePath); });
20902
+ },
20903
+ };
20904
+ };
20905
+ exports.SurveyFormsApiFactory = SurveyFormsApiFactory;
20906
+ /**
20907
+ * SurveyFormsApi - object-oriented interface
20908
+ * @export
20909
+ * @class SurveyFormsApi
20910
+ * @extends {BaseAPI}
20911
+ */
20912
+ var SurveyFormsApi = /** @class */ (function (_super) {
20913
+ __extends(SurveyFormsApi, _super);
20914
+ function SurveyFormsApi() {
20915
+ return _super !== null && _super.apply(this, arguments) || this;
20916
+ }
20917
+ /**
20918
+ *
20919
+ * @summary Get survey form by id
20920
+ * @param {string} surveyFormId
20921
+ * @param {string} [languageCode]
20922
+ * @param {*} [options] Override http request option.
20923
+ * @throws {RequiredError}
20924
+ * @memberof SurveyFormsApi
20925
+ */
20926
+ SurveyFormsApi.prototype.apiV2SurveyformsSurveyFormIdGet = function (surveyFormId, languageCode, options) {
20927
+ var _this = this;
20928
+ return (0, exports.SurveyFormsApiFp)(this.configuration).apiV2SurveyformsSurveyFormIdGet(surveyFormId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
20929
+ };
20930
+ return SurveyFormsApi;
20931
+ }(base_1.BaseAPI));
20932
+ exports.SurveyFormsApi = SurveyFormsApi;
20933
+ /**
20934
+ * SurveyResultsApi - axios parameter creator
20935
+ * @export
20936
+ */
20937
+ var SurveyResultsApiAxiosParamCreator = function (configuration) {
20938
+ var _this = this;
20939
+ return {
20940
+ /**
20941
+ *
20942
+ * @summary Create survey result
20943
+ * @param {CreateSurveyResultCommand} [createSurveyResultCommand]
20944
+ * @param {*} [options] Override http request option.
20945
+ * @throws {RequiredError}
20946
+ */
20947
+ apiV2SurveyresultsPost: function (createSurveyResultCommand, options) {
20948
+ if (options === void 0) { options = {}; }
20949
+ return __awaiter(_this, void 0, void 0, function () {
20950
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
20951
+ return __generator(this, function (_a) {
20952
+ switch (_a.label) {
20953
+ case 0:
20954
+ localVarPath = "/api/v2/surveyresults";
20955
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20956
+ if (configuration) {
20957
+ baseOptions = configuration.baseOptions;
20958
+ }
20959
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
20960
+ localVarHeaderParameter = {};
20961
+ localVarQueryParameter = {};
20962
+ // authentication oauth2 required
20963
+ // oauth required
20964
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)];
20965
+ case 1:
20966
+ // authentication oauth2 required
20967
+ // oauth required
20968
+ _a.sent();
20969
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20970
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
20971
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20972
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20973
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSurveyResultCommand, localVarRequestOptions, configuration);
20974
+ return [2 /*return*/, {
20975
+ url: (0, common_1.toPathString)(localVarUrlObj),
20976
+ options: localVarRequestOptions,
20977
+ }];
20978
+ }
20979
+ });
20980
+ });
20981
+ },
20982
+ };
20983
+ };
20984
+ exports.SurveyResultsApiAxiosParamCreator = SurveyResultsApiAxiosParamCreator;
20985
+ /**
20986
+ * SurveyResultsApi - functional programming interface
20987
+ * @export
20988
+ */
20989
+ var SurveyResultsApiFp = function (configuration) {
20990
+ var localVarAxiosParamCreator = (0, exports.SurveyResultsApiAxiosParamCreator)(configuration);
20991
+ return {
20992
+ /**
20993
+ *
20994
+ * @summary Create survey result
20995
+ * @param {CreateSurveyResultCommand} [createSurveyResultCommand]
20996
+ * @param {*} [options] Override http request option.
20997
+ * @throws {RequiredError}
20998
+ */
20999
+ apiV2SurveyresultsPost: function (createSurveyResultCommand, options) {
21000
+ return __awaiter(this, void 0, void 0, function () {
21001
+ var localVarAxiosArgs;
21002
+ return __generator(this, function (_a) {
21003
+ switch (_a.label) {
21004
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2SurveyresultsPost(createSurveyResultCommand, options)];
21005
+ case 1:
21006
+ localVarAxiosArgs = _a.sent();
21007
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
21008
+ }
21009
+ });
21010
+ });
21011
+ },
21012
+ };
21013
+ };
21014
+ exports.SurveyResultsApiFp = SurveyResultsApiFp;
21015
+ /**
21016
+ * SurveyResultsApi - factory interface
21017
+ * @export
21018
+ */
21019
+ var SurveyResultsApiFactory = function (configuration, basePath, axios) {
21020
+ var localVarFp = (0, exports.SurveyResultsApiFp)(configuration);
21021
+ return {
21022
+ /**
21023
+ *
21024
+ * @summary Create survey result
21025
+ * @param {CreateSurveyResultCommand} [createSurveyResultCommand]
21026
+ * @param {*} [options] Override http request option.
21027
+ * @throws {RequiredError}
21028
+ */
21029
+ apiV2SurveyresultsPost: function (createSurveyResultCommand, options) {
21030
+ return localVarFp.apiV2SurveyresultsPost(createSurveyResultCommand, options).then(function (request) { return request(axios, basePath); });
21031
+ },
21032
+ };
21033
+ };
21034
+ exports.SurveyResultsApiFactory = SurveyResultsApiFactory;
21035
+ /**
21036
+ * SurveyResultsApi - object-oriented interface
21037
+ * @export
21038
+ * @class SurveyResultsApi
21039
+ * @extends {BaseAPI}
21040
+ */
21041
+ var SurveyResultsApi = /** @class */ (function (_super) {
21042
+ __extends(SurveyResultsApi, _super);
21043
+ function SurveyResultsApi() {
21044
+ return _super !== null && _super.apply(this, arguments) || this;
21045
+ }
21046
+ /**
21047
+ *
21048
+ * @summary Create survey result
21049
+ * @param {CreateSurveyResultCommand} [createSurveyResultCommand]
21050
+ * @param {*} [options] Override http request option.
21051
+ * @throws {RequiredError}
21052
+ * @memberof SurveyResultsApi
21053
+ */
21054
+ SurveyResultsApi.prototype.apiV2SurveyresultsPost = function (createSurveyResultCommand, options) {
21055
+ var _this = this;
21056
+ return (0, exports.SurveyResultsApiFp)(this.configuration).apiV2SurveyresultsPost(createSurveyResultCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
21057
+ };
21058
+ return SurveyResultsApi;
21059
+ }(base_1.BaseAPI));
21060
+ exports.SurveyResultsApi = SurveyResultsApi;
20779
21061
  /**
20780
21062
  * TagsApi - axios parameter creator
20781
21063
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "4.8.1",
3
+ "version": "4.8.3",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {