ch-api-client-typescript2 4.0.8 → 4.1.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
@@ -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
@@ -2740,12 +2728,6 @@ export interface CreateBookingCommand {
2740
2728
  * @interface CreateChatUserCommand
2741
2729
  */
2742
2730
  export interface CreateChatUserCommand {
2743
- /**
2744
- *
2745
- * @type {string}
2746
- * @memberof CreateChatUserCommand
2747
- */
2748
- 'userId'?: string;
2749
2731
  /**
2750
2732
  *
2751
2733
  * @type {string}
@@ -2770,6 +2752,12 @@ export interface CreateChatUserCommand {
2770
2752
  * @memberof CreateChatUserCommand
2771
2753
  */
2772
2754
  'discoveryKeys'?: Array<string> | null;
2755
+ /**
2756
+ *
2757
+ * @type {string}
2758
+ * @memberof CreateChatUserCommand
2759
+ */
2760
+ 'hospitalId'?: string;
2773
2761
  }
2774
2762
  /**
2775
2763
  *
@@ -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}
@@ -10697,7 +10757,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10697
10757
  * @param {string} [id]
10698
10758
  * @param {string} [name]
10699
10759
  * @param {string} [description]
10700
- * @param {ArticleStatus} [status]
10701
10760
  * @param {MarketingType} [marketingType]
10702
10761
  * @param {string} [userId]
10703
10762
  * @param {string} [userName]
@@ -10717,7 +10776,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10717
10776
  * @param {*} [options] Override http request option.
10718
10777
  * @throws {RequiredError}
10719
10778
  */
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> => {
10779
+ 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
10780
  const localVarPath = `/api/v2/articles`;
10722
10781
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10723
10782
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -10742,10 +10801,6 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
10742
10801
  localVarQueryParameter['Description'] = description;
10743
10802
  }
10744
10803
 
10745
- if (status !== undefined) {
10746
- localVarQueryParameter['Status'] = status;
10747
- }
10748
-
10749
10804
  if (marketingType !== undefined) {
10750
10805
  localVarQueryParameter['MarketingType'] = marketingType;
10751
10806
  }
@@ -11009,7 +11064,6 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
11009
11064
  * @param {string} [id]
11010
11065
  * @param {string} [name]
11011
11066
  * @param {string} [description]
11012
- * @param {ArticleStatus} [status]
11013
11067
  * @param {MarketingType} [marketingType]
11014
11068
  * @param {string} [userId]
11015
11069
  * @param {string} [userName]
@@ -11029,8 +11083,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
11029
11083
  * @param {*} [options] Override http request option.
11030
11084
  * @throws {RequiredError}
11031
11085
  */
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);
11086
+ 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>> {
11087
+ 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
11088
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
11035
11089
  },
11036
11090
  /**
@@ -11179,7 +11233,6 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
11179
11233
  * @param {string} [id]
11180
11234
  * @param {string} [name]
11181
11235
  * @param {string} [description]
11182
- * @param {ArticleStatus} [status]
11183
11236
  * @param {MarketingType} [marketingType]
11184
11237
  * @param {string} [userId]
11185
11238
  * @param {string} [userName]
@@ -11199,8 +11252,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
11199
11252
  * @param {*} [options] Override http request option.
11200
11253
  * @throws {RequiredError}
11201
11254
  */
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));
11255
+ 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> {
11256
+ 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
11257
  },
11205
11258
  /**
11206
11259
  *
@@ -11365,7 +11418,6 @@ export class ArticlesApi extends BaseAPI {
11365
11418
  * @param {string} [id]
11366
11419
  * @param {string} [name]
11367
11420
  * @param {string} [description]
11368
- * @param {ArticleStatus} [status]
11369
11421
  * @param {MarketingType} [marketingType]
11370
11422
  * @param {string} [userId]
11371
11423
  * @param {string} [userName]
@@ -11386,8 +11438,8 @@ export class ArticlesApi extends BaseAPI {
11386
11438
  * @throws {RequiredError}
11387
11439
  * @memberof ArticlesApi
11388
11440
  */
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));
11441
+ 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) {
11442
+ 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
11443
  }
