ch-admin-api-client-typescript 4.2.8 → 4.3.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
@@ -677,6 +677,30 @@ export interface ArticleItemModel {
677
677
  * @memberof ArticleItemModel
678
678
  */
679
679
  'youtubeUrl'?: string | null;
680
+ /**
681
+ *
682
+ * @type {string}
683
+ * @memberof ArticleItemModel
684
+ */
685
+ 'photo'?: string | null;
686
+ /**
687
+ *
688
+ * @type {string}
689
+ * @memberof ArticleItemModel
690
+ */
691
+ 'photoThumbnail'?: string | null;
692
+ /**
693
+ *
694
+ * @type {string}
695
+ * @memberof ArticleItemModel
696
+ */
697
+ 'background'?: string | null;
698
+ /**
699
+ *
700
+ * @type {string}
701
+ * @memberof ArticleItemModel
702
+ */
703
+ 'backgroundThumbnail'?: string | null;
680
704
  /**
681
705
  *
682
706
  * @type {Array<ArticleTagItemModel>}
@@ -774,6 +798,30 @@ export interface ArticleModel {
774
798
  * @memberof ArticleModel
775
799
  */
776
800
  'youtubeUrl'?: string | null;
801
+ /**
802
+ *
803
+ * @type {string}
804
+ * @memberof ArticleModel
805
+ */
806
+ 'photo'?: string | null;
807
+ /**
808
+ *
809
+ * @type {string}
810
+ * @memberof ArticleModel
811
+ */
812
+ 'photoThumbnail'?: string | null;
813
+ /**
814
+ *
815
+ * @type {string}
816
+ * @memberof ArticleModel
817
+ */
818
+ 'background'?: string | null;
819
+ /**
820
+ *
821
+ * @type {string}
822
+ * @memberof ArticleModel
823
+ */
824
+ 'backgroundThumbnail'?: string | null;
777
825
  /**
778
826
  *
779
827
  * @type {Array<ArticleTagItemModel>}
@@ -3249,6 +3297,12 @@ export interface CreateArticleCommand {
3249
3297
  * @memberof CreateArticleCommand
3250
3298
  */
3251
3299
  'content'?: string | null;
3300
+ /**
3301
+ *
3302
+ * @type {string}
3303
+ * @memberof CreateArticleCommand
3304
+ */
3305
+ 'hospitalId'?: string;
3252
3306
  /**
3253
3307
  *
3254
3308
  * @type {ArticleStatus}
@@ -3272,7 +3326,25 @@ export interface CreateArticleCommand {
3272
3326
  * @type {string}
3273
3327
  * @memberof CreateArticleCommand
3274
3328
  */
3275
- 'hospitalId'?: string;
3329
+ 'photo'?: string | null;
3330
+ /**
3331
+ *
3332
+ * @type {string}
3333
+ * @memberof CreateArticleCommand
3334
+ */
3335
+ 'photoThumbnail'?: string | null;
3336
+ /**
3337
+ *
3338
+ * @type {string}
3339
+ * @memberof CreateArticleCommand
3340
+ */
3341
+ 'background'?: string | null;
3342
+ /**
3343
+ *
3344
+ * @type {string}
3345
+ * @memberof CreateArticleCommand
3346
+ */
3347
+ 'backgroundThumbnail'?: string | null;
3276
3348
  /**
3277
3349
  *
3278
3350
  * @type {Array<ArticleTagItemModel>}
@@ -4976,6 +5048,30 @@ export interface CreateSpecialtyCommand {
4976
5048
  * @memberof CreateSpecialtyCommand
4977
5049
  */
4978
5050
  'content'?: string | null;
5051
+ /**
5052
+ *
5053
+ * @type {string}
5054
+ * @memberof CreateSpecialtyCommand
5055
+ */
5056
+ 'photo'?: string | null;
5057
+ /**
5058
+ *
5059
+ * @type {string}
5060
+ * @memberof CreateSpecialtyCommand
5061
+ */
5062
+ 'photoThumbnail'?: string | null;
5063
+ /**
5064
+ *
5065
+ * @type {string}
5066
+ * @memberof CreateSpecialtyCommand
5067
+ */
5068
+ 'background'?: string | null;
5069
+ /**
5070
+ *
5071
+ * @type {string}
5072
+ * @memberof CreateSpecialtyCommand
5073
+ */
5074
+ 'backgroundThumbnail'?: string | null;
4979
5075
  /**
4980
5076
  *
4981
5077
  * @type {string}
@@ -5019,6 +5115,30 @@ export interface CreateSpecialtyTypeCommand {
5019
5115
  * @memberof CreateSpecialtyTypeCommand
5020
5116
  */
5021
5117
  'marketingType'?: MarketingType;
5118
+ /**
5119
+ *
5120
+ * @type {string}
5121
+ * @memberof CreateSpecialtyTypeCommand
5122
+ */
5123
+ 'photo'?: string | null;
5124
+ /**
5125
+ *
5126
+ * @type {string}
5127
+ * @memberof CreateSpecialtyTypeCommand
5128
+ */
5129
+ 'photoThumbnail'?: string | null;
5130
+ /**
5131
+ *
5132
+ * @type {string}
5133
+ * @memberof CreateSpecialtyTypeCommand
5134
+ */
5135
+ 'background'?: string | null;
5136
+ /**
5137
+ *
5138
+ * @type {string}
5139
+ * @memberof CreateSpecialtyTypeCommand
5140
+ */
5141
+ 'backgroundThumbnail'?: string | null;
5022
5142
  /**
5023
5143
  *
5024
5144
  * @type {Array<MediaModel>}
@@ -5822,6 +5942,18 @@ export interface DoctorAffiliationItemModel {
5822
5942
  * @memberof DoctorAffiliationItemModel
5823
5943
  */
5824
5944
  'hospitalSlug'?: string | null;
5945
+ /**
5946
+ *
5947
+ * @type {string}
5948
+ * @memberof DoctorAffiliationItemModel
5949
+ */
5950
+ 'countryId'?: string;
5951
+ /**
5952
+ *
5953
+ * @type {MarketingType}
5954
+ * @memberof DoctorAffiliationItemModel
5955
+ */
5956
+ 'marketingType'?: MarketingType;
5825
5957
  /**
5826
5958
  *
5827
5959
  * @type {string}
@@ -5919,6 +6051,18 @@ export interface DoctorAffiliationModel {
5919
6051
  * @memberof DoctorAffiliationModel
5920
6052
  */
5921
6053
  'hospitalSlug'?: string | null;
6054
+ /**
6055
+ *
6056
+ * @type {string}
6057
+ * @memberof DoctorAffiliationModel
6058
+ */
6059
+ 'countryId'?: string;
6060
+ /**
6061
+ *
6062
+ * @type {MarketingType}
6063
+ * @memberof DoctorAffiliationModel
6064
+ */
6065
+ 'marketingType'?: MarketingType;
5922
6066
  /**
5923
6067
  *
5924
6068
  * @type {string}
@@ -10924,6 +11068,30 @@ export interface SpecialtyItemModel {
10924
11068
  * @memberof SpecialtyItemModel
10925
11069
  */
10926
11070
  'confirmed'?: boolean;
11071
+ /**
11072
+ *
11073
+ * @type {string}
11074
+ * @memberof SpecialtyItemModel
11075
+ */
11076
+ 'photo'?: string | null;
11077
+ /**
11078
+ *
11079
+ * @type {string}
11080
+ * @memberof SpecialtyItemModel
11081
+ */
11082
+ 'photoThumbnail'?: string | null;
11083
+ /**
11084
+ *
11085
+ * @type {string}
11086
+ * @memberof SpecialtyItemModel
11087
+ */
11088
+ 'background'?: string | null;
11089
+ /**
11090
+ *
11091
+ * @type {string}
11092
+ * @memberof SpecialtyItemModel
11093
+ */
11094
+ 'backgroundThumbnail'?: string | null;
10927
11095
  /**
10928
11096
  *
10929
11097
  * @type {string}
@@ -11034,6 +11202,30 @@ export interface SpecialtyModel {
11034
11202
  * @memberof SpecialtyModel
11035
11203
  */
11036
11204
  'confirmed'?: boolean;
11205
+ /**
11206
+ *
11207
+ * @type {string}
11208
+ * @memberof SpecialtyModel
11209
+ */
11210
+ 'photo'?: string | null;
11211
+ /**
11212
+ *
11213
+ * @type {string}
11214
+ * @memberof SpecialtyModel
11215
+ */
11216
+ 'photoThumbnail'?: string | null;
11217
+ /**
11218
+ *
11219
+ * @type {string}
11220
+ * @memberof SpecialtyModel
11221
+ */
11222
+ 'background'?: string | null;
11223
+ /**
11224
+ *
11225
+ * @type {string}
11226
+ * @memberof SpecialtyModel
11227
+ */
11228
+ 'backgroundThumbnail'?: string | null;
11037
11229
  /**
11038
11230
  *
11039
11231
  * @type {string}
@@ -11119,6 +11311,30 @@ export interface SpecialtyTypeItemModel {
11119
11311
  * @memberof SpecialtyTypeItemModel
11120
11312
  */
11121
11313
  'confirmed'?: boolean;
11314
+ /**
11315
+ *
11316
+ * @type {string}
11317
+ * @memberof SpecialtyTypeItemModel
11318
+ */
11319
+ 'photo'?: string | null;
11320
+ /**
11321
+ *
11322
+ * @type {string}
11323
+ * @memberof SpecialtyTypeItemModel
11324
+ */
11325
+ 'photoThumbnail'?: string | null;
11326
+ /**
11327
+ *
11328
+ * @type {string}
11329
+ * @memberof SpecialtyTypeItemModel
11330
+ */
11331
+ 'background'?: string | null;
11332
+ /**
11333
+ *
11334
+ * @type {string}
11335
+ * @memberof SpecialtyTypeItemModel
11336
+ */
11337
+ 'backgroundThumbnail'?: string | null;
11122
11338
  /**
11123
11339
  *
11124
11340
  * @type {string}
@@ -11186,6 +11402,30 @@ export interface SpecialtyTypeModel {
11186
11402
  * @memberof SpecialtyTypeModel
11187
11403
  */
11188
11404
  'confirmed'?: boolean;
11405
+ /**
11406
+ *
11407
+ * @type {string}
11408
+ * @memberof SpecialtyTypeModel
11409
+ */
11410
+ 'photo'?: string | null;
11411
+ /**
11412
+ *
11413
+ * @type {string}
11414
+ * @memberof SpecialtyTypeModel
11415
+ */
11416
+ 'photoThumbnail'?: string | null;
11417
+ /**
11418
+ *
11419
+ * @type {string}
11420
+ * @memberof SpecialtyTypeModel
11421
+ */
11422
+ 'background'?: string | null;
11423
+ /**
11424
+ *
11425
+ * @type {string}
11426
+ * @memberof SpecialtyTypeModel
11427
+ */
11428
+ 'backgroundThumbnail'?: string | null;
11189
11429
  /**
11190
11430
  *
11191
11431
  * @type {string}
@@ -11759,6 +11999,30 @@ export interface UpdateArticleCommand {
11759
11999
  * @memberof UpdateArticleCommand
11760
12000
  */
11761
12001
  'youtubeUrl'?: string | null;
12002
+ /**
12003
+ *
12004
+ * @type {string}
12005
+ * @memberof UpdateArticleCommand
12006
+ */
12007
+ 'photo'?: string | null;
12008
+ /**
12009
+ *
12010
+ * @type {string}
12011
+ * @memberof UpdateArticleCommand
12012
+ */
12013
+ 'photoThumbnail'?: string | null;
12014
+ /**
12015
+ *
12016
+ * @type {string}
12017
+ * @memberof UpdateArticleCommand
12018
+ */
12019
+ 'background'?: string | null;
12020
+ /**
12021
+ *
12022
+ * @type {string}
12023
+ * @memberof UpdateArticleCommand
12024
+ */
12025
+ 'backgroundThumbnail'?: string | null;
11762
12026
  /**
11763
12027
  *
11764
12028
  * @type {Array<ArticleTagItemModel>}
@@ -13542,6 +13806,30 @@ export interface UpdateSpecialtyCommand {
13542
13806
  * @memberof UpdateSpecialtyCommand
13543
13807
  */
13544
13808
  'languageCode'?: string | null;
13809
+ /**
13810
+ *
13811
+ * @type {string}
13812
+ * @memberof UpdateSpecialtyCommand
13813
+ */
13814
+ 'photo'?: string | null;
13815
+ /**
13816
+ *
13817
+ * @type {string}
13818
+ * @memberof UpdateSpecialtyCommand
13819
+ */
13820
+ 'photoThumbnail'?: string | null;
13821
+ /**
13822
+ *
13823
+ * @type {string}
13824
+ * @memberof UpdateSpecialtyCommand
13825
+ */
13826
+ 'background'?: string | null;
13827
+ /**
13828
+ *
13829
+ * @type {string}
13830
+ * @memberof UpdateSpecialtyCommand
13831
+ */
13832
+ 'backgroundThumbnail'?: string | null;
13545
13833
  /**
13546
13834
  *
13547
13835
  * @type {string}
@@ -13597,6 +13885,30 @@ export interface UpdateSpecialtyTypeCommand {
13597
13885
  * @memberof UpdateSpecialtyTypeCommand
13598
13886
  */
13599
13887
  'marketingType'?: MarketingType;
13888
+ /**
13889
+ *
13890
+ * @type {string}
13891
+ * @memberof UpdateSpecialtyTypeCommand
13892
+ */
13893
+ 'photo'?: string | null;
13894
+ /**
13895
+ *
13896
+ * @type {string}
13897
+ * @memberof UpdateSpecialtyTypeCommand
13898
+ */
13899
+ 'photoThumbnail'?: string | null;
13900
+ /**
13901
+ *
13902
+ * @type {string}
13903
+ * @memberof UpdateSpecialtyTypeCommand
13904
+ */
13905
+ 'background'?: string | null;
13906
+ /**
13907
+ *
13908
+ * @type {string}
13909
+ * @memberof UpdateSpecialtyTypeCommand
13910
+ */
13911
+ 'backgroundThumbnail'?: string | null;
13600
13912
  /**
13601
13913
  *
13602
13914
  * @type {string}
@@ -25116,6 +25428,8 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
25116
25428
  * @param {string} [doctorName]
25117
25429
  * @param {string} [doctorSlug]
25118
25430
  * @param {string} [specialtyId]
25431
+ * @param {MarketingType} [marketingType]
25432
+ * @param {string} [countryId]
25119
25433
  * @param {string} [languageCode]
25120
25434
  * @param {boolean} [showHidden]
25121
25435
  * @param {number} [page]
@@ -25124,7 +25438,7 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
25124
25438
  * @param {*} [options] Override http request option.
25125
25439
  * @throws {RequiredError}
25126
25440
  */
25127
- apiV1DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25441
+ apiV1DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
25128
25442
  const localVarPath = `/api/v1/doctoraffiliations`;
25129
25443
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25130
25444
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25165,6 +25479,14 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
25165
25479
  localVarQueryParameter['SpecialtyId'] = specialtyId;
25166
25480
  }
