ch-api-client-typescript2 4.0.9 → 4.1.4

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
@@ -784,18 +784,6 @@ export interface ArticleSourcesModel {
784
784
  */
785
785
  'metaData'?: PagedListMetaData;
786
786
  }
787
- /**
788
- *
789
- * @export
790
- * @enum {string}
791
- */
792
-
793
- export enum ArticleStatus {
794
- Draft = 'Draft',
795
- Active = 'Active',
796
- Archived = 'Archived'
797
- }
798
-
799
787
  /**
800
788
  *
801
789
  * @export
@@ -5910,6 +5898,36 @@ export interface HospitalServiceItemModel {
5910
5898
  * @memberof HospitalServiceItemModel
5911
5899
  */
5912
5900
  'hospitalSpecialtySlug'?: string | null;
5901
+ /**
5902
+ *
5903
+ * @type {string}
5904
+ * @memberof HospitalServiceItemModel
5905
+ */
5906
+ 'hospitalSpecialtyId'?: string;
5907
+ /**
5908
+ *
5909
+ * @type {Procedure}
5910
+ * @memberof HospitalServiceItemModel
5911
+ */
5912
+ 'procedure'?: Procedure;
5913
+ /**
5914
+ *
5915
+ * @type {number}
5916
+ * @memberof HospitalServiceItemModel
5917
+ */
5918
+ 'minPrice'?: number | null;
5919
+ /**
5920
+ *
5921
+ * @type {number}
5922
+ * @memberof HospitalServiceItemModel
5923
+ */
5924
+ 'maxPrice'?: number | null;
5925
+ /**
5926
+ *
5927
+ * @type {boolean}
5928
+ * @memberof HospitalServiceItemModel
5929
+ */
5930
+ 'priceReuqest'?: boolean;
5913
5931
  /**
5914
5932
  *
5915
5933
  * @type {number}
@@ -5983,6 +6001,36 @@ export interface HospitalServiceModel {
5983
6001
  * @memberof HospitalServiceModel
5984
6002
  */
5985
6003
  'hospitalSpecialtySlug'?: string | null;
6004
+ /**
6005
+ *
6006
+ * @type {string}
6007
+ * @memberof HospitalServiceModel
6008
+ */
6009
+ 'hospitalSpecialtyId'?: string;
6010
+ /**
6011
+ *
6012
+ * @type {Procedure}
6013
+ * @memberof HospitalServiceModel
6014
+ */
6015
+ 'procedure'?: Procedure;
6016
+ /**
6017
+ *
6018
+ * @type {number}
6019
+ * @memberof HospitalServiceModel
6020
+ */
6021
+ 'minPrice'?: number | null;
6022
+ /**
6023
+ *
6024
+ * @type {number}
6025
+ * @memberof HospitalServiceModel
6026
+ */
6027
+ 'maxPrice'?: number | null;
6028
+ /**
6029
+ *
6030
+ * @type {boolean}
6031
+ * @memberof HospitalServiceModel
6032
+ */
6033
+ 'priceReuqest'?: boolean;
5986
6034
  /**
5987
6035
  *
5988
6036
  * @type {number}
@@ -6061,30 +6109,6 @@ export interface HospitalServiceModel {
6061
6109
  * @memberof HospitalServiceModel
6062
6110
  */
6063
6111
  'serviceCategoryName'?: string | null;
6064
- /**
6065
- *
6066
- * @type {Procedure}
6067
- * @memberof HospitalServiceModel
6068
- */
6069
- 'procedure'?: Procedure;
6070
- /**
6071
- *
6072
- * @type {number}
6073
- * @memberof HospitalServiceModel
6074
- */
6075
- 'minPrice'?: number | null;
6076
- /**
6077
- *
6078
- * @type {number}
6079
- * @memberof HospitalServiceModel
6080
- */
6081
- 'maxPrice'?: number | null;
6082
- /**
6083
- *
6084
- * @type {boolean}
6085
- * @memberof HospitalServiceModel
6086
- */
6087
- 'priceReuqest'?: boolean;
6088
6112
  /**
6089
6113
  *
6090
6114
  * @type {string}
@@ -6295,6 +6319,30 @@ export interface HospitalSpecialtyItemModel {
6295
6319
  * @memberof HospitalSpecialtyItemModel
6296
6320
  */
6297
6321
  'specialtyId'?: string;
