ch-admin-api-client-typescript 3.4.8 → 3.5.1

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/src/api.ts CHANGED
@@ -590,6 +590,24 @@ export interface ArticleItemModel {
590
590
  * @memberof ArticleItemModel
591
591
  */
592
592
  'hospitalSlug'?: string | null;
593
+ /**
594
+ *
595
+ * @type {string}
596
+ * @memberof ArticleItemModel
597
+ */
598
+ 'youtubeUrl'?: string | null;
599
+ /**
600
+ *
601
+ * @type {Array<ArticleTagItemModel>}
602
+ * @memberof ArticleItemModel
603
+ */
604
+ 'articleTags'?: Array<ArticleTagItemModel> | null;
605
+ /**
606
+ *
607
+ * @type {Array<MediaModel>}
608
+ * @memberof ArticleItemModel
609
+ */
610
+ 'medias'?: Array<MediaModel> | null;
593
611
  /**
594
612
  *
595
613
  * @type {AuditableEntity}
@@ -671,46 +689,46 @@ export interface ArticleModel {
671
689
  'hospitalSlug'?: string | null;
672
690
  /**
673
691
  *
674
- * @type {AuditableEntity}
692
+ * @type {string}
675
693
  * @memberof ArticleModel
676
694
  */
677
- 'auditableEntity'?: AuditableEntity;
695
+ 'youtubeUrl'?: string | null;
678
696
  /**
679
697
  *
680
- * @type {string}
698
+ * @type {Array<ArticleTagItemModel>}
681
699
  * @memberof ArticleModel
682
700
  */
683
- 'description'?: string | null;
701
+ 'articleTags'?: Array<ArticleTagItemModel> | null;
684
702
  /**
685
703
  *
686
- * @type {string}
704
+ * @type {Array<MediaModel>}
687
705
  * @memberof ArticleModel
688
706
  */
689
- 'overview'?: string | null;
707
+ 'medias'?: Array<MediaModel> | null;
690
708
  /**
691
709
  *
692
- * @type {string}
710
+ * @type {AuditableEntity}
693
711
  * @memberof ArticleModel
694
712
  */
695
- 'content'?: string | null;
713
+ 'auditableEntity'?: AuditableEntity;
696
714
  /**
697
715
  *
698
716
  * @type {string}
699
717
  * @memberof ArticleModel
700
718
  */
701
- 'youtubeUrl'?: string | null;
719
+ 'description'?: string | null;
702
720
  /**
703
721
  *
704
- * @type {Array<ArticleTagItemModel>}
722
+ * @type {string}
705
723
  * @memberof ArticleModel
706
724
  */
707
- 'articleTags'?: Array<ArticleTagItemModel> | null;
725
+ 'overview'?: string | null;
708
726
  /**
709
727
  *
710
- * @type {Array<MediaModel>}
728
+ * @type {string}
711
729
  * @memberof ArticleModel
712
730
  */
713
- 'medias'?: Array<MediaModel> | null;
731
+ 'content'?: string | null;
714
732
  }
715
733
  /**
716
734
  *
@@ -4220,6 +4238,19 @@ export interface CreateHospitalEvaluationCommand {
4220
4238
  */
4221
4239
  'referenceUrl'?: string | null;
4222
4240
  }
4241
+ /**
4242
+ *
4243
+ * @export
4244
+ * @interface CreateHospitalLanguageCommand
4245
+ */
4246
+ export interface CreateHospitalLanguageCommand {
4247
+ /**
4248
+ *
4249
+ * @type {string}
4250
+ * @memberof CreateHospitalLanguageCommand
4251
+ */
4252
+ 'langaugeCode'?: string | null;
4253
+ }
4223
4254
  /**
4224
4255
  *
4225
4256
  * @export
@@ -4771,7 +4802,19 @@ export interface CreateServiceReviewCommand {
4771
4802
  * @type {string}
4772
4803
  * @memberof CreateServiceReviewCommand
4773
4804
  */
