ch-api-client-typescript2 4.9.7 → 4.9.8

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 (145) hide show
  1. package/lib/api/about-us-api.d.ts +123 -19
  2. package/lib/api/about-us-api.d.ts.map +1 -1
  3. package/lib/api/about-us-api.js +10 -22
  4. package/lib/api/accreditations-api.d.ts +60 -9
  5. package/lib/api/accreditations-api.d.ts.map +1 -1
  6. package/lib/api/accreditations-api.js +7 -11
  7. package/lib/api/app-version-api.d.ts +15 -2
  8. package/lib/api/app-version-api.d.ts.map +1 -1
  9. package/lib/api/app-version-api.js +3 -3
  10. package/lib/api/appointments-api.d.ts +201 -31
  11. package/lib/api/appointments-api.d.ts.map +1 -1
  12. package/lib/api/appointments-api.js +16 -36
  13. package/lib/api/articles-api.d.ts +453 -70
  14. package/lib/api/articles-api.d.ts.map +1 -1
  15. package/lib/api/articles-api.js +34 -81
  16. package/lib/api/bookings-api.d.ts +183 -28
  17. package/lib/api/bookings-api.d.ts.map +1 -1
  18. package/lib/api/bookings-api.js +16 -33
  19. package/lib/api/chat-users-api.d.ts +84 -12
  20. package/lib/api/chat-users-api.d.ts.map +1 -1
  21. package/lib/api/chat-users-api.js +15 -16
  22. package/lib/api/consultations-api.d.ts +171 -26
  23. package/lib/api/consultations-api.d.ts.map +1 -1
  24. package/lib/api/consultations-api.js +16 -31
  25. package/lib/api/contributors-api.d.ts +213 -33
  26. package/lib/api/contributors-api.d.ts.map +1 -1
  27. package/lib/api/contributors-api.js +16 -38
  28. package/lib/api/countries-api.d.ts +189 -29
  29. package/lib/api/countries-api.d.ts.map +1 -1
  30. package/lib/api/countries-api.js +16 -34
  31. package/lib/api/deals-api.d.ts +630 -103
  32. package/lib/api/deals-api.d.ts.map +1 -1
  33. package/lib/api/deals-api.js +65 -119
  34. package/lib/api/devices-api.d.ts +150 -22
  35. package/lib/api/devices-api.d.ts.map +1 -1
  36. package/lib/api/devices-api.js +20 -28
  37. package/lib/api/doctor-affiliations-api.d.ts +252 -40
  38. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  39. package/lib/api/doctor-affiliations-api.js +30 -48
  40. package/lib/api/doctors-api.d.ts +675 -105
  41. package/lib/api/doctors-api.d.ts.map +1 -1
  42. package/lib/api/doctors-api.js +47 -120
  43. package/lib/api/faq-categories-api.d.ts +117 -18
  44. package/lib/api/faq-categories-api.d.ts.map +1 -1
  45. package/lib/api/faq-categories-api.js +10 -21
  46. package/lib/api/faqs-api.d.ts +249 -38
  47. package/lib/api/faqs-api.d.ts.map +1 -1
  48. package/lib/api/faqs-api.js +22 -45
  49. package/lib/api/group-channels-api.d.ts +117 -17
  50. package/lib/api/group-channels-api.d.ts.map +1 -1
  51. package/lib/api/group-channels-api.js +15 -22
  52. package/lib/api/header-navigations-api.d.ts +15 -2
  53. package/lib/api/header-navigations-api.d.ts.map +1 -1
  54. package/lib/api/header-navigations-api.js +3 -3
  55. package/lib/api/hospitals-api.d.ts +1695 -270
  56. package/lib/api/hospitals-api.d.ts.map +1 -1
  57. package/lib/api/hospitals-api.js +162 -315
  58. package/lib/api/hospitals-consultation-timetables-api.d.ts +39 -6
  59. package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -1
  60. package/lib/api/hospitals-consultation-timetables-api.js +3 -7
  61. package/lib/api/images-api.d.ts +15 -2
  62. package/lib/api/images-api.d.ts.map +1 -1
  63. package/lib/api/images-api.js +4 -3
  64. package/lib/api/languages-api.d.ts +66 -10
  65. package/lib/api/languages-api.d.ts.map +1 -1
  66. package/lib/api/languages-api.js +7 -12
  67. package/lib/api/memberships-api.d.ts +111 -17
  68. package/lib/api/memberships-api.d.ts.map +1 -1
  69. package/lib/api/memberships-api.js +10 -20
  70. package/lib/api/notifications-api.d.ts +54 -8
  71. package/lib/api/notifications-api.d.ts.map +1 -1
  72. package/lib/api/notifications-api.js +8 -10
  73. package/lib/api/origins-api.d.ts +45 -6
  74. package/lib/api/origins-api.d.ts.map +1 -1
  75. package/lib/api/origins-api.js +11 -9
  76. package/lib/api/patients-api.d.ts +96 -13
  77. package/lib/api/patients-api.d.ts.map +1 -1
  78. package/lib/api/patients-api.js +19 -19
  79. package/lib/api/plans-api.d.ts +108 -16
  80. package/lib/api/plans-api.d.ts.map +1 -1
  81. package/lib/api/plans-api.js +13 -20
  82. package/lib/api/profiles-api.d.ts +75 -10
  83. package/lib/api/profiles-api.d.ts.map +1 -1
  84. package/lib/api/profiles-api.js +19 -15
  85. package/lib/api/service-reviews-api.d.ts +312 -47
  86. package/lib/api/service-reviews-api.d.ts.map +1 -1
  87. package/lib/api/service-reviews-api.js +32 -57
  88. package/lib/api/services-api.d.ts +189 -31
  89. package/lib/api/services-api.d.ts.map +1 -1
  90. package/lib/api/services-api.js +21 -36
  91. package/lib/api/services-categories-api.d.ts +54 -8
  92. package/lib/api/services-categories-api.d.ts.map +1 -1
  93. package/lib/api/services-categories-api.js +7 -10
  94. package/lib/api/specialties-api.d.ts +294 -46
  95. package/lib/api/specialties-api.d.ts.map +1 -1
  96. package/lib/api/specialties-api.js +20 -52
  97. package/lib/api/specialty-types-api.d.ts +306 -48
  98. package/lib/api/specialty-types-api.d.ts.map +1 -1
  99. package/lib/api/specialty-types-api.js +20 -54
  100. package/lib/api/survey-forms-api.d.ts +21 -3
  101. package/lib/api/survey-forms-api.d.ts.map +1 -1
  102. package/lib/api/survey-forms-api.js +3 -4
  103. package/lib/api/survey-results-api.d.ts +15 -2
  104. package/lib/api/survey-results-api.d.ts.map +1 -1
  105. package/lib/api/survey-results-api.js +4 -3
  106. package/lib/api/tags-api.d.ts +54 -8
  107. package/lib/api/tags-api.d.ts.map +1 -1
  108. package/lib/api/tags-api.js +7 -10
  109. package/package.json +2 -2
  110. package/src/api/about-us-api.ts +142 -22
  111. package/src/api/accreditations-api.ts +69 -11
  112. package/src/api/app-version-api.ts +17 -3
  113. package/src/api/appointments-api.ts +232 -36
  114. package/src/api/articles-api.ts +523 -81
  115. package/src/api/bookings-api.ts +211 -33
  116. package/src/api/chat-users-api.ts +96 -16
  117. package/src/api/consultations-api.ts +197 -31
  118. package/src/api/contributors-api.ts +246 -38
  119. package/src/api/countries-api.ts +218 -34
  120. package/src/api/deals-api.ts +745 -119
  121. package/src/api/devices-api.ts +172 -28
  122. package/src/api/doctor-affiliations-api.ts +296 -48
  123. package/src/api/doctors-api.ts +780 -120
  124. package/src/api/faq-categories-api.ts +135 -21
  125. package/src/api/faqs-api.ts +287 -45
  126. package/src/api/group-channels-api.ts +134 -22
  127. package/src/api/header-navigations-api.ts +17 -3
  128. package/src/api/hospitals-api.ts +1985 -315
  129. package/src/api/hospitals-consultation-timetables-api.ts +45 -7
  130. package/src/api/images-api.ts +17 -3
  131. package/src/api/languages-api.ts +76 -12
  132. package/src/api/memberships-api.ts +128 -20
  133. package/src/api/notifications-api.ts +62 -10
  134. package/src/api/origins-api.ts +51 -9
  135. package/src/api/patients-api.ts +109 -19
  136. package/src/api/plans-api.ts +124 -20
  137. package/src/api/profiles-api.ts +85 -15
  138. package/src/api/service-reviews-api.ts +359 -57
  139. package/src/api/services-api.ts +224 -36
  140. package/src/api/services-categories-api.ts +62 -10
  141. package/src/api/specialties-api.ts +340 -52
  142. package/src/api/specialty-types-api.ts +354 -54
  143. package/src/api/survey-forms-api.ts +24 -4
  144. package/src/api/survey-results-api.ts +17 -3
  145. package/src/api/tags-api.ts +62 -10
