ch-api-client-typescript2 4.5.6 → 4.5.9
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 +140 -10
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +159 -10
- package/package.json +1 -1
- package/src/api.ts +207 -13
package/lib/api.js
CHANGED
|
@@ -79,9 +79,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
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.
|
|
83
|
-
exports.
|
|
84
|
-
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = void 0;
|
|
82
|
+
exports.HospitalsApiAxiosParamCreator = exports.HospitalLanguagesApi = exports.HospitalLanguagesApiFactory = exports.HospitalLanguagesApiFp = exports.HospitalLanguagesApiAxiosParamCreator = 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.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 = exports.HospitalsApiFactory = exports.HospitalsApiFp = void 0;
|
|
84
|
+
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = void 0;
|
|
85
85
|
var axios_1 = __importDefault(require("axios"));
|
|
86
86
|
// Some imports not used depending on template conditions
|
|
87
87
|
// @ts-ignore
|
|
@@ -11151,6 +11151,148 @@ var HeaderNavigationsApi = /** @class */ (function (_super) {
|
|
|
11151
11151
|
return HeaderNavigationsApi;
|
|
11152
11152
|
}(base_1.BaseAPI));
|
|
11153
11153
|
exports.HeaderNavigationsApi = HeaderNavigationsApi;
|
|
11154
|
+
/**
|
|
11155
|
+
* HospitalLanguagesApi - axios parameter creator
|
|
11156
|
+
* @export
|
|
11157
|
+
*/
|
|
11158
|
+
var HospitalLanguagesApiAxiosParamCreator = function (configuration) {
|
|
11159
|
+
var _this = this;
|
|
11160
|
+
return {
|
|
11161
|
+
/**
|
|
11162
|
+
*
|
|
11163
|
+
* @summary Get hospitalLanguages
|
|
11164
|
+
* @param {string} hospitalId
|
|
11165
|
+
* @param {number} [page]
|
|
11166
|
+
* @param {number} [limit]
|
|
11167
|
+
* @param {Date} [lastRetrieved]
|
|
11168
|
+
* @param {*} [options] Override http request option.
|
|
11169
|
+
* @throws {RequiredError}
|
|
11170
|
+
*/
|
|
11171
|
+
apiV2HospitalsHospitalIdLanguagesGet: function (hospitalId, page, limit, lastRetrieved, options) {
|
|
11172
|
+
if (options === void 0) { options = {}; }
|
|
11173
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
11174
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11175
|
+
return __generator(this, function (_a) {
|
|
11176
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
11177
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId);
|
|
11178
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/languages"
|
|
11179
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
11180
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11181
|
+
if (configuration) {
|
|
11182
|
+
baseOptions = configuration.baseOptions;
|
|
11183
|
+
}
|
|
11184
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
11185
|
+
localVarHeaderParameter = {};
|
|
11186
|
+
localVarQueryParameter = {};
|
|
11187
|
+
if (page !== undefined) {
|
|
11188
|
+
localVarQueryParameter['page'] = page;
|
|
11189
|
+
}
|
|
11190
|
+
if (limit !== undefined) {
|
|
11191
|
+
localVarQueryParameter['limit'] = limit;
|
|
11192
|
+
}
|
|
11193
|
+
if (lastRetrieved !== undefined) {
|
|
11194
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
11195
|
+
lastRetrieved.toISOString() :
|
|
11196
|
+
lastRetrieved;
|
|
11197
|
+
}
|
|
11198
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11199
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11200
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11201
|
+
return [2 /*return*/, {
|
|
11202
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11203
|
+
options: localVarRequestOptions,
|
|
11204
|
+
}];
|
|
11205
|
+
});
|
|
11206
|
+
});
|
|
11207
|
+
},
|
|
11208
|
+
};
|
|
11209
|
+
};
|
|
11210
|
+
exports.HospitalLanguagesApiAxiosParamCreator = HospitalLanguagesApiAxiosParamCreator;
|
|
11211
|
+
/**
|
|
11212
|
+
* HospitalLanguagesApi - functional programming interface
|
|
11213
|
+
* @export
|
|
11214
|
+
*/
|
|
11215
|
+
var HospitalLanguagesApiFp = function (configuration) {
|
|
11216
|
+
var localVarAxiosParamCreator = (0, exports.HospitalLanguagesApiAxiosParamCreator)(configuration);
|
|
11217
|
+
return {
|
|
11218
|
+
/**
|
|
11219
|
+
*
|
|
11220
|
+
* @summary Get hospitalLanguages
|
|
11221
|
+
* @param {string} hospitalId
|
|
11222
|
+
* @param {number} [page]
|
|
11223
|
+
* @param {number} [limit]
|
|
11224
|
+
* @param {Date} [lastRetrieved]
|
|
11225
|
+
* @param {*} [options] Override http request option.
|
|
11226
|
+
* @throws {RequiredError}
|
|
11227
|
+
*/
|
|
11228
|
+
apiV2HospitalsHospitalIdLanguagesGet: function (hospitalId, page, limit, lastRetrieved, options) {
|
|
11229
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11230
|
+
var localVarAxiosArgs;
|
|
11231
|
+
return __generator(this, function (_a) {
|
|
11232
|
+
switch (_a.label) {
|
|
11233
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdLanguagesGet(hospitalId, page, limit, lastRetrieved, options)];
|
|
11234
|
+
case 1:
|
|
11235
|
+
localVarAxiosArgs = _a.sent();
|
|
11236
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11237
|
+
}
|
|
11238
|
+
});
|
|
11239
|
+
});
|
|
11240
|
+
},
|
|
11241
|
+
};
|
|
11242
|
+
};
|
|
11243
|
+
exports.HospitalLanguagesApiFp = HospitalLanguagesApiFp;
|
|
11244
|
+
/**
|
|
11245
|
+
* HospitalLanguagesApi - factory interface
|
|
11246
|
+
* @export
|
|
11247
|
+
*/
|
|
11248
|
+
var HospitalLanguagesApiFactory = function (configuration, basePath, axios) {
|
|
11249
|
+
var localVarFp = (0, exports.HospitalLanguagesApiFp)(configuration);
|
|
11250
|
+
return {
|
|
11251
|
+
/**
|
|
11252
|
+
*
|
|
11253
|
+
* @summary Get hospitalLanguages
|
|
11254
|
+
* @param {string} hospitalId
|
|
11255
|
+
* @param {number} [page]
|
|
11256
|
+
* @param {number} [limit]
|
|
11257
|
+
* @param {Date} [lastRetrieved]
|
|
11258
|
+
* @param {*} [options] Override http request option.
|
|
11259
|
+
* @throws {RequiredError}
|
|
11260
|
+
*/
|
|
11261
|
+
apiV2HospitalsHospitalIdLanguagesGet: function (hospitalId, page, limit, lastRetrieved, options) {
|
|
11262
|
+
return localVarFp.apiV2HospitalsHospitalIdLanguagesGet(hospitalId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11263
|
+
},
|
|
11264
|
+
};
|
|
11265
|
+
};
|
|
11266
|
+
exports.HospitalLanguagesApiFactory = HospitalLanguagesApiFactory;
|
|
11267
|
+
/**
|
|
11268
|
+
* HospitalLanguagesApi - object-oriented interface
|
|
11269
|
+
* @export
|
|
11270
|
+
* @class HospitalLanguagesApi
|
|
11271
|
+
* @extends {BaseAPI}
|
|
11272
|
+
*/
|
|
11273
|
+
var HospitalLanguagesApi = /** @class */ (function (_super) {
|
|
11274
|
+
__extends(HospitalLanguagesApi, _super);
|
|
11275
|
+
function HospitalLanguagesApi() {
|
|
11276
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
11277
|
+
}
|
|
11278
|
+
/**
|
|
11279
|
+
*
|
|
11280
|
+
* @summary Get hospitalLanguages
|
|
11281
|
+
* @param {string} hospitalId
|
|
11282
|
+
* @param {number} [page]
|
|
11283
|
+
* @param {number} [limit]
|
|
11284
|
+
* @param {Date} [lastRetrieved]
|
|
11285
|
+
* @param {*} [options] Override http request option.
|
|
11286
|
+
* @throws {RequiredError}
|
|
11287
|
+
* @memberof HospitalLanguagesApi
|
|
11288
|
+
*/
|
|
11289
|
+
HospitalLanguagesApi.prototype.apiV2HospitalsHospitalIdLanguagesGet = function (hospitalId, page, limit, lastRetrieved, options) {
|
|
11290
|
+
var _this = this;
|
|
11291
|
+
return (0, exports.HospitalLanguagesApiFp)(this.configuration).apiV2HospitalsHospitalIdLanguagesGet(hospitalId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11292
|
+
};
|
|
11293
|
+
return HospitalLanguagesApi;
|
|
11294
|
+
}(base_1.BaseAPI));
|
|
11295
|
+
exports.HospitalLanguagesApi = HospitalLanguagesApi;
|
|
11154
11296
|
/**
|
|
11155
11297
|
* HospitalsApi - axios parameter creator
|
|
11156
11298
|
* @export
|
|
@@ -14703,10 +14845,11 @@ var HospitalsConsultationTimetablesApiAxiosParamCreator = function (configuratio
|
|
|
14703
14845
|
* @param {string} hospitalId
|
|
14704
14846
|
* @param {number} [year]
|
|
14705
14847
|
* @param {number} [month]
|
|
14848
|
+
* @param {string} [timeZone]
|
|
14706
14849
|
* @param {*} [options] Override http request option.
|
|
14707
14850
|
* @throws {RequiredError}
|
|
14708
14851
|
*/
|
|
14709
|
-
apiV2HospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, options) {
|
|
14852
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, timeZone, options) {
|
|
14710
14853
|
if (options === void 0) { options = {}; }
|
|
14711
14854
|
return __awaiter(_this, void 0, void 0, function () {
|
|
14712
14855
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -14737,6 +14880,9 @@ var HospitalsConsultationTimetablesApiAxiosParamCreator = function (configuratio
|
|
|
14737
14880
|
if (month !== undefined) {
|
|
14738
14881
|
localVarQueryParameter['Month'] = month;
|
|
14739
14882
|
}
|
|
14883
|
+
if (timeZone !== undefined) {
|
|
14884
|
+
localVarQueryParameter['TimeZone'] = timeZone;
|
|
14885
|
+
}
|
|
14740
14886
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14741
14887
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14742
14888
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -14764,15 +14910,16 @@ var HospitalsConsultationTimetablesApiFp = function (configuration) {
|
|
|
14764
14910
|
* @param {string} hospitalId
|
|
14765
14911
|
* @param {number} [year]
|
|
14766
14912
|
* @param {number} [month]
|
|
14913
|
+
* @param {string} [timeZone]
|
|
14767
14914
|
* @param {*} [options] Override http request option.
|
|
14768
14915
|
* @throws {RequiredError}
|
|
14769
14916
|
*/
|
|
14770
|
-
apiV2HospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, options) {
|
|
14917
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, timeZone, options) {
|
|
14771
14918
|
return __awaiter(this, void 0, void 0, function () {
|
|
14772
14919
|
var localVarAxiosArgs;
|
|
14773
14920
|
return __generator(this, function (_a) {
|
|
14774
14921
|
switch (_a.label) {
|
|
14775
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, options)];
|
|
14922
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, options)];
|
|
14776
14923
|
case 1:
|
|
14777
14924
|
localVarAxiosArgs = _a.sent();
|
|
14778
14925
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -14796,11 +14943,12 @@ var HospitalsConsultationTimetablesApiFactory = function (configuration, basePat
|
|
|
14796
14943
|
* @param {string} hospitalId
|
|
14797
14944
|
* @param {number} [year]
|
|
14798
14945
|
* @param {number} [month]
|
|
14946
|
+
* @param {string} [timeZone]
|
|
14799
14947
|
* @param {*} [options] Override http request option.
|
|
14800
14948
|
* @throws {RequiredError}
|
|
14801
14949
|
*/
|
|
14802
|
-
apiV2HospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, options) {
|
|
14803
|
-
return localVarFp.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, options).then(function (request) { return request(axios, basePath); });
|
|
14950
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet: function (hospitalId, year, month, timeZone, options) {
|
|
14951
|
+
return localVarFp.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, options).then(function (request) { return request(axios, basePath); });
|
|
14804
14952
|
},
|
|
14805
14953
|
};
|
|
14806
14954
|
};
|
|
@@ -14822,13 +14970,14 @@ var HospitalsConsultationTimetablesApi = /** @class */ (function (_super) {
|
|
|
14822
14970
|
* @param {string} hospitalId
|
|
14823
14971
|
* @param {number} [year]
|
|
14824
14972
|
* @param {number} [month]
|
|
14973
|
+
* @param {string} [timeZone]
|
|
14825
14974
|
* @param {*} [options] Override http request option.
|
|
14826
14975
|
* @throws {RequiredError}
|
|
14827
14976
|
* @memberof HospitalsConsultationTimetablesApi
|
|
14828
14977
|
*/
|
|
14829
|
-
HospitalsConsultationTimetablesApi.prototype.apiV2HospitalsHospitalIdConsultationtimetablesGet = function (hospitalId, year, month, options) {
|
|
14978
|
+
HospitalsConsultationTimetablesApi.prototype.apiV2HospitalsHospitalIdConsultationtimetablesGet = function (hospitalId, year, month, timeZone, options) {
|
|
14830
14979
|
var _this = this;
|
|
14831
|
-
return (0, exports.HospitalsConsultationTimetablesApiFp)(this.configuration).apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14980
|
+
return (0, exports.HospitalsConsultationTimetablesApiFp)(this.configuration).apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
14832
14981
|
};
|
|
14833
14982
|
return HospitalsConsultationTimetablesApi;
|
|
14834
14983
|
}(base_1.BaseAPI));
|
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -2343,6 +2343,12 @@ export interface ConsultationTimetableModel {
|
|
|
2343
2343
|
* @memberof ConsultationTimetableModel
|
|
2344
2344
|
*/
|
|
2345
2345
|
'hospitalTimeZone'?: string | null;
|
|
2346
|
+
/**
|
|
2347
|
+
*
|
|
2348
|
+
* @type {string}
|
|
2349
|
+
* @memberof ConsultationTimetableModel
|
|
2350
|
+
*/
|
|
2351
|
+
'timeZone'?: string | null;
|
|
2346
2352
|
/**
|
|
2347
2353
|
*
|
|
2348
2354
|
* @type {Date}
|
|
@@ -2391,6 +2397,18 @@ export interface ConsultationTimetableTimeSlotModel {
|
|
|
2391
2397
|
* @memberof ConsultationTimetableTimeSlotModel
|
|
2392
2398
|
*/
|
|
2393
2399
|
'status'?: ConsultationTimetableStatus;
|
|
2400
|
+
/**
|
|
2401
|
+
*
|
|
2402
|
+
* @type {boolean}
|
|
2403
|
+
* @memberof ConsultationTimetableTimeSlotModel
|
|
2404
|
+
*/
|
|
2405
|
+
'isOverrided'?: boolean;
|
|
2406
|
+
/**
|
|
2407
|
+
*
|
|
2408
|
+
* @type {boolean}
|
|
2409
|
+
* @memberof ConsultationTimetableTimeSlotModel
|
|
2410
|
+
*/
|
|
2411
|
+
'isBooked'?: boolean;
|
|
2394
2412
|
/**
|
|
2395
2413
|
*
|
|
2396
2414
|
* @type {boolean}
|
|
@@ -6211,6 +6229,43 @@ export interface HospitalLanguageItemModel {
|
|
|
6211
6229
|
* @memberof HospitalLanguageItemModel
|
|
6212
6230
|
*/
|
|
6213
6231
|
'name'?: string | null;
|
|
6232
|
+
/**
|
|
6233
|
+
*
|
|
6234
|
+
* @type {string}
|
|
6235
|
+
* @memberof HospitalLanguageItemModel
|
|
6236
|
+
*/
|
|
6237
|
+
'localizedName'?: string | null;
|
|
6238
|
+
/**
|
|
6239
|
+
*
|
|
6240
|
+
* @type {boolean}
|
|
6241
|
+
* @memberof HospitalLanguageItemModel
|
|
6242
|
+
*/
|
|
6243
|
+
'published'?: boolean;
|
|
6244
|
+
/**
|
|
6245
|
+
*
|
|
6246
|
+
* @type {number}
|
|
6247
|
+
* @memberof HospitalLanguageItemModel
|
|
6248
|
+
*/
|
|
6249
|
+
'order'?: number;
|
|
6250
|
+
}
|
|
6251
|
+
/**
|
|
6252
|
+
*
|
|
6253
|
+
* @export
|
|
6254
|
+
* @interface HospitalLanguagesModel
|
|
6255
|
+
*/
|
|
6256
|
+
export interface HospitalLanguagesModel {
|
|
6257
|
+
/**
|
|
6258
|
+
*
|
|
6259
|
+
* @type {Array<HospitalLanguageItemModel>}
|
|
6260
|
+
* @memberof HospitalLanguagesModel
|
|
6261
|
+
*/
|
|
6262
|
+
'items'?: Array<HospitalLanguageItemModel> | null;
|
|
6263
|
+
/**
|
|
6264
|
+
*
|
|
6265
|
+
* @type {PagedListMetaData}
|
|
6266
|
+
* @memberof HospitalLanguagesModel
|
|
6267
|
+
*/
|
|
6268
|
+
'metaData'?: PagedListMetaData;
|
|
6214
6269
|
}
|
|
6215
6270
|
/**
|
|
6216
6271
|
*
|
|
@@ -7392,19 +7447,19 @@ export interface LanguageItemModel {
|
|
|
7392
7447
|
* @type {string}
|
|
7393
7448
|
* @memberof LanguageItemModel
|
|
7394
7449
|
*/
|
|
7395
|
-
'
|
|
7450
|
+
'code'?: string | null;
|
|
7396
7451
|
/**
|
|
7397
7452
|
*
|
|
7398
7453
|
* @type {string}
|
|
7399
7454
|
* @memberof LanguageItemModel
|
|
7400
7455
|
*/
|
|
7401
|
-
'
|
|
7456
|
+
'name'?: string | null;
|
|
7402
7457
|
/**
|
|
7403
7458
|
*
|
|
7404
7459
|
* @type {string}
|
|
7405
7460
|
* @memberof LanguageItemModel
|
|
7406
7461
|
*/
|
|
7407
|
-
'
|
|
7462
|
+
'localizedName'?: string | null;
|
|
7408
7463
|
/**
|
|
7409
7464
|
*
|
|
7410
7465
|
* @type {string}
|
|
@@ -7435,19 +7490,19 @@ export interface LanguageModel {
|
|
|
7435
7490
|
* @type {string}
|
|
7436
7491
|
* @memberof LanguageModel
|
|
7437
7492
|
*/
|
|
7438
|
-
'
|
|
7493
|
+
'code'?: string | null;
|
|
7439
7494
|
/**
|
|
7440
7495
|
*
|
|
7441
7496
|
* @type {string}
|
|
7442
7497
|
* @memberof LanguageModel
|
|
7443
7498
|
*/
|
|
7444
|
-
'
|
|
7499
|
+
'name'?: string | null;
|
|
7445
7500
|
/**
|
|
7446
7501
|
*
|
|
7447
7502
|
* @type {string}
|
|
7448
7503
|
* @memberof LanguageModel
|
|
7449
7504
|
*/
|
|
7450
|
-
'
|
|
7505
|
+
'localizedName'?: string | null;
|
|
7451
7506
|
/**
|
|
7452
7507
|
*
|
|
7453
7508
|
* @type {string}
|
|
@@ -20790,6 +20845,137 @@ export class HeaderNavigationsApi extends BaseAPI {
|
|
|
20790
20845
|
}
|
|
20791
20846
|
|
|
20792
20847
|
|
|
20848
|
+
/**
|
|
20849
|
+
* HospitalLanguagesApi - axios parameter creator
|
|
20850
|
+
* @export
|
|
20851
|
+
*/
|
|
20852
|
+
export const HospitalLanguagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
20853
|
+
return {
|
|
20854
|
+
/**
|
|
20855
|
+
*
|
|
20856
|
+
* @summary Get hospitalLanguages
|
|
20857
|
+
* @param {string} hospitalId
|
|
20858
|
+
* @param {number} [page]
|
|
20859
|
+
* @param {number} [limit]
|
|
20860
|
+
* @param {Date} [lastRetrieved]
|
|
20861
|
+
* @param {*} [options] Override http request option.
|
|
20862
|
+
* @throws {RequiredError}
|
|
20863
|
+
*/
|
|
20864
|
+
apiV2HospitalsHospitalIdLanguagesGet: async (hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20865
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
20866
|
+
assertParamExists('apiV2HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId)
|
|
20867
|
+
const localVarPath = `/api/v2/hospitals/{hospitalId}/languages`
|
|
20868
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
20869
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20870
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20871
|
+
let baseOptions;
|
|
20872
|
+
if (configuration) {
|
|
20873
|
+
baseOptions = configuration.baseOptions;
|
|
20874
|
+
}
|
|
20875
|
+
|
|
20876
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
20877
|
+
const localVarHeaderParameter = {} as any;
|
|
20878
|
+
const localVarQueryParameter = {} as any;
|
|
20879
|
+
|
|
20880
|
+
if (page !== undefined) {
|
|
20881
|
+
localVarQueryParameter['page'] = page;
|
|
20882
|
+
}
|
|
20883
|
+
|
|
20884
|
+
if (limit !== undefined) {
|
|
20885
|
+
localVarQueryParameter['limit'] = limit;
|
|
20886
|
+
}
|
|
20887
|
+
|
|
20888
|
+
if (lastRetrieved !== undefined) {
|
|
20889
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
20890
|
+
(lastRetrieved as any).toISOString() :
|
|
20891
|
+
lastRetrieved;
|
|
20892
|
+
}
|
|
20893
|
+
|
|
20894
|
+
|
|
20895
|
+
|
|
20896
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20897
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20898
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20899
|
+
|
|
20900
|
+
return {
|
|
20901
|
+
url: toPathString(localVarUrlObj),
|
|
20902
|
+
options: localVarRequestOptions,
|
|
20903
|
+
};
|
|
20904
|
+
},
|
|
20905
|
+
}
|
|
20906
|
+
};
|
|
20907
|
+
|
|
20908
|
+
/**
|
|
20909
|
+
* HospitalLanguagesApi - functional programming interface
|
|
20910
|
+
* @export
|
|
20911
|
+
*/
|
|
20912
|
+
export const HospitalLanguagesApiFp = function(configuration?: Configuration) {
|
|
20913
|
+
const localVarAxiosParamCreator = HospitalLanguagesApiAxiosParamCreator(configuration)
|
|
20914
|
+
return {
|
|
20915
|
+
/**
|
|
20916
|
+
*
|
|
20917
|
+
* @summary Get hospitalLanguages
|
|
20918
|
+
* @param {string} hospitalId
|
|
20919
|
+
* @param {number} [page]
|
|
20920
|
+
* @param {number} [limit]
|
|
20921
|
+
* @param {Date} [lastRetrieved]
|
|
20922
|
+
* @param {*} [options] Override http request option.
|
|
20923
|
+
* @throws {RequiredError}
|
|
20924
|
+
*/
|
|
20925
|
+
async apiV2HospitalsHospitalIdLanguagesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalLanguagesModel>> {
|
|
20926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdLanguagesGet(hospitalId, page, limit, lastRetrieved, options);
|
|
20927
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
20928
|
+
},
|
|
20929
|
+
}
|
|
20930
|
+
};
|
|
20931
|
+
|
|
20932
|
+
/**
|
|
20933
|
+
* HospitalLanguagesApi - factory interface
|
|
20934
|
+
* @export
|
|
20935
|
+
*/
|
|
20936
|
+
export const HospitalLanguagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
20937
|
+
const localVarFp = HospitalLanguagesApiFp(configuration)
|
|
20938
|
+
return {
|
|
20939
|
+
/**
|
|
20940
|
+
*
|
|
20941
|
+
* @summary Get hospitalLanguages
|
|
20942
|
+
* @param {string} hospitalId
|
|
20943
|
+
* @param {number} [page]
|
|
20944
|
+
* @param {number} [limit]
|
|
20945
|
+
* @param {Date} [lastRetrieved]
|
|
20946
|
+
* @param {*} [options] Override http request option.
|
|
20947
|
+
* @throws {RequiredError}
|
|
20948
|
+
*/
|
|
20949
|
+
apiV2HospitalsHospitalIdLanguagesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalLanguagesModel> {
|
|
20950
|
+
return localVarFp.apiV2HospitalsHospitalIdLanguagesGet(hospitalId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
20951
|
+
},
|
|
20952
|
+
};
|
|
20953
|
+
};
|
|
20954
|
+
|
|
20955
|
+
/**
|
|
20956
|
+
* HospitalLanguagesApi - object-oriented interface
|
|
20957
|
+
* @export
|
|
20958
|
+
* @class HospitalLanguagesApi
|
|
20959
|
+
* @extends {BaseAPI}
|
|
20960
|
+
*/
|
|
20961
|
+
export class HospitalLanguagesApi extends BaseAPI {
|
|
20962
|
+
/**
|
|
20963
|
+
*
|
|
20964
|
+
* @summary Get hospitalLanguages
|
|
20965
|
+
* @param {string} hospitalId
|
|
20966
|
+
* @param {number} [page]
|
|
20967
|
+
* @param {number} [limit]
|
|
20968
|
+
* @param {Date} [lastRetrieved]
|
|
20969
|
+
* @param {*} [options] Override http request option.
|
|
20970
|
+
* @throws {RequiredError}
|
|
20971
|
+
* @memberof HospitalLanguagesApi
|
|
20972
|
+
*/
|
|
20973
|
+
public apiV2HospitalsHospitalIdLanguagesGet(hospitalId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
20974
|
+
return HospitalLanguagesApiFp(this.configuration).apiV2HospitalsHospitalIdLanguagesGet(hospitalId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
20975
|
+
}
|
|
20976
|
+
}
|
|
20977
|
+
|
|
20978
|
+
|
|
20793
20979
|
/**
|
|
20794
20980
|
* HospitalsApi - axios parameter creator
|
|
20795
20981
|
* @export
|
|
@@ -24229,10 +24415,11 @@ export const HospitalsConsultationTimetablesApiAxiosParamCreator = function (con
|
|
|
24229
24415
|
* @param {string} hospitalId
|
|
24230
24416
|
* @param {number} [year]
|
|
24231
24417
|
* @param {number} [month]
|
|
24418
|
+
* @param {string} [timeZone]
|
|
24232
24419
|
* @param {*} [options] Override http request option.
|
|
24233
24420
|
* @throws {RequiredError}
|
|
24234
24421
|
*/
|
|
24235
|
-
apiV2HospitalsHospitalIdConsultationtimetablesGet: async (hospitalId: string, year?: number, month?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24422
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet: async (hospitalId: string, year?: number, month?: number, timeZone?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24236
24423
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
24237
24424
|
assertParamExists('apiV2HospitalsHospitalIdConsultationtimetablesGet', 'hospitalId', hospitalId)
|
|
24238
24425
|
const localVarPath = `/api/v2/hospitals/{hospitalId}/consultationtimetables`
|
|
@@ -24260,6 +24447,10 @@ export const HospitalsConsultationTimetablesApiAxiosParamCreator = function (con
|
|
|
24260
24447
|
localVarQueryParameter['Month'] = month;
|
|
24261
24448
|
}
|
|
24262
24449
|
|
|
24450
|
+
if (timeZone !== undefined) {
|
|
24451
|
+
localVarQueryParameter['TimeZone'] = timeZone;
|
|
24452
|
+
}
|
|
24453
|
+
|
|
24263
24454
|
|
|
24264
24455
|
|
|
24265
24456
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -24287,11 +24478,12 @@ export const HospitalsConsultationTimetablesApiFp = function(configuration?: Con
|
|
|
24287
24478
|
* @param {string} hospitalId
|
|
24288
24479
|
* @param {number} [year]
|
|
24289
24480
|
* @param {number} [month]
|
|
24481
|
+
* @param {string} [timeZone]
|
|
24290
24482
|
* @param {*} [options] Override http request option.
|
|
24291
24483
|
* @throws {RequiredError}
|
|
24292
24484
|
*/
|
|
24293
|
-
async apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationTimetableModel>> {
|
|
24294
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, options);
|
|
24485
|
+
async apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationTimetableModel>> {
|
|
24486
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, options);
|
|
24295
24487
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24296
24488
|
},
|
|
24297
24489
|
}
|
|
@@ -24310,11 +24502,12 @@ export const HospitalsConsultationTimetablesApiFactory = function (configuration
|
|
|
24310
24502
|
* @param {string} hospitalId
|
|
24311
24503
|
* @param {number} [year]
|
|
24312
24504
|
* @param {number} [month]
|
|
24505
|
+
* @param {string} [timeZone]
|
|
24313
24506
|
* @param {*} [options] Override http request option.
|
|
24314
24507
|
* @throws {RequiredError}
|
|
24315
24508
|
*/
|
|
24316
|
-
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, options?: any): AxiosPromise<ConsultationTimetableModel> {
|
|
24317
|
-
return localVarFp.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, options).then((request) => request(axios, basePath));
|
|
24509
|
+
apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, options?: any): AxiosPromise<ConsultationTimetableModel> {
|
|
24510
|
+
return localVarFp.apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, options).then((request) => request(axios, basePath));
|
|
24318
24511
|
},
|
|
24319
24512
|
};
|
|
24320
24513
|
};
|
|
@@ -24332,12 +24525,13 @@ export class HospitalsConsultationTimetablesApi extends BaseAPI {
|
|
|
24332
24525
|
* @param {string} hospitalId
|
|
24333
24526
|
* @param {number} [year]
|
|
24334
24527
|
* @param {number} [month]
|
|
24528
|
+
* @param {string} [timeZone]
|
|
24335
24529
|
* @param {*} [options] Override http request option.
|
|
24336
24530
|
* @throws {RequiredError}
|
|
24337
24531
|
* @memberof HospitalsConsultationTimetablesApi
|
|
24338
24532
|
*/
|
|
24339
|
-
public apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, options?: AxiosRequestConfig) {
|
|
24340
|
-
return HospitalsConsultationTimetablesApiFp(this.configuration).apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, options).then((request) => request(this.axios, this.basePath));
|
|
24533
|
+
public apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, options?: AxiosRequestConfig) {
|
|
24534
|
+
return HospitalsConsultationTimetablesApiFp(this.configuration).apiV2HospitalsHospitalIdConsultationtimetablesGet(hospitalId, year, month, timeZone, options).then((request) => request(this.axios, this.basePath));
|
|
24341
24535
|
}
|
|
24342
24536
|
}
|
|
24343
24537
|
|