ch-api-client-typescript2 2.8.5 → 2.8.6

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
@@ -9904,6 +9904,97 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
9904
9904
  });
9905
9905
  });
9906
9906
  },
9907
+ /**
9908
+ *
9909
+ * @summary Get all HospitalSpecialties.
9910
+ * @param {string} hospitalId
9911
+ * @param {string} [hospitalName]
9912
+ * @param {string} [hospitalSlug]
9913
+ * @param {string} [specialtyId]
9914
+ * @param {string} [specialtyName]
9915
+ * @param {string} [specialtyTypeId]
9916
+ * @param {string} [title]
9917
+ * @param {MarketingType} [marketingType]
9918
+ * @param {string} [languageCode]
9919
+ * @param {boolean} [showHidden]
9920
+ * @param {boolean} [returnDefaultValue]
9921
+ * @param {boolean} [includeServices]
9922
+ * @param {number} [page]
9923
+ * @param {number} [limit]
9924
+ * @param {Date} [lastRetrieved]
9925
+ * @param {*} [options] Override http request option.
9926
+ * @throws {RequiredError}
9927
+ */
9928
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
9929
+ if (options === void 0) { options = {}; }
9930
+ return __awaiter(_this, void 0, void 0, function () {
9931
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9932
+ return __generator(this, function (_a) {
9933
+ // verify required parameter 'hospitalId' is not null or undefined
9934
+ (0, common_1.assertParamExists)('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId);
9935
+ localVarPath = "/api/v2/hospitals/{hospitalId}/specialties/simple"
9936
+ .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
9937
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9938
+ if (configuration) {
9939
+ baseOptions = configuration.baseOptions;
9940
+ }
9941
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9942
+ localVarHeaderParameter = {};
9943
+ localVarQueryParameter = {};
9944
+ if (hospitalName !== undefined) {
9945
+ localVarQueryParameter['HospitalName'] = hospitalName;
9946
+ }
9947
+ if (hospitalSlug !== undefined) {
9948
+ localVarQueryParameter['HospitalSlug'] = hospitalSlug;
9949
+ }
9950
+ if (specialtyId !== undefined) {
9951
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
9952
+ }
9953
+ if (specialtyName !== undefined) {
9954
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
9955
+ }
9956
+ if (specialtyTypeId !== undefined) {
9957
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
9958
+ }
9959
+ if (title !== undefined) {
9960
+ localVarQueryParameter['Title'] = title;
9961
+ }
9962
+ if (marketingType !== undefined) {
9963
+ localVarQueryParameter['MarketingType'] = marketingType;
9964
+ }
9965
+ if (languageCode !== undefined) {
9966
+ localVarQueryParameter['LanguageCode'] = languageCode;
9967
+ }
9968
+ if (showHidden !== undefined) {
9969
+ localVarQueryParameter['ShowHidden'] = showHidden;
9970
+ }
9971
+ if (returnDefaultValue !== undefined) {
9972
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
9973
+ }
9974
+ if (includeServices !== undefined) {
9975
+ localVarQueryParameter['IncludeServices'] = includeServices;
9976
+ }
9977
+ if (page !== undefined) {
9978
+ localVarQueryParameter['page'] = page;
9979
+ }
9980
+ if (limit !== undefined) {
9981
+ localVarQueryParameter['limit'] = limit;
9982
+ }
9983
+ if (lastRetrieved !== undefined) {
9984
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
9985
+ lastRetrieved.toISOString() :
9986
+ lastRetrieved;
9987
+ }
9988
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9989
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9990
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9991
+ return [2 /*return*/, {
9992
+ url: (0, common_1.toPathString)(localVarUrlObj),
9993
+ options: localVarRequestOptions,
9994
+ }];
9995
+ });
9996
+ });
9997
+ },
9907
9998
  /**
9908
9999
  *
9909
10000
  * @summary Get HospitalSpecialty.
@@ -10743,6 +10834,40 @@ var HospitalsApiFp = function (configuration) {
10743
10834
  });
10744
10835
  });
10745
10836
  },
10837
+ /**
10838
+ *
10839
+ * @summary Get all HospitalSpecialties.
10840
+ * @param {string} hospitalId
10841
+ * @param {string} [hospitalName]
10842
+ * @param {string} [hospitalSlug]
10843
+ * @param {string} [specialtyId]
10844
+ * @param {string} [specialtyName]
10845
+ * @param {string} [specialtyTypeId]
10846
+ * @param {string} [title]
10847
+ * @param {MarketingType} [marketingType]
10848
+ * @param {string} [languageCode]
10849
+ * @param {boolean} [showHidden]
10850
+ * @param {boolean} [returnDefaultValue]
10851
+ * @param {boolean} [includeServices]
10852
+ * @param {number} [page]
10853
+ * @param {number} [limit]
10854
+ * @param {Date} [lastRetrieved]
10855
+ * @param {*} [options] Override http request option.
10856
+ * @throws {RequiredError}
10857
+ */
10858
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
10859
+ return __awaiter(this, void 0, void 0, function () {
10860
+ var localVarAxiosArgs;
10861
+ return __generator(this, function (_a) {
10862
+ switch (_a.label) {
10863
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options)];
10864
+ case 1:
10865
+ localVarAxiosArgs = _a.sent();
10866
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10867
+ }
10868
+ });
10869
+ });
10870
+ },
10746
10871
  /**
10747
10872
  *
10748
10873
  * @summary Get HospitalSpecialty.
@@ -11167,6 +11292,30 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11167
11292
  apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11168
11293
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11169
11294
  },
11295
+ /**
11296
+ *
11297
+ * @summary Get all HospitalSpecialties.
11298
+ * @param {string} hospitalId
11299
+ * @param {string} [hospitalName]
11300
+ * @param {string} [hospitalSlug]
11301
+ * @param {string} [specialtyId]
11302
+ * @param {string} [specialtyName]
11303
+ * @param {string} [specialtyTypeId]
11304
+ * @param {string} [title]
11305
+ * @param {MarketingType} [marketingType]
11306
+ * @param {string} [languageCode]
11307
+ * @param {boolean} [showHidden]
11308
+ * @param {boolean} [returnDefaultValue]
11309
+ * @param {boolean} [includeServices]
11310
+ * @param {number} [page]
11311
+ * @param {number} [limit]
11312
+ * @param {Date} [lastRetrieved]
11313
+ * @param {*} [options] Override http request option.
11314
+ * @throws {RequiredError}
11315
+ */
11316
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11317
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11318
+ },
11170
11319
  /**
11171
11320
  *
11172
11321
  * @summary Get HospitalSpecialty.
@@ -11541,6 +11690,32 @@ var HospitalsApi = /** @class */ (function (_super) {
11541
11690
  var _this = this;
11542
11691
  return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11543
11692
  };
11693
+ /**
11694
+ *
11695
+ * @summary Get all HospitalSpecialties.
11696
+ * @param {string} hospitalId
11697
+ * @param {string} [hospitalName]
11698
+ * @param {string} [hospitalSlug]
11699
+ * @param {string} [specialtyId]
11700
+ * @param {string} [specialtyName]
11701
+ * @param {string} [specialtyTypeId]
11702
+ * @param {string} [title]
11703
+ * @param {MarketingType} [marketingType]
11704
+ * @param {string} [languageCode]
11705
+ * @param {boolean} [showHidden]
11706
+ * @param {boolean} [returnDefaultValue]
11707
+ * @param {boolean} [includeServices]
11708
+ * @param {number} [page]
11709
+ * @param {number} [limit]
11710
+ * @param {Date} [lastRetrieved]
11711
+ * @param {*} [options] Override http request option.
11712
+ * @throws {RequiredError}
11713
+ * @memberof HospitalsApi
11714
+ */
11715
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options) {
11716
+ var _this = this;
11717
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
11718
+ };
11544
11719
  /**
11545
11720
  *
11546
11721
  * @summary Get HospitalSpecialty.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "2.8.5",
3
+ "version": "2.8.6",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/api.ts CHANGED
@@ -5953,6 +5953,18 @@ export interface HospitalServiceItemModel {
5953
5953
  * @memberof HospitalServiceItemModel
5954
5954
  */