25167
25481
 
25482
+ if (marketingType !== undefined) {
25483
+ localVarQueryParameter['MarketingType'] = marketingType;
25484
+ }
25485
+
25486
+ if (countryId !== undefined) {
25487
+ localVarQueryParameter['CountryId'] = countryId;
25488
+ }
25489
+
25168
25490
  if (languageCode !== undefined) {
25169
25491
  localVarQueryParameter['LanguageCode'] = languageCode;
25170
25492
  }
@@ -25442,6 +25764,8 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
25442
25764
  * @param {string} [doctorName]
25443
25765
  * @param {string} [doctorSlug]
25444
25766
  * @param {string} [specialtyId]
25767
+ * @param {MarketingType} [marketingType]
25768
+ * @param {string} [countryId]
25445
25769
  * @param {string} [languageCode]
25446
25770
  * @param {boolean} [showHidden]
25447
25771
  * @param {number} [page]
@@ -25450,8 +25774,8 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
25450
25774
  * @param {*} [options] Override http request option.
25451
25775
  * @throws {RequiredError}
25452
25776
  */
25453
- async apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
25454
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options);
25777
+ async apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
25778
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options);
25455
25779
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25456
25780
  },
25457
25781
  /**
@@ -25578,6 +25902,8 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
25578
25902
  * @param {string} [doctorName]
25579
25903
  * @param {string} [doctorSlug]
25580
25904
  * @param {string} [specialtyId]
25905
+ * @param {MarketingType} [marketingType]
25906
+ * @param {string} [countryId]
25581
25907
  * @param {string} [languageCode]
25582
25908
  * @param {boolean} [showHidden]
25583
25909
  * @param {number} [page]
@@ -25586,8 +25912,8 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
25586
25912
  * @param {*} [options] Override http request option.
25587
25913
  * @throws {RequiredError}
25588
25914
  */
