ch-admin-api-client-typescript 5.79.39 → 5.79.44

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.
Files changed (51) hide show
  1. package/lib/api/about-us-api.js +8 -8
  2. package/lib/api/accreditations-api.js +3 -3
  3. package/lib/api/ai-prompts-api.d.ts +28 -28
  4. package/lib/api/ai-prompts-api.js +33 -33
  5. package/lib/api/app-version-api.js +4 -4
  6. package/lib/api/appointments-api.js +29 -29
  7. package/lib/api/article-categories-api.js +6 -6
  8. package/lib/api/articles-api.js +28 -28
  9. package/lib/api/call-histories-api.js +12 -12
  10. package/lib/api/chadmins-api.js +7 -7
  11. package/lib/api/chmanagers-api.js +7 -7
  12. package/lib/api/content-managers-api.js +7 -7
  13. package/lib/api/contributors-api.js +12 -12
  14. package/lib/api/countries-api.js +10 -10
  15. package/lib/api/currencies-api.js +2 -2
  16. package/lib/api/dash-board-api.js +15 -15
  17. package/lib/api/deals-api.js +59 -59
  18. package/lib/api/doctor-affiliations-api.js +25 -25
  19. package/lib/api/doctors-api.js +43 -43
  20. package/lib/api/email-webhooks-api.js +9 -9
  21. package/lib/api/faq-categories-api.js +8 -8
  22. package/lib/api/faqs-api.js +12 -12
  23. package/lib/api/form-results-api.js +11 -11
  24. package/lib/api/form-templates-api.js +9 -9
  25. package/lib/api/frequently-asked-questions-api.js +11 -11
  26. package/lib/api/general-articles-api.js +28 -28
  27. package/lib/api/grades-api.js +4 -4
  28. package/lib/api/hospital-branches-api.js +5 -5
  29. package/lib/api/hospital-groups-api.js +5 -5
  30. package/lib/api/hospitals-api.js +167 -167
  31. package/lib/api/languages-api.js +4 -4
  32. package/lib/api/managers-api.js +11 -11
  33. package/lib/api/notifications-api.js +2 -2
  34. package/lib/api/patient-affiliations-api.js +6 -6
  35. package/lib/api/patient-managers-api.js +7 -7
  36. package/lib/api/patients-api.js +8 -8
  37. package/lib/api/plans-api.js +2 -2
  38. package/lib/api/prescriptions-api.js +9 -9
  39. package/lib/api/promotions-api.js +7 -7
  40. package/lib/api/service-reviews-api.js +15 -15
  41. package/lib/api/services-api.js +16 -16
  42. package/lib/api/services-categories-api.js +2 -2
  43. package/lib/api/specialties-api.js +24 -24
  44. package/lib/api/specialty-types-api.js +24 -24
  45. package/lib/api/survey-forms-api.js +10 -10
  46. package/lib/api/survey-results-api.js +9 -9
  47. package/lib/api/tags-api.js +2 -2
  48. package/lib/api/users-api.js +5 -5
  49. package/lib/api/web-apps-api.js +9 -9
  50. package/lib/api/whats-app-template-media-api.js +3 -3
  51. package/package.json +1 -1
@@ -148,39 +148,39 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
148
148
  // oauth required
149
149
  _a.sent();
150
150
  if (id !== undefined) {
151
- localVarQueryParameter['Id'] = id;
151
+ localVarQueryParameter['id'] = id;
152
152
  }
153
153
  if (name !== undefined) {
154
- localVarQueryParameter['Name'] = name;
154
+ localVarQueryParameter['name'] = name;
155
155
  }
156
156
  if (description !== undefined) {
157
- localVarQueryParameter['Description'] = description;
157
+ localVarQueryParameter['description'] = description;
158
158
  }
159
159
  if (marketingType !== undefined) {
160
- localVarQueryParameter['MarketingType'] = marketingType;
160
+ localVarQueryParameter['marketingType'] = marketingType;
161
161
  }
162
162
  if (hospitalId !== undefined) {
163
- localVarQueryParameter['HospitalId'] = hospitalId;
163
+ localVarQueryParameter['hospitalId'] = hospitalId;
164
164
  }
165
165
  if (created !== undefined) {
166
- localVarQueryParameter['Created'] = (created instanceof Date) ?
166
+ localVarQueryParameter['created'] = (created instanceof Date) ?
167
167
  created.toISOString() :
168
168
  created;
169
169
  }
170
170
  if (ids) {
171
- localVarQueryParameter['Ids'] = ids;
171
+ localVarQueryParameter['ids'] = ids;
172
172
  }