11392
11444
 
11393
11445
  /**
@@ -11973,6 +12025,40 @@ export const ChatUsersApiAxiosParamCreator = function (configuration?: Configura
11973
12025
 
11974
12026
 
11975
12027
 
12028
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12029
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12030
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12031
+
12032
+ return {
12033
+ url: toPathString(localVarUrlObj),
12034
+ options: localVarRequestOptions,
12035
+ };
12036
+ },
12037
+ /**
12038
+ *
12039
+ * @summary Delete chatUser.
12040
+ * @param {*} [options] Override http request option.
12041
+ * @throws {RequiredError}
12042
+ */
12043
+ apiV2ChatusersDelete: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12044
+ const localVarPath = `/api/v2/chatusers`;
12045
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12046
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12047
+ let baseOptions;
12048
+ if (configuration) {
12049
+ baseOptions = configuration.baseOptions;
12050
+ }
12051
+
12052
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
12053
+ const localVarHeaderParameter = {} as any;
12054
+ const localVarQueryParameter = {} as any;
12055
+
12056
+ // authentication oauth2 required
12057
+ // oauth required
12058
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
12059
+
12060
+
12061
+
11976
12062
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11977
12063
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11978
12064
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -12081,16 +12167,13 @@ export const ChatUsersApiAxiosParamCreator = function (configuration?: Configura
12081
12167
  },
12082
12168
  /**
12083
12169
  *
12084
- * @summary Delete chatUser.
12085
- * @param {string} userId
12170
+ * @summary Update chatUser.
12171
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
12086
12172
  * @param {*} [options] Override http request option.
12087
12173
  * @throws {RequiredError}
12088
12174
  */
