ch-admin-api-client-typescript 3.4.0 → 3.4.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
@@ -3624,12 +3624,90 @@ export interface CreateDealServiceCommand {
3624
3624
  * @interface CreateDoctorAffiliationCommand
3625
3625
  */
3626
3626
  export interface CreateDoctorAffiliationCommand {
3627
+ /**
3628
+ *
3629
+ * @type {string}
3630
+ * @memberof CreateDoctorAffiliationCommand
3631
+ */
3632
+ 'doctorId'?: string;
3627
3633
  /**
3628
3634
  *
3629
3635
  * @type {string}
3630
3636
  * @memberof CreateDoctorAffiliationCommand
3631
3637
  */
3632
3638
  'hospitalId'?: string;
3639
+ /**
3640
+ *
3641
+ * @type {string}
3642
+ * @memberof CreateDoctorAffiliationCommand
3643
+ */
3644
+ 'name'?: string | null;
3645
+ /**
3646
+ *
3647
+ * @type {string}
3648
+ * @memberof CreateDoctorAffiliationCommand
3649
+ */
3650
+ 'description'?: string | null;
3651
+ /**
3652
+ *
3653
+ * @type {string}
3654
+ * @memberof CreateDoctorAffiliationCommand
3655
+ */
3656
+ 'content'?: string | null;
3657
+ /**
3658
+ *
3659
+ * @type {string}
3660
+ * @memberof CreateDoctorAffiliationCommand
3661
+ */
3662
+ 'customStyle'?: string | null;
3663
+ /**
3664
+ *
3665
+ * @type {number}
3666
+ * @memberof CreateDoctorAffiliationCommand
3667
+ */
3668
+ 'order'?: number;
3669
+ /**
3670
+ *
3671
+ * @type {string}
3672
+ * @memberof CreateDoctorAffiliationCommand
3673
+ */
3674
+ 'photo'?: string | null;
3675
+ /**
3676
+ *
3677
+ * @type {string}
3678
+ * @memberof CreateDoctorAffiliationCommand
3679
+ */
3680
+ 'photoThumbnail'?: string | null;
3681
+ /**
3682
+ *
3683
+ * @type {string}
3684
+ * @memberof CreateDoctorAffiliationCommand
3685
+ */
3686
+ 'background'?: string | null;
3687
+ /**
3688
+ *
3689
+ * @type {string}
3690
+ * @memberof CreateDoctorAffiliationCommand
3691
+ */
3692
+ 'backgroundThumbnail'?: string | null;
3693
+ /**
3694
+ *
3695
+ * @type {boolean}
3696
+ * @memberof CreateDoctorAffiliationCommand
3697
+ */
3698
+ 'consultationEnabled'?: boolean | null;
3699
+ /**
3700
+ *
3701
+ * @type {number}
3702
+ * @memberof CreateDoctorAffiliationCommand
3703
+ */
3704
+ 'consultationFee'?: number | null;
3705
+ /**
3706
+ *
3707
+ * @type {Array<MediaModel>}
3708
+ * @memberof CreateDoctorAffiliationCommand
3709
+ */
3710
+ 'medias'?: Array<MediaModel> | null;
3633
3711
  }
3634
3712
  /**
3635
3713
  *
@@ -5481,6 +5559,12 @@ export interface DeleteFaqTagCommand {
5481
5559
  * @interface DoctorAffiliationItemModel
5482
5560
  */
5483
5561
  export interface DoctorAffiliationItemModel {
5562
+ /**
5563
+ *
5564
+ * @type {string}
5565
+ * @memberof DoctorAffiliationItemModel
5566
+ */
5567
+ 'id'?: string;
5484
5568
  /**
5485
5569
  *
5486
5570
  * @type {string}
@@ -5492,13 +5576,61 @@ export interface DoctorAffiliationItemModel {
5492
5576
  * @type {string}
5493
5577
  * @memberof DoctorAffiliationItemModel
5494
5578
  */
5495
- 'hospitalName'?: string | null;
5579
+ 'doctorId'?: string;
5496
5580
  /**
5497
5581
  *
5498
5582
  * @type {string}
5499
5583
  * @memberof DoctorAffiliationItemModel
5500
5584
  */
5501
- 'hospitalSlug'?: string | null;
5585
+ 'languageCode'?: string | null;
5586
+ /**
5587
+ *
5588
+ * @type {string}
5589
+ * @memberof DoctorAffiliationItemModel
5590
+ */
5591
+ 'name'?: string | null;
5592
+ /**
5593
+ *
5594
+ * @type {string}
5595
+ * @memberof DoctorAffiliationItemModel
5596
+ */
5597
+ 'slug'?: string | null;
5598
+ /**
5599
+ *
5600
+ * @type {boolean}
5601
+ * @memberof DoctorAffiliationItemModel
5602
+ */
5603
+ 'confirmed'?: boolean;
5604
+ /**
5605
+ *
5606
+ * @type {string}
5607
+ * @memberof DoctorAffiliationItemModel
5608
+ */
5609
+ 'photo'?: string | null;
5610
+ /**
5611
+ *
5612
+ * @type {string}
5613
+ * @memberof DoctorAffiliationItemModel
5614
+ */
5615
+ 'photoThumbnail'?: string | null;
5616
+ /**
5617
+ *
5618
+ * @type {boolean}
5619
+ * @memberof DoctorAffiliationItemModel
5620
+ */
5621
+ 'consultationEnabled'?: boolean | null;
5622
+ /**
5623
+ *
5624
+ * @type {number}
5625
+ * @memberof DoctorAffiliationItemModel
5626
+ */
5627
+ 'consultationFee'?: number | null;
5628
+ /**
5629
+ *
5630
+ * @type {number}
5631
+ * @memberof DoctorAffiliationItemModel
5632
+ */
5633
+ 'order'?: number;
5502
5634
  }
5503
5635
  /**
5504
5636
  *
@@ -5506,12 +5638,96 @@ export interface DoctorAffiliationItemModel {
5506
5638
  * @interface DoctorAffiliationModel
5507
5639
  */
5508
5640
  export interface DoctorAffiliationModel {
5641
+ /**
5642
+ *
5643
+ * @type {string}
5644
+ * @memberof DoctorAffiliationModel
5645
+ */
5646
+ 'id'?: string;
5509
5647
  /**
5510
5648
  *
5511
5649
  * @type {string}
5512
5650
  * @memberof DoctorAffiliationModel
5513
5651
  */
5514
5652
  'hospitalId'?: string;
5653
+ /**
5654
+ *
5655
+ * @type {string}
5656
+ * @memberof DoctorAffiliationModel
5657
+ */
5658
+ 'doctorId'?: string;
5659
+ /**
5660
+ *
5661
+ * @type {string}
5662
+ * @memberof DoctorAffiliationModel
5663
+ */
5664
+ 'languageCode'?: string | null;
5665
+ /**
5666
+ *
5667
+ * @type {string}
5668
+ * @memberof DoctorAffiliationModel
5669
+ */
5670
+ 'name'?: string | null;
5671
+ /**
5672
+ *
5673
+ * @type {string}
5674
+ * @memberof DoctorAffiliationModel
5675
+ */
5676
+ 'slug'?: string | null;
5677
+ /**
5678
+ *
5679
+ * @type {boolean}
5680
+ * @memberof DoctorAffiliationModel
5681
+ */
5682
+ 'confirmed'?: boolean;
5683
+ /**
5684
+ *
5685
+ * @type {string}
5686
+ * @memberof DoctorAffiliationModel
5687
+ */
5688
+ 'photo'?: string | null;
5689
+ /**
5690
+ *
5691
+ * @type {string}
5692
+ * @memberof DoctorAffiliationModel
5693
+ */
5694
+ 'photoThumbnail'?: string | null;
5695
+ /**
5696
+ *
5697
+ * @type {boolean}
5698
+ * @memberof DoctorAffiliationModel
5699
+ */
5700
+ 'consultationEnabled'?: boolean | null;
5701
+ /**
5702
+ *
5703
+ * @type {number}
5704
+ * @memberof DoctorAffiliationModel
5705
+ */
5706
+ 'consultationFee'?: number | null;
5707
+ /**
5708
+ *
5709
+ * @type {number}
5710
+ * @memberof DoctorAffiliationModel
5711
+ */
5712
+ 'order'?: number;
5713
+ /**
5714
+ *
5715
+ * @type {string}
5716
+ * @memberof DoctorAffiliationModel
5717
+ */
5718
+ 'description'?: string | null;
5719
+ /**
5720
+ *
5721
+ * @type {string}
5722
+ * @memberof DoctorAffiliationModel
5723
+ */
5724
+ 'overview'?: string | null;
5725
+ /**
5726
+ *
5727
+ * @type {string}
5728
+ * @memberof DoctorAffiliationModel
5729
+ */
5730
+ 'content'?: string | null;
5515
5731
  /**
5516
5732
  *
5517
5733
  * @type {string}
@@ -5524,6 +5740,36 @@ export interface DoctorAffiliationModel {
5524
5740
  * @memberof DoctorAffiliationModel
5525
5741
  */
5526
5742
  'hospitalSlug'?: string | null;
5743
+ /**
5744
+ *
5745
+ * @type {string}
5746
+ * @memberof DoctorAffiliationModel
5747
+ */
5748
+ 'background'?: string | null;
5749
+ /**
5750
+ *
5751
+ * @type {string}
5752
+ * @memberof DoctorAffiliationModel
5753
+ */
5754
+ 'backgroundThumbnail'?: string | null;
5755
+ /**
5756
+ *
5757
+ * @type {string}
5758
+ * @memberof DoctorAffiliationModel
5759
+ */
5760
+ 'customStyle'?: string | null;
5761
+ /**
5762
+ *
5763
+ * @type {Array<LocalizedUrlModel>}
5764
+ * @memberof DoctorAffiliationModel
5765
+ */
5766
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
5767
+ /**
5768
+ *
5769
+ * @type {Array<MediaModel>}
5770
+ * @memberof DoctorAffiliationModel
5771
+ */
5772
+ 'medias'?: Array<MediaModel> | null;
5527
5773
  }
5528
5774
  /**
5529
5775
  *
@@ -11680,18 +11926,115 @@ export interface UpdateDealsSearchIndexCommand {
11680
11926
  /**
11681
11927
  *
11682
11928
  * @export
11683
- * @interface UpdateDoctorCertificateCommand
11929
+ * @interface UpdateDoctorAffiliationCommand
11684
11930
  */
11685
- export interface UpdateDoctorCertificateCommand {
11931
+ export interface UpdateDoctorAffiliationCommand {
11686
11932
  /**
11687
11933
  *
11688
11934
  * @type {string}
11689
- * @memberof UpdateDoctorCertificateCommand
11935
+ * @memberof UpdateDoctorAffiliationCommand
11690
11936
  */
11691
- 'certificate'?: string | null;
11937
+ 'languageCode'?: string | null;
11692
11938
  /**
11693
11939
  *
11694
- * @type {Date}
11940
+ * @type {string}
11941
+ * @memberof UpdateDoctorAffiliationCommand
11942
+ */
11943
+ 'name'?: string | null;
11944
+ /**
11945
+ *
11946
+ * @type {string}
11947
+ * @memberof UpdateDoctorAffiliationCommand
11948
+ */
11949
+ 'slug'?: string | null;
11950
+ /**
11951
+ *
11952
+ * @type {string}
11953
+ * @memberof UpdateDoctorAffiliationCommand
11954
+ */
11955
+ 'description'?: string | null;
11956
+ /**
11957
+ *
11958
+ * @type {string}
11959
+ * @memberof UpdateDoctorAffiliationCommand
11960
+ */
11961
+ 'content'?: string | null;
11962
+ /**
11963
+ *
11964
+ * @type {string}
11965
+ * @memberof UpdateDoctorAffiliationCommand
11966
+ */
11967
+ 'customStyle'?: string | null;
11968
+ /**
11969
+ *
11970
+ * @type {number}
11971
+ * @memberof UpdateDoctorAffiliationCommand
11972
+ */
11973
+ 'order'?: number;
11974
+ /**
11975
+ *
11976
+ * @type {string}
11977
+ * @memberof UpdateDoctorAffiliationCommand
11978
+ */
11979
+ 'photo'?: string | null;
11980
+ /**
11981
+ *
11982
+ * @type {string}
11983
+ * @memberof UpdateDoctorAffiliationCommand
11984
+ */
11985
+ 'photoThumbnail'?: string | null;
11986
+ /**
11987
+ *
11988
+ * @type {string}
11989
+ * @memberof UpdateDoctorAffiliationCommand
11990
+ */
11991
+ 'background'?: string | null;
11992
+ /**
11993
+ *
11994
+ * @type {string}
11995
+ * @memberof UpdateDoctorAffiliationCommand
11996
+ */
11997
+ 'backgroundThumbnail'?: string | null;
11998
+ /**
11999
+ *
12000
+ * @type {boolean}
12001
+ * @memberof UpdateDoctorAffiliationCommand
12002
+ */
12003
+ 'consultationEnabled'?: boolean | null;
12004
+ /**
12005
+ *
12006
+ * @type {number}
12007
+ * @memberof UpdateDoctorAffiliationCommand
12008
+ */
12009
+ 'consultationFee'?: number | null;
12010
+ /**
12011
+ *
12012
+ * @type {boolean}
12013
+ * @memberof UpdateDoctorAffiliationCommand
12014
+ */
12015
+ 'confirmed'?: boolean;
12016
+ /**
12017
+ *
12018
+ * @type {Array<MediaModel>}
12019
+ * @memberof UpdateDoctorAffiliationCommand
12020
+ */
12021
+ 'medias'?: Array<MediaModel> | null;
12022
+ }
12023
+ /**
12024
+ *
12025
+ * @export
12026
+ * @interface UpdateDoctorCertificateCommand
12027
+ */
12028
+ export interface UpdateDoctorCertificateCommand {
12029
+ /**
12030
+ *
12031
+ * @type {string}
12032
+ * @memberof UpdateDoctorCertificateCommand
12033
+ */
12034
+ 'certificate'?: string | null;
12035
+ /**
12036
+ *
12037
+ * @type {Date}
11695
12038
  * @memberof UpdateDoctorCertificateCommand
11696
12039
  */
11697
12040
  'activeFrom'?: Date | null;
@@ -23688,27 +24031,29 @@ export class DealsApi extends BaseAPI {
23688
24031
 
23689
24032
 
23690
24033
  /**
23691
- * DoctorsApi - axios parameter creator
24034
+ * DoctorAffiliationsApi - axios parameter creator
23692
24035
  * @export
23693
24036
  */
23694
- export const DoctorsApiAxiosParamCreator = function (configuration?: Configuration) {
24037
+ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
23695
24038
  return {
23696
24039
  /**
23697
24040
  *
23698
24041
  * @summary Get all doctor affiliations.
23699
- * @param {string} doctorId
24042
+ * @param {string} [hospitalId]
23700
24043
  * @param {string} [hospitalName]
24044
+ * @param {string} [doctorId]
24045
+ * @param {string} [name]
24046
+ * @param {string} [slug]
24047
+ * @param {string} [languageCode]
24048
+ * @param {boolean} [showHidden]
23701
24049
  * @param {number} [page]
23702
24050
  * @param {number} [limit]
23703
24051
  * @param {Date} [lastRetrieved]
23704
24052
  * @param {*} [options] Override http request option.
23705
24053
  * @throws {RequiredError}
23706
24054
  */
23707
- apiV1DoctorsDoctorIdAffiliationsGet: async (doctorId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23708
- // verify required parameter 'doctorId' is not null or undefined
23709
- assertParamExists('apiV1DoctorsDoctorIdAffiliationsGet', 'doctorId', doctorId)
23710
- const localVarPath = `/api/v1/doctors/{doctorId}/affiliations`
23711
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
24055
+ apiV1DoctoraffiliationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24056
+ const localVarPath = `/api/v1/doctoraffiliations`;
23712
24057
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23713
24058
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23714
24059
  let baseOptions;
@@ -23724,10 +24069,34 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
23724
24069
  // oauth required
23725
24070
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
23726
24071
 
24072
+ if (hospitalId !== undefined) {
24073
+ localVarQueryParameter['HospitalId'] = hospitalId;
24074
+ }
24075
+
23727
24076
  if (hospitalName !== undefined) {
23728
24077
  localVarQueryParameter['HospitalName'] = hospitalName;
23729
24078
  }
23730
24079
 
24080
+ if (doctorId !== undefined) {
24081
+ localVarQueryParameter['DoctorId'] = doctorId;
24082
+ }
24083
+
24084
+ if (name !== undefined) {
24085
+ localVarQueryParameter['Name'] = name;
24086
+ }
24087
+
24088
+ if (slug !== undefined) {
24089
+ localVarQueryParameter['Slug'] = slug;
24090
+ }
24091
+
24092
+ if (languageCode !== undefined) {
24093
+ localVarQueryParameter['LanguageCode'] = languageCode;
24094
+ }
24095
+
24096
+ if (showHidden !== undefined) {
24097
+ localVarQueryParameter['ShowHidden'] = showHidden;
24098
+ }
24099
+
23731
24100
  if (page !== undefined) {
23732
24101
  localVarQueryParameter['page'] = page;
23733
24102
  }
@@ -23756,19 +24125,15 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
23756
24125
  /**
23757
24126
  *
23758
24127
  * @summary Delete doctor affiliation.
23759
- * @param {string} doctorId
23760
- * @param {string} hospitalId
24128
+ * @param {string} id
23761
24129
  * @param {*} [options] Override http request option.
23762
24130
  * @throws {RequiredError}
23763
24131
  */
23764
- apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete: async (doctorId: string, hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23765
- // verify required parameter 'doctorId' is not null or undefined
23766
- assertParamExists('apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete', 'doctorId', doctorId)
23767
- // verify required parameter 'hospitalId' is not null or undefined
23768
- assertParamExists('apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete', 'hospitalId', hospitalId)
23769
- const localVarPath = `/api/v1/doctors/{doctorId}/affiliations/{hospitalId}`
23770
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
23771
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
24132
+ apiV1DoctoraffiliationsIdDelete: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24133
+ // verify required parameter 'id' is not null or undefined
24134
+ assertParamExists('apiV1DoctoraffiliationsIdDelete', 'id', id)
24135
+ const localVarPath = `/api/v1/doctoraffiliations/{id}`
24136
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
23772
24137
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23773
24138
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23774
24139
  let baseOptions;
@@ -23798,19 +24163,15 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
23798
24163
  /**
23799
24164
  *
23800
24165
  * @summary Get doctor affiliation.
23801
- * @param {string} doctorId
23802
- * @param {string} hospitalId
24166
+ * @param {string} id
23803
24167
  * @param {*} [options] Override http request option.
23804
24168
  * @throws {RequiredError}
23805
24169
  */
23806
- apiV1DoctorsDoctorIdAffiliationsHospitalIdGet: async (doctorId: string, hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23807
- // verify required parameter 'doctorId' is not null or undefined
23808
- assertParamExists('apiV1DoctorsDoctorIdAffiliationsHospitalIdGet', 'doctorId', doctorId)
23809
- // verify required parameter 'hospitalId' is not null or undefined
23810
- assertParamExists('apiV1DoctorsDoctorIdAffiliationsHospitalIdGet', 'hospitalId', hospitalId)
23811
- const localVarPath = `/api/v1/doctors/{doctorId}/affiliations/{hospitalId}`
23812
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
23813
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
24170
+ apiV1DoctoraffiliationsIdGet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24171
+ // verify required parameter 'id' is not null or undefined
24172
+ assertParamExists('apiV1DoctoraffiliationsIdGet', 'id', id)
24173
+ const localVarPath = `/api/v1/doctoraffiliations/{id}`
24174
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
23814
24175
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23815
24176
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23816
24177
  let baseOptions;
@@ -23839,16 +24200,54 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
23839
24200
  },
23840
24201
  /**
23841
24202
  *
23842
- * @param {string} doctorId
24203
+ * @summary Update Hospital.
24204
+ * @param {string} id
24205
+ * @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
24206
+ * @param {*} [options] Override http request option.
24207
+ * @throws {RequiredError}
24208
+ */
24209
+ apiV1DoctoraffiliationsIdPut: async (id: string, updateDoctorAffiliationCommand?: UpdateDoctorAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24210
+ // verify required parameter 'id' is not null or undefined
24211
+ assertParamExists('apiV1DoctoraffiliationsIdPut', 'id', id)
24212
+ const localVarPath = `/api/v1/doctoraffiliations/{id}`
24213
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
24214
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24215
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24216
+ let baseOptions;
24217
+ if (configuration) {
24218
+ baseOptions = configuration.baseOptions;
24219
+ }
24220
+
24221
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
24222
+ const localVarHeaderParameter = {} as any;
24223
+ const localVarQueryParameter = {} as any;
24224
+
24225
+ // authentication oauth2 required
24226
+ // oauth required
24227
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
24228
+
24229
+
24230
+
24231
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24232
+
24233
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24234
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24235
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
24236
+ localVarRequestOptions.data = serializeDataIfNeeded(updateDoctorAffiliationCommand, localVarRequestOptions, configuration)
24237
+
24238
+ return {
24239
+ url: toPathString(localVarUrlObj),
24240
+ options: localVarRequestOptions,
24241
+ };
24242
+ },
24243
+ /**
24244
+ *
23843
24245
  * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
23844
24246
  * @param {*} [options] Override http request option.
23845
24247
  * @throws {RequiredError}
23846
24248
  */
23847
- apiV1DoctorsDoctorIdAffiliationsPost: async (doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23848
- // verify required parameter 'doctorId' is not null or undefined
23849
- assertParamExists('apiV1DoctorsDoctorIdAffiliationsPost', 'doctorId', doctorId)
23850
- const localVarPath = `/api/v1/doctors/{doctorId}/affiliations`
23851
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
24249
+ apiV1DoctoraffiliationsPost: async (createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
24250
+ const localVarPath = `/api/v1/doctoraffiliations`;
23852
24251
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23853
24252
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23854
24253
  let baseOptions;
@@ -23878,6 +24277,236 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
23878
24277
  options: localVarRequestOptions,
23879
24278
  };
23880
24279
  },
24280
+ }
24281
+ };
24282
+
24283
+ /**
24284
+ * DoctorAffiliationsApi - functional programming interface
24285
+ * @export
24286
+ */
24287
+ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
24288
+ const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
24289
+ return {
24290
+ /**
24291
+ *
24292
+ * @summary Get all doctor affiliations.
24293
+ * @param {string} [hospitalId]
24294
+ * @param {string} [hospitalName]
24295
+ * @param {string} [doctorId]
24296
+ * @param {string} [name]
24297
+ * @param {string} [slug]
24298
+ * @param {string} [languageCode]
24299
+ * @param {boolean} [showHidden]
24300
+ * @param {number} [page]
24301
+ * @param {number} [limit]
24302
+ * @param {Date} [lastRetrieved]
24303
+ * @param {*} [options] Override http request option.
24304
+ * @throws {RequiredError}
24305
+ */
24306
+ async apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
24307
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options);
24308
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24309
+ },
24310
+ /**
24311
+ *
24312
+ * @summary Delete doctor affiliation.
24313
+ * @param {string} id
24314
+ * @param {*} [options] Override http request option.
24315
+ * @throws {RequiredError}
24316
+ */
24317
+ async apiV1DoctoraffiliationsIdDelete(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
24318
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdDelete(id, options);
24319
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24320
+ },
24321
+ /**
24322
+ *
24323
+ * @summary Get doctor affiliation.
24324
+ * @param {string} id
24325
+ * @param {*} [options] Override http request option.
24326
+ * @throws {RequiredError}
24327
+ */
24328
+ async apiV1DoctoraffiliationsIdGet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
24329
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdGet(id, options);
24330
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24331
+ },
24332
+ /**
24333
+ *
24334
+ * @summary Update Hospital.
24335
+ * @param {string} id
24336
+ * @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
24337
+ * @param {*} [options] Override http request option.
24338
+ * @throws {RequiredError}
24339
+ */
24340
+ async apiV1DoctoraffiliationsIdPut(id: string, updateDoctorAffiliationCommand?: UpdateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
24341
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options);
24342
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24343
+ },
24344
+ /**
24345
+ *
24346
+ * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
24347
+ * @param {*} [options] Override http request option.
24348
+ * @throws {RequiredError}
24349
+ */
24350
+ async apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
24351
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options);
24352
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24353
+ },
24354
+ }
24355
+ };
24356
+
24357
+ /**
24358
+ * DoctorAffiliationsApi - factory interface
24359
+ * @export
24360
+ */
24361
+ export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
24362
+ const localVarFp = DoctorAffiliationsApiFp(configuration)
24363
+ return {
24364
+ /**
24365
+ *
24366
+ * @summary Get all doctor affiliations.
24367
+ * @param {string} [hospitalId]
24368
+ * @param {string} [hospitalName]
24369
+ * @param {string} [doctorId]
24370
+ * @param {string} [name]
24371
+ * @param {string} [slug]
24372
+ * @param {string} [languageCode]
24373
+ * @param {boolean} [showHidden]
24374
+ * @param {number} [page]
24375
+ * @param {number} [limit]
24376
+ * @param {Date} [lastRetrieved]
24377
+ * @param {*} [options] Override http request option.
24378
+ * @throws {RequiredError}
24379
+ */
24380
+ apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
24381
+ return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
24382
+ },
24383
+ /**
24384
+ *
24385
+ * @summary Delete doctor affiliation.
24386
+ * @param {string} id
24387
+ * @param {*} [options] Override http request option.
24388
+ * @throws {RequiredError}
24389
+ */
24390
+ apiV1DoctoraffiliationsIdDelete(id: string, options?: any): AxiosPromise<boolean> {
24391
+ return localVarFp.apiV1DoctoraffiliationsIdDelete(id, options).then((request) => request(axios, basePath));
24392
+ },
24393
+ /**
24394
+ *
24395
+ * @summary Get doctor affiliation.
24396
+ * @param {string} id
24397
+ * @param {*} [options] Override http request option.
24398
+ * @throws {RequiredError}
24399
+ */
24400
+ apiV1DoctoraffiliationsIdGet(id: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
24401
+ return localVarFp.apiV1DoctoraffiliationsIdGet(id, options).then((request) => request(axios, basePath));
24402
+ },
24403
+ /**
24404
+ *
24405
+ * @summary Update Hospital.
24406
+ * @param {string} id
24407
+ * @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
24408
+ * @param {*} [options] Override http request option.
24409
+ * @throws {RequiredError}
24410
+ */
24411
+ apiV1DoctoraffiliationsIdPut(id: string, updateDoctorAffiliationCommand?: UpdateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
24412
+ return localVarFp.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
24413
+ },
24414
+ /**
24415
+ *
24416
+ * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
24417
+ * @param {*} [options] Override http request option.
24418
+ * @throws {RequiredError}
24419
+ */
24420
+ apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
24421
+ return localVarFp.apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
24422
+ },
24423
+ };
24424
+ };
24425
+
24426
+ /**
24427
+ * DoctorAffiliationsApi - object-oriented interface
24428
+ * @export
24429
+ * @class DoctorAffiliationsApi
24430
+ * @extends {BaseAPI}
24431
+ */
24432
+ export class DoctorAffiliationsApi extends BaseAPI {
24433
+ /**
24434
+ *
24435
+ * @summary Get all doctor affiliations.
24436
+ * @param {string} [hospitalId]
24437
+ * @param {string} [hospitalName]
24438
+ * @param {string} [doctorId]
24439
+ * @param {string} [name]
24440
+ * @param {string} [slug]
24441
+ * @param {string} [languageCode]
24442
+ * @param {boolean} [showHidden]
24443
+ * @param {number} [page]
24444
+ * @param {number} [limit]
24445
+ * @param {Date} [lastRetrieved]
24446
+ * @param {*} [options] Override http request option.
24447
+ * @throws {RequiredError}
24448
+ * @memberof DoctorAffiliationsApi
24449
+ */
24450
+ public apiV1DoctoraffiliationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
24451
+ return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
24452
+ }
24453
+
24454
+ /**
24455
+ *
24456
+ * @summary Delete doctor affiliation.
24457
+ * @param {string} id
24458
+ * @param {*} [options] Override http request option.
24459
+ * @throws {RequiredError}
24460
+ * @memberof DoctorAffiliationsApi
24461
+ */
24462
+ public apiV1DoctoraffiliationsIdDelete(id: string, options?: AxiosRequestConfig) {
24463
+ return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdDelete(id, options).then((request) => request(this.axios, this.basePath));
24464
+ }
24465
+
24466
+ /**
24467
+ *
24468
+ * @summary Get doctor affiliation.
24469
+ * @param {string} id
24470
+ * @param {*} [options] Override http request option.
24471
+ * @throws {RequiredError}
24472
+ * @memberof DoctorAffiliationsApi
24473
+ */
24474
+ public apiV1DoctoraffiliationsIdGet(id: string, options?: AxiosRequestConfig) {
24475
+ return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdGet(id, options).then((request) => request(this.axios, this.basePath));
24476
+ }
24477
+
24478
+ /**
24479
+ *
24480
+ * @summary Update Hospital.
24481
+ * @param {string} id
24482
+ * @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
24483
+ * @param {*} [options] Override http request option.
24484
+ * @throws {RequiredError}
24485
+ * @memberof DoctorAffiliationsApi
24486
+ */
24487
+ public apiV1DoctoraffiliationsIdPut(id: string, updateDoctorAffiliationCommand?: UpdateDoctorAffiliationCommand, options?: AxiosRequestConfig) {
24488
+ return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
24489
+ }
24490
+
24491
+ /**
24492
+ *
24493
+ * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
24494
+ * @param {*} [options] Override http request option.
24495
+ * @throws {RequiredError}
24496
+ * @memberof DoctorAffiliationsApi
24497
+ */
24498
+ public apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig) {
24499
+ return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
24500
+ }
24501
+ }
24502
+
24503
+
24504
+ /**
24505
+ * DoctorsApi - axios parameter creator
24506
+ * @export
24507
+ */
24508
+ export const DoctorsApiAxiosParamCreator = function (configuration?: Configuration) {
24509
+ return {
23881
24510
  /**
23882
24511
  *
23883
24512
  * @summary Delete DoctorCertificate.
@@ -25803,56 +26432,6 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
25803
26432
  export const DoctorsApiFp = function(configuration?: Configuration) {
25804
26433
  const localVarAxiosParamCreator = DoctorsApiAxiosParamCreator(configuration)
25805
26434
  return {
25806
- /**
25807
- *
25808
- * @summary Get all doctor affiliations.
25809
- * @param {string} doctorId
25810
- * @param {string} [hospitalName]
25811
- * @param {number} [page]
25812
- * @param {number} [limit]
25813
- * @param {Date} [lastRetrieved]
25814
- * @param {*} [options] Override http request option.
25815
- * @throws {RequiredError}
25816
- */
25817
- async apiV1DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationsModel>> {
25818
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options);
25819
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25820
- },
25821
- /**
25822
- *
25823
- * @summary Delete doctor affiliation.
25824
- * @param {string} doctorId
25825
- * @param {string} hospitalId
25826
- * @param {*} [options] Override http request option.
25827
- * @throws {RequiredError}
25828
- */
25829
- async apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
25830
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options);
25831
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25832
- },
25833
- /**
25834
- *
25835
- * @summary Get doctor affiliation.
25836
- * @param {string} doctorId
25837
- * @param {string} hospitalId
25838
- * @param {*} [options] Override http request option.
25839
- * @throws {RequiredError}
25840
- */
25841
- async apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
25842
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options);
25843
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25844
- },
25845
- /**
25846
- *
25847
- * @param {string} doctorId
25848
- * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
25849
- * @param {*} [options] Override http request option.
25850
- * @throws {RequiredError}
25851
- */
25852
- async apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorAffiliationModel>> {
25853
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options);
25854
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
25855
- },
25856
26435
  /**
25857
26436
  *
25858
26437
  * @summary Delete DoctorCertificate.
@@ -26370,52 +26949,6 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
26370
26949
  export const DoctorsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
26371
26950
  const localVarFp = DoctorsApiFp(configuration)
26372
26951
  return {
26373
- /**
26374
- *
26375
- * @summary Get all doctor affiliations.
26376
- * @param {string} doctorId
26377
- * @param {string} [hospitalName]
26378
- * @param {number} [page]
26379
- * @param {number} [limit]
26380
- * @param {Date} [lastRetrieved]
26381
- * @param {*} [options] Override http request option.
26382
- * @throws {RequiredError}
26383
- */
26384
- apiV1DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorAffiliationsModel> {
26385
- return localVarFp.apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
26386
- },
26387
- /**
26388
- *
26389
- * @summary Delete doctor affiliation.
26390
- * @param {string} doctorId
26391
- * @param {string} hospitalId
26392
- * @param {*} [options] Override http request option.
26393
- * @throws {RequiredError}
26394
- */
26395
- apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId: string, hospitalId: string, options?: any): AxiosPromise<boolean> {
26396
- return localVarFp.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options).then((request) => request(axios, basePath));
26397
- },
26398
- /**
26399
- *
26400
- * @summary Get doctor affiliation.
26401
- * @param {string} doctorId
26402
- * @param {string} hospitalId
26403
- * @param {*} [options] Override http request option.
26404
- * @throws {RequiredError}
26405
- */
26406
- apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId: string, hospitalId: string, options?: any): AxiosPromise<DoctorAffiliationModel> {
26407
- return localVarFp.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then((request) => request(axios, basePath));
26408
- },
26409
- /**
26410
- *
26411
- * @param {string} doctorId
26412
- * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
26413
- * @param {*} [options] Override http request option.
26414
- * @throws {RequiredError}
26415
- */
26416
- apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: any): AxiosPromise<DoctorAffiliationModel> {
26417
- return localVarFp.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then((request) => request(axios, basePath));
26418
- },
26419
26952
  /**
26420
26953
  *
26421
26954
  * @summary Delete DoctorCertificate.
@@ -26896,60 +27429,6 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
26896
27429
  * @extends {BaseAPI}
26897
27430
  */