25589
- apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
25590
- return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25915
+ apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
25916
+ return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
25591
25917
  },
25592
25918
  /**
25593
25919
  *
@@ -25719,6 +26045,8 @@ export class DoctorAffiliationsApi extends BaseAPI {
25719
26045
  * @param {string} [doctorName]
25720
26046
  * @param {string} [doctorSlug]
25721
26047
  * @param {string} [specialtyId]
26048
+ * @param {MarketingType} [marketingType]
26049
+ * @param {string} [countryId]
25722
26050
  * @param {string} [languageCode]
25723
26051
  * @param {boolean} [showHidden]
25724
26052
  * @param {number} [page]
@@ -25728,8 +26056,8 @@ export class DoctorAffiliationsApi extends BaseAPI {
25728
26056
  * @throws {RequiredError}
25729
26057
  * @memberof DoctorAffiliationsApi
25730
26058
  */
25731
- public apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
25732
- return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
26059
+ public apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, doctorSlug?: string, specialtyId?: string, marketingType?: MarketingType, countryId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
26060
+ return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, specialtyId, marketingType, countryId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
25733
26061
  }
25734
26062
 
25735
26063
  /**
@@ -26376,24 +26704,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26376
26704
  },
26377
26705
  /**
26378
26706
  *
26379
- * @summary Delete DoctorLanguage
26707
+ * @summary Get all DoctorLanguages.
26380
26708
  * @param {string} doctorId
26381
- * @param {string} languageId
26382
- * @param {string} code
26709
+ * @param {string} [language]
26710
+ * @param {number} [page]
26711
+ * @param {number} [limit]
26712
+ * @param {Date} [lastRetrieved]
26383
26713
  * @param {*} [options] Override http request option.
26384
26714
  * @throws {RequiredError}
26385
26715
  */