5955
5955
  'confirmed'?: boolean;
5956
+ /**
5957
+ *
5958
+ * @type {string}
5959
+ * @memberof HospitalServiceItemModel
5960
+ */
5961
+ 'photo'?: string | null;
5962
+ /**
5963
+ *
5964
+ * @type {string}
5965
+ * @memberof HospitalServiceItemModel
5966
+ */
5967
+ 'photoThumbnail'?: string | null;
5956
5968
  /**
5957
5969
  *
5958
5970
  * @type {AuditableEntity}
@@ -6092,6 +6104,18 @@ export interface HospitalServiceModel {
6092
6104
  * @memberof HospitalServiceModel
6093
6105
  */
6094
6106
  'confirmed'?: boolean;
6107
+ /**
6108
+ *
6109
+ * @type {string}
6110
+ * @memberof HospitalServiceModel
6111
+ */
6112
+ 'photo'?: string | null;
6113
+ /**
6114
+ *
6115
+ * @type {string}
6116
+ * @memberof HospitalServiceModel
6117
+ */
6118
+ 'photoThumbnail'?: string | null;
6095
6119
  /**
6096
6120
  *
6097
6121
  * @type {AuditableEntity}
@@ -6168,6 +6192,25 @@ export interface HospitalSpecialtiesModel {
6168
6192
  */