6322
+ /**
6323
+ *
6324
+ * @type {string}
6325
+ * @memberof HospitalSpecialtyItemModel
6326
+ */
6327
+ 'specialtyName'?: string | null;
6328
+ /**
6329
+ *
6330
+ * @type {string}
6331
+ * @memberof HospitalSpecialtyItemModel
6332
+ */
6333
+ 'specialtyTypeId'?: string;
6334
+ /**
6335
+ *
6336
+ * @type {string}
6337
+ * @memberof HospitalSpecialtyItemModel
6338
+ */
6339
+ 'specialtyTypeName'?: string | null;
6340
+ /**
6341
+ *
6342
+ * @type {MarketingType}
6343
+ * @memberof HospitalSpecialtyItemModel
6344
+ */
6345
+ 'marketingType'?: MarketingType;
6298
6346
  /**
6299
6347
  *
6300
6348
  * @type {AuditableEntity}
@@ -6382,58 +6430,70 @@ export interface HospitalSpecialtyModel {
6382
6430
  'specialtyId'?: string;
6383
6431
  /**
6384
6432
  *
6385
- * @type {AuditableEntity}
6433
+ * @type {string}
6386
6434
  * @memberof HospitalSpecialtyModel
6387
6435
  */
6388
- 'auditableEntity'?: AuditableEntity;
6436
+ 'specialtyName'?: string | null;
6389
6437
  /**
6390
6438
  *
6391
6439
  * @type {string}
6392
6440
  * @memberof HospitalSpecialtyModel
6393
6441
  */
6394
- 'description'?: string | null;
6442
+ 'specialtyTypeId'?: string;
6395
6443
  /**
6396
6444
  *
6397
6445
  * @type {string}
6398
6446
  * @memberof HospitalSpecialtyModel
6399
6447
  */
6400
- 'overview'?: string | null;
6448
+ 'specialtyTypeName'?: string | null;
6449
+ /**
6450
+ *
6451
+ * @type {MarketingType}
6452
+ * @memberof HospitalSpecialtyModel
6453
+ */
6454
+ 'marketingType'?: MarketingType;
6455
+ /**
6456
+ *
6457
+ * @type {AuditableEntity}
6458
+ * @memberof HospitalSpecialtyModel
6459
+ */
6460
+ 'auditableEntity'?: AuditableEntity;
6401
6461
  /**
6402
6462
  *
6403
6463
  * @type {string}
6404
6464
  * @memberof HospitalSpecialtyModel
6405
6465
  */
6406
- 'content'?: string | null;
6466
+ 'description'?: string | null;
6407
6467
  /**
6408
6468
  *
6409
6469
  * @type {string}
6410
6470
  * @memberof HospitalSpecialtyModel
6411
6471
  */
6412
- 'hospitalId'?: string;
6472
+ 'overview'?: string | null;
6413
6473
  /**
6414
6474
  *
6415
6475
  * @type {string}
6416
6476
  * @memberof HospitalSpecialtyModel
6417
6477
  */
6418
- 'hospitalName'?: string | null;
6478
+ 'content'?: string | null;
6419
6479
  /**
6420
6480
  *
6421
6481
  * @type {string}
6422
6482
  * @memberof HospitalSpecialtyModel
6423
6483
  */
6424
- 'hospitalSlug'?: string | null;
6484
+ 'hospitalId'?: string;
6425
6485
  /**
6426
6486
  *
6427
6487
  * @type {string}
6428
6488
  * @memberof HospitalSpecialtyModel
6429
6489
  */
6430
- 'specialtyName'?: string | null;
6490
+ 'hospitalName'?: string | null;
6431
6491
  /**
6432
6492
  *
6433
6493
  * @type {string}
6434
6494
  * @memberof HospitalSpecialtyModel
6435
6495
  */
6436
- 'specialtyTypeId'?: string;
6496
+ 'hospitalSlug'?: string | null;
6437
6497
  /**
6438
6498
  *
6439
6499
  * @type {string}
@@ -8064,6 +8124,12 @@ export interface ServiceReviewItemModel {
8064
8124
  * @memberof ServiceReviewItemModel
8065
8125
  */
8066
8126
  'serviceSlug'?: string | null;
8127
+ /**
8128
+ *
8129
+ * @type {string}
8130
+ * @memberof ServiceReviewItemModel
8131
+ */
8132
+ 'hospitalId'?: string;
8067
8133
  /**
8068
8134
  *
8069
8135
  * @type {string}
@@ -8191,6 +8257,12 @@ export interface ServiceReviewModel {
8191
8257
  * @memberof ServiceReviewModel
8192
8258
  */
8193
8259
  'serviceSlug'?: string | null;
