ch-admin-api-client-typescript 2.9.3 → 2.9.6

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
@@ -21,6 +21,201 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
23
 
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface AboutUsPageItemModel
28
+ */
29
+ export interface AboutUsPageItemModel {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AboutUsPageItemModel
34
+ */
35
+ 'id'?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof AboutUsPageItemModel
40
+ */
41
+ 'hospitalId'?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AboutUsPageItemModel
46
+ */
47
+ 'hospitalName'?: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof AboutUsPageItemModel
52
+ */
53
+ 'hospitalSlug'?: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof AboutUsPageItemModel
58
+ */
59
+ 'overviewTitle'?: string | null;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof AboutUsPageItemModel
64
+ */
65
+ 'overview'?: string | null;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof AboutUsPageItemModel
70
+ */
71
+ 'content'?: string | null;
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof AboutUsPageItemModel
76
+ */
77
+ 'customStyle'?: string | null;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof AboutUsPageItemModel
82
+ */
83
+ 'background'?: string | null;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof AboutUsPageItemModel
88
+ */
89
+ 'backgroundThumbnail'?: string | null;
90
+ /**
91
+ *
92
+ * @type {boolean}
93
+ * @memberof AboutUsPageItemModel
94
+ */
95
+ 'confirmed'?: boolean;
96
+ /**
97
+ *
98
+ * @type {Array<MediaModel>}
99
+ * @memberof AboutUsPageItemModel
100
+ */
101
+ 'medias'?: Array<MediaModel> | null;
102
+ /**
103
+ *
104
+ * @type {AuditableEntity}
105
+ * @memberof AboutUsPageItemModel
106
+ */
107
+ 'auditableEntity'?: AuditableEntity;
108
+ }
109
+ /**
110
+ *
111
+ * @export
112
+ * @interface AboutUsPageModel
113
+ */
114
+ export interface AboutUsPageModel {
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof AboutUsPageModel
119
+ */
120
+ 'id'?: string;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof AboutUsPageModel
125
+ */
126
+ 'hospitalId'?: string;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof AboutUsPageModel
131
+ */
132
+ 'hospitalName'?: string | null;
133
+ /**
134
+ *
135
+ * @type {string}
136
+ * @memberof AboutUsPageModel
137
+ */
138
+ 'hospitalSlug'?: string | null;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof AboutUsPageModel
143
+ */
144
+ 'overviewTitle'?: string | null;
145
+ /**
146
+ *
147
+ * @type {string}
148
+ * @memberof AboutUsPageModel
149
+ */
150
+ 'overview'?: string | null;
151
+ /**
152
+ *
153
+ * @type {string}
154
+ * @memberof AboutUsPageModel
155
+ */
156
+ 'content'?: string | null;
157
+ /**
158
+ *
159
+ * @type {string}
160
+ * @memberof AboutUsPageModel
161
+ */
162
+ 'customStyle'?: string | null;
163
+ /**
164
+ *
165
+ * @type {string}
166
+ * @memberof AboutUsPageModel
167
+ */
168
+ 'background'?: string | null;
169
+ /**
170
+ *
171
+ * @type {string}
172
+ * @memberof AboutUsPageModel
173
+ */
174
+ 'backgroundThumbnail'?: string | null;
175
+ /**
176
+ *
177
+ * @type {boolean}
178
+ * @memberof AboutUsPageModel
179
+ */
180
+ 'confirmed'?: boolean;
181
+ /**
182
+ *
183
+ * @type {Array<MediaModel>}
184
+ * @memberof AboutUsPageModel
185
+ */
186
+ 'medias'?: Array<MediaModel> | null;
187
+ /**
188
+ *
189
+ * @type {AuditableEntity}
190
+ * @memberof AboutUsPageModel
191
+ */
192
+ 'auditableEntity'?: AuditableEntity;
193
+ /**
194
+ *
195
+ * @type {string}
196
+ * @memberof AboutUsPageModel
197
+ */
198
+ 'languageCode'?: string | null;
199
+ }
200
+ /**
201
+ *
202
+ * @export
203
+ * @interface AboutUsPagesModel
204
+ */
205
+ export interface AboutUsPagesModel {
206
+ /**
207
+ *
208
+ * @type {Array<AboutUsPageItemModel>}
209
+ * @memberof AboutUsPagesModel
210
+ */
211
+ 'items'?: Array<AboutUsPageItemModel> | null;
212
+ /**
213
+ *
214
+ * @type {PagedListMetaData}
215
+ * @memberof AboutUsPagesModel
216
+ */
217
+ 'metaData'?: PagedListMetaData;
218
+ }
24
219
  /**
25
220
  *
26
221
  * @export
@@ -1035,7 +1230,7 @@ export interface BookingItemModel {
1035
1230
  * @type {string}
1036
1231
  * @memberof BookingItemModel
1037
1232
  */
1038
- 'incomeDomain'?: string | null;
1233
+ 'domain'?: string | null;
1039
1234
  /**
1040
1235
  *
1041
1236
  * @type {BookingStatus}
@@ -1252,7 +1447,7 @@ export interface BookingModel {
1252
1447
  * @type {string}
1253
1448
  * @memberof BookingModel
1254
1449
  */
1255
- 'incomeDomain'?: string | null;
1450
+ 'domain'?: string | null;
1256
1451
  /**
1257
1452
  *
1258
1453
  * @type {BookingStatus}
@@ -2195,7 +2390,7 @@ export interface ConsultationItemModel {
2195
2390
  * @type {string}
2196
2391
  * @memberof ConsultationItemModel
2197
2392
  */
2198
- 'incomeDomain'?: string | null;
2393
+ 'domain'?: string | null;
2199
2394
  /**
2200
2395
  *
2201
2396
  * @type {ConsultationStatus}
@@ -2472,7 +2667,7 @@ export interface ConsultationModel {
2472
2667
  * @type {string}
2473
2668
  * @memberof ConsultationModel
2474
2669
  */
2475
- 'incomeDomain'?: string | null;
2670
+ 'domain'?: string | null;
2476
2671
  /**
2477
2672
  *
2478
2673
  * @type {ConsultationStatus}
@@ -3002,6 +3197,67 @@ export interface CountryModel {
3002
3197
  */
3003
3198
  'languageCode'?: string | null;
3004
3199
  }