6169
6193
  'metaData'?: PagedListMetaData;
6170
6194
  }
6195
+ /**
6196
+ *
6197
+ * @export
6198
+ * @interface HospitalSpecialtiesSimpleModel
6199
+ */
6200
+ export interface HospitalSpecialtiesSimpleModel {
6201
+ /**
6202
+ *
6203
+ * @type {Array<HospitalSpecialtySimpleItemModel>}
6204
+ * @memberof HospitalSpecialtiesSimpleModel
6205
+ */
6206
+ 'items'?: Array<HospitalSpecialtySimpleItemModel> | null;
6207
+ /**
6208
+ *
6209
+ * @type {PagedListMetaData}
6210
+ * @memberof HospitalSpecialtiesSimpleModel
6211
+ */
6212
+ 'metaData'?: PagedListMetaData;
6213
+ }
6171
6214
  /**
6172
6215
  *
6173
6216
  * @export
@@ -6276,6 +6319,30 @@ export interface HospitalSpecialtyItemModel {
6276
6319
  * @memberof HospitalSpecialtyItemModel
6277
6320
  */
6278
6321
  'confirmed'?: boolean;
6322
+ /**
6323
+ *
6324
+ * @type {string}
6325
+ * @memberof HospitalSpecialtyItemModel
6326
+ */
6327
+ 'photo'?: string | null;
6328
+ /**
6329
+ *
6330
+ * @type {string}
6331
+ * @memberof HospitalSpecialtyItemModel
6332
+ */
6333
+ 'photoThumbnail'?: string | null;
6334
+ /**
6335
+ *
6336
+ * @type {string}
6337
+ * @memberof HospitalSpecialtyItemModel
6338
+ */
6339
+ 'background'?: string | null;
6340
+ /**
6341
+ *
6342
+ * @type {string}
6343
+ * @memberof HospitalSpecialtyItemModel
6344
+ */
6345
+ 'backgroundThumbnail'?: string | null;
6279
6346
  /**
6280
6347
  *
6281
6348
  * @type {Array<MediaModel>}
@@ -6397,6 +6464,30 @@ export interface HospitalSpecialtyModel {
6397
6464
  * @memberof HospitalSpecialtyModel
6398
6465
  */
6399
6466
  'confirmed'?: boolean;
6467
+ /**
6468
+ *
6469
+ * @type {string}
6470
+ * @memberof HospitalSpecialtyModel
6471
+ */
6472
+ 'photo'?: string | null;
6473
+ /**
6474
+ *
6475
+ * @type {string}
6476
+ * @memberof HospitalSpecialtyModel
6477
+ */
6478
+ 'photoThumbnail'?: string | null;
6479
+ /**
6480
+ *
6481
+ * @type {string}
6482
+ * @memberof HospitalSpecialtyModel
6483
+ */
6484
+ 'background'?: string | null;
6485
+ /**
6486
+ *
6487
+ * @type {string}
6488
+ * @memberof HospitalSpecialtyModel
6489
+ */
6490
+ 'backgroundThumbnail'?: string | null;
6400
6491
  /**
6401
6492
  *
6402
6493
  * @type {Array<MediaModel>}
@@ -6416,6 +6507,43 @@ export interface HospitalSpecialtyModel {
6416
6507
  */
6417
6508
  'languageCode'?: string | null;
6418
6509
  }
