ch-admin-api-client-typescript 4.5.7 → 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.js CHANGED
@@ -30765,14 +30765,14 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
30765
30765
  * @param {string} [code]
30766
30766
  * @param {string} [name]
30767
30767
  * @param {string} [description]
30768
- * @param {boolean} [showPublished]
30768
+ * @param {boolean} [showHidden]
30769
30769
  * @param {number} [page]
30770
30770
  * @param {number} [limit]
30771
30771
  * @param {Date} [lastRetrieved]
30772
30772
  * @param {*} [options] Override http request option.
30773
30773
  * @throws {RequiredError}
30774
30774
  */
30775
- apiV1LanguagesGet: function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
30775
+ apiV1LanguagesGet: function (code, name, description, showHidden, page, limit, lastRetrieved, options) {
30776
30776
  if (options === void 0) { options = {}; }
30777
30777
  return __awaiter(_this, void 0, void 0, function () {
30778
30778
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -30803,8 +30803,8 @@ exports.LanguagesApiAxiosParamCreator = function (configuration) {
30803
30803
  if (description !== undefined) {
30804
30804
  localVarQueryParameter['Description'] = description;
30805
30805
  }
30806
- if (showPublished !== undefined) {
30807
- localVarQueryParameter['ShowPublished'] = showPublished;
30806
+ if (showHidden !== undefined) {
30807
+ localVarQueryParameter['ShowHidden'] = showHidden;
30808
30808
  }
30809
30809
  if (page !== undefined) {
30810
30810
  localVarQueryParameter['page'] = page;
@@ -30943,19 +30943,19 @@ exports.LanguagesApiFp = function (configuration) {
30943
30943
  * @param {string} [code]
30944
30944
  * @param {string} [name]
30945
30945
  * @param {string} [description]
30946
- * @param {boolean} [showPublished]
30946
+ * @param {boolean} [showHidden]
30947
30947
  * @param {number} [page]
30948
30948
  * @param {number} [limit]
30949
30949
  * @param {Date} [lastRetrieved]
30950
30950
  * @param {*} [options] Override http request option.
30951
30951
  * @throws {RequiredError}
30952
30952
  */
30953
- apiV1LanguagesGet: function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
30953
+ apiV1LanguagesGet: function (code, name, description, showHidden, page, limit, lastRetrieved, options) {
30954
30954
  return __awaiter(this, void 0, void 0, function () {
30955
30955
  var localVarAxiosArgs;
30956
30956
  return __generator(this, function (_a) {
30957
30957
  switch (_a.label) {
30958
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options)];
30958
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesGet(code, name, description, showHidden, page, limit, lastRetrieved, options)];
30959
30959
  case 1:
30960
30960
  localVarAxiosArgs = _a.sent();
30961
30961
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -31026,15 +31026,15 @@ exports.LanguagesApiFactory = function (configuration, basePath, axios) {
31026
31026
  * @param {string} [code]
31027
31027
  * @param {string} [name]
31028
31028
  * @param {string} [description]
31029
- * @param {boolean} [showPublished]
31029
+ * @param {boolean} [showHidden]
31030
31030
  * @param {number} [page]
31031
31031
  * @param {number} [limit]
31032
31032
  * @param {Date} [lastRetrieved]
31033
31033
  * @param {*} [options] Override http request option.
31034
31034
  * @throws {RequiredError}
31035
31035
  */
31036
- apiV1LanguagesGet: function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
31037
- return localVarFp.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31036
+ apiV1LanguagesGet: function (code, name, description, showHidden, page, limit, lastRetrieved, options) {
31037
+ return localVarFp.apiV1LanguagesGet(code, name, description, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31038
31038
  },
31039
31039
  /**
31040
31040
  *
@@ -31099,7 +31099,7 @@ var LanguagesApi = /** @class */ (function (_super) {
31099
31099
  * @param {string} [code]
31100
31100
  * @param {string} [name]
31101
31101
  * @param {string} [description]
31102
- * @param {boolean} [showPublished]
31102
+ * @param {boolean} [showHidden]
31103
31103
  * @param {number} [page]
31104
31104
  * @param {number} [limit]
31105
31105
  * @param {Date} [lastRetrieved]
@@ -31107,9 +31107,9 @@ var LanguagesApi = /** @class */ (function (_super) {
31107
31107
  * @throws {RequiredError}
31108
31108
  * @memberof LanguagesApi
31109
31109
  */
31110
- LanguagesApi.prototype.apiV1LanguagesGet = function (code, name, description, showPublished, page, limit, lastRetrieved, options) {
31110
+ LanguagesApi.prototype.apiV1LanguagesGet = function (code, name, description, showHidden, page, limit, lastRetrieved, options) {
31111
31111
  var _this = this;
31112
- return exports.LanguagesApiFp(this.configuration).apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31112
+ return exports.LanguagesApiFp(this.configuration).apiV1LanguagesGet(code, name, description, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31113
31113
  };
31114
31114
  /**
31115
31115
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "4.5.7",
3
+ "version": "4.5.9",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/api.ts CHANGED
@@ -4974,6 +4974,12 @@ export interface CreateLanguageCommand {
4974
4974
  * @memberof CreateLanguageCommand
4975
4975
  */
4976
4976
  'name'?: string | null;
4977
+ /**
4978
+ *
4979
+ * @type {string}
4980
+ * @memberof CreateLanguageCommand
4981
+ */
4982
+ 'localizedName'?: string | null;
4977
4983
  /**
4978
4984
  *
4979
4985
  * @type {string}
@@ -8533,6 +8539,12 @@ export interface HospitalLanguageItemModel {
8533
8539
  * @memberof HospitalLanguageItemModel
8534
8540
  */
8535
8541
  'name'?: string | null;
8542
+ /**
8543
+ *
8544
+ * @type {string}
8545
+ * @memberof HospitalLanguageItemModel
8546
+ */
8547
+ 'localizedName'?: string | null;
8536
8548
  /**
8537
8549
  *
8538
8550
  * @type {boolean}
@@ -9751,19 +9763,19 @@ export interface LanguageItemModel {
9751
9763
  * @type {string}
9752
9764
  * @memberof LanguageItemModel
9753
9765
  */
9754
- 'id'?: string;
9766
+ 'code'?: string | null;
9755
9767
  /**
9756
9768
  *
9757
9769
  * @type {string}
9758
9770
  * @memberof LanguageItemModel
9759
9771
  */
9760
- 'code'?: string | null;
9772
+ 'name'?: string | null;
9761
9773
  /**
9762
9774
  *
9763
9775
  * @type {string}
9764
9776
  * @memberof LanguageItemModel
9765
9777
  */
9766
- 'name'?: string | null;
9778
+ 'localizedName'?: string | null;
9767
9779
  /**
9768
9780
  *
9769
9781
  * @type {string}
@@ -9794,19 +9806,19 @@ export interface LanguageModel {
9794
9806
  * @type {string}
9795
9807
  * @memberof LanguageModel
9796
9808
  */
9797
- 'id'?: string;
9809
+ 'code'?: string | null;
9798
9810
  /**
9799
9811
  *
9800
9812
  * @type {string}
9801
9813
  * @memberof LanguageModel
9802
9814
  */
9803
- 'code'?: string | null;
9815
+ 'name'?: string | null;
9804
9816
  /**
9805
9817
  *
9806
9818
  * @type {string}
9807
9819
  * @memberof LanguageModel
9808
9820
  */
9809
- 'name'?: string | null;
9821
+ 'localizedName'?: string | null;
9810
9822
  /**
9811
9823
  *
9812
9824
  * @type {string}
@@ -14793,6 +14805,12 @@ export interface UpdateLanguageCommand {
14793
14805
  * @memberof UpdateLanguageCommand
14794
14806
  */
14795
14807
  'name'?: string | null;
14808
+ /**
14809
+ *
14810
+ * @type {string}
14811
+ * @memberof UpdateLanguageCommand
14812
+ */
14813
+ 'localizedName'?: string | null;
14796
14814
  /**
14797
14815
  *
14798
14816
  * @type {string}
@@ -42637,14 +42655,14 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
42637
42655
  * @param {string} [code]
42638
42656
  * @param {string} [name]
42639
42657
  * @param {string} [description]
42640
- * @param {boolean} [showPublished]
42658
+ * @param {boolean} [showHidden]
42641
42659
  * @param {number} [page]
42642
42660
  * @param {number} [limit]
42643
42661
  * @param {Date} [lastRetrieved]
42644
42662
  * @param {*} [options] Override http request option.
42645
42663
  * @throws {RequiredError}
42646
42664
  */
42647
- apiV1LanguagesGet: async (code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
42665
+ apiV1LanguagesGet: async (code?: string, name?: string, description?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
42648
42666
  const localVarPath = `/api/v1/languages`;
42649
42667
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42650
42668
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -42673,8 +42691,8 @@ export const LanguagesApiAxiosParamCreator = function (configuration?: Configura
42673
42691
  localVarQueryParameter['Description'] = description;
42674
42692
  }
42675
42693
 
42676
- if (showPublished !== undefined) {
42677
- localVarQueryParameter['ShowPublished'] = showPublished;
42694
+ if (showHidden !== undefined) {
42695
+ localVarQueryParameter['ShowHidden'] = showHidden;
42678
42696
  }
42679
42697
 
42680
42698
  if (page !== undefined) {
@@ -42787,15 +42805,15 @@ export const LanguagesApiFp = function(configuration?: Configuration) {
42787
42805
  * @param {string} [code]
42788
42806
  * @param {string} [name]
42789
42807
  * @param {string} [description]
42790
- * @param {boolean} [showPublished]
42808
+ * @param {boolean} [showHidden]
42791
42809
  * @param {number} [page]
42792
42810
  * @param {number} [limit]
42793
42811
  * @param {Date} [lastRetrieved]
42794
42812
  * @param {*} [options] Override http request option.
42795
42813
  * @throws {RequiredError}
42796
42814
  */
42797
- async apiV1LanguagesGet(code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesModel>> {
42798
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options);
42815
+ async apiV1LanguagesGet(code?: string, name?: string, description?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LanguagesModel>> {
42816
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1LanguagesGet(code, name, description, showHidden, page, limit, lastRetrieved, options);
42799
42817
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
42800
42818
  },
42801
42819
  /**
@@ -42853,15 +42871,15 @@ export const LanguagesApiFactory = function (configuration?: Configuration, base
42853
42871
  * @param {string} [code]
42854
42872
  * @param {string} [name]
42855
42873
  * @param {string} [description]
42856
- * @param {boolean} [showPublished]
42874
+ * @param {boolean} [showHidden]
42857
42875
  * @param {number} [page]
42858
42876
  * @param {number} [limit]
42859
42877
  * @param {Date} [lastRetrieved]
42860
42878
  * @param {*} [options] Override http request option.
42861
42879
  * @throws {RequiredError}
42862
42880
  */
42863
- apiV1LanguagesGet(code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
42864
- return localVarFp.apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
42881
+ apiV1LanguagesGet(code?: string, name?: string, description?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LanguagesModel> {
42882
+ return localVarFp.apiV1LanguagesGet(code, name, description, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
42865
42883
  },
42866
42884
  /**
42867
42885
  *
@@ -42923,7 +42941,7 @@ export class LanguagesApi extends BaseAPI {
42923
42941
  * @param {string} [code]
42924
42942
  * @param {string} [name]
42925
42943
  * @param {string} [description]
42926
- * @param {boolean} [showPublished]
42944
+ * @param {boolean} [showHidden]
42927
42945
  * @param {number} [page]
42928
42946
  * @param {number} [limit]
42929
42947
  * @param {Date} [lastRetrieved]
@@ -42931,8 +42949,8 @@ export class LanguagesApi extends BaseAPI {
42931
42949
  * @throws {RequiredError}
42932
42950
  * @memberof LanguagesApi
42933
42951
  */
42934
- public apiV1LanguagesGet(code?: string, name?: string, description?: string, showPublished?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42935
- return LanguagesApiFp(this.configuration).apiV1LanguagesGet(code, name, description, showPublished, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42952
+ public apiV1LanguagesGet(code?: string, name?: string, description?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42953
+ return LanguagesApiFp(this.configuration).apiV1LanguagesGet(code, name, description, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42936
42954
  }
42937
42955
 
42938
42956
  /**