173
173
  if (specialtyTypeCategoryId !== undefined) {
174
- localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
174
+ localVarQueryParameter['specialtyTypeCategoryId'] = specialtyTypeCategoryId;
175
175
  }
176
176
  if (languageCode !== undefined) {
177
- localVarQueryParameter['LanguageCode'] = languageCode;
177
+ localVarQueryParameter['languageCode'] = languageCode;
178
178
  }
179
179
  if (showHidden !== undefined) {
180
- localVarQueryParameter['ShowHidden'] = showHidden;
180
+ localVarQueryParameter['showHidden'] = showHidden;
181
181
  }
182
182
  if (returnDefaultValue !== undefined) {
183
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
183
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
184
184
  }
185
185
  if (page !== undefined) {
186
186
  localVarQueryParameter['page'] = page;
@@ -297,39 +297,39 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
297
297
  // oauth required
298
298
  _a.sent();
299
299
  if (id !== undefined) {
300
- localVarQueryParameter['Id'] = id;
300
+ localVarQueryParameter['id'] = id;
301
301
  }
302
302
  if (name !== undefined) {
303
- localVarQueryParameter['Name'] = name;
303
+ localVarQueryParameter['name'] = name;
304
304
  }
305
305
  if (description !== undefined) {
306
- localVarQueryParameter['Description'] = description;
306
+ localVarQueryParameter['description'] = description;
307
307
  }
308
308
  if (marketingType !== undefined) {
309
- localVarQueryParameter['MarketingType'] = marketingType;
309
+ localVarQueryParameter['marketingType'] = marketingType;
310
310
  }
311
311
  if (hospitalId !== undefined) {
312
- localVarQueryParameter['HospitalId'] = hospitalId;
312
+ localVarQueryParameter['hospitalId'] = hospitalId;
313
313
  }
314
314
  if (created !== undefined) {
315
- localVarQueryParameter['Created'] = (created instanceof Date) ?
315
+ localVarQueryParameter['created'] = (created instanceof Date) ?
316
316
  created.toISOString() :
317
317
  created;
318
318
  }
319
319
  if (ids) {
320
- localVarQueryParameter['Ids'] = ids;
320
+ localVarQueryParameter['ids'] = ids;
321
321
  }
322
322
  if (specialtyTypeCategoryId !== undefined) {
323
- localVarQueryParameter['SpecialtyTypeCategoryId'] = specialtyTypeCategoryId;
323
+ localVarQueryParameter['specialtyTypeCategoryId'] = specialtyTypeCategoryId;
324
324
  }
325
325
  if (languageCode !== undefined) {
326
- localVarQueryParameter['LanguageCode'] = languageCode;
326
+ localVarQueryParameter['languageCode'] = languageCode;
327
327
  }
328
328
  if (showHidden !== undefined) {
329
- localVarQueryParameter['ShowHidden'] = showHidden;
329
+ localVarQueryParameter['showHidden'] = showHidden;
330
330
  }
331
331
  if (returnDefaultValue !== undefined) {
332
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
332
+ localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
333
333
  }
334
334
  if (page !== undefined) {
335
335
  localVarQueryParameter['page'] = page;
@@ -602,10 +602,10 @@ var SpecialtyTypesApiAxiosParamCreator = function (configuration) {
602
602
  // oauth required
603
603
  _a.sent();
604
604
  if (id !== undefined) {
605
- localVarQueryParameter['Id'] = id;
605
+ localVarQueryParameter['id'] = id;
606
606
  }
607
607
  if (mediaType !== undefined) {
608
- localVarQueryParameter['MediaType'] = mediaType;
608
+ localVarQueryParameter['mediaType'] = mediaType;
609
609
  }
610
610
  if (page !== undefined) {
611
611
  localVarQueryParameter['page'] = page;
@@ -146,31 +146,31 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
146
146
  // oauth required
147
147
  _a.sent();
148
148
  if (id !== undefined) {
149
- localVarQueryParameter['Id'] = id;
149
+ localVarQueryParameter['id'] = id;
150
150
  }
151
151
  if (hospitalId !== undefined) {
152
- localVarQueryParameter['HospitalId'] = hospitalId;
152
+ localVarQueryParameter['hospitalId'] = hospitalId;
153
153
  }
154
154
  if (ownerHospitalId !== undefined) {
155
- localVarQueryParameter['OwnerHospitalId'] = ownerHospitalId;
155
+ localVarQueryParameter['ownerHospitalId'] = ownerHospitalId;
156
156
  }
157
157
  if (affiliatedHospitalId !== undefined) {
158
- localVarQueryParameter['AffiliatedHospitalId'] = affiliatedHospitalId;
158
+ localVarQueryParameter['affiliatedHospitalId'] = affiliatedHospitalId;
159
159
  }
160
160
  if (name !== undefined) {
161
- localVarQueryParameter['Name'] = name;
161
+ localVarQueryParameter['name'] = name;
162
162
  }
163
163
  if (languageCode !== undefined) {
164
- localVarQueryParameter['LanguageCode'] = languageCode;
164
+ localVarQueryParameter['languageCode'] = languageCode;
165
165
  }
166
166
  if (showHidden !== undefined) {
167
- localVarQueryParameter['ShowHidden'] = showHidden;
167
+ localVarQueryParameter['showHidden'] = showHidden;
168
168
  }
169
169
  if (isShared !== undefined) {
170
- localVarQueryParameter['IsShared'] = isShared;
170
+ localVarQueryParameter['isShared'] = isShared;
171
171
  }
172
172
  if (status !== undefined) {
173
- localVarQueryParameter['Status'] = status;
173
+ localVarQueryParameter['status'] = status;
174
174
  }
175
175
  if (page !== undefined) {
176
176
  localVarQueryParameter['page'] = page;
@@ -593,7 +593,7 @@ var SurveyFormsApiAxiosParamCreator = function (configuration) {
593
593
  // oauth required
594
594
  _a.sent();
595
595
  if (languageCode !== undefined) {
596
- localVarQueryParameter['LanguageCode'] = languageCode;
596
+ localVarQueryParameter['languageCode'] = languageCode;
597
597
  }
598
598
  if (page !== undefined) {
599
599
  localVarQueryParameter['page'] = page;
@@ -146,35 +146,35 @@ var SurveyResultsApiAxiosParamCreator = function (configuration) {
146
146
  // oauth required
147
147
  _a.sent();
148
148
  if (id !== undefined) {
149
- localVarQueryParameter['Id'] = id;
149
+ localVarQueryParameter['id'] = id;
150
150
  }
151
151
  if (hospitalId !== undefined) {
152
- localVarQueryParameter['HospitalId'] = hospitalId;
152
+ localVarQueryParameter['hospitalId'] = hospitalId;
153
153
  }
154
154
  if (surveyFormId !== undefined) {
155
- localVarQueryParameter['SurveyFormId'] = surveyFormId;
155
+ localVarQueryParameter['surveyFormId'] = surveyFormId;
156
156
  }
157
157
  if (name !== undefined) {
158
- localVarQueryParameter['Name'] = name;
158
+ localVarQueryParameter['name'] = name;
159
159
  }
160
160
  if (languageCode !== undefined) {
161
- localVarQueryParameter['LanguageCode'] = languageCode;
161
+ localVarQueryParameter['languageCode'] = languageCode;
162
162
  }
163
163
  if (periodUnit !== undefined) {
164
- localVarQueryParameter['PeriodUnit'] = periodUnit;
164
+ localVarQueryParameter['periodUnit'] = periodUnit;
165
165
  }
166
166
  if (startDateTime !== undefined) {
167
- localVarQueryParameter['StartDateTime'] = (startDateTime instanceof Date) ?
167
+ localVarQueryParameter['startDateTime'] = (startDateTime instanceof Date) ?
168
168
  startDateTime.toISOString() :
169
169
  startDateTime;
170
170
  }
171
171
  if (endDateTime !== undefined) {
172
- localVarQueryParameter['EndDateTime'] = (endDateTime instanceof Date) ?
172
+ localVarQueryParameter['endDateTime'] = (endDateTime instanceof Date) ?
173
173
  endDateTime.toISOString() :
174
174
  endDateTime;
175
175
  }
176
176
  if (isExternal !== undefined) {
177
- localVarQueryParameter['IsExternal'] = isExternal;
177
+ localVarQueryParameter['isExternal'] = isExternal;
178
178
  }
179
179
  if (page !== undefined) {
180
180
  localVarQueryParameter['page'] = page;
@@ -139,10 +139,10 @@ var TagsApiAxiosParamCreator = function (configuration) {
139
139
  // oauth required
140
140
  _a.sent();
141
141
  if (tagId !== undefined) {
142
- localVarQueryParameter['TagId'] = tagId;
142
+ localVarQueryParameter['tagId'] = tagId;
143
143
  }
144
144
  if (filterType !== undefined) {
145
- localVarQueryParameter['FilterType'] = filterType;
145
+ localVarQueryParameter['filterType'] = filterType;
146
146
  }
147
147
  if (page !== undefined) {
148
148
  localVarQueryParameter['page'] = page;
@@ -142,19 +142,19 @@ var UsersApiAxiosParamCreator = function (configuration) {
142
142
  // oauth required
143
143
  _a.sent();
144
144
  if (name !== undefined) {
145
- localVarQueryParameter['Name'] = name;
145
+ localVarQueryParameter['name'] = name;
146
146
  }
147
147
  if (email !== undefined) {
148
- localVarQueryParameter['Email'] = email;
148
+ localVarQueryParameter['email'] = email;
149
149
  }
150
150
  if (role !== undefined) {
151
- localVarQueryParameter['Role'] = role;
151
+ localVarQueryParameter['role'] = role;
152
152
  }
153
153
  if (hospitalId !== undefined) {
154
- localVarQueryParameter['HospitalId'] = hospitalId;
154
+ localVarQueryParameter['hospitalId'] = hospitalId;
155
155
  }
156
156
  if (showHidden !== undefined) {
157
- localVarQueryParameter['ShowHidden'] = showHidden;
157
+ localVarQueryParameter['showHidden'] = showHidden;
158
158
  }
159
159
  if (page !== undefined) {
160
160
  localVarQueryParameter['page'] = page;
@@ -199,28 +199,28 @@ var WebAppsApiAxiosParamCreator = function (configuration) {
199
199
  // oauth required
200
200
  _a.sent();
201
201
  if (id !== undefined) {
202
- localVarQueryParameter['Id'] = id;
202
+ localVarQueryParameter['id'] = id;
203
203
  }
204
204
  if (hospitalId !== undefined) {
205
- localVarQueryParameter['HospitalId'] = hospitalId;
205
+ localVarQueryParameter['hospitalId'] = hospitalId;
206
206
  }
207
207
  if (hospitalName !== undefined) {
208
- localVarQueryParameter['HospitalName'] = hospitalName;
208
+ localVarQueryParameter['hospitalName'] = hospitalName;
209
209
  }
210
210
  if (appName !== undefined) {
211
- localVarQueryParameter['AppName'] = appName;
211
+ localVarQueryParameter['appName'] = appName;
212
212
  }
213
213
  if (hostName !== undefined) {
214
- localVarQueryParameter['HostName'] = hostName;
214
+ localVarQueryParameter['hostName'] = hostName;
215
215
  }
216
216
  if (deployStatus !== undefined) {
217
- localVarQueryParameter['DeployStatus'] = deployStatus;
217
+ localVarQueryParameter['deployStatus'] = deployStatus;
218
218
  }
219
219
  if (languageCode !== undefined) {
220
- localVarQueryParameter['LanguageCode'] = languageCode;
220
+ localVarQueryParameter['languageCode'] = languageCode;
221
221
  }
222
222
  if (showHidden !== undefined) {
223
- localVarQueryParameter['ShowHidden'] = showHidden;
223
+ localVarQueryParameter['showHidden'] = showHidden;
224
224
  }
225
225
  if (page !== undefined) {
226
226
  localVarQueryParameter['page'] = page;
@@ -333,7 +333,7 @@ var WebAppsApiAxiosParamCreator = function (configuration) {
333
333
  // oauth required
334
334
  _a.sent();
335
335
  if (keys) {
336
- localVarQueryParameter['Keys'] = keys;
336
+ localVarQueryParameter['keys'] = keys;
337
337
  }
338
338
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
339
339
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -140,13 +140,13 @@ var WhatsAppTemplateMediaApiAxiosParamCreator = function (configuration) {
140
140
  // oauth required
141
141
  _a.sent();
142
142
  if (id !== undefined) {
143
- localVarQueryParameter['Id'] = id;
143
+ localVarQueryParameter['id'] = id;
144
144
  }
145
145
  if (templateId !== undefined) {
146
- localVarQueryParameter['TemplateId'] = templateId;
146
+ localVarQueryParameter['templateId'] = templateId;
147
147
  }
148
148
  if (metaMediaType !== undefined) {
149
- localVarQueryParameter['MetaMediaType'] = metaMediaType;
149
+ localVarQueryParameter['metaMediaType'] = metaMediaType;
150
150
  }
151
151
  if (page !== undefined) {
152
152
  localVarQueryParameter['page'] = page;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "5.79.39",
3
+ "version": "5.79.44",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",