4774
- 'body'?: string | null;
4805
+ 'name'?: string | null;
4806
+ /**
4807
+ *
4808
+ * @type {string}
4809
+ * @memberof CreateServiceReviewCommand
4810
+ */
4811
+ 'description'?: string | null;
4812
+ /**
4813
+ *
4814
+ * @type {string}
4815
+ * @memberof CreateServiceReviewCommand
4816
+ */
4817
+ 'content'?: string | null;
4775
4818
  /**
4776
4819
  *
4777
4820
  * @type {boolean}
@@ -7603,6 +7646,44 @@ export interface HospitalItemModel {
7603
7646
  */
7604
7647
  'auditableEntity'?: AuditableEntity;
7605
7648
  }
7649
+ /**
7650
+ *
7651
+ * @export
7652
+ * @interface HospitalLanguageItemModel
7653
+ */
7654
+ export interface HospitalLanguageItemModel {
7655
+ /**
7656
+ *
7657
+ * @type {string}
7658
+ * @memberof HospitalLanguageItemModel
7659
+ */
7660
+ 'code'?: string | null;
7661
+ /**
7662
+ *
7663
+ * @type {string}
7664
+ * @memberof HospitalLanguageItemModel
7665
+ */
7666
+ 'name'?: string | null;
7667
+ }
7668
+ /**
7669
+ *
7670
+ * @export
7671
+ * @interface HospitalLanguagesModel
7672
+ */
7673
+ export interface HospitalLanguagesModel {
7674
+ /**
7675
+ *
7676
+ * @type {Array<HospitalLanguageItemModel>}
7677
+ * @memberof HospitalLanguagesModel
7678
+ */
7679
+ 'items'?: Array<HospitalLanguageItemModel> | null;
7680
+ /**
7681
+ *
7682
+ * @type {PagedListMetaData}
7683
+ * @memberof HospitalLanguagesModel
7684
+ */
7685
+ 'metaData'?: PagedListMetaData;
7686
+ }
7606
7687
  /**
7607
7688
  *
7608
7689
  * @export
@@ -7765,6 +7846,12 @@ export interface HospitalModel {
7765
7846
  * @memberof HospitalModel
7766
7847
  */
7767
7848
  'customStyle'?: string | null;
7849
+ /**
7850
+ *
7851
+ * @type {Array<HospitalLanguageItemModel>}
7852
+ * @memberof HospitalModel
7853
+ */
7854
+ 'langauges'?: Array<HospitalLanguageItemModel> | null;
7768
7855
  }
7769
7856
  /**
7770
7857
  *
@@ -10167,6 +10254,24 @@ export interface ServiceReviewItemModel {
10167
10254
  * @memberof ServiceReviewItemModel
10168
10255
  */
10169
10256
  'languageCode'?: string | null;
10257
+ /**
10258
+ *
10259
+ * @type {string}
10260
+ * @memberof ServiceReviewItemModel
10261
+ */
10262
+ 'name'?: string | null;
10263
+ /**
10264
+ *
10265
+ * @type {string}
10266
+ * @memberof ServiceReviewItemModel
10267
+ */
10268
+ 'slug'?: string | null;
10269
+ /**
10270
+ *
10271
+ * @type {boolean}
10272
+ * @memberof ServiceReviewItemModel
10273
+ */
10274
+ 'confirmed'?: boolean;
10170
10275
  /**
10171
10276
  *
10172
10277
  * @type {string}
@@ -10246,6 +10351,24 @@ export interface ServiceReviewModel {
10246
10351
  * @memberof ServiceReviewModel
10247
10352
  */
10248
10353
  'languageCode'?: string | null;