3200
+ /**
3201
+ *
3202
+ * @export
3203
+ * @interface CreateAboutUsPageCommand
3204
+ */
3205
+ export interface CreateAboutUsPageCommand {
3206
+ /**
3207
+ *
3208
+ * @type {string}
3209
+ * @memberof CreateAboutUsPageCommand
3210
+ */
3211
+ 'hospitalId'?: string;
3212
+ /**
3213
+ *
3214
+ * @type {string}
3215
+ * @memberof CreateAboutUsPageCommand
3216
+ */
3217
+ 'overviewTitle'?: string | null;
3218
+ /**
3219
+ *
3220
+ * @type {string}
3221
+ * @memberof CreateAboutUsPageCommand
3222
+ */
3223
+ 'overview'?: string | null;
3224
+ /**
3225
+ *
3226
+ * @type {string}
3227
+ * @memberof CreateAboutUsPageCommand
3228
+ */
3229
+ 'content'?: string | null;
3230
+ /**
3231
+ *
3232
+ * @type {string}
3233
+ * @memberof CreateAboutUsPageCommand
3234
+ */
3235
+ 'customStyle'?: string | null;
3236
+ /**
3237
+ *
3238
+ * @type {string}
3239
+ * @memberof CreateAboutUsPageCommand
3240
+ */
3241
+ 'background'?: string | null;
3242
+ /**
3243
+ *
3244
+ * @type {string}
3245
+ * @memberof CreateAboutUsPageCommand
3246
+ */
3247
+ 'backgroundThumbnail'?: string | null;
3248
+ /**
3249
+ *
3250
+ * @type {Array<Media>}
3251
+ * @memberof CreateAboutUsPageCommand
3252
+ */
3253
+ 'medias'?: Array<Media> | null;
3254
+ /**
3255
+ *
3256
+ * @type {AuditableEntity}
3257
+ * @memberof CreateAboutUsPageCommand
3258
+ */
3259
+ 'auditableEntity'?: AuditableEntity;
3260
+ }
3005
3261
  /**
3006
3262
  *
3007
3263
  * @export
@@ -8819,6 +9075,61 @@ export enum MarketingType {
8819
9075
  Beauty = 'Beauty'
8820
9076
  }
8821
9077
 
9078
+ /**
9079
+ *
9080
+ * @export
9081
+ * @interface Media
9082
+ */
9083
+ export interface Media {
9084
+ /**
9085
+ *
9086
+ * @type {string}
9087
+ * @memberof Media
9088
+ */
9089
+ 'id'?: string;
9090
+ /**
9091
+ *
9092
+ * @type {MediaType}
9093
+ * @memberof Media
9094
+ */
9095
+ 'mediaType'?: MediaType;
9096
+ /**
9097
+ *
9098
+ * @type {string}
9099
+ * @memberof Media
9100
+ */
9101
+ 'url'?: string | null;
9102
+ /**
9103
+ *
9104
+ * @type {string}
9105
+ * @memberof Media
9106
+ */
9107
+ 'thumbnailUrl'?: string | null;
9108
+ /**
9109
+ *
9110
+ * @type {string}
9111
+ * @memberof Media
9112
+ */
9113
+ 'description'?: string | null;
9114
+ /**
9115
+ *
9116
+ * @type {number}
9117
+ * @memberof Media
9118
+ */
9119
+ 'height'?: number;
9120
+ /**
9121
+ *
9122
+ * @type {number}
9123
+ * @memberof Media
9124
+ */
9125
+ 'width'?: number;
9126
+ /**
9127
+ *
9128
+ * @type {number}
9129
+ * @memberof Media
9130
+ */
9131
+ 'order'?: number;
9132
+ }
8822
9133
  /**
8823
9134
  *
8824
9135
  * @export
@@ -10895,27 +11206,112 @@ export interface TranslateCommand {
10895
11206
  /**
10896
11207
  *
10897
11208
  * @export
10898
- * @interface UpdateAccreditationCommand
11209
+ * @interface UpdateAboutUsPageCommand
10899
11210
  */