8260
+ /**
8261
+ *
8262
+ * @type {string}
8263
+ * @memberof ServiceReviewModel
8264
+ */
8265
+ 'hospitalId'?: string;
8194
8266
  /**
8195
8267
  *
8196
8268
  * @type {string}
@@ -10697,7 +10769,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10697
10769
  * @param {string} [id]
10698
10770
  * @param {string} [name]
10699
10771
  * @param {string} [description]
10700
- * @param {ArticleStatus} [status]
10701
10772
  * @param {MarketingType} [marketingType]
10702
10773
  * @param {string} [userId]
10703
10774
  * @param {string} [userName]
@@ -10717,7 +10788,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10717
10788
  * @param {*} [options] Override http request option.
10718
10789
  * @throws {RequiredError}
10719
10790
  */
10720
- apiV2ArticlesGet: async (id?: string, name?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10791
+ apiV2ArticlesGet: async (id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
10721
10792
  const localVarPath = `/api/v2/articles`;
10722
10793
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10723
10794
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10742,10 +10813,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10742
10813
  localVarQueryParameter['Description'] = description;
10743
10814
  }
10744
10815
 
10745
- if (status !== undefined) {
10746
- localVarQueryParameter['Status'] = status;
10747
- }
10748
-
10749
10816
  if (marketingType !== undefined) {
10750
10817
  localVarQueryParameter['MarketingType'] = marketingType;
10751
10818
  }
@@ -11009,7 +11076,6 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
11009
11076
  * @param {string} [id]
11010
11077
  * @param {string} [name]
11011
11078
  * @param {string} [description]
11012
- * @param {ArticleStatus} [status]
11013
11079
  * @param {MarketingType} [marketingType]
11014
11080
  * @param {string} [userId]
11015
11081
  * @param {string} [userName]
@@ -11029,8 +11095,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
11029
11095
  * @param {*} [options] Override http request option.
11030
11096
  * @throws {RequiredError}
11031
11097
  */
11032
- async apiV2ArticlesGet(id?: string, name?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
11033
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
11098
+ async apiV2ArticlesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArticlesModel>> {
11099
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
11034
11100
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11035
11101
  },
11036
11102
  /**
@@ -11179,7 +11245,6 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
11179
11245
  * @param {string} [id]
11180
11246
  * @param {string} [name]
11181
11247
  * @param {string} [description]
11182
- * @param {ArticleStatus} [status]
11183
11248
  * @param {MarketingType} [marketingType]
11184
11249
  * @param {string} [userId]
11185
11250
  * @param {string} [userName]
@@ -11199,8 +11264,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
11199
11264
  * @param {*} [options] Override http request option.
11200
11265
  * @throws {RequiredError}
11201
11266
  */
11202
- apiV2ArticlesGet(id?: string, name?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
11203
- return localVarFp.apiV2ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
11267
+ apiV2ArticlesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
11268
+ return localVarFp.apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
11204
11269
  },
11205
11270
  /**
11206
11271
  *
@@ -11365,7 +11430,6 @@ export class ArticlesApi extends BaseAPI {
11365
11430
  * @param {string} [id]
11366
11431
  * @param {string} [name]
11367
11432
  * @param {string} [description]
11368
- * @param {ArticleStatus} [status]
11369
11433
  * @param {MarketingType} [marketingType]
11370
11434
  * @param {string} [userId]
11371
11435
  * @param {string} [userName]
@@ -11386,8 +11450,8 @@ export class ArticlesApi extends BaseAPI {
11386
11450
  * @throws {RequiredError}
11387
11451
  * @memberof ArticlesApi
11388
11452
  */
11389
- public apiV2ArticlesGet(id?: string, name?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
11390
- return ArticlesApiFp(this.configuration).apiV2ArticlesGet(id, name, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
11453
+ public apiV2ArticlesGet(id?: string, name?: string, description?: string, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptArticleId?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
11454
+ return ArticlesApiFp(this.configuration).apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
11391
11455
  }
11392
11456
 
11393
11457
  /**
@@ -15366,6 +15430,105 @@ export class DealsApi extends BaseAPI {
15366
15430
  */
15367
15431
  export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
15368
15432
  return {
15433
+ /**
15434
+ *
15435
+ * @summary Get all DoctorAffiliationMedias.
15436
+ * @param {string} doctorAffiliationId
15437
+ * @param {string} [id]
15438
+ * @param {MediaType} [mediaType]
15439
+ * @param {number} [page]
15440
+ * @param {number} [limit]
15441
+ * @param {Date} [lastRetrieved]
15442
+ * @param {*} [options] Override http request option.
15443
+ * @throws {RequiredError}
15444
+ */
15445
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: async (doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15446
+ // verify required parameter 'doctorAffiliationId' is not null or undefined
15447
+ assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet', 'doctorAffiliationId', doctorAffiliationId)
15448
+ const localVarPath = `/api/v2/doctoraffiliations/{doctorAffiliationId}/medias`
15449
+ .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
15450
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15451
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15452
+ let baseOptions;
15453
+ if (configuration) {
15454
+ baseOptions = configuration.baseOptions;
15455
+ }
15456
+
15457
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15458
+ const localVarHeaderParameter = {} as any;
15459
+ const localVarQueryParameter = {} as any;
15460
+
15461
+ if (id !== undefined) {
15462
+ localVarQueryParameter['Id'] = id;
15463
+ }
15464
+
15465
+ if (mediaType !== undefined) {
15466
+ localVarQueryParameter['MediaType'] = mediaType;
15467
+ }
15468
+
15469
+ if (page !== undefined) {
15470
+ localVarQueryParameter['page'] = page;
15471
+ }
15472
+
15473
+ if (limit !== undefined) {
15474
+ localVarQueryParameter['limit'] = limit;
15475
+ }
15476
+
15477
+ if (lastRetrieved !== undefined) {
15478
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
15479
+ (lastRetrieved as any).toISOString() :
15480
+ lastRetrieved;
15481
+ }
15482
+
15483
+
15484
+
15485
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15486
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15487
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15488
+
15489
+ return {
15490
+ url: toPathString(localVarUrlObj),
15491
+ options: localVarRequestOptions,
15492
+ };
15493
+ },
15494
+ /**
15495
+ *
15496
+ * @summary Get DoctorAffiliationMedia.
15497
+ * @param {string} doctorAffiliationId
15498
+ * @param {string} mediaId
15499
+ * @param {*} [options] Override http request option.
15500
+ * @throws {RequiredError}
15501
+ */
15502
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15503
+ // verify required parameter 'doctorAffiliationId' is not null or undefined
15504
+ assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'doctorAffiliationId', doctorAffiliationId)
15505
+ // verify required parameter 'mediaId' is not null or undefined
15506
+ assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'mediaId', mediaId)
15507
+ const localVarPath = `/api/v2/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
15508
+ .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
15509
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
15510
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15511
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15512
+ let baseOptions;
15513
+ if (configuration) {
15514
+ baseOptions = configuration.baseOptions;
15515
+ }
15516
+
15517
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15518
+ const localVarHeaderParameter = {} as any;
15519
+ const localVarQueryParameter = {} as any;
15520
+
15521
+
15522
+
15523
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15524
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15525
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15526
+
15527
+ return {
15528
+ url: toPathString(localVarUrlObj),
15529
+ options: localVarRequestOptions,
15530
+ };
15531
+ },
15369
15532
  /**
15370
15533
  *
15371
15534
  * @summary Get all doctor affiliations.
@@ -15545,6 +15708,34 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
15545
15708
  export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
15546
15709
  const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
15547
15710
  return {
15711
+ /**
15712
+ *
15713
+ * @summary Get all DoctorAffiliationMedias.
15714
+ * @param {string} doctorAffiliationId
15715
+ * @param {string} [id]
15716
+ * @param {MediaType} [mediaType]
15717
+ * @param {number} [page]
15718
+ * @param {number} [limit]
15719
+ * @param {Date} [lastRetrieved]
15720
+ * @param {*} [options] Override http request option.
15721
+ * @throws {RequiredError}
15722
+ */
15723
+ async apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
15724
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options);
15725
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15726
+ },
15727
+ /**
15728
+ *
15729
+ * @summary Get DoctorAffiliationMedia.
15730
+ * @param {string} doctorAffiliationId
15731
+ * @param {string} mediaId
15732
+ * @param {*} [options] Override http request option.
15733
+ * @throws {RequiredError}
15734
+ */
15735
+ async apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
15736
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options);
15737
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15738
+ },
15548
15739
  /**
15549
15740
  *
15550
15741
  * @summary Get all doctor affiliations.
@@ -15600,6 +15791,32 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
15600
15791
  export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
15601
15792
  const localVarFp = DoctorAffiliationsApiFp(configuration)
15602
15793
  return {
15794
+ /**
15795
+ *
15796
+ * @summary Get all DoctorAffiliationMedias.
15797
+ * @param {string} doctorAffiliationId
15798
+ * @param {string} [id]
15799
+ * @param {MediaType} [mediaType]
15800
+ * @param {number} [page]
15801
+ * @param {number} [limit]
15802
+ * @param {Date} [lastRetrieved]
15803
+ * @param {*} [options] Override http request option.
15804
+ * @throws {RequiredError}
15805
+ */
15806
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
15807
+ return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
15808
+ },
15809
+ /**
15810
+ *
15811
+ * @summary Get DoctorAffiliationMedia.
15812
+ * @param {string} doctorAffiliationId
15813
+ * @param {string} mediaId
15814
+ * @param {*} [options] Override http request option.
15815
+ * @throws {RequiredError}
15816
+ */
15817
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
15818
+ return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
15819
+ },
15603
15820
  /**
15604
15821
  *
15605
15822
  * @summary Get all doctor affiliations.
@@ -15652,6 +15869,36 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
15652
15869
  * @extends {BaseAPI}
15653
15870
  */
15654
15871
  export class DoctorAffiliationsApi extends BaseAPI {
15872
+ /**
15873
+ *
15874
+ * @summary Get all DoctorAffiliationMedias.
15875
+ * @param {string} doctorAffiliationId
15876
+ * @param {string} [id]
15877
+ * @param {MediaType} [mediaType]
15878
+ * @param {number} [page]
15879
+ * @param {number} [limit]
15880
+ * @param {Date} [lastRetrieved]
15881
+ * @param {*} [options] Override http request option.
15882
+ * @throws {RequiredError}
15883
+ * @memberof DoctorAffiliationsApi
15884
+ */
15885
+ public apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
15886
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
15887
+ }
15888
+
15889
+ /**
15890
+ *
15891
+ * @summary Get DoctorAffiliationMedia.
15892
+ * @param {string} doctorAffiliationId
15893
+ * @param {string} mediaId
15894
+ * @param {*} [options] Override http request option.
15895
+ * @throws {RequiredError}
15896
+ * @memberof DoctorAffiliationsApi
15897
+ */
15898
+ public apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) {
15899
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(this.axios, this.basePath));
15900
+ }
15901
+
15655
15902
  /**
15656
15903
  *
15657
15904
  * @summary Get all doctor affiliations.
@@ -18460,10 +18707,11 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18460
18707
  *
18461
18708
  * @param {string} dealId
18462
18709
  * @param {string} [hospitalId]
18710
+ * @param {boolean} [isExternal]
18463
18711
  * @param {*} [options] Override http request option.
18464
18712
  * @throws {RequiredError}
18465
18713
  */
18466
- apiV2GroupchannelsDealDealIdGet: async (dealId: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18714
+ apiV2GroupchannelsDealDealIdGet: async (dealId: string, hospitalId?: string, isExternal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18467
18715
  // verify required parameter 'dealId' is not null or undefined
18468
18716
  assertParamExists('apiV2GroupchannelsDealDealIdGet', 'dealId', dealId)
18469
18717
  const localVarPath = `/api/v2/groupchannels/deal/{dealId}`
@@ -18487,6 +18735,10 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18487
18735
  localVarQueryParameter['hospitalId'] = hospitalId;
18488
18736
  }
18489
18737
 
18738
+ if (isExternal !== undefined) {
18739
+ localVarQueryParameter['isExternal'] = isExternal;
18740
+ }
18741
+
18490
18742
 
18491
18743
 
18492
18744
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18502,10 +18754,11 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18502
18754
  *
18503
18755
  * @param {string} doctorId
18504
18756
  * @param {string} [hospitalId]
18757
+ * @param {boolean} [isExternal]
18505
18758
  * @param {*} [options] Override http request option.
18506
18759
  * @throws {RequiredError}
18507
18760
  */
18508
- apiV2GroupchannelsDoctorDoctorIdGet: async (doctorId: string, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18761
+ apiV2GroupchannelsDoctorDoctorIdGet: async (doctorId: string, hospitalId?: string, isExternal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18509
18762
  // verify required parameter 'doctorId' is not null or undefined
18510
18763
  assertParamExists('apiV2GroupchannelsDoctorDoctorIdGet', 'doctorId', doctorId)
18511
18764
  const localVarPath = `/api/v2/groupchannels/doctor/{doctorId}`
@@ -18529,6 +18782,10 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18529
18782
  localVarQueryParameter['hospitalId'] = hospitalId;
18530
18783
  }
18531
18784
 
18785
+ if (isExternal !== undefined) {
18786
+ localVarQueryParameter['isExternal'] = isExternal;
18787
+ }
18788
+
18532
18789
 
18533
18790
 
18534
18791
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18543,10 +18800,11 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18543
18800
  /**
18544
18801
  *
18545
18802
  * @param {string} hospitalId
18803
+ * @param {boolean} [isExternal]
18546
18804
  * @param {*} [options] Override http request option.
18547
18805
  * @throws {RequiredError}
18548
18806
  */
18549
- apiV2GroupchannelsHospitalHospitalIdGet: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18807
+ apiV2GroupchannelsHospitalHospitalIdGet: async (hospitalId: string, isExternal?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18550
18808
  // verify required parameter 'hospitalId' is not null or undefined
18551
18809
  assertParamExists('apiV2GroupchannelsHospitalHospitalIdGet', 'hospitalId', hospitalId)
18552
18810
  const localVarPath = `/api/v2/groupchannels/hospital/{hospitalId}`
@@ -18566,6 +18824,10 @@ export const GroupChannelsApiAxiosParamCreator = function (configuration?: Confi
18566
18824
  // oauth required
18567
18825
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
18568
18826
 
18827
+ if (isExternal !== undefined) {
18828
+ localVarQueryParameter['isExternal'] = isExternal;
18829
+ }
18830
+
18569
18831
 
18570
18832
 
18571
18833
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18602,32 +18864,35 @@ export const GroupChannelsApiFp = function(configuration?: Configuration) {
18602
18864
  *
18603
18865
  * @param {string} dealId
18604
18866
  * @param {string} [hospitalId]
18867
+ * @param {boolean} [isExternal]
18605
18868
  * @param {*} [options] Override http request option.
18606
18869
  * @throws {RequiredError}
18607
18870
  */
18608
- async apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18609
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options);
18871
+ async apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
18872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options);
18610
18873
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18611
18874
  },
18612
18875
  /**
18613
18876
  *
18614
18877
  * @param {string} doctorId
18615
18878
  * @param {string} [hospitalId]
18879
+ * @param {boolean} [isExternal]
18616
18880
  * @param {*} [options] Override http request option.
18617
18881
  * @throws {RequiredError}
18618
18882
  */
18619
- async apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18620
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options);
18883
+ async apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
18884
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options);
18621
18885
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18622
18886
  },
18623
18887
  /**
18624
18888
  *
18625
18889
  * @param {string} hospitalId
18890
+ * @param {boolean} [isExternal]
18626
18891
  * @param {*} [options] Override http request option.
18627
18892
  * @throws {RequiredError}
18628
18893
  */
18629
- async apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SendBirdGroupChannelModel>> {
18630
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options);
18894
+ async apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
18895
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options);
18631
18896
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18632
18897
  },
18633
18898
  }
@@ -18654,30 +18919,33 @@ export const GroupChannelsApiFactory = function (configuration?: Configuration,
18654
18919
  *
18655
18920
  * @param {string} dealId
18656
18921
  * @param {string} [hospitalId]
18922
+ * @param {boolean} [isExternal]
18657
18923
  * @param {*} [options] Override http request option.
18658
18924
  * @throws {RequiredError}
18659
18925
  */
18660
- apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18661
- return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then((request) => request(axios, basePath));
18926
+ apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: any): AxiosPromise<string> {
18927
+ return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then((request) => request(axios, basePath));
18662
18928
  },
18663
18929
  /**
18664
18930
  *
18665
18931
  * @param {string} doctorId
18666
18932
  * @param {string} [hospitalId]
18933
+ * @param {boolean} [isExternal]
18667
18934
  * @param {*} [options] Override http request option.
18668
18935
  * @throws {RequiredError}
18669
18936
  */
18670
- apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18671
- return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then((request) => request(axios, basePath));
18937
+ apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: any): AxiosPromise<string> {
18938
+ return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then((request) => request(axios, basePath));
18672
18939
  },
18673
18940
  /**
18674
18941
  *
18675
18942
  * @param {string} hospitalId
18943
+ * @param {boolean} [isExternal]
18676
18944
  * @param {*} [options] Override http request option.
18677
18945
  * @throws {RequiredError}
18678
18946
  */
18679
- apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: any): AxiosPromise<SendBirdGroupChannelModel> {
18680
- return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then((request) => request(axios, basePath));
18947
+ apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: any): AxiosPromise<string> {
18948
+ return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then((request) => request(axios, basePath));
18681
18949
  },
18682
18950
  };
18683
18951
  };
@@ -18705,35 +18973,38 @@ export class GroupChannelsApi extends BaseAPI {
18705
18973
  *
18706
18974
  * @param {string} dealId
18707
18975
  * @param {string} [hospitalId]
18976
+ * @param {boolean} [isExternal]
18708
18977
  * @param {*} [options] Override http request option.
18709
18978
  * @throws {RequiredError}
18710
18979
  * @memberof GroupChannelsApi
18711
18980
  */
18712
- public apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, options?: AxiosRequestConfig) {
18713
- return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then((request) => request(this.axios, this.basePath));
18981
+ public apiV2GroupchannelsDealDealIdGet(dealId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig) {
18982
+ return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then((request) => request(this.axios, this.basePath));
18714
18983
  }
18715
18984
 
18716
18985
  /**
18717
18986
  *
18718
18987
  * @param {string} doctorId
18719
18988
  * @param {string} [hospitalId]
18989
+ * @param {boolean} [isExternal]
18720
18990
  * @param {*} [options] Override http request option.
18721
18991
  * @throws {RequiredError}
18722
18992
  * @memberof GroupChannelsApi
18723
18993
  */
18724
- public apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, options?: AxiosRequestConfig) {
18725
- return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then((request) => request(this.axios, this.basePath));
18994
+ public apiV2GroupchannelsDoctorDoctorIdGet(doctorId: string, hospitalId?: string, isExternal?: boolean, options?: AxiosRequestConfig) {
18995
+ return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then((request) => request(this.axios, this.basePath));
18726
18996
  }
18727
18997
 
18728
18998
  /**
18729
18999
  *
18730
19000
  * @param {string} hospitalId
19001
+ * @param {boolean} [isExternal]
18731
19002
  * @param {*} [options] Override http request option.
18732
19003
  * @throws {RequiredError}
18733
19004
  * @memberof GroupChannelsApi
18734
19005
  */
18735
- public apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, options?: AxiosRequestConfig) {
18736
- return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then((request) => request(this.axios, this.basePath));
19006
+ public apiV2GroupchannelsHospitalHospitalIdGet(hospitalId: string, isExternal?: boolean, options?: AxiosRequestConfig) {
19007
+ return GroupChannelsApiFp(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then((request) => request(this.axios, this.basePath));
18737
19008
  }
18738
19009
  }
18739
19010
 
@@ -19553,13 +19824,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19553
19824
  * @param {string} [slug]
19554
19825
  * @param {MarketingType} [marketingType]
19555
19826
  * @param {string} [languageCode]
19827
+ * @param {boolean} [showHidden]
19556
19828
  * @param {number} [page]
19557
19829
  * @param {number} [limit]
19558
19830
  * @param {Date} [lastRetrieved]
19559
19831
  * @param {*} [options] Override http request option.
19560
19832
  * @throws {RequiredError}
19561
19833
  */
19562
- apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19834
+ apiV2HospitalsHospitalIdSpecialtiesGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19563
19835
  // verify required parameter 'hospitalId' is not null or undefined
19564
19836
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
19565
19837
  const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
@@ -19611,6 +19883,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19611
19883
  localVarQueryParameter['LanguageCode'] = languageCode;
19612
19884
  }
19613
19885
 
19886
+ if (showHidden !== undefined) {
19887
+ localVarQueryParameter['ShowHidden'] = showHidden;
19888
+ }
19889
+
19614
19890
  if (page !== undefined) {
19615
19891
  localVarQueryParameter['page'] = page;
19616
19892
  }
@@ -19756,13 +20032,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19756
20032
  * @param {string} [slug]
19757
20033
  * @param {MarketingType} [marketingType]
19758
20034
  * @param {string} [languageCode]
20035
+ * @param {boolean} [showHidden]
19759
20036
  * @param {number} [page]
19760
20037
  * @param {number} [limit]
19761
20038
  * @param {Date} [lastRetrieved]
19762
20039
  * @param {*} [options] Override http request option.
19763
20040
  * @throws {RequiredError}
19764
20041
  */
19765
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
20042
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet: async (hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19766
20043
  // verify required parameter 'hospitalId' is not null or undefined
19767
20044
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
19768
20045
  const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/simple`
@@ -19814,6 +20091,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19814
20091
  localVarQueryParameter['LanguageCode'] = languageCode;
19815
20092
  }
19816
20093
 
20094
+ if (showHidden !== undefined) {
20095
+ localVarQueryParameter['ShowHidden'] = showHidden;
20096
+ }
20097
+
19817
20098
  if (page !== undefined) {
19818
20099
  localVarQueryParameter['page'] = page;
19819
20100
  }
@@ -20707,14 +20988,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
20707
20988
  * @param {string} [slug]
20708
20989
  * @param {MarketingType} [marketingType]
20709
20990
  * @param {string} [languageCode]
20991
+ * @param {boolean} [showHidden]
20710
20992
  * @param {number} [page]
20711
20993
  * @param {number} [limit]
20712
20994
  * @param {Date} [lastRetrieved]
20713
20995
  * @param {*} [options] Override http request option.
20714
20996
  * @throws {RequiredError}
20715
20997
  */
20716
- async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
20717
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options);
20998
+ async apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesModel>> {
20999
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
20718
21000
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20719
21001
  },
20720
21002
  /**
@@ -20760,14 +21042,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
20760
21042
  * @param {string} [slug]
20761
21043
  * @param {MarketingType} [marketingType]
20762
21044
  * @param {string} [languageCode]
21045
+ * @param {boolean} [showHidden]
20763
21046
  * @param {number} [page]
20764
21047
  * @param {number} [limit]
20765
21048
  * @param {Date} [lastRetrieved]
20766
21049
  * @param {*} [options] Override http request option.
20767
21050
  * @throws {RequiredError}
20768
21051
  */
20769
- async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
20770
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options);
21052
+ async apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalSpecialtiesSimpleModel>> {
21053
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
20771
21054
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20772
21055
  },