12089
- apiV2ChatusersUserIdDelete: async (userId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12090
- // verify required parameter 'userId' is not null or undefined
12091
- assertParamExists('apiV2ChatusersUserIdDelete', 'userId', userId)
12092
- const localVarPath = `/api/v2/chatusers/{userId}`
12093
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
12175
+ apiV2ChatusersPut: async (updateChatUserCommand?: UpdateChatUserCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12176
+ const localVarPath = `/api/v2/chatusers`;
12094
12177
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12095
12178
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12096
12179
  let baseOptions;
@@ -12098,7 +12181,7 @@ export const ChatUsersApiAxiosParamCreator = function (configuration?: Configura
12098
12181
  baseOptions = configuration.baseOptions;
12099
12182
  }
12100
12183
 
12101
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
12184
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
12102
12185
  const localVarHeaderParameter = {} as any;
12103
12186
  const localVarQueryParameter = {} as any;
12104
12187
 
@@ -12108,9 +12191,12 @@ export const ChatUsersApiAxiosParamCreator = function (configuration?: Configura
12108
12191
 
12109
12192
 
12110
12193
 
12194
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12195
+
12111
12196
  setSearchParams(localVarUrlObj, localVarQueryParameter);
12112
12197
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12113
12198
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12199
+ localVarRequestOptions.data = serializeDataIfNeeded(updateChatUserCommand, localVarRequestOptions, configuration)
12114
12200
 
12115
12201
  return {
12116
12202
  url: toPathString(localVarUrlObj),
@@ -12150,48 +12236,6 @@ export const ChatUsersApiAxiosParamCreator = function (configuration?: Configura
12150
12236
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12151
12237
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12152
12238
 
12153
- return {
12154
- url: toPathString(localVarUrlObj),
12155
- options: localVarRequestOptions,
12156
- };
12157
- },
12158
- /**
12159
- *
12160
- * @summary Update chatUser.
12161
- * @param {string} userId
12162
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
12163
- * @param {*} [options] Override http request option.
12164
- * @throws {RequiredError}
12165
- */
12166
- apiV2ChatusersUserIdPut: async (userId: string, updateChatUserCommand?: UpdateChatUserCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
12167
- // verify required parameter 'userId' is not null or undefined
12168
- assertParamExists('apiV2ChatusersUserIdPut', 'userId', userId)
12169
- const localVarPath = `/api/v2/chatusers/{userId}`
12170
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
12171
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
12172
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12173
- let baseOptions;
12174
- if (configuration) {
12175
- baseOptions = configuration.baseOptions;
12176
- }
12177
-
12178
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
12179
- const localVarHeaderParameter = {} as any;
12180
- const localVarQueryParameter = {} as any;
12181
-
12182
- // authentication oauth2 required
12183
- // oauth required
12184
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
12185
-
12186
-
12187
-
12188
- localVarHeaderParameter['Content-Type'] = 'application/json';
12189
-
12190
- setSearchParams(localVarUrlObj, localVarQueryParameter);
12191
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12192
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12193
- localVarRequestOptions.data = serializeDataIfNeeded(updateChatUserCommand, localVarRequestOptions, configuration)
12194
-
12195
12239
  return {
12196
12240
  url: toPathString(localVarUrlObj),
12197
12241
  options: localVarRequestOptions,
@@ -12216,6 +12260,16 @@ export const ChatUsersApiFp = function(configuration?: Configuration) {
12216
12260
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ChatusersCurrentGet(options);
12217
12261
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12218
12262
  },
12263
+ /**
12264
+ *
12265
+ * @summary Delete chatUser.
12266
+ * @param {*} [options] Override http request option.
12267
+ * @throws {RequiredError}
12268
+ */
12269
+ async apiV2ChatusersDelete(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
12270
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ChatusersDelete(options);
12271
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12272
+ },
12219
12273
  /**
12220
12274
  *
12221
12275
  * @summary Get all chatUsers.
@@ -12244,13 +12298,13 @@ export const ChatUsersApiFp = function(configuration?: Configuration) {
12244
12298
  },
12245
12299
  /**
12246
12300
  *
12247
- * @summary Delete chatUser.
12248
- * @param {string} userId
12301
+ * @summary Update chatUser.
12302
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
12249
12303
  * @param {*} [options] Override http request option.
12250
12304
  * @throws {RequiredError}
12251
12305
  */
12252
- async apiV2ChatusersUserIdDelete(userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
12253
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ChatusersUserIdDelete(userId, options);
12306
+ async apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatUserModel>> {
12307
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ChatusersPut(updateChatUserCommand, options);
12254
12308
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12255
12309
  },
12256
12310
  /**
@@ -12264,18 +12318,6 @@ export const ChatUsersApiFp = function(configuration?: Configuration) {
12264
12318
  const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ChatusersUserIdGet(userId, options);
12265
12319
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12266
12320
  },
12267
- /**
12268
- *
12269
- * @summary Update chatUser.
12270
- * @param {string} userId
12271
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
12272
- * @param {*} [options] Override http request option.
12273
- * @throws {RequiredError}
12274
- */
12275
- async apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatUserModel>> {
12276
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ChatusersUserIdPut(userId, updateChatUserCommand, options);
12277
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
12278
- },
12279
12321
  }
12280
12322
  };
12281
12323
 
@@ -12294,6 +12336,15 @@ export const ChatUsersApiFactory = function (configuration?: Configuration, base
12294
12336
  apiV2ChatusersCurrentGet(options?: any): AxiosPromise<ChatUserModel> {
12295
12337
  return localVarFp.apiV2ChatusersCurrentGet(options).then((request) => request(axios, basePath));
12296
12338
  },
12339
+ /**
12340
+ *
12341
+ * @summary Delete chatUser.
12342
+ * @param {*} [options] Override http request option.
12343
+ * @throws {RequiredError}
12344
+ */
12345
+ apiV2ChatusersDelete(options?: any): AxiosPromise<boolean> {
12346
+ return localVarFp.apiV2ChatusersDelete(options).then((request) => request(axios, basePath));
12347
+ },
12297
12348
  /**
12298
12349
  *
12299
12350
  * @summary Get all chatUsers.
@@ -12320,13 +12371,13 @@ export const ChatUsersApiFactory = function (configuration?: Configuration, base
12320
12371
  },
12321
12372
  /**
12322
12373
  *
12323
- * @summary Delete chatUser.
12324
- * @param {string} userId
12374
+ * @summary Update chatUser.
12375
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
12325
12376
  * @param {*} [options] Override http request option.
12326
12377
  * @throws {RequiredError}
12327
12378
  */
12328
- apiV2ChatusersUserIdDelete(userId: string, options?: any): AxiosPromise<boolean> {
12329
- return localVarFp.apiV2ChatusersUserIdDelete(userId, options).then((request) => request(axios, basePath));
12379
+ apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand, options?: any): AxiosPromise<ChatUserModel> {
12380
+ return localVarFp.apiV2ChatusersPut(updateChatUserCommand, options).then((request) => request(axios, basePath));
12330
12381
  },
12331
12382
  /**
12332
12383
  *
@@ -12338,17 +12389,6 @@ export const ChatUsersApiFactory = function (configuration?: Configuration, base
12338
12389
  apiV2ChatusersUserIdGet(userId: string, options?: any): AxiosPromise<ChatUserModel> {
12339
12390
  return localVarFp.apiV2ChatusersUserIdGet(userId, options).then((request) => request(axios, basePath));
12340
12391
  },
12341
- /**
12342
- *
12343
- * @summary Update chatUser.
12344
- * @param {string} userId
12345
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
12346
- * @param {*} [options] Override http request option.
12347
- * @throws {RequiredError}
12348
- */
12349
- apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand, options?: any): AxiosPromise<ChatUserModel> {
12350
- return localVarFp.apiV2ChatusersUserIdPut(userId, updateChatUserCommand, options).then((request) => request(axios, basePath));
12351
- },
12352
12392
  };
12353
12393
  };
12354
12394
 
@@ -12369,6 +12409,17 @@ export class ChatUsersApi extends BaseAPI {
12369
12409
  return ChatUsersApiFp(this.configuration).apiV2ChatusersCurrentGet(options).then((request) => request(this.axios, this.basePath));
12370
12410
  }
12371
12411
 
12412
+ /**
12413
+ *
12414
+ * @summary Delete chatUser.
12415
+ * @param {*} [options] Override http request option.
12416
+ * @throws {RequiredError}
12417
+ * @memberof ChatUsersApi
12418
+ */
12419
+ public apiV2ChatusersDelete(options?: AxiosRequestConfig) {
12420
+ return ChatUsersApiFp(this.configuration).apiV2ChatusersDelete(options).then((request) => request(this.axios, this.basePath));
12421
+ }
12422
+
12372
12423
  /**
12373
12424
  *
12374
12425
  * @summary Get all chatUsers.
@@ -12399,14 +12450,14 @@ export class ChatUsersApi extends BaseAPI {
12399
12450
 
12400
12451
  /**
12401
12452
  *
12402
- * @summary Delete chatUser.
12403
- * @param {string} userId
12453
+ * @summary Update chatUser.
12454
+ * @param {UpdateChatUserCommand} [updateChatUserCommand]
12404
12455
  * @param {*} [options] Override http request option.
12405
12456
  * @throws {RequiredError}
12406
12457
  * @memberof ChatUsersApi
12407
12458
  */
12408
- public apiV2ChatusersUserIdDelete(userId: string, options?: AxiosRequestConfig) {
12409
- return ChatUsersApiFp(this.configuration).apiV2ChatusersUserIdDelete(userId, options).then((request) => request(this.axios, this.basePath));
12459
+ public apiV2ChatusersPut(updateChatUserCommand?: UpdateChatUserCommand, options?: AxiosRequestConfig) {
12460
+ return ChatUsersApiFp(this.configuration).apiV2ChatusersPut(updateChatUserCommand, options).then((request) => request(this.axios, this.basePath));
12410
12461
  }
12411
12462
 
12412
12463
  /**
@@ -12420,19 +12471,6 @@ export class ChatUsersApi extends BaseAPI {
12420
12471
  public apiV2ChatusersUserIdGet(userId: string, options?: AxiosRequestConfig) {
12421
12472
  return ChatUsersApiFp(this.configuration).apiV2ChatusersUserIdGet(userId, options).then((request) => request(this.axios, this.basePath));
12422
12473
  }
12423
-
12424
- /**
12425
- *
12426
- * @summary Update chatUser.
12427
- * @param {string} userId
12428
- * @param {UpdateChatUserCommand} [updateChatUserCommand]
12429
- * @param {*} [options] Override http request option.
12430
- * @throws {RequiredError}
12431
- * @memberof ChatUsersApi
12432
- */
12433
- public apiV2ChatusersUserIdPut(userId: string, updateChatUserCommand?: UpdateChatUserCommand, options?: AxiosRequestConfig) {
12434
- return ChatUsersApiFp(this.configuration).apiV2ChatusersUserIdPut(userId, updateChatUserCommand, options).then((request) => request(this.axios, this.basePath));
12435
- }
12436
12474
  }
12437
12475
 
12438
12476
 
@@ -15380,6 +15418,105 @@ export class DealsApi extends BaseAPI {
15380
15418
  */
15381
15419
  export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
15382
15420
  return {
15421
+ /**
15422
+ *
15423
+ * @summary Get all DoctorAffiliationMedias.
15424
+ * @param {string} doctorAffiliationId
15425
+ * @param {string} [id]
15426
+ * @param {MediaType} [mediaType]
15427
+ * @param {number} [page]
15428
+ * @param {number} [limit]
15429
+ * @param {Date} [lastRetrieved]
15430
+ * @param {*} [options] Override http request option.
15431
+ * @throws {RequiredError}
15432
+ */
15433
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: async (doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15434
+ // verify required parameter 'doctorAffiliationId' is not null or undefined
15435
+ assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet', 'doctorAffiliationId', doctorAffiliationId)
15436
+ const localVarPath = `/api/v2/doctoraffiliations/{doctorAffiliationId}/medias`
15437
+ .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
15438
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15439
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15440
+ let baseOptions;
15441
+ if (configuration) {
15442
+ baseOptions = configuration.baseOptions;
15443
+ }
15444
+
15445
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15446
+ const localVarHeaderParameter = {} as any;
15447
+ const localVarQueryParameter = {} as any;
15448
+
15449
+ if (id !== undefined) {
15450
+ localVarQueryParameter['Id'] = id;
15451
+ }
15452
+
15453
+ if (mediaType !== undefined) {
15454
+ localVarQueryParameter['MediaType'] = mediaType;
15455
+ }
15456
+
15457
+ if (page !== undefined) {
15458
+ localVarQueryParameter['page'] = page;
15459
+ }
15460
+
15461
+ if (limit !== undefined) {
15462
+ localVarQueryParameter['limit'] = limit;
15463
+ }
15464
+
15465
+ if (lastRetrieved !== undefined) {
15466
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
15467
+ (lastRetrieved as any).toISOString() :
15468
+ lastRetrieved;
15469
+ }
15470
+
15471
+
15472
+
15473
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15474
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15475
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15476
+
15477
+ return {
15478
+ url: toPathString(localVarUrlObj),
15479
+ options: localVarRequestOptions,
15480
+ };
15481
+ },
15482
+ /**
15483
+ *
15484
+ * @summary Get DoctorAffiliationMedia.
15485
+ * @param {string} doctorAffiliationId
15486
+ * @param {string} mediaId
15487
+ * @param {*} [options] Override http request option.
15488
+ * @throws {RequiredError}
15489
+ */
15490
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: async (doctorAffiliationId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15491
+ // verify required parameter 'doctorAffiliationId' is not null or undefined
15492
+ assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'doctorAffiliationId', doctorAffiliationId)
15493
+ // verify required parameter 'mediaId' is not null or undefined
15494
+ assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'mediaId', mediaId)
15495
+ const localVarPath = `/api/v2/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}`
15496
+ .replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)))
15497
+ .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
15498
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15499
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15500
+ let baseOptions;
15501
+ if (configuration) {
15502
+ baseOptions = configuration.baseOptions;
15503
+ }
15504
+
15505
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
15506
+ const localVarHeaderParameter = {} as any;
15507
+ const localVarQueryParameter = {} as any;
15508
+
15509
+
15510
+
15511
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15512
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15513
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15514
+
15515
+ return {
15516
+ url: toPathString(localVarUrlObj),
15517
+ options: localVarRequestOptions,
15518
+ };
15519
+ },
15383
15520
  /**
15384
15521
  *
15385
15522
  * @summary Get all doctor affiliations.
@@ -15559,6 +15696,34 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
15559
15696
  export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
15560
15697
  const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
15561
15698
  return {
15699
+ /**
15700
+ *
15701
+ * @summary Get all DoctorAffiliationMedias.
15702
+ * @param {string} doctorAffiliationId
15703
+ * @param {string} [id]
15704
+ * @param {MediaType} [mediaType]
15705
+ * @param {number} [page]
15706
+ * @param {number} [limit]
15707
+ * @param {Date} [lastRetrieved]
15708
+ * @param {*} [options] Override http request option.
15709
+ * @throws {RequiredError}
15710
+ */
15711
+ async apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
15712
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options);
15713
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15714
+ },
15715
+ /**
15716
+ *
15717
+ * @summary Get DoctorAffiliationMedia.
15718
+ * @param {string} doctorAffiliationId
15719
+ * @param {string} mediaId
15720
+ * @param {*} [options] Override http request option.
15721
+ * @throws {RequiredError}
15722
+ */
15723
+ async apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
15724
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options);
15725
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15726
+ },
15562
15727
  /**
15563
15728
  *
15564
15729
  * @summary Get all doctor affiliations.
@@ -15614,6 +15779,32 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
15614
15779
  export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
15615
15780
  const localVarFp = DoctorAffiliationsApiFp(configuration)
15616
15781
  return {
15782
+ /**
15783
+ *
15784
+ * @summary Get all DoctorAffiliationMedias.
15785
+ * @param {string} doctorAffiliationId
15786
+ * @param {string} [id]
15787
+ * @param {MediaType} [mediaType]
15788
+ * @param {number} [page]
15789
+ * @param {number} [limit]
15790
+ * @param {Date} [lastRetrieved]
15791
+ * @param {*} [options] Override http request option.
15792
+ * @throws {RequiredError}
15793
+ */
15794
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
15795
+ return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
15796
+ },
15797
+ /**
15798
+ *
15799
+ * @summary Get DoctorAffiliationMedia.
15800
+ * @param {string} doctorAffiliationId
15801
+ * @param {string} mediaId
15802
+ * @param {*} [options] Override http request option.
15803
+ * @throws {RequiredError}
15804
+ */
15805
+ apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
15806
+ return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(axios, basePath));
15807
+ },
15617
15808
  /**
15618
15809
  *
15619
15810
  * @summary Get all doctor affiliations.
@@ -15666,6 +15857,36 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
15666
15857
  * @extends {BaseAPI}
15667
15858
  */