10354
+ /**
10355
+ *
10356
+ * @type {string}
10357
+ * @memberof ServiceReviewModel
10358
+ */
10359
+ 'name'?: string | null;
10360
+ /**
10361
+ *
10362
+ * @type {string}
10363
+ * @memberof ServiceReviewModel
10364
+ */
10365
+ 'slug'?: string | null;
10366
+ /**
10367
+ *
10368
+ * @type {boolean}
10369
+ * @memberof ServiceReviewModel
10370
+ */
10371
+ 'confirmed'?: boolean;
10249
10372
  /**
10250
10373
  *
10251
10374
  * @type {string}
@@ -10311,7 +10434,19 @@ export interface ServiceReviewModel {
10311
10434
  * @type {string}
10312
10435
  * @memberof ServiceReviewModel
10313
10436
  */
10314
- 'body'?: string | null;
10437
+ 'description'?: string | null;
10438
+ /**
10439
+ *
10440
+ * @type {string}
10441
+ * @memberof ServiceReviewModel
10442
+ */
10443
+ 'overview'?: string | null;
10444
+ /**
10445
+ *
10446
+ * @type {string}
10447
+ * @memberof ServiceReviewModel
10448
+ */
10449
+ 'content'?: string | null;
10315
10450
  }
10316
10451
  /**
10317
10452
  *
@@ -13100,7 +13235,31 @@ export interface UpdateServiceReviewCommand {
13100
13235
  * @type {string}
13101
13236
  * @memberof UpdateServiceReviewCommand
13102
13237
  */