20773
21056
  /**
@@ -21160,14 +21443,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
21160
21443
  * @param {string} [slug]
21161
21444
  * @param {MarketingType} [marketingType]
21162
21445
  * @param {string} [languageCode]
21446
+ * @param {boolean} [showHidden]
21163
21447
  * @param {number} [page]
21164
21448
  * @param {number} [limit]
21165
21449
  * @param {Date} [lastRetrieved]
21166
21450
  * @param {*} [options] Override http request option.
21167
21451
  * @throws {RequiredError}
21168
21452
  */
21169
- apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
21170
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21453
+ apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesModel> {
21454
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21171
21455
  },
21172
21456
  /**
21173
21457
  *
@@ -21210,14 +21494,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
21210
21494
  * @param {string} [slug]
21211
21495
  * @param {MarketingType} [marketingType]
21212
21496
  * @param {string} [languageCode]
21497
+ * @param {boolean} [showHidden]
21213
21498
  * @param {number} [page]
21214
21499
  * @param {number} [limit]
21215
21500
  * @param {Date} [lastRetrieved]
21216
21501
  * @param {*} [options] Override http request option.
21217
21502
  * @throws {RequiredError}
21218
21503
  */
21219
- apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
21220
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21504
+ apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalSpecialtiesSimpleModel> {
21505
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21221
21506
  },