15668
15859
  export class DoctorAffiliationsApi extends BaseAPI {
15860
+ /**
15861
+ *
15862
+ * @summary Get all DoctorAffiliationMedias.
15863
+ * @param {string} doctorAffiliationId
15864
+ * @param {string} [id]
15865
+ * @param {MediaType} [mediaType]
15866
+ * @param {number} [page]
15867
+ * @param {number} [limit]
15868
+ * @param {Date} [lastRetrieved]
15869
+ * @param {*} [options] Override http request option.
15870
+ * @throws {RequiredError}
15871
+ * @memberof DoctorAffiliationsApi
15872
+ */
15873
+ public apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
15874
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
15875
+ }
15876
+
15877
+ /**
15878
+ *
15879
+ * @summary Get DoctorAffiliationMedia.
15880
+ * @param {string} doctorAffiliationId
15881
+ * @param {string} mediaId
15882
+ * @param {*} [options] Override http request option.
15883
+ * @throws {RequiredError}
15884
+ * @memberof DoctorAffiliationsApi
15885
+ */
15886
+ public apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId: string, mediaId: string, options?: AxiosRequestConfig) {
15887
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then((request) => request(this.axios, this.basePath));
15888
+ }
15889
+
15669
15890
  /**
15670
15891
  *
15671
15892
  * @summary Get all doctor affiliations.
@@ -19567,13 +19788,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19567
19788
  * @param {string} [slug]
19568
19789
  * @param {MarketingType} [marketingType]
19569
19790
  * @param {string} [languageCode]
19791
+ * @param {boolean} [showHidden]
19570
19792
  * @param {number} [page]
19571
19793
  * @param {number} [limit]
19572
19794
  * @param {Date} [lastRetrieved]
19573
19795
  * @param {*} [options] Override http request option.
19574
19796
  * @throws {RequiredError}
19575
19797
  */