26898
27431
  export class DoctorsApi extends BaseAPI {
26899
- /**
26900
- *
26901
- * @summary Get all doctor affiliations.
26902
- * @param {string} doctorId
26903
- * @param {string} [hospitalName]
26904
- * @param {number} [page]
26905
- * @param {number} [limit]
26906
- * @param {Date} [lastRetrieved]
26907
- * @param {*} [options] Override http request option.
26908
- * @throws {RequiredError}
26909
- * @memberof DoctorsApi
26910
- */
26911
- public apiV1DoctorsDoctorIdAffiliationsGet(doctorId: string, hospitalName?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
26912
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
26913
- }
26914
-
26915
- /**
26916
- *
26917
- * @summary Delete doctor affiliation.
26918
- * @param {string} doctorId
26919
- * @param {string} hospitalId
26920
- * @param {*} [options] Override http request option.
26921
- * @throws {RequiredError}
26922
- * @memberof DoctorsApi
26923
- */
26924
- public apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId: string, hospitalId: string, options?: AxiosRequestConfig) {
26925
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options).then((request) => request(this.axios, this.basePath));
26926
- }
26927
-
26928
- /**
26929
- *
26930
- * @summary Get doctor affiliation.
26931
- * @param {string} doctorId
26932
- * @param {string} hospitalId
26933
- * @param {*} [options] Override http request option.
26934
- * @throws {RequiredError}
26935
- * @memberof DoctorsApi
26936
- */
26937
- public apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId: string, hospitalId: string, options?: AxiosRequestConfig) {
26938
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then((request) => request(this.axios, this.basePath));
26939
- }
26940
-
26941
- /**
26942
- *
26943
- * @param {string} doctorId
26944
- * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
26945
- * @param {*} [options] Override http request option.
26946
- * @throws {RequiredError}
26947
- * @memberof DoctorsApi
26948
- */
26949
- public apiV1DoctorsDoctorIdAffiliationsPost(doctorId: string, createDoctorAffiliationCommand?: CreateDoctorAffiliationCommand, options?: AxiosRequestConfig) {
26950
- return DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
26951
- }
26952
-
26953
27432
  /**
26954
27433
  *
26955
27434
  * @summary Delete DoctorCertificate.