13103
- 'body'?: string | null;
13238
+ 'name'?: string | null;
13239
+ /**
13240
+ *
13241
+ * @type {string}
13242
+ * @memberof UpdateServiceReviewCommand
13243
+ */
13244
+ 'slug'?: string | null;
13245
+ /**
13246
+ *
13247
+ * @type {string}
13248
+ * @memberof UpdateServiceReviewCommand
13249
+ */
13250
+ 'description'?: string | null;
13251
+ /**
13252
+ *
13253
+ * @type {string}
13254
+ * @memberof UpdateServiceReviewCommand
13255
+ */
13256
+ 'content'?: string | null;
13257
+ /**
13258
+ *
13259
+ * @type {string}
13260
+ * @memberof UpdateServiceReviewCommand
13261
+ */
13262
+ 'languageCode'?: string | null;
13104
13263
  /**
13105
13264
  *
13106
13265
  * @type {boolean}
@@ -31875,6 +32034,150 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
31875
32034
  options: localVarRequestOptions,
31876
32035
  };
31877
32036
  },
32037
+ /**
32038
+ *
32039
+ * @summary Get all GetAllLanguages.
32040
+ * @param {string} hospitalId
32041
+ * @param {string} [name]
32042
+ * @param {number} [page]
32043
+ * @param {number} [limit]
32044
+ * @param {Date} [lastRetrieved]
32045
+ * @param {*} [options] Override http request option.
32046
+ * @throws {RequiredError}
32047
+ */
32048
+ apiV1HospitalsHospitalIdLanguagesGet: async (hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32049
+ // verify required parameter 'hospitalId' is not null or undefined
32050
+ assertParamExists('apiV1HospitalsHospitalIdLanguagesGet', 'hospitalId', hospitalId)
32051
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/languages`
32052
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
32053
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32054
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32055
+ let baseOptions;
32056
+ if (configuration) {
32057
+ baseOptions = configuration.baseOptions;
32058
+ }
32059
+
32060
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32061
+ const localVarHeaderParameter = {} as any;
32062
+ const localVarQueryParameter = {} as any;
32063
+
32064
+ // authentication oauth2 required
32065
+ // oauth required
32066
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32067
+
32068
+ if (name !== undefined) {
32069
+ localVarQueryParameter['Name'] = name;
32070
+ }
32071
+
32072
+ if (page !== undefined) {
32073
+ localVarQueryParameter['page'] = page;
32074
+ }
32075
+
32076
+ if (limit !== undefined) {
32077
+ localVarQueryParameter['limit'] = limit;
32078
+ }
32079
+
32080
+ if (lastRetrieved !== undefined) {
32081
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
32082
+ (lastRetrieved as any).toISOString() :
32083
+ lastRetrieved;
32084
+ }
32085
+
32086
+
32087
+
32088
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32089
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32090
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32091
+
32092
+ return {
32093
+ url: toPathString(localVarUrlObj),
32094
+ options: localVarRequestOptions,
32095
+ };
32096
+ },
32097
+ /**
32098
+ *
32099
+ * @summary Delete GetAllLanguage.
32100
+ * @param {string} hospitalId
32101
+ * @param {string} languageCode
32102
+ * @param {*} [options] Override http request option.
32103
+ * @throws {RequiredError}
32104
+ */
32105
+ apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete: async (hospitalId: string, languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32106
+ // verify required parameter 'hospitalId' is not null or undefined
32107
+ assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'hospitalId', hospitalId)
32108
+ // verify required parameter 'languageCode' is not null or undefined
32109
+ assertParamExists('apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete', 'languageCode', languageCode)
32110
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/languages/{languageCode}`
32111
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
32112
+ .replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
32113
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32114
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32115
+ let baseOptions;
32116
+ if (configuration) {
32117
+ baseOptions = configuration.baseOptions;
32118
+ }
32119
+
32120
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
32121
+ const localVarHeaderParameter = {} as any;
32122
+ const localVarQueryParameter = {} as any;
32123
+
32124
+ // authentication oauth2 required
32125
+ // oauth required
32126
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32127
+
32128
+
32129
+
32130
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32131
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32132
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32133
+
32134
+ return {
32135
+ url: toPathString(localVarUrlObj),
32136
+ options: localVarRequestOptions,
32137
+ };
32138
+ },
32139
+ /**
32140
+ *
32141
+ * @summary Create HospitalLanguages.
32142
+ * @param {string} hospitalId
32143
+ * @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
32144
+ * @param {*} [options] Override http request option.
32145
+ * @throws {RequiredError}
32146
+ */
32147
+ apiV1HospitalsHospitalIdLanguagesPost: async (hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32148
+ // verify required parameter 'hospitalId' is not null or undefined
32149
+ assertParamExists('apiV1HospitalsHospitalIdLanguagesPost', 'hospitalId', hospitalId)
32150
+ const localVarPath = `/api/v1/hospitals/{hospitalId}/languages`
32151
+ .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
32152
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32153
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32154
+ let baseOptions;
32155
+ if (configuration) {
32156
+ baseOptions = configuration.baseOptions;
32157
+ }
32158
+
32159
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32160
+ const localVarHeaderParameter = {} as any;
32161
+ const localVarQueryParameter = {} as any;
32162
+
32163
+ // authentication oauth2 required
32164
+ // oauth required
32165
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
32166
+
32167
+
32168
+
32169
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32170
+
32171
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32172
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32173
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32174
+ localVarRequestOptions.data = serializeDataIfNeeded(createHospitalLanguageCommand, localVarRequestOptions, configuration)
32175
+
32176
+ return {
32177
+ url: toPathString(localVarUrlObj),
32178
+ options: localVarRequestOptions,
32179
+ };
32180
+ },
31878
32181
  /**
31879
32182
  *
31880
32183
  * @summary Get all HospitalMedias.
@@ -34347,6 +34650,45 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
34347
34650
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options);
34348
34651
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34349
34652
  },
34653
+ /**
34654
+ *
34655
+ * @summary Get all GetAllLanguages.
34656
+ * @param {string} hospitalId
34657
+ * @param {string} [name]
34658
+ * @param {number} [page]
34659
+ * @param {number} [limit]
34660
+ * @param {Date} [lastRetrieved]
34661
+ * @param {*} [options] Override http request option.
34662
+ * @throws {RequiredError}
34663
+ */
34664
+ async apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalLanguagesModel>> {
34665
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options);
34666
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34667
+ },
34668
+ /**
34669
+ *
34670
+ * @summary Delete GetAllLanguage.
34671
+ * @param {string} hospitalId
34672
+ * @param {string} languageCode
34673
+ * @param {*} [options] Override http request option.
34674
+ * @throws {RequiredError}
34675
+ */
34676
+ async apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
34677
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options);
34678
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34679
+ },
34680
+ /**
34681
+ *
34682
+ * @summary Create HospitalLanguages.
34683
+ * @param {string} hospitalId
34684
+ * @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
34685
+ * @param {*} [options] Override http request option.
34686
+ * @throws {RequiredError}
34687
+ */
34688
+ async apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
34689
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options);
34690
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34691
+ },
34350
34692
  /**
34351
34693
  *
34352
34694
  * @summary Get all HospitalMedias.
@@ -35253,6 +35595,42 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
35253
35595
  apiV1HospitalsHospitalIdHandlesPost(hospitalId: string, createHospitalSnsHandleCommand?: CreateHospitalSnsHandleCommand, options?: any): AxiosPromise<SnsHandleModel> {
35254
35596
  return localVarFp.apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(axios, basePath));
35255
35597
  },
35598
+ /**
35599
+ *
35600
+ * @summary Get all GetAllLanguages.
35601
+ * @param {string} hospitalId
35602
+ * @param {string} [name]
35603
+ * @param {number} [page]
35604
+ * @param {number} [limit]
35605
+ * @param {Date} [lastRetrieved]
35606
+ * @param {*} [options] Override http request option.
35607
+ * @throws {RequiredError}
35608
+ */
35609
+ apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalLanguagesModel> {
35610
+ return localVarFp.apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
35611
+ },
35612
+ /**
35613
+ *
35614
+ * @summary Delete GetAllLanguage.
35615
+ * @param {string} hospitalId
35616
+ * @param {string} languageCode
35617
+ * @param {*} [options] Override http request option.
35618
+ * @throws {RequiredError}
35619
+ */
35620
+ apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: any): AxiosPromise<boolean> {
35621
+ return localVarFp.apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then((request) => request(axios, basePath));
35622
+ },
35623
+ /**
35624
+ *
35625
+ * @summary Create HospitalLanguages.
35626
+ * @param {string} hospitalId
35627
+ * @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
35628
+ * @param {*} [options] Override http request option.
35629
+ * @throws {RequiredError}
35630
+ */
35631
+ apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: any): AxiosPromise<boolean> {
35632
+ return localVarFp.apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then((request) => request(axios, basePath));
35633
+ },
35256
35634
  /**
35257
35635
  *
35258
35636
  * @summary Get all HospitalMedias.
@@ -36175,6 +36553,48 @@ export class HospitalsApi extends BaseAPI {
36175
36553
  return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesPost(hospitalId, createHospitalSnsHandleCommand, options).then((request) => request(this.axios, this.basePath));
36176
36554
  }
36177
36555
 
36556
+ /**
36557
+ *
36558
+ * @summary Get all GetAllLanguages.
36559
+ * @param {string} hospitalId
36560
+ * @param {string} [name]
36561
+ * @param {number} [page]
36562
+ * @param {number} [limit]
36563
+ * @param {Date} [lastRetrieved]
36564
+ * @param {*} [options] Override http request option.
36565
+ * @throws {RequiredError}
36566
+ * @memberof HospitalsApi
36567
+ */
36568
+ public apiV1HospitalsHospitalIdLanguagesGet(hospitalId: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
36569
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesGet(hospitalId, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
36570
+ }
36571
+
36572
+ /**
36573
+ *
36574
+ * @summary Delete GetAllLanguage.
36575
+ * @param {string} hospitalId
36576
+ * @param {string} languageCode
36577
+ * @param {*} [options] Override http request option.
36578
+ * @throws {RequiredError}
36579
+ * @memberof HospitalsApi
36580
+ */
36581
+ public apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId: string, languageCode: string, options?: AxiosRequestConfig) {
36582
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesLanguageCodeDelete(hospitalId, languageCode, options).then((request) => request(this.axios, this.basePath));
36583
+ }
36584
+
36585
+ /**
36586
+ *
36587
+ * @summary Create HospitalLanguages.
36588
+ * @param {string} hospitalId
36589
+ * @param {CreateHospitalLanguageCommand} [createHospitalLanguageCommand]
36590
+ * @param {*} [options] Override http request option.
36591
+ * @throws {RequiredError}
36592
+ * @memberof HospitalsApi
36593
+ */
36594
+ public apiV1HospitalsHospitalIdLanguagesPost(hospitalId: string, createHospitalLanguageCommand?: CreateHospitalLanguageCommand, options?: AxiosRequestConfig) {
36595
+ return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdLanguagesPost(hospitalId, createHospitalLanguageCommand, options).then((request) => request(this.axios, this.basePath));
36596
+ }
36597
+
36178
36598
  /**
36179
36599
  *
36180
36600
  * @summary Get all HospitalMedias.
@@ -40919,6 +41339,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
40919
41339
  /**
40920
41340
  *
40921
41341
  * @summary Get all ServiceReviews.
41342
+ * @param {string} [id]
40922
41343
  * @param {string} [serviceId]
40923
41344
  * @param {string} [serviceName]
40924
41345
  * @param {string} [patientId]
@@ -40935,7 +41356,7 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
40935
41356
  * @param {*} [options] Override http request option.
40936
41357
  * @throws {RequiredError}
40937
41358
  */