@@ -219,6 +219,197 @@ export declare const AppointmentsApiFactory: (configuration?: Configuration, bas
219
219
  */
220
220
  apiV2AppointmentsRequestIdPost(requestId: string, createAppointmentCommand?: CreateAppointmentCommand, options?: any): AxiosPromise<string>;
221
221
  };
222
+ /**
223
+ * Request parameters for apiV2AppointmentsAppointmentIdGet operation in AppointmentsApi.
224
+ * @export
225
+ * @interface AppointmentsApiApiV2AppointmentsAppointmentIdGetRequest
226
+ */
227
+ export interface AppointmentsApiApiV2AppointmentsAppointmentIdGetRequest {
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdGet
232
+ */
233
+ readonly appointmentId: string;
234
+ /**
235
+ *
236
+ * @type {string}
237
+ * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdGet
238
+ */
239
+ readonly languageCode?: string;
240
+ }
241
+ /**
242
+ * Request parameters for apiV2AppointmentsAppointmentIdPayPost operation in AppointmentsApi.
243
+ * @export
244
+ * @interface AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest
245
+ */
246
+ export interface AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest {
247
+ /**
248
+ *
249
+ * @type {string}
250
+ * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdPayPost
251
+ */
252
+ readonly appointmentId: string;
253
+ }
254
+ /**
255
+ * Request parameters for apiV2AppointmentsAppointmentIdPut operation in AppointmentsApi.
256
+ * @export
257
+ * @interface AppointmentsApiApiV2AppointmentsAppointmentIdPutRequest
258
+ */
259
+ export interface AppointmentsApiApiV2AppointmentsAppointmentIdPutRequest {
260
+ /**
261
+ *
262
+ * @type {string}
263
+ * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdPut
264
+ */
265
+ readonly appointmentId: string;
266
+ /**
267
+ *
268
+ * @type {UpdateAppointmentCommand}
269
+ * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdPut
270
+ */
271
+ readonly updateAppointmentCommand?: UpdateAppointmentCommand;
272
+ }
273
+ /**
274
+ * Request parameters for apiV2AppointmentsGet operation in AppointmentsApi.
275
+ * @export
276
+ * @interface AppointmentsApiApiV2AppointmentsGetRequest
277
+ */
278
+ export interface AppointmentsApiApiV2AppointmentsGetRequest {
279
+ /**
280
+ *
281
+ * @type {string}
282
+ * @memberof AppointmentsApiApiV2AppointmentsGet
283
+ */
284
+ readonly hospitalId?: string;
285
+ /**
286
+ *
287
+ * @type {string}
288
+ * @memberof AppointmentsApiApiV2AppointmentsGet
289
+ */
290
+ readonly hospitalName?: string;
291
+ /**
292
+ *
293
+ * @type {string}
294
+ * @memberof AppointmentsApiApiV2AppointmentsGet
295
+ */
296
+ readonly doctorAffiliationId?: string;
297
+ /**
298
+ *
299
+ * @type {string}
300
+ * @memberof AppointmentsApiApiV2AppointmentsGet
301
+ */
302
+ readonly doctorId?: string;
303
+ /**
304
+ *
305
+ * @type {string}
306
+ * @memberof AppointmentsApiApiV2AppointmentsGet
307
+ */
308
+ readonly doctorName?: string;
309
+ /**
310
+ *
311
+ * @type {string}
312
+ * @memberof AppointmentsApiApiV2AppointmentsGet
313
+ */
314
+ readonly dealId?: string;
315
+ /**
316
+ *
317
+ * @type {string}
318
+ * @memberof AppointmentsApiApiV2AppointmentsGet
319
+ */
320
+ readonly dealName?: string;
321
+ /**
322
+ *
323
+ * @type {string}
324
+ * @memberof AppointmentsApiApiV2AppointmentsGet
325
+ */
326
+ readonly dealPackageId?: string;
327
+ /**
328
+ *
329
+ * @type {string}
330
+ * @memberof AppointmentsApiApiV2AppointmentsGet
331
+ */
332
+ readonly hospitalSpecialtyId?: string;
333
+ /**
334
+ *
335
+ * @type {string}
336
+ * @memberof AppointmentsApiApiV2AppointmentsGet
337
+ */
338
+ readonly serviceId?: string;
339
+ /**
340
+ *
341
+ * @type {boolean}
342
+ * @memberof AppointmentsApiApiV2AppointmentsGet
343
+ */
344
+ readonly isOpen?: boolean;
345
+ /**
346
+ *
347
+ * @type {boolean}
348
+ * @memberof AppointmentsApiApiV2AppointmentsGet
349
+ */
350
+ readonly isCompleted?: boolean;
351
+ /**
352
+ *
353
+ * @type {AppointmentStatus}
354
+ * @memberof AppointmentsApiApiV2AppointmentsGet
355
+ */
356
+ readonly status?: AppointmentStatus;
357
+ /**
358
+ *
359
+ * @type {AppointmentType}
360
+ * @memberof AppointmentsApiApiV2AppointmentsGet
361
+ */
362
+ readonly appointmentType?: AppointmentType;
363
+ /**
364
+ *
365
+ * @type {string}
366
+ * @memberof AppointmentsApiApiV2AppointmentsGet
367
+ */
368
+ readonly languageCode?: string;
369
+ /**
370
+ *
371
+ * @type {boolean}
372
+ * @memberof AppointmentsApiApiV2AppointmentsGet
373
+ */
374
+ readonly isExternal?: boolean;
375
+ /**
376
+ *
377
+ * @type {number}
378
+ * @memberof AppointmentsApiApiV2AppointmentsGet
379
+ */
380
+ readonly page?: number;
381
+ /**
382
+ *
383
+ * @type {number}
384
+ * @memberof AppointmentsApiApiV2AppointmentsGet
385
+ */
386
+ readonly limit?: number;
387
+ /**
388
+ *
389
+ * @type {Date}
390
+ * @memberof AppointmentsApiApiV2AppointmentsGet
391
+ */
392
+ readonly lastRetrieved?: Date;
393
+ }
394
+ /**
395
+ * Request parameters for apiV2AppointmentsRequestIdPost operation in AppointmentsApi.
396
+ * @export
397
+ * @interface AppointmentsApiApiV2AppointmentsRequestIdPostRequest
398
+ */
399
+ export interface AppointmentsApiApiV2AppointmentsRequestIdPostRequest {
400
+ /**
401
+ *
402
+ * @type {string}
403
+ * @memberof AppointmentsApiApiV2AppointmentsRequestIdPost
404
+ */
405
+ readonly requestId: string;
406
+ /**
407
+ *
408
+ * @type {CreateAppointmentCommand}
409
+ * @memberof AppointmentsApiApiV2AppointmentsRequestIdPost
410
+ */
411
+ readonly createAppointmentCommand?: CreateAppointmentCommand;
412
+ }
222
413
  /**
223
414
  * AppointmentsApi - object-oriented interface
224
415
  * @export
@@ -229,68 +420,47 @@ export declare class AppointmentsApi extends BaseAPI {
229
420
  /**
230
421
  *
231
422
  * @summary Get appointment by id
232
- * @param {string} appointmentId
233
- * @param {string} [languageCode]
423
+ * @param {AppointmentsApiApiV2AppointmentsAppointmentIdGetRequest} requestParameters Request parameters.
234
424
  * @param {*} [options] Override http request option.
235
425
  * @throws {RequiredError}
236
426
  * @memberof AppointmentsApi
237
427
  */