26386
- apiV1DoctorsDoctorIdLanguagesCodeDelete: async (doctorId: string, languageId: string, code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26716
+ apiV1DoctorsDoctorIdLanguagesGet: async (doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26387
26717
  // verify required parameter 'doctorId' is not null or undefined
26388
- assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'doctorId', doctorId)
26389
- // verify required parameter 'languageId' is not null or undefined
26390
- assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'languageId', languageId)
26391
- // verify required parameter 'code' is not null or undefined
26392
- assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeDelete', 'code', code)
26393
- const localVarPath = `/api/v1/doctors/{doctorId}/languages/{code}`
26394
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
26395
- .replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
26396
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
26718
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
26719
+ const localVarPath = `/api/v1/doctors/{doctorId}/languages`
26720
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
26397
26721
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26398
26722
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26399
26723
  let baseOptions;
@@ -26401,7 +26725,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26401
26725
  baseOptions = configuration.baseOptions;
26402
26726
  }
26403
26727
 
26404
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
26728
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26405
26729
  const localVarHeaderParameter = {} as any;
26406
26730
  const localVarQueryParameter = {} as any;
26407
26731
 
@@ -26409,6 +26733,24 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26409
26733
  // oauth required
26410
26734
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
26411
26735
 
26736
+ if (language !== undefined) {
26737
+ localVarQueryParameter['Language'] = language;
26738
+ }
26739
+
26740
+ if (page !== undefined) {
26741
+ localVarQueryParameter['page'] = page;
26742
+ }
26743
+
26744
+ if (limit !== undefined) {
26745
+ localVarQueryParameter['limit'] = limit;
26746
+ }
26747
+
26748
+ if (lastRetrieved !== undefined) {
26749
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
26750
+ (lastRetrieved as any).toISOString() :
26751
+ lastRetrieved;
26752
+ }
26753
+
26412
26754
 
