ch-admin-api-client-typescript 4.6.3 → 4.6.5

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
@@ -22988,13 +22988,14 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
22988
22988
  * @summary Get all GetAllLanguages.
22989
22989
  * @param {string} hospitalId
22990
22990
  * @param {string} [name]
22991
+ * @param {boolean} [showHidden]
22991
22992
  * @param {number} [page]
22992
22993
  * @param {number} [limit]
22993
22994
  * @param {Date} [lastRetrieved]
22994
22995
  * @param {*} [options] Override http request option.
22995
22996
  * @throws {RequiredError}
22996
22997
  */
22997
- apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
22998
+ apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, showHidden, page, limit, lastRetrieved, options) {
22998
22999
  if (options === void 0) { options = {}; }
22999
23000
  return __awaiter(_this, void 0, void 0, function () {
23000
23001
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -23022,6 +23023,9 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
23022
23023
  if (name !== undefined) {
23023
23024
  localVarQueryParameter['Name'] = name;
23024
23025
  }
23026
+ if (showHidden !== undefined) {
23027
+ localVarQueryParameter['ShowHidden'] = showHidden;
23028
+ }
23025
23029
  if (page !== undefined) {
23026
23030
  localVarQueryParameter['page'] = page;
23027
23031
  }
@@ -26229,18 +26233,19 @@ exports.HospitalsApiFp = function (configuration) {
26229
26233
  * @summary Get all GetAllLanguages.
26230
26234
  * @param {string} hospitalId
26231
26235
  * @param {string} [name]
26236
+ * @param {boolean} [showHidden]
26232
26237
  * @param {number} [page]
26233
26238
  * @param {number} [limit]
26234
26239
  * @param {Date} [lastRetrieved]
26235
26240
  * @param {*} [options] Override http request option.
26236
26241
  * @throws {RequiredError}
26237
26242
  */
26238
- apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
26243
+ apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, showHidden, page, limit, lastRetrieved, options) {
26239
26244
  return __awaiter(this, void 0, void 0, function () {
26240
26245
  var localVarAxiosArgs;
26241
26246
  return __generator(this, function (_a) {
26242
26247
  switch (_a.label) {
26243
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options)];
26248
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, showHidden, page, limit, lastRetrieved, options)];
26244
26249
  case 1:
26245
26250
  localVarAxiosArgs = _a.sent();
26246
26251
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -27681,14 +27686,15 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
27681
27686
  * @summary Get all GetAllLanguages.
27682
27687
  * @param {string} hospitalId
27683
27688
  * @param {string} [name]
27689
+ * @param {boolean} [showHidden]
27684
27690
  * @param {number} [page]
27685
27691
  * @param {number} [limit]
27686
27692
  * @param {Date} [lastRetrieved]
27687
27693
  * @param {*} [options] Override http request option.
27688
27694
  * @throws {RequiredError}
27689
27695
  */
27690
- apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, page, limit, lastRetrieved, options) {
27691
- return localVarFp.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
27696
+ apiV1HospitalsHospitalIdLanguagesGet: function (hospitalId, name, showHidden, page, limit, lastRetrieved, options) {
27697
+ return localVarFp.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
27692
27698
  },
27693
27699
  /**
27694
27700
  *
@@ -28763,6 +28769,7 @@ var HospitalsApi = /** @class */ (function (_super) {
28763
28769
  * @summary Get all GetAllLanguages.
28764
28770
  * @param {string} hospitalId
28765
28771
  * @param {string} [name]
28772
+ * @param {boolean} [showHidden]
28766
28773
  * @param {number} [page]
28767
28774
  * @param {number} [limit]
28768
28775
  * @param {Date} [lastRetrieved]
@@ -28770,9 +28777,9 @@ var HospitalsApi = /** @class */ (function (_super) {
28770
28777
  * @throws {RequiredError}
28771
28778
  * @memberof HospitalsApi
28772
28779
  */
28773
- HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesGet = function (hospitalId, name, page, limit, lastRetrieved, options) {
28780
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdLanguagesGet = function (hospitalId, name, showHidden, page, limit, lastRetrieved, options) {
28774
28781
  var _this = this;
28775
- return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
28782
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
28776
28783
  };
28777
28784
  /**
28778
28785
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "4.6.3",
3
+ "version": "4.6.5",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/api.ts CHANGED
@@ -4722,6 +4722,12 @@ export interface CreateHospitalLanguageCommand {
4722
4722
  * @memberof CreateHospitalLanguageCommand
4723
4723
  */
4724
4724
  'order'?: number | null;
4725
+ /**
4726
+ *
4727
+ * @type {boolean}
4728
+ * @memberof CreateHospitalLanguageCommand
4729
+ */
4730
+ 'isPrimary'?: boolean | null;
4725
4731
  }
4726
4732
  /**
4727
4733
  *
@@ -8605,6 +8611,12 @@ export interface HospitalLanguageItemModel {
8605
8611
  * @memberof HospitalLanguageItemModel
8606
8612
  */
8607
8613
  'order'?: number;
8614
+ /**
8615
+ *
8616
+ * @type {boolean}
8617
+ * @memberof HospitalLanguageItemModel
8618
+ */
8619
+ 'isPrimary'?: boolean;
8608
8620
  }
8609
8621
  /**
8610
8622
  *
@@ -14529,6 +14541,12 @@ export interface UpdateHospitalLanguageCommand {
14529
14541
  * @memberof UpdateHospitalLanguageCommand
14530
14542
  */
14531
14543
  'order'?: number;
14544
+ /**
14545
+ *
14546
+ * @type {boolean}
14547
+ * @memberof UpdateHospitalLanguageCommand
14548
+ */
14549
+ 'isPrimary'?: boolean | null;
14532
14550
  }
14533
14551
  /**
14534
14552
  *
@@ -35898,13 +35916,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
35898
35916
  * @summary Get all GetAllLanguages.
35899
35917
  * @param {string} hospitalId
35900
35918
  * @param {string} [name]
35919
+ * @param {boolean} [showHidden]
35901
35920
  * @param {number} [page]
35902
35921
  * @param {number} [limit]
35903
35922
  * @param {Date} [lastRetrieved]
35904
35923
  * @param {*} [options] Override http request option.
35905
35924
  * @throws {RequiredError}
35906
35925
  */
35907
- apiV1HospitalsHospitalIdLanguagesGet: async (hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35926
+ apiV1HospitalsHospitalIdLanguagesGet: async (hospitalId: string, name?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35908
35927
  // verify required parameter 'hospitalId' is not null or undefined
35909
35928
  assertParamExists('apiV1HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId)
35910
35929
  const localVarPath = `/api/v1/hospitals/{hospitalId}/languages`
@@ -35928,6 +35947,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
35928
35947
  localVarQueryParameter['Name'] = name;
35929
35948
  }
35930
35949
 
35950
+ if (showHidden !== undefined) {
35951
+ localVarQueryParameter['ShowHidden'] = showHidden;
35952
+ }
35953
+
35931
35954
  if (page !== undefined) {
35932
35955
  localVarQueryParameter['page'] = page;
35933
35956
  }
@@ -38728,14 +38751,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
38728
38751
  * @summary Get all GetAllLanguages.
38729
38752
  * @param {string} hospitalId
38730
38753
  * @param {string} [name]
38754
+ * @param {boolean} [showHidden]
38731
38755
  * @param {number} [page]
38732
38756
  * @param {number} [limit]
38733
38757
  * @param {Date} [lastRetrieved]
38734
38758
  * @param {*} [options] Override http request option.
38735
38759
  * @throws {RequiredError}
38736
38760
  */
38737
- async apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalLanguagesModel>> {
38738
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options);
38761
+ async apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalLanguagesModel>> {
38762
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, showHidden, page, limit, lastRetrieved, options);
38739
38763
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38740
38764
  },
38741
38765
  /**
@@ -39785,14 +39809,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
39785
39809
  * @summary Get all GetAllLanguages.
39786
39810
  * @param {string} hospitalId
39787
39811
  * @param {string} [name]
39812
+ * @param {boolean} [showHidden]
39788
39813
  * @param {number} [page]
39789
39814
  * @param {number} [limit]
39790
39815
  * @param {Date} [lastRetrieved]
39791
39816
  * @param {*} [options] Override http request option.
39792
39817
  * @throws {RequiredError}
39793
39818
  */
39794
- apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalLanguagesModel> {
39795
- return localVarFp.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
39819
+ apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalLanguagesModel> {
39820
+ return localVarFp.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
39796
39821
  },
39797
39822
  /**
39798
39823
  *
@@ -40864,6 +40889,7 @@ export class HospitalsApi extends BaseAPI {
40864
40889
  * @summary Get all GetAllLanguages.
40865
40890
  * @param {string} hospitalId
40866
40891
  * @param {string} [name]
40892
+ * @param {boolean} [showHidden]
40867
40893
  * @param {number} [page]
40868
40894
  * @param {number} [limit]
40869
40895
  * @param {Date} [lastRetrieved]
@@ -40871,8 +40897,8 @@ export class HospitalsApi extends BaseAPI {
40871
40897
  * @throws {RequiredError}
40872
40898
  * @memberof HospitalsApi
40873
40899
  */
40874
- public apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
40875
- return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
40900
+ public apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
40901
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
40876
40902
  }
40877
40903
 
40878
40904
  /**