6510
+ /**
6511
+ *
6512
+ * @export
6513
+ * @interface HospitalSpecialtySimpleItemModel
6514
+ */
6515
+ export interface HospitalSpecialtySimpleItemModel {
6516
+ /**
6517
+ *
6518
+ * @type {string}
6519
+ * @memberof HospitalSpecialtySimpleItemModel
6520
+ */
6521
+ 'id'?: string;
6522
+ /**
6523
+ *
6524
+ * @type {string}
6525
+ * @memberof HospitalSpecialtySimpleItemModel
6526
+ */
6527
+ 'specialtyName'?: string | null;
6528
+ /**
6529
+ *
6530
+ * @type {string}
6531
+ * @memberof HospitalSpecialtySimpleItemModel
6532
+ */
6533
+ 'hospitalSpecialtySlug'?: string | null;
6534
+ /**
6535
+ *
6536
+ * @type {string}
6537
+ * @memberof HospitalSpecialtySimpleItemModel
6538
+ */
6539
+ 'description'?: string | null;
6540
+ /**
6541
+ *
6542
+ * @type {boolean}
6543
+ * @memberof HospitalSpecialtySimpleItemModel
6544
+ */
6545
+ 'confirmed'?: boolean;
6546
+ }
6419
6547
  /**
6420
6548
  *
6421
6549
  * @export
@@ -18079,6 +18207,112 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
18079
18207
 
18080
18208
 
18081
18209
 
18210
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18211
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18212
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18213
+
18214
+ return {
18215
+ url: toPathString(localVarUrlObj),
18216
+ options: localVarRequestOptions,
18217
+ };
18218
+ },
18219
+ /**
18220
+ *
18221
+ * @summary Get all HospitalSpecialties.
18222
+ * @param {string} hospitalId
18223
+ * @param {string} [hospitalName]
18224
+ * @param {string} [hospitalSlug]
18225
+ * @param {string} [specialtyId]
18226
+ * @param {string} [specialtyName]
18227
+ * @param {string} [specialtyTypeId]
18228
+ * @param {string} [title]
18229
+ * @param {MarketingType} [marketingType]
18230
+ * @param {string} [languageCode]
18231
+ * @param {boolean} [showHidden]
18232
+ * @param {boolean} [returnDefaultValue]
18233
+ * @param {boolean} [includeServices]
18234
+ * @param {number} [page]
18235
+ * @param {number} [limit]
18236
+ * @param {Date} [lastRetrieved]
18237
+ * @param {*} [options] Override http request option.
18238
+ * @throws {RequiredError}
18239
+ */
18240
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18241
+ // verify required parameter 'hospitalId' is not null or undefined
18242
+ assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
18243
+ const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/simple`
18244
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
18245
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18246
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18247
+ let baseOptions;
18248
+ if (configuration) {
18249
+ baseOptions = configuration.baseOptions;
18250
+ }
18251
+
18252
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18253
+ const localVarHeaderParameter = {} as any;
18254
+ const localVarQueryParameter = {} as any;
18255
+
18256
+ if (hospitalName !== undefined) {
18257
+ localVarQueryParameter['HospitalName'] = hospitalName;
18258
+ }
18259
+
18260
+ if (hospitalSlug !== undefined) {
18261
+ localVarQueryParameter['HospitalSlug'] = hospitalSlug;
18262
+ }
18263
+
18264
+ if (specialtyId !== undefined) {
18265
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
18266
+ }
18267
+
18268
+ if (specialtyName !== undefined) {
18269
+ localVarQueryParameter['SpecialtyName'] = specialtyName;
18270
+ }
18271
+
18272
+ if (specialtyTypeId !== undefined) {
18273
+ localVarQueryParameter['SpecialtyTypeId'] = specialtyTypeId;
18274
+ }
18275
+
18276
+ if (title !== undefined) {
18277
+ localVarQueryParameter['Title'] = title;
18278
+ }
18279
+
18280
+ if (marketingType !== undefined) {
18281
+ localVarQueryParameter['MarketingType'] = marketingType;
18282
+ }
18283
+
18284
+ if (languageCode !== undefined) {
18285
+ localVarQueryParameter['LanguageCode'] = languageCode;
18286
+ }
18287
+
18288
+ if (showHidden !== undefined) {
18289
+ localVarQueryParameter['ShowHidden'] = showHidden;
18290
+ }
18291
+
18292
+ if (returnDefaultValue !== undefined) {
18293
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
18294
+ }
18295
+
18296
+ if (includeServices !== undefined) {
18297
+ localVarQueryParameter['IncludeServices'] = includeServices;
18298
+ }
18299
+
18300
+ if (page !== undefined) {
18301
+ localVarQueryParameter['page'] = page;
18302
+ }
18303
+
18304
+ if (limit !== undefined) {
18305
+ localVarQueryParameter['limit'] = limit;
18306
+ }
18307
+
18308
+ if (lastRetrieved !== undefined) {
18309
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
18310
+ (lastRetrieved as any).toISOString() :
18311
+ lastRetrieved;
18312
+ }
18313
+
18314
+
18315
+
18082
18316
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18083
18317
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18084
18318
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -18866,6 +19100,31 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
18866
19100
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
18867
19101
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18868
19102
  },
19103
+ /**
19104
+ *
19105
+ * @summary Get all HospitalSpecialties.
19106
+ * @param {string} hospitalId
19107
+ * @param {string} [hospitalName]
19108
+ * @param {string} [hospitalSlug]
19109
+ * @param {string} [specialtyId]
19110
+ * @param {string} [specialtyName]
19111
+ * @param {string} [specialtyTypeId]
19112
+ * @param {string} [title]
19113
+ * @param {MarketingType} [marketingType]
19114
+ * @param {string} [languageCode]
19115
+ * @param {boolean} [showHidden]
19116
+ * @param {boolean} [returnDefaultValue]
19117
+ * @param {boolean} [includeServices]
19118
+ * @param {number} [page]
19119
+ * @param {number} [limit]
19120
+ * @param {Date} [lastRetrieved]
19121
+ * @param {*} [options] Override http request option.
19122
+ * @throws {RequiredError}
19123
+ */
19124
+ async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
19125
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options);
19126
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19127
+ },
18869
19128
  /**
18870
19129
  *
18871
19130
  * @summary Get HospitalSpecialty.
@@ -19218,6 +19477,30 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
19218
19477
  apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
19219
19478
  return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
19220
19479
  },
19480
+ /**
19481
+ *
19482
+ * @summary Get all HospitalSpecialties.
19483
+ * @param {string} hospitalId
19484
+ * @param {string} [hospitalName]
19485
+ * @param {string} [hospitalSlug]
19486
+ * @param {string} [specialtyId]
19487
+ * @param {string} [specialtyName]
19488
+ * @param {string} [specialtyTypeId]
19489
+ * @param {string} [title]
19490
+ * @param {MarketingType} [marketingType]
19491
+ * @param {string} [languageCode]
19492
+ * @param {boolean} [showHidden]
19493
+ * @param {boolean} [returnDefaultValue]
19494
+ * @param {boolean} [includeServices]
19495
+ * @param {number} [page]
19496
+ * @param {number} [limit]
19497
+ * @param {Date} [lastRetrieved]
19498
+ * @param {*} [options] Override http request option.
19499
+ * @throws {RequiredError}
19500
+ */
19501
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
19502
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
19503
+ },
19221
19504
  /**
19222
19505
  *
19223
19506
  * @summary Get HospitalSpecialty.
@@ -19588,6 +19871,32 @@ export class HospitalsApi extends BaseAPI {
19588
19871
  return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
19589
19872
  }
19590
19873
 
19874
+ /**
19875
+ *
19876
+ * @summary Get all HospitalSpecialties.
19877
+ * @param {string} hospitalId
19878
+ * @param {string} [hospitalName]
19879
+ * @param {string} [hospitalSlug]
19880
+ * @param {string} [specialtyId]
19881
+ * @param {string} [specialtyName]
19882
+ * @param {string} [specialtyTypeId]
19883
+ * @param {string} [title]
19884
+ * @param {MarketingType} [marketingType]
19885
+ * @param {string} [languageCode]
19886
+ * @param {boolean} [showHidden]
19887
+ * @param {boolean} [returnDefaultValue]
19888
+ * @param {boolean} [includeServices]
19889
+ * @param {number} [page]
19890
+ * @param {number} [limit]
19891
+ * @param {Date} [lastRetrieved]
19892
+ * @param {*} [options] Override http request option.
19893
+ * @throws {RequiredError}
19894
+ * @memberof HospitalsApi
19895
+ */
19896
+ public apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, hospitalName?: string, hospitalSlug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, title?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, includeServices?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
19897
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, hospitalName, hospitalSlug, specialtyId, specialtyName, specialtyTypeId, title, marketingType, languageCode, showHidden, returnDefaultValue, includeServices, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
19898
+ }
19899
+
19591
19900
  /**
19592
19901
  *
19593
19902
  * @summary Get HospitalSpecialty.