26413
26755
 
26414
26756
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -26422,24 +26764,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26422
26764
  },
26423
26765
  /**
26424
26766
  *
26425
- * @summary Get DoctorLanguage.
26767
+ * @summary Delete DoctorLanguage
26426
26768
  * @param {string} doctorId
26427
26769
  * @param {string} languageId
26428
- * @param {string} code
26429
26770
  * @param {*} [options] Override http request option.
26430
26771
  * @throws {RequiredError}
26431
26772
  */
26432
- apiV1DoctorsDoctorIdLanguagesCodeGet: async (doctorId: string, languageId: string, code: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26773
+ apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26433
26774
  // verify required parameter 'doctorId' is not null or undefined
26434
- assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'doctorId', doctorId)
26775
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'doctorId', doctorId)
26435
26776
  // verify required parameter 'languageId' is not null or undefined
26436
- assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'languageId', languageId)
26437
- // verify required parameter 'code' is not null or undefined
26438
- assertParamExists('apiV1DoctorsDoctorIdLanguagesCodeGet', 'code', code)
26439
- const localVarPath = `/api/v1/doctors/{doctorId}/languages/{code}`
26777
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'languageId', languageId)
26778
+ const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
26440
26779
  .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
26441
- .replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
26442
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
26780
+ .replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
26443
26781
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26444
26782
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26445
26783
  let baseOptions;
@@ -26447,7 +26785,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26447
26785
  baseOptions = configuration.baseOptions;
26448
26786
  }
26449
26787
 
26450
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26788
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
26451
26789
  const localVarHeaderParameter = {} as any;
26452
26790
  const localVarQueryParameter = {} as any;
26453
26791
 
@@ -26468,25 +26806,20 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26468
26806
  },
26469
26807
  /**
26470
26808
  *
26471
- * @summary Update DoctorLanguage.
26809
+ * @summary Get DoctorLanguage.
26472
26810
  * @param {string} doctorId
26473
26811
  * @param {string} languageId
26474
- * @param {string} code
26475
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
26476
26812
  * @param {*} [options] Override http request option.
26477
26813
  * @throws {RequiredError}
26478
26814
  */