40938
- apiV1ServicereviewsGet: async (serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41359
+ apiV1ServicereviewsGet: async (id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40939
41360
  const localVarPath = `/api/v1/servicereviews`;
40940
41361
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
40941
41362
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -40952,6 +41373,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
40952
41373
  // oauth required
40953
41374
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
40954
41375
 
41376
+ if (id !== undefined) {
41377
+ localVarQueryParameter['Id'] = id;
41378
+ }
41379
+
40955
41380
  if (serviceId !== undefined) {
40956
41381
  localVarQueryParameter['ServiceId'] = serviceId;
40957
41382
  }
@@ -41096,10 +41521,11 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
41096
41521
  /**
41097
41522
  *
41098
41523
  * @param {string} serviceReviewId
41524
+ * @param {string} [languageCode]
41099
41525
  * @param {*} [options] Override http request option.
41100
41526
  * @throws {RequiredError}
41101
41527
  */
41102
- apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41528
+ apiV1ServicereviewsServiceReviewIdGet: async (serviceReviewId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
41103
41529
  // verify required parameter 'serviceReviewId' is not null or undefined
41104
41530
  assertParamExists('apiV1ServicereviewsServiceReviewIdGet', 'serviceReviewId', serviceReviewId)
41105
41531
  const localVarPath = `/api/v1/servicereviews/{serviceReviewId}`
@@ -41119,6 +41545,10 @@ export const ServiceReviewsApiAxiosParamCreator = function (configuration?: Conf
41119
41545
  // oauth required
41120
41546
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
41121
41547
 
41548
+ if (languageCode !== undefined) {
41549
+ localVarQueryParameter['languageCode'] = languageCode;
41550
+ }
41551
+
41122
41552
 
41123
41553
 
41124
41554
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -41422,6 +41852,7 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
41422
41852
  /**
41423
41853
  *
41424
41854
  * @summary Get all ServiceReviews.
41855
+ * @param {string} [id]
41425
41856
  * @param {string} [serviceId]
41426
41857
  * @param {string} [serviceName]
41427
41858
  * @param {string} [patientId]
@@ -41438,8 +41869,8 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
41438
41869
  * @param {*} [options] Override http request option.
41439
41870
  * @throws {RequiredError}
41440
41871
  */
41441
- async apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
41442
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
41872
+ async apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewsModel>> {
41873
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options);
41443
41874
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41444
41875
  },
41445
41876
  /**
@@ -41467,11 +41898,12 @@ export const ServiceReviewsApiFp = function(configuration?: Configuration) {
41467
41898
  /**
41468
41899
  *
41469
41900
  * @param {string} serviceReviewId
41901
+ * @param {string} [languageCode]
41470
41902
  * @param {*} [options] Override http request option.
41471
41903
  * @throws {RequiredError}
41472
41904
  */
41473
- async apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
41474
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options);
41905
+ async apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceReviewModel>> {
41906
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options);
41475
41907
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41476
41908
  },
41477
41909
  /**
@@ -41564,6 +41996,7 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
41564
41996
  /**
41565
41997
  *
41566
41998
  * @summary Get all ServiceReviews.
41999
+ * @param {string} [id]
41567
42000
  * @param {string} [serviceId]
41568
42001
  * @param {string} [serviceName]
41569
42002
  * @param {string} [patientId]
@@ -41580,8 +42013,8 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
41580
42013
  * @param {*} [options] Override http request option.
41581
42014
  * @throws {RequiredError}
41582
42015
  */
41583
- apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
41584
- return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
42016
+ apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ServiceReviewsModel> {
42017
+ return localVarFp.apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
41585
42018
  },
41586
42019
  /**
41587
42020
  *
@@ -41606,11 +42039,12 @@ export const ServiceReviewsApiFactory = function (configuration?: Configuration,
41606
42039
  /**
41607
42040
  *
41608
42041
  * @param {string} serviceReviewId
42042
+ * @param {string} [languageCode]
41609
42043
  * @param {*} [options] Override http request option.
41610
42044
  * @throws {RequiredError}
41611
42045
  */
41612
- apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: any): AxiosPromise<ServiceReviewModel> {
41613
- return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(axios, basePath));
42046
+ apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: any): AxiosPromise<ServiceReviewModel> {
42047
+ return localVarFp.apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(axios, basePath));
41614
42048
  },