10900
- export interface UpdateAccreditationCommand {
11211
+ export interface UpdateAboutUsPageCommand {
10901
11212
  /**
10902
11213
  *
10903
11214
  * @type {string}
10904
- * @memberof UpdateAccreditationCommand
11215
+ * @memberof UpdateAboutUsPageCommand
10905
11216
  */
10906
- 'name'?: string | null;
11217
+ 'hospitalId'?: string;
10907
11218
  /**
10908
11219
  *
10909
11220
  * @type {string}
10910
- * @memberof UpdateAccreditationCommand
11221
+ * @memberof UpdateAboutUsPageCommand
10911
11222
  */
10912
- 'logo'?: string | null;
11223
+ 'hospitalName'?: string | null;
10913
11224
  /**
10914
11225
  *
10915
11226
  * @type {string}
10916
- * @memberof UpdateAccreditationCommand
11227
+ * @memberof UpdateAboutUsPageCommand
10917
11228
  */
10918
- 'country'?: string | null;
11229
+ 'hospitalSlug'?: string | null;
11230
+ /**
11231
+ *
11232
+ * @type {string}
11233
+ * @memberof UpdateAboutUsPageCommand
11234
+ */
11235
+ 'overviewTitle'?: string | null;
11236
+ /**
11237
+ *
11238
+ * @type {string}
11239
+ * @memberof UpdateAboutUsPageCommand
11240
+ */
11241
+ 'overview'?: string | null;
11242
+ /**
11243
+ *
11244
+ * @type {string}
11245
+ * @memberof UpdateAboutUsPageCommand
11246
+ */
11247
+ 'content'?: string | null;
11248
+ /**
11249
+ *
11250
+ * @type {string}
11251
+ * @memberof UpdateAboutUsPageCommand
11252
+ */
11253
+ 'customStyle'?: string | null;
11254
+ /**
11255
+ *
11256
+ * @type {string}
11257
+ * @memberof UpdateAboutUsPageCommand
11258
+ */
11259
+ 'background'?: string | null;
11260
+ /**
11261
+ *
11262
+ * @type {string}
11263
+ * @memberof UpdateAboutUsPageCommand
11264
+ */
11265
+ 'backgroundThumbnail'?: string | null;
11266
+ /**
11267
+ *
11268
+ * @type {string}
11269
+ * @memberof UpdateAboutUsPageCommand
11270
+ */
11271
+ 'languageCode'?: string | null;
11272
+ /**
11273
+ *
11274
+ * @type {boolean}
11275
+ * @memberof UpdateAboutUsPageCommand
11276
+ */
11277
+ 'confirmed'?: boolean;
11278
+ /**
11279
+ *
11280
+ * @type {Array<Media>}
11281
+ * @memberof UpdateAboutUsPageCommand
11282
+ */
11283
+ 'medias'?: Array<Media> | null;
11284
+ /**
11285
+ *
11286
+ * @type {AuditableEntity}
11287
+ * @memberof UpdateAboutUsPageCommand
11288
+ */
11289
+ 'auditableEntity'?: AuditableEntity;
11290
+ }
11291
+ /**
11292
+ *
11293
+ * @export
11294
+ * @interface UpdateAccreditationCommand
11295
+ */
11296
+ export interface UpdateAccreditationCommand {
11297
+ /**
11298
+ *
11299
+ * @type {string}
11300
+ * @memberof UpdateAccreditationCommand
11301
+ */
11302
+ 'name'?: string | null;
11303
+ /**
11304
+ *
11305
+ * @type {string}
11306
+ * @memberof UpdateAccreditationCommand
11307
+ */
11308
+ 'logo'?: string | null;
11309
+ /**
11310
+ *
11311
+ * @type {string}
11312
+ * @memberof UpdateAccreditationCommand
11313
+ */
11314
+ 'country'?: string | null;
10919
11315
  }
10920
11316
  /**
10921
11317
  *
@@ -12990,23 +13386,23 @@ export interface WeatherForecast {
12990
13386
  }
12991
13387
 
12992
13388
  /**
12993
- * AccreditationsApi - axios parameter creator
13389
+ * AboutUsApi - axios parameter creator
12994
13390
  * @export
12995
13391
  */
12996
- export const AccreditationsApiAxiosParamCreator = function (configuration?: Configuration) {
13392
+ export const AboutUsApiAxiosParamCreator = function (configuration?: Configuration) {
12997
13393
  return {
12998
13394
  /**
12999
13395
  *
13000
- * @summary Delete Accreditation.
13001
- * @param {string} accreditationId
13396
+ * @summary Delete AboutUs.
13397
+ * @param {string} aboutUsId
13002
13398
  * @param {*} [options] Override http request option.
13003
13399
  * @throws {RequiredError}
13004
13400
  */
13005
- apiV1AccreditationsAccreditationIdDelete: async (accreditationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13006
- // verify required parameter 'accreditationId' is not null or undefined
13007
- assertParamExists('apiV1AccreditationsAccreditationIdDelete', 'accreditationId', accreditationId)
13008
- const localVarPath = `/api/v1/accreditations/{accreditationId}`
13009
- .replace(`{${"accreditationId"}}`, encodeURIComponent(String(accreditationId)));
13401
+ apiV1AboutusAboutUsIdDelete: async (aboutUsId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13402
+ // verify required parameter 'aboutUsId' is not null or undefined
13403
+ assertParamExists('apiV1AboutusAboutUsIdDelete', 'aboutUsId', aboutUsId)
13404
+ const localVarPath = `/api/v1/aboutus/{aboutUsId}`
13405
+ .replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
13010
13406
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13011
13407
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13012
13408
  let baseOptions;
@@ -13035,16 +13431,18 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
13035
13431
  },
13036
13432
  /**
13037
13433
  *
13038
- * @summary Get Accreditation.
13039
- * @param {string} accreditationId
13434
+ * @summary Get AboutUs.
13435
+ * @param {string} aboutUsId
13436
+ * @param {string} [languageCode]
13437
+ * @param {boolean} [returnDefaultValue]
13040
13438
  * @param {*} [options] Override http request option.
13041
13439
  * @throws {RequiredError}
13042
13440
  */
13043
- apiV1AccreditationsAccreditationIdGet: async (accreditationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13044
- // verify required parameter 'accreditationId' is not null or undefined
13045
- assertParamExists('apiV1AccreditationsAccreditationIdGet', 'accreditationId', accreditationId)
13046
- const localVarPath = `/api/v1/accreditations/{accreditationId}`
13047
- .replace(`{${"accreditationId"}}`, encodeURIComponent(String(accreditationId)));
13441
+ apiV1AboutusAboutUsIdGet: async (aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13442
+ // verify required parameter 'aboutUsId' is not null or undefined
13443
+ assertParamExists('apiV1AboutusAboutUsIdGet', 'aboutUsId', aboutUsId)
13444
+ const localVarPath = `/api/v1/aboutus/{aboutUsId}`
13445
+ .replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
13048
13446
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13049
13447
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13050
13448
  let baseOptions;
@@ -13060,6 +13458,14 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
13060
13458
  // oauth required
13061
13459
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
13062
13460
 
13461
+ if (languageCode !== undefined) {
13462
+ localVarQueryParameter['languageCode'] = languageCode;
13463
+ }
13464
+
13465
+ if (returnDefaultValue !== undefined) {
13466
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
13467
+ }
13468
+
13063
13469
 
13064
13470
 
13065
13471
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13073,17 +13479,17 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
13073
13479
  },
13074
13480
  /**
13075
13481
  *
13076
- * @summary Update Accreditation.
13077
- * @param {string} accreditationId
13078
- * @param {UpdateAccreditationCommand} [updateAccreditationCommand]
13482
+ * @summary Update AboutUs.
13483
+ * @param {string} aboutUsId
13484
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
13079
13485
  * @param {*} [options] Override http request option.
13080
13486
  * @throws {RequiredError}
13081
13487
  */
13082
- apiV1AccreditationsAccreditationIdPut: async (accreditationId: string, updateAccreditationCommand?: UpdateAccreditationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13083
- // verify required parameter 'accreditationId' is not null or undefined
13084
- assertParamExists('apiV1AccreditationsAccreditationIdPut', 'accreditationId', accreditationId)
13085
- const localVarPath = `/api/v1/accreditations/{accreditationId}`
13086
- .replace(`{${"accreditationId"}}`, encodeURIComponent(String(accreditationId)));
13488
+ apiV1AboutusAboutUsIdPut: async (aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13489
+ // verify required parameter 'aboutUsId' is not null or undefined
13490
+ assertParamExists('apiV1AboutusAboutUsIdPut', 'aboutUsId', aboutUsId)
13491
+ const localVarPath = `/api/v1/aboutus/{aboutUsId}`
13492
+ .replace(`{${"aboutUsId"}}`, encodeURIComponent(String(aboutUsId)));
13087
13493
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13088
13494
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13089
13495
  let baseOptions;
@@ -13106,7 +13512,7 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
13106
13512
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13107
13513
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13108
13514
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13109
- localVarRequestOptions.data = serializeDataIfNeeded(updateAccreditationCommand, localVarRequestOptions, configuration)
13515
+ localVarRequestOptions.data = serializeDataIfNeeded(updateAboutUsPageCommand, localVarRequestOptions, configuration)
13110
13516
 
13111
13517
  return {
13112
13518
  url: toPathString(localVarUrlObj),
@@ -13115,18 +13521,28 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
13115
13521
  },
13116
13522
  /**
13117
13523
  *
13118
- * @summary Get all Accreditations.
13119
- * @param {string} [name]
13120
- * @param {string} [logo]
13121
- * @param {string} [country]
13524
+ * @summary Get all AboutUsList.
13525
+ * @param {string} [hospitalId]
13526
+ * @param {string} [hospitalName]
13527
+ * @param {string} [hospitalSlug]
13528
+ * @param {string} [overviewTitle]
13529
+ * @param {string} [normalizedOverviewTitle]
13530
+ * @param {string} [overview]
13531
+ * @param {string} [content]
13532
+ * @param {string} [customStyle]
13533
+ * @param {string} [background]
13534
+ * @param {string} [backgroundThumbnail]
13535
+ * @param {string} [languageCode]
13536
+ * @param {boolean} [returnDefaultValue]
13537
+ * @param {boolean} [confirmed]
13122
13538
  * @param {number} [page]
13123
13539
  * @param {number} [limit]
13124
13540
  * @param {Date} [lastRetrieved]
13125
13541
  * @param {*} [options] Override http request option.
13126
13542
  * @throws {RequiredError}
13127
13543
  */
13128
- apiV1AccreditationsGet: async (name?: string, logo?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13129
- const localVarPath = `/api/v1/accreditations`;
13544
+ apiV1AboutusGet: async (hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13545
+ const localVarPath = `/api/v1/aboutus`;
13130
13546
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13131
13547
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13132
13548
  let baseOptions;
@@ -13142,16 +13558,56 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
13142
13558
  // oauth required
13143
13559
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
13144
13560
 
13145
- if (name !== undefined) {
13146
- localVarQueryParameter['Name'] = name;
13561
+ if (hospitalId !== undefined) {
13562
+ localVarQueryParameter['HospitalId'] = hospitalId;
13147
13563
  }
13148
13564
 
13149
- if (logo !== undefined) {
13150
- localVarQueryParameter['Logo'] = logo;
13565
+ if (hospitalName !== undefined) {
13566
+ localVarQueryParameter['HospitalName'] = hospitalName;
13151
13567
  }
13152
13568
 
13153
- if (country !== undefined) {
13154
- localVarQueryParameter['Country'] = country;
13569
+ if (hospitalSlug !== undefined) {
13570
+ localVarQueryParameter['HospitalSlug'] = hospitalSlug;
13571
+ }
13572
+
13573
+ if (overviewTitle !== undefined) {
13574
+ localVarQueryParameter['OverviewTitle'] = overviewTitle;
13575
+ }
13576
+
13577
+ if (normalizedOverviewTitle !== undefined) {
13578
+ localVarQueryParameter['NormalizedOverviewTitle'] = normalizedOverviewTitle;
13579
+ }
13580
+
13581
+ if (overview !== undefined) {
13582
+ localVarQueryParameter['Overview'] = overview;
13583
+ }
13584
+
13585
+ if (content !== undefined) {
13586
+ localVarQueryParameter['Content'] = content;
13587
+ }
13588
+
13589
+ if (customStyle !== undefined) {
13590
+ localVarQueryParameter['CustomStyle'] = customStyle;
13591
+ }
13592
+
13593
+ if (background !== undefined) {
13594
+ localVarQueryParameter['Background'] = background;
13595
+ }
13596
+
13597
+ if (backgroundThumbnail !== undefined) {
13598
+ localVarQueryParameter['BackgroundThumbnail'] = backgroundThumbnail;
13599
+ }
13600
+
13601
+ if (languageCode !== undefined) {
13602
+ localVarQueryParameter['LanguageCode'] = languageCode;
13603
+ }
13604
+
13605
+ if (returnDefaultValue !== undefined) {
13606
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
13607
+ }
13608
+
13609
+ if (confirmed !== undefined) {
13610
+ localVarQueryParameter['Confirmed'] = confirmed;
13155
13611
  }
13156
13612
 
13157
13613
  if (page !== undefined) {
@@ -13181,13 +13637,13 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
13181
13637
  },
13182
13638
  /**
13183
13639
  *
13184
- * @summary Create a Accreditation.
13185
- * @param {CreateAccreditationCommand} [createAccreditationCommand]
13640
+ * @summary Create AboutUs.
13641
+ * @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
13186
13642
  * @param {*} [options] Override http request option.
13187
13643
  * @throws {RequiredError}
13188
13644
  */
13189
- apiV1AccreditationsPost: async (createAccreditationCommand?: CreateAccreditationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13190
- const localVarPath = `/api/v1/accreditations`;
13645
+ apiV1AboutusPost: async (createAboutUsPageCommand?: CreateAboutUsPageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13646
+ const localVarPath = `/api/v1/aboutus`;
13191
13647
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
13192
13648
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13193
13649
  let baseOptions;
@@ -13210,7 +13666,54 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
13210
13666
  setSearchParams(localVarUrlObj, localVarQueryParameter);
13211
13667
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13212
13668
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13213
- localVarRequestOptions.data = serializeDataIfNeeded(createAccreditationCommand, localVarRequestOptions, configuration)
13669
+ localVarRequestOptions.data = serializeDataIfNeeded(createAboutUsPageCommand, localVarRequestOptions, configuration)
13670
+
13671
+ return {
13672
+ url: toPathString(localVarUrlObj),
13673
+ options: localVarRequestOptions,
13674
+ };
13675
+ },
13676
+ /**
13677
+ *
13678
+ * @param {string} slug
13679
+ * @param {string} [languageCode]
13680
+ * @param {boolean} [returnDefaultValue]
13681
+ * @param {*} [options] Override http request option.
13682
+ * @throws {RequiredError}
13683
+ */
13684
+ apiV1AboutusSlugGet: async (slug: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
13685
+ // verify required parameter 'slug' is not null or undefined
13686
+ assertParamExists('apiV1AboutusSlugGet', 'slug', slug)
13687
+ const localVarPath = `/api/v1/aboutus/{slug}`
13688
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
13689
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13690
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13691
+ let baseOptions;
13692
+ if (configuration) {
13693
+ baseOptions = configuration.baseOptions;
13694
+ }
13695
+
13696
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
13697
+ const localVarHeaderParameter = {} as any;
13698
+ const localVarQueryParameter = {} as any;
13699
+
13700
+ // authentication oauth2 required
13701
+ // oauth required
13702
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
13703
+
13704
+ if (languageCode !== undefined) {
13705
+ localVarQueryParameter['languageCode'] = languageCode;
13706
+ }
13707
+
13708
+ if (returnDefaultValue !== undefined) {
13709
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
13710
+ }
13711
+
13712
+
13713
+
13714
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13715
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13716
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
13214
13717
 
13215
13718
  return {
13216
13719
  url: toPathString(localVarUrlObj),
@@ -13221,87 +13724,602 @@ export const AccreditationsApiAxiosParamCreator = function (configuration?: Conf
13221
13724
  };
13222
13725
 
13223
13726
  /**
13224
- * AccreditationsApi - functional programming interface
13727
+ * AboutUsApi - functional programming interface
13225
13728
  * @export
13226
13729
  */
13227
- export const AccreditationsApiFp = function(configuration?: Configuration) {
13228
- const localVarAxiosParamCreator = AccreditationsApiAxiosParamCreator(configuration)
13730
+ export const AboutUsApiFp = function(configuration?: Configuration) {
13731
+ const localVarAxiosParamCreator = AboutUsApiAxiosParamCreator(configuration)
13229
13732
  return {
13230
13733
  /**
13231
13734
  *
13232
- * @summary Delete Accreditation.
13233
- * @param {string} accreditationId
13735
+ * @summary Delete AboutUs.
13736
+ * @param {string} aboutUsId
13234
13737
  * @param {*} [options] Override http request option.
13235
13738
  * @throws {RequiredError}
13236
13739
  */
13237
- async apiV1AccreditationsAccreditationIdDelete(accreditationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
13238
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AccreditationsAccreditationIdDelete(accreditationId, options);
13740
+ async apiV1AboutusAboutUsIdDelete(aboutUsId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
13741
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusAboutUsIdDelete(aboutUsId, options);
13239
13742
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13240
13743
  },
13241
13744
  /**
13242
13745
  *
13243
- * @summary Get Accreditation.
13244
- * @param {string} accreditationId
13746
+ * @summary Get AboutUs.
13747
+ * @param {string} aboutUsId
13748
+ * @param {string} [languageCode]
13749
+ * @param {boolean} [returnDefaultValue]
13245
13750
  * @param {*} [options] Override http request option.
13246
13751
  * @throws {RequiredError}
13247
13752
  */
13248
- async apiV1AccreditationsAccreditationIdGet(accreditationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationModel>> {
13249
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AccreditationsAccreditationIdGet(accreditationId, options);
13753
+ async apiV1AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
13754
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options);
13250
13755
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13251
13756
  },
13252
13757
  /**
13253
13758
  *
13254
- * @summary Update Accreditation.
13255
- * @param {string} accreditationId
13256
- * @param {UpdateAccreditationCommand} [updateAccreditationCommand]
13759
+ * @summary Update AboutUs.
13760
+ * @param {string} aboutUsId
13761
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
13257
13762
  * @param {*} [options] Override http request option.
13258
13763
  * @throws {RequiredError}
13259
13764
  */
13260
- async apiV1AccreditationsAccreditationIdPut(accreditationId: string, updateAccreditationCommand?: UpdateAccreditationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationModel>> {
13261
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AccreditationsAccreditationIdPut(accreditationId, updateAccreditationCommand, options);
13765
+ async apiV1AboutusAboutUsIdPut(aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
13766
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options);
13262
13767
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13263
13768
  },
13264
13769
  /**
13265
13770
  *
13266
- * @summary Get all Accreditations.
13267
- * @param {string} [name]
13268
- * @param {string} [logo]
13269
- * @param {string} [country]
13771
+ * @summary Get all AboutUsList.
13772
+ * @param {string} [hospitalId]
13773
+ * @param {string} [hospitalName]
13774
+ * @param {string} [hospitalSlug]
13775
+ * @param {string} [overviewTitle]
13776
+ * @param {string} [normalizedOverviewTitle]
13777
+ * @param {string} [overview]
13778
+ * @param {string} [content]
13779
+ * @param {string} [customStyle]
13780
+ * @param {string} [background]
13781
+ * @param {string} [backgroundThumbnail]
13782
+ * @param {string} [languageCode]
13783
+ * @param {boolean} [returnDefaultValue]
13784
+ * @param {boolean} [confirmed]
13270
13785
  * @param {number} [page]
13271
13786
  * @param {number} [limit]
13272
13787
  * @param {Date} [lastRetrieved]
13273
13788
  * @param {*} [options] Override http request option.
13274
13789
  * @throws {RequiredError}
13275
13790
  */
13276
- async apiV1AccreditationsGet(name?: string, logo?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationsModel>> {
13277
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AccreditationsGet(name, logo, country, page, limit, lastRetrieved, options);
13791
+ async apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPagesModel>> {
13792
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options);
13278
13793
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13279
13794
  },
13280
13795
  /**
13281
13796
  *
13282
- * @summary Create a Accreditation.
13283
- * @param {CreateAccreditationCommand} [createAccreditationCommand]
13797
+ * @summary Create AboutUs.
13798
+ * @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
13284
13799
  * @param {*} [options] Override http request option.
13285
13800
  * @throws {RequiredError}
13286
13801
  */
13287
- async apiV1AccreditationsPost(createAccreditationCommand?: CreateAccreditationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationModel>> {
13288
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AccreditationsPost(createAccreditationCommand, options);
13802
+ async apiV1AboutusPost(createAboutUsPageCommand?: CreateAboutUsPageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
13803
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusPost(createAboutUsPageCommand, options);
13804
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13805
+ },
13806
+ /**
13807
+ *
13808
+ * @param {string} slug
13809
+ * @param {string} [languageCode]
13810
+ * @param {boolean} [returnDefaultValue]
13811
+ * @param {*} [options] Override http request option.
13812
+ * @throws {RequiredError}
13813
+ */
13814
+ async apiV1AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AboutUsPageModel>> {
13815
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options);
13289
13816
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13290
13817
  },
13291
13818
  }
13292
13819
  };
13293
13820
 
13294
13821
  /**
13295
- * AccreditationsApi - factory interface
13822
+ * AboutUsApi - factory interface
13296
13823
  * @export
13297
13824
  */
13298
- export const AccreditationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
13299
- const localVarFp = AccreditationsApiFp(configuration)
13825
+ export const AboutUsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
13826
+ const localVarFp = AboutUsApiFp(configuration)
13300
13827
  return {
13301
13828
  /**
13302
13829
  *
13303
- * @summary Delete Accreditation.
13304
- * @param {string} accreditationId
13830
+ * @summary Delete AboutUs.
13831
+ * @param {string} aboutUsId
13832
+ * @param {*} [options] Override http request option.
13833
+ * @throws {RequiredError}
13834
+ */
13835
+ apiV1AboutusAboutUsIdDelete(aboutUsId: string, options?: any): AxiosPromise<boolean> {
13836
+ return localVarFp.apiV1AboutusAboutUsIdDelete(aboutUsId, options).then((request) => request(axios, basePath));
13837
+ },
13838
+ /**
13839
+ *
13840
+ * @summary Get AboutUs.
13841
+ * @param {string} aboutUsId
13842
+ * @param {string} [languageCode]
13843
+ * @param {boolean} [returnDefaultValue]
13844
+ * @param {*} [options] Override http request option.
13845
+ * @throws {RequiredError}
13846
+ */
13847
+ apiV1AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
13848
+ return localVarFp.apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
13849
+ },
13850
+ /**
13851
+ *
13852
+ * @summary Update AboutUs.
13853
+ * @param {string} aboutUsId
13854
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
13855
+ * @param {*} [options] Override http request option.
13856
+ * @throws {RequiredError}
13857
+ */
13858
+ apiV1AboutusAboutUsIdPut(aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: any): AxiosPromise<AboutUsPageModel> {
13859
+ return localVarFp.apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options).then((request) => request(axios, basePath));
13860
+ },
13861
+ /**
13862
+ *
13863
+ * @summary Get all AboutUsList.
13864
+ * @param {string} [hospitalId]
13865
+ * @param {string} [hospitalName]
13866
+ * @param {string} [hospitalSlug]
13867
+ * @param {string} [overviewTitle]
13868
+ * @param {string} [normalizedOverviewTitle]
13869
+ * @param {string} [overview]
13870
+ * @param {string} [content]
13871
+ * @param {string} [customStyle]
13872
+ * @param {string} [background]
13873
+ * @param {string} [backgroundThumbnail]
13874
+ * @param {string} [languageCode]
13875
+ * @param {boolean} [returnDefaultValue]
13876
+ * @param {boolean} [confirmed]
13877
+ * @param {number} [page]
13878
+ * @param {number} [limit]
13879
+ * @param {Date} [lastRetrieved]
13880
+ * @param {*} [options] Override http request option.
13881
+ * @throws {RequiredError}
13882
+ */
13883
+ apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AboutUsPagesModel> {
13884
+ return localVarFp.apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
13885
+ },
13886
+ /**
13887
+ *
13888
+ * @summary Create AboutUs.
13889
+ * @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
13890
+ * @param {*} [options] Override http request option.
13891
+ * @throws {RequiredError}
13892
+ */
13893
+ apiV1AboutusPost(createAboutUsPageCommand?: CreateAboutUsPageCommand, options?: any): AxiosPromise<AboutUsPageModel> {
13894
+ return localVarFp.apiV1AboutusPost(createAboutUsPageCommand, options).then((request) => request(axios, basePath));
13895
+ },
13896
+ /**
13897
+ *
13898
+ * @param {string} slug
13899
+ * @param {string} [languageCode]
13900
+ * @param {boolean} [returnDefaultValue]
13901
+ * @param {*} [options] Override http request option.
13902
+ * @throws {RequiredError}
13903
+ */
13904
+ apiV1AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<AboutUsPageModel> {
13905
+ return localVarFp.apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
13906
+ },
13907
+ };
13908
+ };
13909
+
13910
+ /**
13911
+ * AboutUsApi - object-oriented interface
13912
+ * @export
13913
+ * @class AboutUsApi
13914
+ * @extends {BaseAPI}
13915
+ */
13916
+ export class AboutUsApi extends BaseAPI {
13917
+ /**
13918
+ *
13919
+ * @summary Delete AboutUs.
13920
+ * @param {string} aboutUsId
13921
+ * @param {*} [options] Override http request option.
13922
+ * @throws {RequiredError}
13923
+ * @memberof AboutUsApi
13924
+ */
13925
+ public apiV1AboutusAboutUsIdDelete(aboutUsId: string, options?: AxiosRequestConfig) {
13926
+ return AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdDelete(aboutUsId, options).then((request) => request(this.axios, this.basePath));
13927
+ }
13928
+
13929
+ /**
13930
+ *
13931
+ * @summary Get AboutUs.
13932
+ * @param {string} aboutUsId
13933
+ * @param {string} [languageCode]
13934
+ * @param {boolean} [returnDefaultValue]
13935
+ * @param {*} [options] Override http request option.
13936
+ * @throws {RequiredError}
13937
+ * @memberof AboutUsApi
13938
+ */
13939
+ public apiV1AboutusAboutUsIdGet(aboutUsId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
13940
+ return AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
13941
+ }
13942
+
13943
+ /**
13944
+ *
13945
+ * @summary Update AboutUs.
13946
+ * @param {string} aboutUsId
13947
+ * @param {UpdateAboutUsPageCommand} [updateAboutUsPageCommand]
13948
+ * @param {*} [options] Override http request option.
13949
+ * @throws {RequiredError}
13950
+ * @memberof AboutUsApi
13951
+ */
13952
+ public apiV1AboutusAboutUsIdPut(aboutUsId: string, updateAboutUsPageCommand?: UpdateAboutUsPageCommand, options?: AxiosRequestConfig) {
13953
+ return AboutUsApiFp(this.configuration).apiV1AboutusAboutUsIdPut(aboutUsId, updateAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
13954
+ }
13955
+
13956
+ /**
13957
+ *
13958
+ * @summary Get all AboutUsList.
13959
+ * @param {string} [hospitalId]
13960
+ * @param {string} [hospitalName]
13961
+ * @param {string} [hospitalSlug]
13962
+ * @param {string} [overviewTitle]
13963
+ * @param {string} [normalizedOverviewTitle]
13964
+ * @param {string} [overview]
13965
+ * @param {string} [content]
13966
+ * @param {string} [customStyle]
13967
+ * @param {string} [background]
13968
+ * @param {string} [backgroundThumbnail]
13969
+ * @param {string} [languageCode]
13970
+ * @param {boolean} [returnDefaultValue]
13971
+ * @param {boolean} [confirmed]
13972
+ * @param {number} [page]
13973
+ * @param {number} [limit]
13974
+ * @param {Date} [lastRetrieved]
13975
+ * @param {*} [options] Override http request option.
13976
+ * @throws {RequiredError}
13977
+ * @memberof AboutUsApi
13978
+ */
13979
+ public apiV1AboutusGet(hospitalId?: string, hospitalName?: string, hospitalSlug?: string, overviewTitle?: string, normalizedOverviewTitle?: string, overview?: string, content?: string, customStyle?: string, background?: string, backgroundThumbnail?: string, languageCode?: string, returnDefaultValue?: boolean, confirmed?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
13980
+ return AboutUsApiFp(this.configuration).apiV1AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
13981
+ }
13982
+
13983
+ /**
13984
+ *
13985
+ * @summary Create AboutUs.
13986
+ * @param {CreateAboutUsPageCommand} [createAboutUsPageCommand]
13987
+ * @param {*} [options] Override http request option.
13988
+ * @throws {RequiredError}
13989
+ * @memberof AboutUsApi
13990
+ */
13991
+ public apiV1AboutusPost(createAboutUsPageCommand?: CreateAboutUsPageCommand, options?: AxiosRequestConfig) {
13992
+ return AboutUsApiFp(this.configuration).apiV1AboutusPost(createAboutUsPageCommand, options).then((request) => request(this.axios, this.basePath));
13993
+ }
13994
+
13995
+ /**
13996
+ *
13997
+ * @param {string} slug
13998
+ * @param {string} [languageCode]
13999
+ * @param {boolean} [returnDefaultValue]
14000
+ * @param {*} [options] Override http request option.
14001
+ * @throws {RequiredError}
14002
+ * @memberof AboutUsApi
14003
+ */
14004
+ public apiV1AboutusSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
14005
+ return AboutUsApiFp(this.configuration).apiV1AboutusSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
14006
+ }
14007
+ }
14008
+
14009
+
14010
+ /**
14011
+ * AccreditationsApi - axios parameter creator
14012
+ * @export
14013
+ */
14014
+ export const AccreditationsApiAxiosParamCreator = function (configuration?: Configuration) {
14015
+ return {
14016
+ /**
14017
+ *
14018
+ * @summary Delete Accreditation.
14019
+ * @param {string} accreditationId
14020
+ * @param {*} [options] Override http request option.
14021
+ * @throws {RequiredError}
14022
+ */
14023
+ apiV1AccreditationsAccreditationIdDelete: async (accreditationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14024
+ // verify required parameter 'accreditationId' is not null or undefined
14025
+ assertParamExists('apiV1AccreditationsAccreditationIdDelete', 'accreditationId', accreditationId)
14026
+ const localVarPath = `/api/v1/accreditations/{accreditationId}`
14027
+ .replace(`{${"accreditationId"}}`, encodeURIComponent(String(accreditationId)));
14028
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14029
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14030
+ let baseOptions;
14031
+ if (configuration) {
14032
+ baseOptions = configuration.baseOptions;
14033
+ }
14034
+
14035
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
14036
+ const localVarHeaderParameter = {} as any;
14037
+ const localVarQueryParameter = {} as any;
14038
+
14039
+ // authentication oauth2 required
14040
+ // oauth required
14041
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
14042
+
14043
+
14044
+
14045
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14046
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14047
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14048
+
14049
+ return {
14050
+ url: toPathString(localVarUrlObj),
14051
+ options: localVarRequestOptions,
14052
+ };
14053
+ },
14054
+ /**
14055
+ *
14056
+ * @summary Get Accreditation.
14057
+ * @param {string} accreditationId
14058
+ * @param {*} [options] Override http request option.
14059
+ * @throws {RequiredError}
14060
+ */
14061
+ apiV1AccreditationsAccreditationIdGet: async (accreditationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14062
+ // verify required parameter 'accreditationId' is not null or undefined
14063
+ assertParamExists('apiV1AccreditationsAccreditationIdGet', 'accreditationId', accreditationId)
14064
+ const localVarPath = `/api/v1/accreditations/{accreditationId}`
14065
+ .replace(`{${"accreditationId"}}`, encodeURIComponent(String(accreditationId)));
14066
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14067
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14068
+ let baseOptions;
14069
+ if (configuration) {
14070
+ baseOptions = configuration.baseOptions;
14071
+ }
14072
+
14073
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
14074
+ const localVarHeaderParameter = {} as any;
14075
+ const localVarQueryParameter = {} as any;
14076
+
14077
+ // authentication oauth2 required
14078
+ // oauth required
14079
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
14080
+
14081
+
14082
+
14083
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14084
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14085
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14086
+
14087
+ return {
14088
+ url: toPathString(localVarUrlObj),
14089
+ options: localVarRequestOptions,
14090
+ };
14091
+ },
14092
+ /**
14093
+ *
14094
+ * @summary Update Accreditation.
14095
+ * @param {string} accreditationId
14096
+ * @param {UpdateAccreditationCommand} [updateAccreditationCommand]
14097
+ * @param {*} [options] Override http request option.
14098
+ * @throws {RequiredError}
14099
+ */
14100
+ apiV1AccreditationsAccreditationIdPut: async (accreditationId: string, updateAccreditationCommand?: UpdateAccreditationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14101
+ // verify required parameter 'accreditationId' is not null or undefined
14102
+ assertParamExists('apiV1AccreditationsAccreditationIdPut', 'accreditationId', accreditationId)
14103
+ const localVarPath = `/api/v1/accreditations/{accreditationId}`
14104
+ .replace(`{${"accreditationId"}}`, encodeURIComponent(String(accreditationId)));
14105
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14106
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14107
+ let baseOptions;
14108
+ if (configuration) {
14109
+ baseOptions = configuration.baseOptions;
14110
+ }
14111
+
14112
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
14113
+ const localVarHeaderParameter = {} as any;
14114
+ const localVarQueryParameter = {} as any;
14115
+
14116
+ // authentication oauth2 required
14117
+ // oauth required
14118
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
14119
+
14120
+
14121
+
14122
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14123
+
14124
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14125
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14126
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14127
+ localVarRequestOptions.data = serializeDataIfNeeded(updateAccreditationCommand, localVarRequestOptions, configuration)
14128
+
14129
+ return {
14130
+ url: toPathString(localVarUrlObj),
14131
+ options: localVarRequestOptions,
14132
+ };
14133
+ },
14134
+ /**
14135
+ *
14136
+ * @summary Get all Accreditations.
14137
+ * @param {string} [name]
14138
+ * @param {string} [logo]
14139
+ * @param {string} [country]
14140
+ * @param {number} [page]
14141
+ * @param {number} [limit]
14142
+ * @param {Date} [lastRetrieved]
14143
+ * @param {*} [options] Override http request option.
14144
+ * @throws {RequiredError}
14145
+ */
14146
+ apiV1AccreditationsGet: async (name?: string, logo?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14147
+ const localVarPath = `/api/v1/accreditations`;
14148
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14149
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14150
+ let baseOptions;
14151
+ if (configuration) {
14152
+ baseOptions = configuration.baseOptions;
14153
+ }
14154
+
14155
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
14156
+ const localVarHeaderParameter = {} as any;
14157
+ const localVarQueryParameter = {} as any;
14158
+
14159
+ // authentication oauth2 required
14160
+ // oauth required
14161
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
14162
+
14163
+ if (name !== undefined) {
14164
+ localVarQueryParameter['Name'] = name;
14165
+ }
14166
+
14167
+ if (logo !== undefined) {
14168
+ localVarQueryParameter['Logo'] = logo;
14169
+ }
14170
+
14171
+ if (country !== undefined) {
14172
+ localVarQueryParameter['Country'] = country;
14173
+ }
14174
+
14175
+ if (page !== undefined) {
14176
+ localVarQueryParameter['page'] = page;
14177
+ }
14178
+
14179
+ if (limit !== undefined) {
14180
+ localVarQueryParameter['limit'] = limit;
14181
+ }
14182
+
14183
+ if (lastRetrieved !== undefined) {
14184
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
14185
+ (lastRetrieved as any).toISOString() :
14186
+ lastRetrieved;
14187
+ }
14188
+
14189
+
14190
+
14191
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14192
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14193
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14194
+
14195
+ return {
14196
+ url: toPathString(localVarUrlObj),
14197
+ options: localVarRequestOptions,
14198
+ };
14199
+ },
14200
+ /**
14201
+ *
14202
+ * @summary Create a Accreditation.
14203
+ * @param {CreateAccreditationCommand} [createAccreditationCommand]
14204
+ * @param {*} [options] Override http request option.
14205
+ * @throws {RequiredError}
14206
+ */
14207
+ apiV1AccreditationsPost: async (createAccreditationCommand?: CreateAccreditationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
14208
+ const localVarPath = `/api/v1/accreditations`;
14209
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14210
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14211
+ let baseOptions;
14212
+ if (configuration) {
14213
+ baseOptions = configuration.baseOptions;
14214
+ }
14215
+
14216
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
14217
+ const localVarHeaderParameter = {} as any;
14218
+ const localVarQueryParameter = {} as any;
14219
+
14220
+ // authentication oauth2 required
14221
+ // oauth required
14222
+ await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
14223
+
14224
+
14225
+
14226
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14227
+
14228
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14229
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14230
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
14231
+ localVarRequestOptions.data = serializeDataIfNeeded(createAccreditationCommand, localVarRequestOptions, configuration)
14232
+
14233
+ return {
14234
+ url: toPathString(localVarUrlObj),
14235
+ options: localVarRequestOptions,
14236
+ };
14237
+ },
14238
+ }
14239
+ };
14240
+
14241
+ /**
14242
+ * AccreditationsApi - functional programming interface
14243
+ * @export
14244
+ */
14245
+ export const AccreditationsApiFp = function(configuration?: Configuration) {
14246
+ const localVarAxiosParamCreator = AccreditationsApiAxiosParamCreator(configuration)
14247
+ return {
14248
+ /**
14249
+ *
14250
+ * @summary Delete Accreditation.
14251
+ * @param {string} accreditationId
14252
+ * @param {*} [options] Override http request option.
14253
+ * @throws {RequiredError}
14254
+ */
14255
+ async apiV1AccreditationsAccreditationIdDelete(accreditationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
14256
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AccreditationsAccreditationIdDelete(accreditationId, options);
14257
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14258
+ },
14259
+ /**
14260
+ *
14261
+ * @summary Get Accreditation.
14262
+ * @param {string} accreditationId
14263
+ * @param {*} [options] Override http request option.
14264
+ * @throws {RequiredError}
14265
+ */
14266
+ async apiV1AccreditationsAccreditationIdGet(accreditationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationModel>> {
14267
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AccreditationsAccreditationIdGet(accreditationId, options);
14268
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14269
+ },
14270
+ /**
14271
+ *
14272
+ * @summary Update Accreditation.
14273
+ * @param {string} accreditationId
14274
+ * @param {UpdateAccreditationCommand} [updateAccreditationCommand]
14275
+ * @param {*} [options] Override http request option.
14276
+ * @throws {RequiredError}
14277
+ */
14278
+ async apiV1AccreditationsAccreditationIdPut(accreditationId: string, updateAccreditationCommand?: UpdateAccreditationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationModel>> {
14279
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AccreditationsAccreditationIdPut(accreditationId, updateAccreditationCommand, options);
14280
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14281
+ },
14282
+ /**
14283
+ *
14284
+ * @summary Get all Accreditations.
14285
+ * @param {string} [name]
14286
+ * @param {string} [logo]
14287
+ * @param {string} [country]
14288
+ * @param {number} [page]
14289
+ * @param {number} [limit]
14290
+ * @param {Date} [lastRetrieved]
14291
+ * @param {*} [options] Override http request option.
14292
+ * @throws {RequiredError}
14293
+ */
14294
+ async apiV1AccreditationsGet(name?: string, logo?: string, country?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationsModel>> {
14295
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AccreditationsGet(name, logo, country, page, limit, lastRetrieved, options);
14296
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14297
+ },
14298
+ /**
14299
+ *
14300
+ * @summary Create a Accreditation.
14301
+ * @param {CreateAccreditationCommand} [createAccreditationCommand]
14302
+ * @param {*} [options] Override http request option.
14303
+ * @throws {RequiredError}
14304
+ */
14305
+ async apiV1AccreditationsPost(createAccreditationCommand?: CreateAccreditationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccreditationModel>> {
14306
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1AccreditationsPost(createAccreditationCommand, options);
14307
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
14308
+ },
14309
+ }
14310
+ };
14311
+
14312
+ /**
14313
+ * AccreditationsApi - factory interface
14314
+ * @export
14315
+ */
14316
+ export const AccreditationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
14317
+ const localVarFp = AccreditationsApiFp(configuration)
14318
+ return {
14319
+ /**
14320
+ *
14321
+ * @summary Delete Accreditation.
14322
+ * @param {string} accreditationId
13305
14323
  * @param {*} [options] Override http request option.
13306
14324
  * @throws {RequiredError}
13307
14325
  */
@@ -14496,6 +15514,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
14496
15514
  * @param {string} [hospitalName]
14497
15515
  * @param {string} [countryId]
14498
15516
  * @param {string} [tag]
15517
+ * @param {string} [exceptArticleId]
14499
15518
  * @param {string} [exceptHospitalId]
14500
15519
  * @param {string} [contributorId]
14501
15520
  * @param {string} [languageCode]
@@ -14507,7 +15526,7 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
14507
15526
  * @param {*} [options] Override http request option.
14508
15527
  * @throws {RequiredError}
14509
15528
  */
14510
- apiV1ArticlesGet: async (id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15529
+ apiV1ArticlesGet: async (id?: string, title?: 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> => {
14511
15530
  const localVarPath = `/api/v1/articles`;
14512
15531
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
14513
15532
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -14568,6 +15587,10 @@ export const ArticlesApiAxiosParamCreator = function (configuration?: Configurat
14568
15587
  localVarQueryParameter['Tag'] = tag;
14569
15588
  }
14570
15589
 
15590
+ if (exceptArticleId !== undefined) {
15591
+ localVarQueryParameter['ExceptArticleId'] = exceptArticleId;
15592
+ }
15593
+
14571
15594
  if (exceptHospitalId !== undefined) {
14572
15595
  localVarQueryParameter['ExceptHospitalId'] = exceptHospitalId;
14573
15596
  }
@@ -15009,6 +16032,7 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
15009
16032
  * @param {string} [hospitalName]
15010
16033
  * @param {string} [countryId]
15011
16034
  * @param {string} [tag]
16035
+ * @param {string} [exceptArticleId]
15012
16036
  * @param {string} [exceptHospitalId]
15013
16037
  * @param {string} [contributorId]
15014
16038
  * @param {string} [languageCode]
@@ -15020,8 +16044,8 @@ export const ArticlesApiFp = function(configuration?: Configuration) {
15020
16044
  * @param {*} [options] Override http request option.
15021
16045
  * @throws {RequiredError}
15022
16046
  */
15023
- async apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: 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>> {
15024
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
16047
+ async apiV1ArticlesGet(id?: string, title?: 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>> {
16048
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
15025
16049
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15026
16050
  },
15027
16051
  /**
@@ -15336,6 +16360,7 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
15336
16360
  * @param {string} [hospitalName]
15337
16361
  * @param {string} [countryId]
15338
16362
  * @param {string} [tag]
16363
+ * @param {string} [exceptArticleId]
15339
16364
  * @param {string} [exceptHospitalId]
15340
16365
  * @param {string} [contributorId]
15341
16366
  * @param {string} [languageCode]
@@ -15347,8 +16372,8 @@ export const ArticlesApiFactory = function (configuration?: Configuration, baseP
15347
16372
  * @param {*} [options] Override http request option.
15348
16373
  * @throws {RequiredError}
15349
16374
  */
15350
- apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ArticlesModel> {
15351
- return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
16375
+ apiV1ArticlesGet(id?: string, title?: 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> {
16376
+ return localVarFp.apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
15352
16377
  },
15353
16378
  /**
15354
16379
  *
@@ -15704,6 +16729,7 @@ export class ArticlesApi extends BaseAPI {
15704
16729
  * @param {string} [hospitalName]
15705
16730
  * @param {string} [countryId]
15706
16731
  * @param {string} [tag]
16732
+ * @param {string} [exceptArticleId]
15707
16733
  * @param {string} [exceptHospitalId]
15708
16734
  * @param {string} [contributorId]
15709
16735
  * @param {string} [languageCode]
@@ -15716,8 +16742,8 @@ export class ArticlesApi extends BaseAPI {
15716
16742
  * @throws {RequiredError}
15717
16743
  * @memberof ArticlesApi
15718
16744
  */
15719
- public apiV1ArticlesGet(id?: string, title?: string, description?: string, status?: ArticleStatus, marketingType?: MarketingType, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, countryId?: string, tag?: string, exceptHospitalId?: string, contributorId?: string, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
15720
- return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, description, status, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
16745
+ public apiV1ArticlesGet(id?: string, title?: 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) {
16746
+ return ArticlesApiFp(this.configuration).apiV1ArticlesGet(id, title, 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));
15721
16747
  }
15722
16748
 
15723
16749
  /**