26479
- apiV1DoctorsDoctorIdLanguagesCodePut: async (doctorId: string, languageId: string, code: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26815
+ apiV1DoctorsDoctorIdLanguagesLanguageIdGet: async (doctorId: string, languageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26480
26816
  // verify required parameter 'doctorId' is not null or undefined
26481
- assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'doctorId', doctorId)
26817
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId)
26482
26818
  // verify required parameter 'languageId' is not null or undefined
26483
- assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'languageId', languageId)
26484
- // verify required parameter 'code' is not null or undefined
26485
- assertParamExists('apiV1DoctorsDoctorIdLanguagesCodePut', 'code', code)
26486
- const localVarPath = `/api/v1/doctors/{doctorId}/languages/{code}`
26819
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId)
26820
+ const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
26487
26821
  .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
26488
- .replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)))
26489
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
26822
+ .replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
26490
26823
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26491
26824
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26492
26825
  let baseOptions;
@@ -26494,7 +26827,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26494
26827
  baseOptions = configuration.baseOptions;
26495
26828
  }
26496
26829
 
26497
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
26830
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26498
26831
  const localVarHeaderParameter = {} as any;
26499
26832
  const localVarQueryParameter = {} as any;
26500
26833
 
@@ -26504,12 +26837,9 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26504
26837
 
26505
26838
 
26506
26839
 
26507
- localVarHeaderParameter['Content-Type'] = 'application/json';
26508
-
26509
26840
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26510
26841
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26511
26842
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26512
- localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
26513
26843
 
26514
26844
  return {
26515
26845
  url: toPathString(localVarUrlObj),
@@ -26518,20 +26848,21 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26518
26848
  },
26519
26849
  /**
26520
26850
  *
26521
- * @summary Get all DoctorLanguages.
26851
+ * @summary Update DoctorLanguage.
26522
26852
  * @param {string} doctorId
26523
- * @param {string} [language]
26524
- * @param {number} [page]
26525
- * @param {number} [limit]
26526
- * @param {Date} [lastRetrieved]
26853
+ * @param {string} languageId
26854
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
26527
26855
  * @param {*} [options] Override http request option.
26528
26856
  * @throws {RequiredError}
26529
26857
  */
26530
- apiV1DoctorsDoctorIdLanguagesGet: async (doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26858
+ apiV1DoctorsDoctorIdLanguagesLanguageIdPut: async (doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26531
26859
  // verify required parameter 'doctorId' is not null or undefined
26532
- assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
26533
- const localVarPath = `/api/v1/doctors/{doctorId}/languages`
26534
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
26860
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'doctorId', doctorId)
26861
+ // verify required parameter 'languageId' is not null or undefined
26862
+ assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'languageId', languageId)
26863
+ const localVarPath = `/api/v1/doctors/{doctorId}/languages/{languageId}`
26864
+ .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
26865
+ .replace(`{${"languageId"}}`, encodeURIComponent(String(languageId)));
26535
26866
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26536
26867
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26537
26868
  let baseOptions;
@@ -26539,7 +26870,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26539
26870
  baseOptions = configuration.baseOptions;
26540
26871
  }
26541
26872
 
26542
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26873
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
26543
26874
  const localVarHeaderParameter = {} as any;
26544
26875
  const localVarQueryParameter = {} as any;
26545
26876
 
@@ -26547,29 +26878,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
26547
26878
  // oauth required
26548
26879
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
26549
26880
 
26550
- if (language !== undefined) {
26551
- localVarQueryParameter['Language'] = language;
26552
- }
26553
-
26554
- if (page !== undefined) {
26555
- localVarQueryParameter['page'] = page;
26556
- }
26557
-
26558
- if (limit !== undefined) {
26559
- localVarQueryParameter['limit'] = limit;
26560
- }
26561
-
26562
- if (lastRetrieved !== undefined) {
26563
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
26564
- (lastRetrieved as any).toISOString() :
26565
- lastRetrieved;
26566
- }
26567
-
26568
26881
 
26569
26882
 
26883
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26884
+
26570
26885
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26571
26886
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26572
26887
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26888
+ localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration)
26573
26889
 
26574
26890
  return {
26575
26891
  url: toPathString(localVarUrlObj),
@@ -27823,57 +28139,54 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
27823
28139
  },