238
- apiV2AppointmentsAppointmentIdGet(appointmentId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppointmentModel, any>>;
428
+ apiV2AppointmentsAppointmentIdGet(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppointmentModel, any>>;
239
429
  /**
240
430
  *
241
431
  * @summary Pay appointment
242
- * @param {string} appointmentId
432
+ * @param {AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest} requestParameters Request parameters.
243
433
  * @param {*} [options] Override http request option.
244
434
  * @throws {RequiredError}
245
435
  * @memberof AppointmentsApi
246
436
  */
247
- apiV2AppointmentsAppointmentIdPayPost(appointmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
437
+ apiV2AppointmentsAppointmentIdPayPost(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
248
438
  /**
249
439
  *
250
440
  * @summary Update appointment
251
- * @param {string} appointmentId
252
- * @param {UpdateAppointmentCommand} [updateAppointmentCommand]
441
+ * @param {AppointmentsApiApiV2AppointmentsAppointmentIdPutRequest} requestParameters Request parameters.
253
442
  * @param {*} [options] Override http request option.
254
443
  * @throws {RequiredError}
255
444
  * @memberof AppointmentsApi
256
445
  */
257
- apiV2AppointmentsAppointmentIdPut(appointmentId: string, updateAppointmentCommand?: UpdateAppointmentCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
446
+ apiV2AppointmentsAppointmentIdPut(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
258
447
  /**
259
448
  *
260
449
  * @summary Get appointments
261
- * @param {string} [hospitalId]
262
- * @param {string} [hospitalName]
263
- * @param {string} [doctorAffiliationId]
264
- * @param {string} [doctorId]
265
- * @param {string} [doctorName]
266
- * @param {string} [dealId]
267
- * @param {string} [dealName]
268
- * @param {string} [dealPackageId]
269
- * @param {string} [hospitalSpecialtyId]
270
- * @param {string} [serviceId]
271
- * @param {boolean} [isOpen]
272
- * @param {boolean} [isCompleted]
273
- * @param {AppointmentStatus} [status]
274
- * @param {AppointmentType} [appointmentType]
275
- * @param {string} [languageCode]
276
- * @param {boolean} [isExternal]
277
- * @param {number} [page]
278
- * @param {number} [limit]
279
- * @param {Date} [lastRetrieved]
450
+ * @param {AppointmentsApiApiV2AppointmentsGetRequest} requestParameters Request parameters.
280
451
  * @param {*} [options] Override http request option.
281
452
  * @throws {RequiredError}
282
453
  * @memberof AppointmentsApi
283
454
  */
284
- apiV2AppointmentsGet(hospitalId?: string, hospitalName?: string, doctorAffiliationId?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, languageCode?: string, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppointmentsModel, any>>;
455
+ apiV2AppointmentsGet(requestParameters?: AppointmentsApiApiV2AppointmentsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AppointmentsModel, any>>;
285
456
  /**
286
457
  *
287
458
  * @summary Create appointment
288
- * @param {string} requestId
289
- * @param {CreateAppointmentCommand} [createAppointmentCommand]
459
+ * @param {AppointmentsApiApiV2AppointmentsRequestIdPostRequest} requestParameters Request parameters.
290
460
  * @param {*} [options] Override http request option.
291
461
  * @throws {RequiredError}
292
462
  * @memberof AppointmentsApi
293
463
  */
294
- apiV2AppointmentsRequestIdPost(requestId: string, createAppointmentCommand?: CreateAppointmentCommand, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
464
+ apiV2AppointmentsRequestIdPost(requestParameters: AppointmentsApiApiV2AppointmentsRequestIdPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
295
465
  }
296
466
  //# sourceMappingURL=appointments-api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appointments-api.d.ts","sourceRoot":"","sources":["../../src/api/appointments-api.ts"],"names":[],"mappings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B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,IAAI,CAAA;CAChC;AAED;;;;GAIG;AACH,MAAM,WAAW,oDAAoD;IACjE;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAE1B;;;;OAIG;IACH,QAAQ,CAAC,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;CAC/D;AAED;;;;;GAKG;AACH,qBAAa,eAAgB,SAAQ,OAAO;IACxC;;;;;;;OAOG;IACI,iCAAiC,CAAC,iBAAiB,EAAE,uDAAuD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIjJ;;;;;;;OAOG;IACI,qCAAqC,CAAC,iBAAiB,EAAE,2DAA2D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIzJ;;;;;;;OAOG;IACI,iCAAiC,CAAC,iBAAiB,EAAE,uDAAuD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIjJ;;;;;;;OAOG;IACI,oBAAoB,CAAC,iBAAiB,GAAE,0CAA+C,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI5H;;;;;;;OAOG;IACI,8BAA8B,CAAC,iBAAiB,EAAE,oDAAoD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAG9I"}
@@ -620,83 +620,63 @@ var AppointmentsApi = /** @class */ (function (_super) {
620
620
  /**
621
621
  *
622
622
  * @summary Get appointment by id
623
- * @param {string} appointmentId
624
- * @param {string} [languageCode]
623
+ * @param {AppointmentsApiApiV2AppointmentsAppointmentIdGetRequest} requestParameters Request parameters.
625
624
  * @param {*} [options] Override http request option.
626
625
  * @throws {RequiredError}
627
626
  * @memberof AppointmentsApi
628
627
  */
629
- AppointmentsApi.prototype.apiV2AppointmentsAppointmentIdGet = function (appointmentId, languageCode, options) {
628
+ AppointmentsApi.prototype.apiV2AppointmentsAppointmentIdGet = function (requestParameters, options) {
630
629
  var _this = this;
631
- return (0, exports.AppointmentsApiFp)(this.configuration).apiV2AppointmentsAppointmentIdGet(appointmentId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
630
+ return (0, exports.AppointmentsApiFp)(this.configuration).apiV2AppointmentsAppointmentIdGet(requestParameters.appointmentId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
632
631
  };
633
632
  /**
634
633
  *
635
634
  * @summary Pay appointment
636
- * @param {string} appointmentId
635
+ * @param {AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest} requestParameters Request parameters.
637
636
  * @param {*} [options] Override http request option.
638
637
  * @throws {RequiredError}
639
638
  * @memberof AppointmentsApi
640
639
  */
641
- AppointmentsApi.prototype.apiV2AppointmentsAppointmentIdPayPost = function (appointmentId, options) {
640
+ AppointmentsApi.prototype.apiV2AppointmentsAppointmentIdPayPost = function (requestParameters, options) {
642
641
  var _this = this;
643
- return (0, exports.AppointmentsApiFp)(this.configuration).apiV2AppointmentsAppointmentIdPayPost(appointmentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
642
+ return (0, exports.AppointmentsApiFp)(this.configuration).apiV2AppointmentsAppointmentIdPayPost(requestParameters.appointmentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
644
643
  };
645
644
  /**
646
645
  *
647
646
  * @summary Update appointment
648
- * @param {string} appointmentId
649
- * @param {UpdateAppointmentCommand} [updateAppointmentCommand]
647
+ * @param {AppointmentsApiApiV2AppointmentsAppointmentIdPutRequest} requestParameters Request parameters.
650
648
  * @param {*} [options] Override http request option.
651
649
  * @throws {RequiredError}
652
650
  * @memberof AppointmentsApi
653
651
  */
654
- AppointmentsApi.prototype.apiV2AppointmentsAppointmentIdPut = function (appointmentId, updateAppointmentCommand, options) {
652
+ AppointmentsApi.prototype.apiV2AppointmentsAppointmentIdPut = function (requestParameters, options) {
655
653
  var _this = this;
656
- return (0, exports.AppointmentsApiFp)(this.configuration).apiV2AppointmentsAppointmentIdPut(appointmentId, updateAppointmentCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
654
+ return (0, exports.AppointmentsApiFp)(this.configuration).apiV2AppointmentsAppointmentIdPut(requestParameters.appointmentId, requestParameters.updateAppointmentCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
657
655
  };
658
656
  /**
659
657
  *
660
658
  * @summary Get appointments
661
- * @param {string} [hospitalId]
662
- * @param {string} [hospitalName]
663
- * @param {string} [doctorAffiliationId]
664
- * @param {string} [doctorId]
665
- * @param {string} [doctorName]
666
- * @param {string} [dealId]
667
- * @param {string} [dealName]
668
- * @param {string} [dealPackageId]
669
- * @param {string} [hospitalSpecialtyId]
670
- * @param {string} [serviceId]
671
- * @param {boolean} [isOpen]
672
- * @param {boolean} [isCompleted]
673
- * @param {AppointmentStatus} [status]
674
- * @param {AppointmentType} [appointmentType]
675
- * @param {string} [languageCode]
676
- * @param {boolean} [isExternal]
677
- * @param {number} [page]
678
- * @param {number} [limit]
679
- * @param {Date} [lastRetrieved]
659
+ * @param {AppointmentsApiApiV2AppointmentsGetRequest} requestParameters Request parameters.
680
660
  * @param {*} [options] Override http request option.
681
661
  * @throws {RequiredError}
682
662
  * @memberof AppointmentsApi
683
663
  */
684
- AppointmentsApi.prototype.apiV2AppointmentsGet = function (hospitalId, hospitalName, doctorAffiliationId, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, status, appointmentType, languageCode, isExternal, page, limit, lastRetrieved, options) {
664
+ AppointmentsApi.prototype.apiV2AppointmentsGet = function (requestParameters, options) {
685
665
  var _this = this;
686
- return (0, exports.AppointmentsApiFp)(this.configuration).apiV2AppointmentsGet(hospitalId, hospitalName, doctorAffiliationId, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, status, appointmentType, languageCode, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
666
+ if (requestParameters === void 0) { requestParameters = {}; }
667
+ return (0, exports.AppointmentsApiFp)(this.configuration).apiV2AppointmentsGet(requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorAffiliationId, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.dealPackageId, requestParameters.hospitalSpecialtyId, requestParameters.serviceId, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.status, requestParameters.appointmentType, requestParameters.languageCode, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
687
668
  };
688
669
  /**
689
670
  *
690
671
  * @summary Create appointment
691
- * @param {string} requestId
692
- * @param {CreateAppointmentCommand} [createAppointmentCommand]
672
+ * @param {AppointmentsApiApiV2AppointmentsRequestIdPostRequest} requestParameters Request parameters.
693
673
  * @param {*} [options] Override http request option.
694
674
  * @throws {RequiredError}
695
675
  * @memberof AppointmentsApi
696
676
  */
697
- AppointmentsApi.prototype.apiV2AppointmentsRequestIdPost = function (requestId, createAppointmentCommand, options) {
677
+ AppointmentsApi.prototype.apiV2AppointmentsRequestIdPost = function (requestParameters, options) {
698
678
  var _this = this;
699
- return (0, exports.AppointmentsApiFp)(this.configuration).apiV2AppointmentsRequestIdPost(requestId, createAppointmentCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
679
+ return (0, exports.AppointmentsApiFp)(this.configuration).apiV2AppointmentsRequestIdPost(requestParameters.requestId, requestParameters.createAppointmentCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
700
680
  };
701
681
  return AppointmentsApi;
702
682
  }(base_1.BaseAPI));