19576
- 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> => {
19798
+ 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> => {
19577
19799
  // verify required parameter 'hospitalId' is not null or undefined
19578
19800
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesGet', 'hospitalId', hospitalId)
19579
19801
  const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties`
@@ -19625,6 +19847,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19625
19847
  localVarQueryParameter['LanguageCode'] = languageCode;
19626
19848
  }
19627
19849
 
19850
+ if (showHidden !== undefined) {
19851
+ localVarQueryParameter['ShowHidden'] = showHidden;
19852
+ }
19853
+
19628
19854
  if (page !== undefined) {
19629
19855
  localVarQueryParameter['page'] = page;
19630
19856
  }
@@ -19770,13 +19996,14 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19770
19996
  * @param {string} [slug]
19771
19997
  * @param {MarketingType} [marketingType]
19772
19998
  * @param {string} [languageCode]
19999
+ * @param {boolean} [showHidden]
19773
20000
  * @param {number} [page]
19774
20001
  * @param {number} [limit]
19775
20002
  * @param {Date} [lastRetrieved]
19776
20003
  * @param {*} [options] Override http request option.
19777
20004
  * @throws {RequiredError}
19778
20005
  */
19779
- 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> => {
20006
+ 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> => {
19780
20007
  // verify required parameter 'hospitalId' is not null or undefined
19781
20008
  assertParamExists('apiV2HospitalsHospitalIdSpecialtiesSimpleGet', 'hospitalId', hospitalId)
19782
20009
  const localVarPath = `/api/v2/hospitals/{hospitalId}/specialties/simple`
@@ -19828,6 +20055,10 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
19828
20055
  localVarQueryParameter['LanguageCode'] = languageCode;
19829
20056
  }
19830
20057
 
20058
+ if (showHidden !== undefined) {
20059
+ localVarQueryParameter['ShowHidden'] = showHidden;
20060
+ }
20061
+
19831
20062
  if (page !== undefined) {
19832
20063
  localVarQueryParameter['page'] = page;
19833
20064
  }
@@ -20721,14 +20952,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
20721
20952
  * @param {string} [slug]
20722
20953
  * @param {MarketingType} [marketingType]
20723
20954
  * @param {string} [languageCode]
20955
+ * @param {boolean} [showHidden]
20724
20956
  * @param {number} [page]
20725
20957
  * @param {number} [limit]
20726
20958
  * @param {Date} [lastRetrieved]
20727
20959
  * @param {*} [options] Override http request option.
20728
20960
  * @throws {RequiredError}
20729
20961
  */
20730
- 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>> {
20731
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options);
20962
+ 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>> {
20963
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
20732
20964
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20733
20965
  },
20734
20966
  /**
@@ -20774,14 +21006,15 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
20774
21006
  * @param {string} [slug]
20775
21007
  * @param {MarketingType} [marketingType]
20776
21008
  * @param {string} [languageCode]
21009
+ * @param {boolean} [showHidden]
20777
21010
  * @param {number} [page]
20778
21011
  * @param {number} [limit]
20779
21012
  * @param {Date} [lastRetrieved]
20780
21013
  * @param {*} [options] Override http request option.
20781
21014
  * @throws {RequiredError}
20782
21015
  */
20783
- 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>> {
20784
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options);
21016
+ 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>> {
21017
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options);
20785
21018
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20786
21019
  },
20787
21020
  /**
@@ -21174,14 +21407,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
21174
21407
  * @param {string} [slug]
21175
21408
  * @param {MarketingType} [marketingType]
21176
21409
  * @param {string} [languageCode]
21410
+ * @param {boolean} [showHidden]
21177
21411
  * @param {number} [page]
21178
21412
  * @param {number} [limit]
21179
21413
  * @param {Date} [lastRetrieved]
21180
21414
  * @param {*} [options] Override http request option.
21181
21415
  * @throws {RequiredError}
21182
21416
  */
21183
- 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> {
21184
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21417
+ 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> {
21418
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21185
21419
  },
21186
21420
  /**
21187
21421
  *
@@ -21224,14 +21458,15 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
21224
21458
  * @param {string} [slug]
21225
21459
  * @param {MarketingType} [marketingType]
21226
21460
  * @param {string} [languageCode]
21461
+ * @param {boolean} [showHidden]
21227
21462
  * @param {number} [page]
21228
21463
  * @param {number} [limit]
21229
21464
  * @param {Date} [lastRetrieved]
21230
21465
  * @param {*} [options] Override http request option.
21231
21466
  * @throws {RequiredError}
21232
21467
  */
21233
- 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> {
21234
- return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21468
+ 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> {
21469
+ return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
21235
21470
  },
21236
21471
  /**
21237
21472
  *
@@ -21641,6 +21876,7 @@ export class HospitalsApi extends BaseAPI {
21641
21876
  * @param {string} [slug]
21642
21877
  * @param {MarketingType} [marketingType]
21643
21878
  * @param {string} [languageCode]
21879
+ * @param {boolean} [showHidden]
21644
21880
  * @param {number} [page]
21645
21881
  * @param {number} [limit]
21646
21882
  * @param {Date} [lastRetrieved]
@@ -21648,8 +21884,8 @@ export class HospitalsApi extends BaseAPI {
21648
21884
  * @throws {RequiredError}
21649
21885
  * @memberof HospitalsApi
21650
21886
  */
21651
- 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) {
21652
- 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));
21887
+ 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) {
21888
+ 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));
21653
21889
  }
21654
21890
 
21655
21891
  /**
@@ -21697,6 +21933,7 @@ export class HospitalsApi extends BaseAPI {
21697
21933
  * @param {string} [slug]
21698
21934
  * @param {MarketingType} [marketingType]
21699
21935
  * @param {string} [languageCode]
21936
+ * @param {boolean} [showHidden]
21700
21937
  * @param {number} [page]
21701
21938
  * @param {number} [limit]
21702
21939
  * @param {Date} [lastRetrieved]
@@ -21704,8 +21941,8 @@ export class HospitalsApi extends BaseAPI {
21704
21941
  * @throws {RequiredError}
21705
21942
  * @memberof HospitalsApi
21706
21943
  */
21707
- 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) {
21708
- 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));
21944
+ 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) {
21945
+ 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));
21709
21946
  }
21710
21947
 
21711
21948
  /**