21222
21507
  /**
21223
21508
  *
@@ -21627,6 +21912,7 @@ export class HospitalsApi extends BaseAPI {
21627
21912
  * @param {string} [slug]
21628
21913
  * @param {MarketingType} [marketingType]
21629
21914
  * @param {string} [languageCode]
21915
+ * @param {boolean} [showHidden]
21630
21916
  * @param {number} [page]
21631
21917
  * @param {number} [limit]
21632
21918
  * @param {Date} [lastRetrieved]
@@ -21634,8 +21920,8 @@ export class HospitalsApi extends BaseAPI {
21634
21920
  * @throws {RequiredError}
21635
21921
  * @memberof HospitalsApi
21636
21922
  */
21637
- public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
21638
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
21923
+ public apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
21924
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
21639
21925
  }
21640
21926
 
21641
21927
  /**
@@ -21683,6 +21969,7 @@ export class HospitalsApi extends BaseAPI {
21683
21969
  * @param {string} [slug]
21684
21970
  * @param {MarketingType} [marketingType]
21685
21971
  * @param {string} [languageCode]
21972
+ * @param {boolean} [showHidden]
21686
21973
  * @param {number} [page]
21687
21974
  * @param {number} [limit]
21688
21975
  * @param {Date} [lastRetrieved]
@@ -21690,8 +21977,8 @@ export class HospitalsApi extends BaseAPI {
21690
21977
  * @throws {RequiredError}
21691
21978
  * @memberof HospitalsApi
21692
21979
  */
21693
- public apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
21694
- return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
21980
+ public apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, hospitalSpecialtyId?: string, name?: string, slug?: string, marketingType?: MarketingType, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
21981
+ return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
21695
21982
  }
21696
21983
 
21697
21984
  /**