27824
28140
  /**
27825
28141
  *
27826
- * @summary Delete DoctorLanguage
28142
+ * @summary Get all DoctorLanguages.
27827
28143
  * @param {string} doctorId
27828
- * @param {string} languageId
27829
- * @param {string} code
28144
+ * @param {string} [language]
28145
+ * @param {number} [page]
28146
+ * @param {number} [limit]
28147
+ * @param {Date} [lastRetrieved]
27830
28148
  * @param {*} [options] Override http request option.
27831
28149
  * @throws {RequiredError}
27832
28150
  */
27833
- async apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId: string, languageId: string, code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
27834
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options);
28151
+ async apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguagesModel>> {
28152
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options);
27835
28153
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27836
28154
  },
27837
28155
  /**
27838
28156
  *
27839
- * @summary Get DoctorLanguage.
28157
+ * @summary Delete DoctorLanguage
27840
28158
  * @param {string} doctorId
27841
28159
  * @param {string} languageId
27842
- * @param {string} code
27843
28160
  * @param {*} [options] Override http request option.
27844
28161
  * @throws {RequiredError}
27845
28162
  */
27846
- async apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId: string, languageId: string, code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
27847
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options);
28163
+ async apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
28164
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options);
27848
28165
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27849
28166
  },
27850
28167
  /**
27851
28168
  *
27852
- * @summary Update DoctorLanguage.
28169
+ * @summary Get DoctorLanguage.
27853
28170
  * @param {string} doctorId
27854
28171
  * @param {string} languageId
27855
- * @param {string} code
27856
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
27857
28172
  * @param {*} [options] Override http request option.
27858
28173
  * @throws {RequiredError}
27859
28174
  */
27860
- async apiV1DoctorsDoctorIdLanguagesCodePut(doctorId: string, languageId: string, code: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
27861
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options);
28175
+ async apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
28176
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options);
27862
28177
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27863
28178
  },
27864
28179
  /**
27865
28180
  *
27866
- * @summary Get all DoctorLanguages.
28181
+ * @summary Update DoctorLanguage.
27867
28182
  * @param {string} doctorId
27868
- * @param {string} [language]
27869
- * @param {number} [page]
27870
- * @param {number} [limit]
27871
- * @param {Date} [lastRetrieved]
28183
+ * @param {string} languageId
28184
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
27872
28185
  * @param {*} [options] Override http request option.
27873
28186
  * @throws {RequiredError}
27874
28187
  */
27875
- async apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguagesModel>> {
27876
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options);
28188
+ async apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
28189
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options);
27877
28190
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27878
28191
  },
27879
28192
  /**
@@ -28316,54 +28629,51 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
28316
28629
  },
28317
28630
  /**
28318
28631
  *
28319
- * @summary Delete DoctorLanguage
28632
+ * @summary Get all DoctorLanguages.
28320
28633
  * @param {string} doctorId
28321
- * @param {string} languageId
28322
- * @param {string} code
28634
+ * @param {string} [language]
28635
+ * @param {number} [page]
28636
+ * @param {number} [limit]
28637
+ * @param {Date} [lastRetrieved]
28323
28638
  * @param {*} [options] Override http request option.
28324
28639
  * @throws {RequiredError}
28325
28640
  */
28326
- apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId: string, languageId: string, code: string, options?: any): AxiosPromise<boolean> {
28327
- return localVarFp.apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options).then((request) => request(axios, basePath));
28641
+ apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorLanguagesModel> {
28642
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
28328
28643
  },
28329
28644
  /**
28330
28645
  *
28331
- * @summary Get DoctorLanguage.
28646
+ * @summary Delete DoctorLanguage
28332
28647
  * @param {string} doctorId
28333
28648
  * @param {string} languageId
28334
- * @param {string} code
28335
28649
  * @param {*} [options] Override http request option.
28336
28650
  * @throws {RequiredError}
28337
28651
  */
28338
- apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId: string, languageId: string, code: string, options?: any): AxiosPromise<DoctorLanguageModel> {
28339
- return localVarFp.apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options).then((request) => request(axios, basePath));
28652
+ apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: any): AxiosPromise<boolean> {
28653
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then((request) => request(axios, basePath));
28340
28654
  },
28341
28655
  /**
28342
28656
  *
28343
- * @summary Update DoctorLanguage.
28657
+ * @summary Get DoctorLanguage.
28344
28658
  * @param {string} doctorId
28345
28659
  * @param {string} languageId
28346
- * @param {string} code
28347
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
28348
28660
  * @param {*} [options] Override http request option.
28349
28661
  * @throws {RequiredError}
28350
28662
  */
28351
- apiV1DoctorsDoctorIdLanguagesCodePut(doctorId: string, languageId: string, code: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: any): AxiosPromise<DoctorLanguageModel> {
28352
- return localVarFp.apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options).then((request) => request(axios, basePath));
28663
+ apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: any): AxiosPromise<DoctorLanguageModel> {
28664
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(axios, basePath));
28353
28665
  },