41615
42049
  /**
41616
42050
  *
@@ -41696,6 +42130,7 @@ export class ServiceReviewsApi extends BaseAPI {
41696
42130
  /**
41697
42131
  *
41698
42132
  * @summary Get all ServiceReviews.
42133
+ * @param {string} [id]
41699
42134
  * @param {string} [serviceId]
41700
42135
  * @param {string} [serviceName]
41701
42136
  * @param {string} [patientId]
@@ -41713,8 +42148,8 @@ export class ServiceReviewsApi extends BaseAPI {
41713
42148
  * @throws {RequiredError}
41714
42149
  * @memberof ServiceReviewsApi
41715
42150
  */
41716
- public apiV1ServicereviewsGet(serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
41717
- return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
42151
+ public apiV1ServicereviewsGet(id?: string, serviceId?: string, serviceName?: string, patientId?: string, patientName?: string, gender?: Gender, recommended?: boolean, rate?: number, reviewType?: ReviewType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
42152
+ return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(id, serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
41718
42153
  }
41719
42154
 
41720
42155
  /**
@@ -41744,12 +42179,13 @@ export class ServiceReviewsApi extends BaseAPI {
41744
42179
  /**
41745
42180
  *
41746
42181
  * @param {string} serviceReviewId
42182
+ * @param {string} [languageCode]
41747
42183
  * @param {*} [options] Override http request option.
41748
42184
  * @throws {RequiredError}
41749
42185
  * @memberof ServiceReviewsApi
41750
42186
  */
41751
- public apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, options?: AxiosRequestConfig) {
41752
- return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, options).then((request) => request(this.axios, this.basePath));
42187
+ public apiV1ServicereviewsServiceReviewIdGet(serviceReviewId: string, languageCode?: string, options?: AxiosRequestConfig) {
42188
+ return ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsServiceReviewIdGet(serviceReviewId, languageCode, options).then((request) => request(this.axios, this.basePath));
41753
42189
  }
41754
42190
 
41755
42191
  /**