28354
28666
  /**
28355
28667
  *
28356
- * @summary Get all DoctorLanguages.
28668
+ * @summary Update DoctorLanguage.
28357
28669
  * @param {string} doctorId
28358
- * @param {string} [language]
28359
- * @param {number} [page]
28360
- * @param {number} [limit]
28361
- * @param {Date} [lastRetrieved]
28670
+ * @param {string} languageId
28671
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
28362
28672
  * @param {*} [options] Override http request option.
28363
28673
  * @throws {RequiredError}
28364
28674
  */
28365
- apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorLanguagesModel> {
28366
- return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
28675
+ apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: any): AxiosPromise<DoctorLanguageModel> {
28676
+ return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then((request) => request(axios, basePath));
28367
28677
  },
28368
28678
  /**
28369
28679
  *
@@ -28809,61 +29119,58 @@ export class DoctorsApi extends BaseAPI {
28809
29119
 
28810
29120
  /**
28811
29121
  *
28812
- * @summary Delete DoctorLanguage
29122
+ * @summary Get all DoctorLanguages.
28813
29123
  * @param {string} doctorId
28814
- * @param {string} languageId
28815
- * @param {string} code
29124
+ * @param {string} [language]
29125
+ * @param {number} [page]
29126
+ * @param {number} [limit]
29127
+ * @param {Date} [lastRetrieved]
28816
29128
  * @param {*} [options] Override http request option.
28817
29129
  * @throws {RequiredError}
28818
29130
  * @memberof DoctorsApi
28819
29131
  */
28820
- public apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId: string, languageId: string, code: string, options?: AxiosRequestConfig) {
28821
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodeDelete(doctorId, languageId, code, options).then((request) => request(this.axios, this.basePath));
29132
+ public apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
29133
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
28822
29134
  }
28823
29135
 
28824
29136
  /**
28825
29137
  *
28826
- * @summary Get DoctorLanguage.
29138
+ * @summary Delete DoctorLanguage
28827
29139
  * @param {string} doctorId
28828
29140
  * @param {string} languageId
28829
- * @param {string} code
28830
29141
  * @param {*} [options] Override http request option.
28831
29142
  * @throws {RequiredError}
28832
29143
  * @memberof DoctorsApi
28833
29144
  */
28834
- public apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId: string, languageId: string, code: string, options?: AxiosRequestConfig) {
28835
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodeGet(doctorId, languageId, code, options).then((request) => request(this.axios, this.basePath));
29145
+ public apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
29146
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
28836
29147
  }
28837
29148
 
28838
29149
  /**
28839
29150
  *
28840
- * @summary Update DoctorLanguage.
29151
+ * @summary Get DoctorLanguage.
28841
29152
  * @param {string} doctorId
28842
29153
  * @param {string} languageId
28843
- * @param {string} code
28844
- * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
28845
29154
  * @param {*} [options] Override http request option.
28846
29155
  * @throws {RequiredError}
28847
29156
  * @memberof DoctorsApi
28848
29157
  */
28849
- public apiV1DoctorsDoctorIdLanguagesCodePut(doctorId: string, languageId: string, code: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig) {
28850
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesCodePut(doctorId, languageId, code, updateDoctorLanguageCommand, options).then((request) => request(this.axios, this.basePath));
29158
+ public apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId: string, languageId: string, options?: AxiosRequestConfig) {
29159
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then((request) => request(this.axios, this.basePath));
28851
29160
  }
28852
29161
 
28853
29162
  /**
28854
29163
  *
28855
- * @summary Get all DoctorLanguages.
29164
+ * @summary Update DoctorLanguage.
28856
29165
  * @param {string} doctorId
28857
- * @param {string} [language]
28858
- * @param {number} [page]
28859
- * @param {number} [limit]
28860
- * @param {Date} [lastRetrieved]
29166
+ * @param {string} languageId
29167
+ * @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
28861
29168
  * @param {*} [options] Override http request option.
28862
29169
  * @throws {RequiredError}
28863
29170
  * @memberof DoctorsApi
28864
29171
  */
28865
- public apiV1DoctorsDoctorIdLanguagesGet(doctorId: string, language?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
28866
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
29172
+ public apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId: string, languageId: string, updateDoctorLanguageCommand?: UpdateDoctorLanguageCommand, options?: AxiosRequestConfig) {
29173
+ return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then((request) => request(this.axios, this.basePath));
28867
29174
  }
28868
29175
 
28869
29176
  /**