ch-api-client-typescript2 4.9.7 → 4.9.9

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
@@ -157,6 +157,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
157
157
  * @param {string} [hospitalId]
158
158
  * @param {string} [hospitalName]
159
159
  * @param {string} [languageCode]
160
+ * @param {boolean} [appointmentEnabled]
160
161
  * @param {boolean} [showHidden]
161
162
  * @param {number} [page]
162
163
  * @param {number} [limit]
@@ -164,7 +165,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
164
165
  * @param {*} [options] Override http request option.
165
166
  * @throws {RequiredError}
166
167
  */
167
- apiV2DealsDealIdPackagesGet: async (dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
168
+ apiV2DealsDealIdPackagesGet: async (dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, appointmentEnabled?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
168
169
  // verify required parameter 'dealId' is not null or undefined
169
170
  assertParamExists('apiV2DealsDealIdPackagesGet', 'dealId', dealId)
170
171
  const localVarPath = `/api/v2/deals/{dealId}/packages`
@@ -208,6 +209,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
208
209
  localVarQueryParameter['LanguageCode'] = languageCode;
209
210
  }
210
211
 
212
+ if (appointmentEnabled !== undefined) {
213
+ localVarQueryParameter['AppointmentEnabled'] = appointmentEnabled;
214
+ }
215
+
211
216
  if (showHidden !== undefined) {
212
217
  localVarQueryParameter['ShowHidden'] = showHidden;
213
218
  }
@@ -461,6 +466,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
461
466
  * @param {Array<string>} [ids]
462
467
  * @param {number} [serviceDuration]
463
468
  * @param {string} [languageCode]
469
+ * @param {boolean} [appointmentEnabled]
464
470
  * @param {boolean} [showHidden]
465
471
  * @param {boolean} [returnDefaultValue]
466
472
  * @param {number} [page]
@@ -469,7 +475,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
469
475
  * @param {*} [options] Override http request option.
470
476
  * @throws {RequiredError}
471
477
  */
472
- apiV2DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
478
+ apiV2DealsGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, appointmentEnabled?: boolean, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
473
479
  const localVarPath = `/api/v2/deals`;
474
480
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
475
481
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -550,6 +556,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
550
556
  localVarQueryParameter['LanguageCode'] = languageCode;
551
557
  }
552
558
 
559
+ if (appointmentEnabled !== undefined) {
560
+ localVarQueryParameter['AppointmentEnabled'] = appointmentEnabled;
561
+ }
562
+
553
563
  if (showHidden !== undefined) {
554
564
  localVarQueryParameter['ShowHidden'] = showHidden;
555
565
  }
@@ -603,6 +613,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
603
613
  * @param {Array<string>} [ids]
604
614
  * @param {number} [serviceDuration]
605
615
  * @param {string} [languageCode]
616
+ * @param {boolean} [appointmentEnabled]
606
617
  * @param {boolean} [showHidden]
607
618
  * @param {boolean} [returnDefaultValue]
608
619
  * @param {number} [page]
@@ -611,7 +622,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
611
622
  * @param {*} [options] Override http request option.
612
623
  * @throws {RequiredError}
613
624
  */
614
- apiV2DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
625
+ apiV2DealsSimpleGet: async (id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, appointmentEnabled?: boolean, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
615
626
  const localVarPath = `/api/v2/deals/simple`;
616
627
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
617
628
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -692,6 +703,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
692
703
  localVarQueryParameter['LanguageCode'] = languageCode;
693
704
  }
694
705
 
706
+ if (appointmentEnabled !== undefined) {
707
+ localVarQueryParameter['AppointmentEnabled'] = appointmentEnabled;
708
+ }
709
+
695
710
  if (showHidden !== undefined) {
696
711
  localVarQueryParameter['ShowHidden'] = showHidden;
697
712
  }
@@ -818,6 +833,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
818
833
  * @param {string} [hospitalId]
819
834
  * @param {string} [hospitalName]
820
835
  * @param {string} [languageCode]
836
+ * @param {boolean} [appointmentEnabled]
821
837
  * @param {boolean} [showHidden]
822
838
  * @param {number} [page]
823
839
  * @param {number} [limit]
@@ -825,8 +841,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
825
841
  * @param {*} [options] Override http request option.
826
842
  * @throws {RequiredError}
827
843
  */
828
- async apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackagesModel>> {
829
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options);
844
+ async apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, appointmentEnabled?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackagesModel>> {
845
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, appointmentEnabled, showHidden, page, limit, lastRetrieved, options);
830
846
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
831
847
  },
832
848
  /**
@@ -906,6 +922,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
906
922
  * @param {Array<string>} [ids]
907
923
  * @param {number} [serviceDuration]
908
924
  * @param {string} [languageCode]
925
+ * @param {boolean} [appointmentEnabled]
909
926
  * @param {boolean} [showHidden]
910
927
  * @param {boolean} [returnDefaultValue]
911
928
  * @param {number} [page]
@@ -914,8 +931,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
914
931
  * @param {*} [options] Override http request option.
915
932
  * @throws {RequiredError}
916
933
  */
917
- async apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
918
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
934
+ async apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, appointmentEnabled?: boolean, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsModel>> {
935
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, appointmentEnabled, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
919
936
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
920
937
  },
921
938
  /**
@@ -938,6 +955,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
938
955
  * @param {Array<string>} [ids]
939
956
  * @param {number} [serviceDuration]
940
957
  * @param {string} [languageCode]
958
+ * @param {boolean} [appointmentEnabled]
941
959
  * @param {boolean} [showHidden]
942
960
  * @param {boolean} [returnDefaultValue]
943
961
  * @param {number} [page]
@@ -946,8 +964,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
946
964
  * @param {*} [options] Override http request option.
947
965
  * @throws {RequiredError}
948
966
  */
949
- async apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
950
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
967
+ async apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, appointmentEnabled?: boolean, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealsSimpleModel>> {
968
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, appointmentEnabled, showHidden, returnDefaultValue, page, limit, lastRetrieved, options);
951
969
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
952
970
  },
953
971
  /**
@@ -1010,6 +1028,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1010
1028
  * @param {string} [hospitalId]
1011
1029
  * @param {string} [hospitalName]
1012
1030
  * @param {string} [languageCode]
1031
+ * @param {boolean} [appointmentEnabled]
1013
1032
  * @param {boolean} [showHidden]
1014
1033
  * @param {number} [page]
1015
1034
  * @param {number} [limit]
@@ -1017,8 +1036,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1017
1036
  * @param {*} [options] Override http request option.
1018
1037
  * @throws {RequiredError}
1019
1038
  */
1020
- apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealPackagesModel> {
1021
- return localVarFp.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1039
+ apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, appointmentEnabled?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealPackagesModel> {
1040
+ return localVarFp.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, appointmentEnabled, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1022
1041
  },
1023
1042
  /**
1024
1043
  *
@@ -1093,6 +1112,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1093
1112
  * @param {Array<string>} [ids]
1094
1113
  * @param {number} [serviceDuration]
1095
1114
  * @param {string} [languageCode]
1115
+ * @param {boolean} [appointmentEnabled]
1096
1116
  * @param {boolean} [showHidden]
1097
1117
  * @param {boolean} [returnDefaultValue]
1098
1118
  * @param {number} [page]
@@ -1101,8 +1121,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1101
1121
  * @param {*} [options] Override http request option.
1102
1122
  * @throws {RequiredError}
1103
1123
  */
1104
- apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
1105
- return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1124
+ apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, appointmentEnabled?: boolean, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsModel> {
1125
+ return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, appointmentEnabled, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1106
1126
  },
1107
1127
  /**
1108
1128
  *
@@ -1124,6 +1144,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1124
1144
  * @param {Array<string>} [ids]
1125
1145
  * @param {number} [serviceDuration]
1126
1146
  * @param {string} [languageCode]
1147
+ * @param {boolean} [appointmentEnabled]
1127
1148
  * @param {boolean} [showHidden]
1128
1149
  * @param {boolean} [returnDefaultValue]
1129
1150
  * @param {number} [page]
@@ -1132,8 +1153,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1132
1153
  * @param {*} [options] Override http request option.
1133
1154
  * @throws {RequiredError}
1134
1155
  */
1135
- apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
1136
- return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1156
+ apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, appointmentEnabled?: boolean, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealsSimpleModel> {
1157
+ return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, appointmentEnabled, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1137
1158
  },
1138
1159
  /**
1139
1160
  *
@@ -1150,6 +1171,685 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1150
1171
  };
1151
1172
  };
1152
1173
 
1174
+ /**
1175
+ * Request parameters for apiV2DealsDealIdAppointmenttimetablesGet operation in DealsApi.
1176
+ * @export
1177
+ * @interface DealsApiApiV2DealsDealIdAppointmenttimetablesGetRequest
1178
+ */
1179
+ export interface DealsApiApiV2DealsDealIdAppointmenttimetablesGetRequest {
1180
+ /**
1181
+ *
1182
+ * @type {string}
1183
+ * @memberof DealsApiApiV2DealsDealIdAppointmenttimetablesGet
1184
+ */
1185
+ readonly dealId: string
1186
+
1187
+ /**
1188
+ *
1189
+ * @type {number}
1190
+ * @memberof DealsApiApiV2DealsDealIdAppointmenttimetablesGet
1191
+ */
1192
+ readonly year?: number
1193
+
1194
+ /**
1195
+ *
1196
+ * @type {number}
1197
+ * @memberof DealsApiApiV2DealsDealIdAppointmenttimetablesGet
1198
+ */
1199
+ readonly month?: number
1200
+
1201
+ /**
1202
+ *
1203
+ * @type {string}
1204
+ * @memberof DealsApiApiV2DealsDealIdAppointmenttimetablesGet
1205
+ */
1206
+ readonly timeZone?: string
1207
+
1208
+ /**
1209
+ *
1210
+ * @type {string}
1211
+ * @memberof DealsApiApiV2DealsDealIdAppointmenttimetablesGet
1212
+ */
1213
+ readonly appointmentIdExcluded?: string
1214
+ }
1215
+
1216
+ /**
1217
+ * Request parameters for apiV2DealsDealIdGet operation in DealsApi.
1218
+ * @export
1219
+ * @interface DealsApiApiV2DealsDealIdGetRequest
1220
+ */
1221
+ export interface DealsApiApiV2DealsDealIdGetRequest {
1222
+ /**
1223
+ *
1224
+ * @type {string}
1225
+ * @memberof DealsApiApiV2DealsDealIdGet
1226
+ */
1227
+ readonly dealId: string
1228
+
1229
+ /**
1230
+ *
1231
+ * @type {string}
1232
+ * @memberof DealsApiApiV2DealsDealIdGet
1233
+ */
1234
+ readonly languageCode?: string
1235
+
1236
+ /**
1237
+ *
1238
+ * @type {boolean}
1239
+ * @memberof DealsApiApiV2DealsDealIdGet
1240
+ */
1241
+ readonly returnDefaultValue?: boolean
1242
+ }
1243
+
1244
+ /**
1245
+ * Request parameters for apiV2DealsDealIdPackagesGet operation in DealsApi.
1246
+ * @export
1247
+ * @interface DealsApiApiV2DealsDealIdPackagesGetRequest
1248
+ */
1249
+ export interface DealsApiApiV2DealsDealIdPackagesGetRequest {
1250
+ /**
1251
+ *
1252
+ * @type {string}
1253
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1254
+ */
1255
+ readonly dealId: string
1256
+
1257
+ /**
1258
+ *
1259
+ * @type {string}
1260
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1261
+ */
1262
+ readonly relatedDealPackageId?: string
1263
+
1264
+ /**
1265
+ *
1266
+ * @type {string}
1267
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1268
+ */
1269
+ readonly dealName?: string
1270
+
1271
+ /**
1272
+ *
1273
+ * @type {string}
1274
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1275
+ */
1276
+ readonly name?: string
1277
+
1278
+ /**
1279
+ *
1280
+ * @type {string}
1281
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1282
+ */
1283
+ readonly countryId?: string
1284
+
1285
+ /**
1286
+ *
1287
+ * @type {string}
1288
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1289
+ */
1290
+ readonly hospitalId?: string
1291
+
1292
+ /**
1293
+ *
1294
+ * @type {string}
1295
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1296
+ */
1297
+ readonly hospitalName?: string
1298
+
1299
+ /**
1300
+ *
1301
+ * @type {string}
1302
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1303
+ */
1304
+ readonly languageCode?: string
1305
+
1306
+ /**
1307
+ *
1308
+ * @type {boolean}
1309
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1310
+ */
1311
+ readonly appointmentEnabled?: boolean
1312
+
1313
+ /**
1314
+ *
1315
+ * @type {boolean}
1316
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1317
+ */
1318
+ readonly showHidden?: boolean
1319
+
1320
+ /**
1321
+ *
1322
+ * @type {number}
1323
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1324
+ */
1325
+ readonly page?: number
1326
+
1327
+ /**
1328
+ *
1329
+ * @type {number}
1330
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1331
+ */
1332
+ readonly limit?: number
1333
+
1334
+ /**
1335
+ *
1336
+ * @type {Date}
1337
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1338
+ */
1339
+ readonly lastRetrieved?: Date
1340
+ }
1341
+
1342
+ /**
1343
+ * Request parameters for apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet operation in DealsApi.
1344
+ * @export
1345
+ * @interface DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGetRequest
1346
+ */
1347
+ export interface DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGetRequest {
1348
+ /**
1349
+ *
1350
+ * @type {string}
1351
+ * @memberof DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet
1352
+ */
1353
+ readonly dealId: string
1354
+
1355
+ /**
1356
+ *
1357
+ * @type {string}
1358
+ * @memberof DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet
1359
+ */
1360
+ readonly packageId: string
1361
+
1362
+ /**
1363
+ *
1364
+ * @type {number}
1365
+ * @memberof DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet
1366
+ */
1367
+ readonly year?: number
1368
+
1369
+ /**
1370
+ *
1371
+ * @type {number}
1372
+ * @memberof DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet
1373
+ */
1374
+ readonly month?: number
1375
+
1376
+ /**
1377
+ *
1378
+ * @type {string}
1379
+ * @memberof DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet
1380
+ */
1381
+ readonly timeZone?: string
1382
+
1383
+ /**
1384
+ *
1385
+ * @type {string}
1386
+ * @memberof DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet
1387
+ */
1388
+ readonly appointmentIdExcluded?: string
1389
+ }
1390
+
1391
+ /**
1392
+ * Request parameters for apiV2DealsDealIdPackagesPackageIdGet operation in DealsApi.
1393
+ * @export
1394
+ * @interface DealsApiApiV2DealsDealIdPackagesPackageIdGetRequest
1395
+ */
1396
+ export interface DealsApiApiV2DealsDealIdPackagesPackageIdGetRequest {
1397
+ /**
1398
+ *
1399
+ * @type {string}
1400
+ * @memberof DealsApiApiV2DealsDealIdPackagesPackageIdGet
1401
+ */
1402
+ readonly dealId: string
1403
+
1404
+ /**
1405
+ *
1406
+ * @type {string}
1407
+ * @memberof DealsApiApiV2DealsDealIdPackagesPackageIdGet
1408
+ */
1409
+ readonly packageId: string
1410
+
1411
+ /**
1412
+ *
1413
+ * @type {string}
1414
+ * @memberof DealsApiApiV2DealsDealIdPackagesPackageIdGet
1415
+ */
1416
+ readonly languageCode?: string
1417
+ }
1418
+
1419
+ /**
1420
+ * Request parameters for apiV2DealsDealIdServicesGet operation in DealsApi.
1421
+ * @export
1422
+ * @interface DealsApiApiV2DealsDealIdServicesGetRequest
1423
+ */
1424
+ export interface DealsApiApiV2DealsDealIdServicesGetRequest {
1425
+ /**
1426
+ *
1427
+ * @type {string}
1428
+ * @memberof DealsApiApiV2DealsDealIdServicesGet
1429
+ */
1430
+ readonly dealId: string
1431
+
1432
+ /**
1433
+ *
1434
+ * @type {string}
1435
+ * @memberof DealsApiApiV2DealsDealIdServicesGet
1436
+ */
1437
+ readonly languageCode?: string
1438
+
1439
+ /**
1440
+ *
1441
+ * @type {number}
1442
+ * @memberof DealsApiApiV2DealsDealIdServicesGet
1443
+ */
1444
+ readonly page?: number
1445
+
1446
+ /**
1447
+ *
1448
+ * @type {number}
1449
+ * @memberof DealsApiApiV2DealsDealIdServicesGet
1450
+ */
1451
+ readonly limit?: number
1452
+
1453
+ /**
1454
+ *
1455
+ * @type {Date}
1456
+ * @memberof DealsApiApiV2DealsDealIdServicesGet
1457
+ */
1458
+ readonly lastRetrieved?: Date
1459
+ }
1460
+
1461
+ /**
1462
+ * Request parameters for apiV2DealsDealIdServicesServiceIdGet operation in DealsApi.
1463
+ * @export
1464
+ * @interface DealsApiApiV2DealsDealIdServicesServiceIdGetRequest
1465
+ */
1466
+ export interface DealsApiApiV2DealsDealIdServicesServiceIdGetRequest {
1467
+ /**
1468
+ *
1469
+ * @type {string}
1470
+ * @memberof DealsApiApiV2DealsDealIdServicesServiceIdGet
1471
+ */
1472
+ readonly dealId: string
1473
+
1474
+ /**
1475
+ *
1476
+ * @type {string}
1477
+ * @memberof DealsApiApiV2DealsDealIdServicesServiceIdGet
1478
+ */
1479
+ readonly serviceId: string
1480
+
1481
+ /**
1482
+ *
1483
+ * @type {string}
1484
+ * @memberof DealsApiApiV2DealsDealIdServicesServiceIdGet
1485
+ */
1486
+ readonly languageCode?: string
1487
+ }
1488
+
1489
+ /**
1490
+ * Request parameters for apiV2DealsGet operation in DealsApi.
1491
+ * @export
1492
+ * @interface DealsApiApiV2DealsGetRequest
1493
+ */
1494
+ export interface DealsApiApiV2DealsGetRequest {
1495
+ /**
1496
+ *
1497
+ * @type {string}
1498
+ * @memberof DealsApiApiV2DealsGet
1499
+ */
1500
+ readonly id?: string
1501
+
1502
+ /**
1503
+ *
1504
+ * @type {string}
1505
+ * @memberof DealsApiApiV2DealsGet
1506
+ */
1507
+ readonly name?: string
1508
+
1509
+ /**
1510
+ *
1511
+ * @type {MarketingType}
1512
+ * @memberof DealsApiApiV2DealsGet
1513
+ */
1514
+ readonly marketingType?: MarketingType
1515
+
1516
+ /**
1517
+ *
1518
+ * @type {string}
1519
+ * @memberof DealsApiApiV2DealsGet
1520
+ */
1521
+ readonly countryId?: string
1522
+
1523
+ /**
1524
+ *
1525
+ * @type {string}
1526
+ * @memberof DealsApiApiV2DealsGet
1527
+ */
1528
+ readonly hospitalId?: string
1529
+
1530
+ /**
1531
+ *
1532
+ * @type {string}
1533
+ * @memberof DealsApiApiV2DealsGet
1534
+ */
1535
+ readonly hospitalName?: string
1536
+
1537
+ /**
1538
+ *
1539
+ * @type {string}
1540
+ * @memberof DealsApiApiV2DealsGet
1541
+ */
1542
+ readonly specialtyId?: string
1543
+
1544
+ /**
1545
+ *
1546
+ * @type {string}
1547
+ * @memberof DealsApiApiV2DealsGet
1548
+ */
1549
+ readonly specialtyName?: string
1550
+
1551
+ /**
1552
+ *
1553
+ * @type {string}
1554
+ * @memberof DealsApiApiV2DealsGet
1555
+ */
1556
+ readonly specialtyTypeId?: string
1557
+
1558
+ /**
1559
+ *
1560
+ * @type {string}
1561
+ * @memberof DealsApiApiV2DealsGet
1562
+ */
1563
+ readonly specialtyTypeName?: string
1564
+
1565
+ /**
1566
+ *
1567
+ * @type {string}
1568
+ * @memberof DealsApiApiV2DealsGet
1569
+ */
1570
+ readonly serviceId?: string
1571
+
1572
+ /**
1573
+ *
1574
+ * @type {string}
1575
+ * @memberof DealsApiApiV2DealsGet
1576
+ */
1577
+ readonly serviceName?: string
1578
+
1579
+ /**
1580
+ *
1581
+ * @type {string}
1582
+ * @memberof DealsApiApiV2DealsGet
1583
+ */
1584
+ readonly exceptHospitalId?: string
1585
+
1586
+ /**
1587
+ *
1588
+ * @type {string}
1589
+ * @memberof DealsApiApiV2DealsGet
1590
+ */
1591
+ readonly exceptDealId?: string
1592
+
1593
+ /**
1594
+ *
1595
+ * @type {Array<string>}
1596
+ * @memberof DealsApiApiV2DealsGet
1597
+ */
1598
+ readonly ids?: Array<string>
1599
+
1600
+ /**
1601
+ *
1602
+ * @type {number}
1603
+ * @memberof DealsApiApiV2DealsGet
1604
+ */
1605
+ readonly serviceDuration?: number
1606
+
1607
+ /**
1608
+ *
1609
+ * @type {string}
1610
+ * @memberof DealsApiApiV2DealsGet
1611
+ */
1612
+ readonly languageCode?: string
1613
+
1614
+ /**
1615
+ *
1616
+ * @type {boolean}
1617
+ * @memberof DealsApiApiV2DealsGet
1618
+ */
1619
+ readonly appointmentEnabled?: boolean
1620
+
1621
+ /**
1622
+ *
1623
+ * @type {boolean}
1624
+ * @memberof DealsApiApiV2DealsGet
1625
+ */
1626
+ readonly showHidden?: boolean
1627
+
1628
+ /**
1629
+ *
1630
+ * @type {boolean}
1631
+ * @memberof DealsApiApiV2DealsGet
1632
+ */
1633
+ readonly returnDefaultValue?: boolean
1634
+
1635
+ /**
1636
+ *
1637
+ * @type {number}
1638
+ * @memberof DealsApiApiV2DealsGet
1639
+ */
1640
+ readonly page?: number
1641
+
1642
+ /**
1643
+ *
1644
+ * @type {number}
1645
+ * @memberof DealsApiApiV2DealsGet
1646
+ */
1647
+ readonly limit?: number
1648
+
1649
+ /**
1650
+ *
1651
+ * @type {Date}
1652
+ * @memberof DealsApiApiV2DealsGet
1653
+ */
1654
+ readonly lastRetrieved?: Date
1655
+ }
1656
+
1657
+ /**
1658
+ * Request parameters for apiV2DealsSimpleGet operation in DealsApi.
1659
+ * @export
1660
+ * @interface DealsApiApiV2DealsSimpleGetRequest
1661
+ */
1662
+ export interface DealsApiApiV2DealsSimpleGetRequest {
1663
+ /**
1664
+ *
1665
+ * @type {string}
1666
+ * @memberof DealsApiApiV2DealsSimpleGet
1667
+ */
1668
+ readonly id?: string
1669
+
1670
+ /**
1671
+ *
1672
+ * @type {string}
1673
+ * @memberof DealsApiApiV2DealsSimpleGet
1674
+ */
1675
+ readonly name?: string
1676
+
1677
+ /**
1678
+ *
1679
+ * @type {MarketingType}
1680
+ * @memberof DealsApiApiV2DealsSimpleGet
1681
+ */
1682
+ readonly marketingType?: MarketingType
1683
+
1684
+ /**
1685
+ *
1686
+ * @type {string}
1687
+ * @memberof DealsApiApiV2DealsSimpleGet
1688
+ */
1689
+ readonly countryId?: string
1690
+
1691
+ /**
1692
+ *
1693
+ * @type {string}
1694
+ * @memberof DealsApiApiV2DealsSimpleGet
1695
+ */
1696
+ readonly hospitalId?: string
1697
+
1698
+ /**
1699
+ *
1700
+ * @type {string}
1701
+ * @memberof DealsApiApiV2DealsSimpleGet
1702
+ */
1703
+ readonly hospitalName?: string
1704
+
1705
+ /**
1706
+ *
1707
+ * @type {string}
1708
+ * @memberof DealsApiApiV2DealsSimpleGet
1709
+ */
1710
+ readonly specialtyId?: string
1711
+
1712
+ /**
1713
+ *
1714
+ * @type {string}
1715
+ * @memberof DealsApiApiV2DealsSimpleGet
1716
+ */
1717
+ readonly specialtyName?: string
1718
+
1719
+ /**
1720
+ *
1721
+ * @type {string}
1722
+ * @memberof DealsApiApiV2DealsSimpleGet
1723
+ */
1724
+ readonly specialtyTypeId?: string
1725
+
1726
+ /**
1727
+ *
1728
+ * @type {string}
1729
+ * @memberof DealsApiApiV2DealsSimpleGet
1730
+ */
1731
+ readonly specialtyTypeName?: string
1732
+
1733
+ /**
1734
+ *
1735
+ * @type {string}
1736
+ * @memberof DealsApiApiV2DealsSimpleGet
1737
+ */
1738
+ readonly serviceId?: string
1739
+
1740
+ /**
1741
+ *
1742
+ * @type {string}
1743
+ * @memberof DealsApiApiV2DealsSimpleGet
1744
+ */
1745
+ readonly serviceName?: string
1746
+
1747
+ /**
1748
+ *
1749
+ * @type {string}
1750
+ * @memberof DealsApiApiV2DealsSimpleGet
1751
+ */
1752
+ readonly exceptHospitalId?: string
1753
+
1754
+ /**
1755
+ *
1756
+ * @type {string}
1757
+ * @memberof DealsApiApiV2DealsSimpleGet
1758
+ */
1759
+ readonly exceptDealId?: string
1760
+
1761
+ /**
1762
+ *
1763
+ * @type {Array<string>}
1764
+ * @memberof DealsApiApiV2DealsSimpleGet
1765
+ */
1766
+ readonly ids?: Array<string>
1767
+
1768
+ /**
1769
+ *
1770
+ * @type {number}
1771
+ * @memberof DealsApiApiV2DealsSimpleGet
1772
+ */
1773
+ readonly serviceDuration?: number
1774
+
1775
+ /**
1776
+ *
1777
+ * @type {string}
1778
+ * @memberof DealsApiApiV2DealsSimpleGet
1779
+ */
1780
+ readonly languageCode?: string
1781
+
1782
+ /**
1783
+ *
1784
+ * @type {boolean}
1785
+ * @memberof DealsApiApiV2DealsSimpleGet
1786
+ */
1787
+ readonly appointmentEnabled?: boolean
1788
+
1789
+ /**
1790
+ *
1791
+ * @type {boolean}
1792
+ * @memberof DealsApiApiV2DealsSimpleGet
1793
+ */
1794
+ readonly showHidden?: boolean
1795
+
1796
+ /**
1797
+ *
1798
+ * @type {boolean}
1799
+ * @memberof DealsApiApiV2DealsSimpleGet
1800
+ */
1801
+ readonly returnDefaultValue?: boolean
1802
+
1803
+ /**
1804
+ *
1805
+ * @type {number}
1806
+ * @memberof DealsApiApiV2DealsSimpleGet
1807
+ */
1808
+ readonly page?: number
1809
+
1810
+ /**
1811
+ *
1812
+ * @type {number}
1813
+ * @memberof DealsApiApiV2DealsSimpleGet
1814
+ */
1815
+ readonly limit?: number
1816
+
1817
+ /**
1818
+ *
1819
+ * @type {Date}
1820
+ * @memberof DealsApiApiV2DealsSimpleGet
1821
+ */
1822
+ readonly lastRetrieved?: Date
1823
+ }
1824
+
1825
+ /**
1826
+ * Request parameters for apiV2DealsSlugGet operation in DealsApi.
1827
+ * @export
1828
+ * @interface DealsApiApiV2DealsSlugGetRequest
1829
+ */
1830
+ export interface DealsApiApiV2DealsSlugGetRequest {
1831
+ /**
1832
+ *
1833
+ * @type {string}
1834
+ * @memberof DealsApiApiV2DealsSlugGet
1835
+ */
1836
+ readonly slug: string
1837
+
1838
+ /**
1839
+ *
1840
+ * @type {string}
1841
+ * @memberof DealsApiApiV2DealsSlugGet
1842
+ */
1843
+ readonly languageCode?: string
1844
+
1845
+ /**
1846
+ *
1847
+ * @type {boolean}
1848
+ * @memberof DealsApiApiV2DealsSlugGet
1849
+ */
1850
+ readonly returnDefaultValue?: boolean
1851
+ }
1852
+
1153
1853
  /**
1154
1854
  * DealsApi - object-oriented interface
1155
1855
  * @export
@@ -1160,194 +1860,120 @@ export class DealsApi extends BaseAPI {
1160
1860
  /**
1161
1861
  *
1162
1862
  * @summary Get DealAppointmentTimetables
1163
- * @param {string} dealId
1164
- * @param {number} [year]
1165
- * @param {number} [month]
1166
- * @param {string} [timeZone]
1167
- * @param {string} [appointmentIdExcluded]
1863
+ * @param {DealsApiApiV2DealsDealIdAppointmenttimetablesGetRequest} requestParameters Request parameters.
1168
1864
  * @param {*} [options] Override http request option.
1169
1865
  * @throws {RequiredError}
1170
1866
  * @memberof DealsApi
1171
1867
  */
1172
- public apiV2DealsDealIdAppointmenttimetablesGet(dealId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig) {
1173
- return DealsApiFp(this.configuration).apiV2DealsDealIdAppointmenttimetablesGet(dealId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
1868
+ public apiV2DealsDealIdAppointmenttimetablesGet(requestParameters: DealsApiApiV2DealsDealIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
1869
+ return DealsApiFp(this.configuration).apiV2DealsDealIdAppointmenttimetablesGet(requestParameters.dealId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
1174
1870
  }
1175
1871
 
1176
1872
  /**
1177
1873
  *
1178
1874
  * @summary Get deal.
1179
- * @param {string} dealId
1180
- * @param {string} [languageCode]
1181
- * @param {boolean} [returnDefaultValue]
1875
+ * @param {DealsApiApiV2DealsDealIdGetRequest} requestParameters Request parameters.
1182
1876
  * @param {*} [options] Override http request option.
1183
1877
  * @throws {RequiredError}
1184
1878
  * @memberof DealsApi
1185
1879
  */
1186
- public apiV2DealsDealIdGet(dealId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
1187
- return DealsApiFp(this.configuration).apiV2DealsDealIdGet(dealId, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
1880
+ public apiV2DealsDealIdGet(requestParameters: DealsApiApiV2DealsDealIdGetRequest, options?: AxiosRequestConfig) {
1881
+ return DealsApiFp(this.configuration).apiV2DealsDealIdGet(requestParameters.dealId, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
1188
1882
  }
1189
1883
 
1190
1884
  /**
1191
1885
  *
1192
1886
  * @summary Get all DealPackage.
1193
- * @param {string} dealId
1194
- * @param {string} [relatedDealPackageId]
1195
- * @param {string} [dealName]
1196
- * @param {string} [name]
1197
- * @param {string} [countryId]
1198
- * @param {string} [hospitalId]
1199
- * @param {string} [hospitalName]
1200
- * @param {string} [languageCode]
1201
- * @param {boolean} [showHidden]
1202
- * @param {number} [page]
1203
- * @param {number} [limit]
1204
- * @param {Date} [lastRetrieved]
1887
+ * @param {DealsApiApiV2DealsDealIdPackagesGetRequest} requestParameters Request parameters.
1205
1888
  * @param {*} [options] Override http request option.
1206
1889
  * @throws {RequiredError}
1207
1890
  * @memberof DealsApi
1208
1891
  */
1209
- public apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
1210
- return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1892
+ public apiV2DealsDealIdPackagesGet(requestParameters: DealsApiApiV2DealsDealIdPackagesGetRequest, options?: AxiosRequestConfig) {
1893
+ return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesGet(requestParameters.dealId, requestParameters.relatedDealPackageId, requestParameters.dealName, requestParameters.name, requestParameters.countryId, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.languageCode, requestParameters.appointmentEnabled, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1211
1894
  }
1212
1895
 
1213
1896
  /**
1214
1897
  *
1215
1898
  * @summary Get DealPackageAppointmentTimetables
1216
- * @param {string} dealId
1217
- * @param {string} packageId
1218
- * @param {number} [year]
1219
- * @param {number} [month]
1220
- * @param {string} [timeZone]
1221
- * @param {string} [appointmentIdExcluded]
1899
+ * @param {DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGetRequest} requestParameters Request parameters.
1222
1900
  * @param {*} [options] Override http request option.
1223
1901
  * @throws {RequiredError}
1224
1902
  * @memberof DealsApi
1225
1903
  */
1226
- public apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig) {
1227
- return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId, packageId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
1904
+ public apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(requestParameters: DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
1905
+ return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(requestParameters.dealId, requestParameters.packageId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
1228
1906
  }
1229
1907
 
1230
1908
  /**
1231
1909
  *
1232
1910
  * @summary Get DealPackage.
1233
- * @param {string} dealId
1234
- * @param {string} packageId
1235
- * @param {string} [languageCode]
1911
+ * @param {DealsApiApiV2DealsDealIdPackagesPackageIdGetRequest} requestParameters Request parameters.
1236
1912
  * @param {*} [options] Override http request option.
1237
1913
  * @throws {RequiredError}
1238
1914
  * @memberof DealsApi
1239
1915
  */
1240
- public apiV2DealsDealIdPackagesPackageIdGet(dealId: string, packageId: string, languageCode?: string, options?: AxiosRequestConfig) {
1241
- return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesPackageIdGet(dealId, packageId, languageCode, options).then((request) => request(this.axios, this.basePath));
1916
+ public apiV2DealsDealIdPackagesPackageIdGet(requestParameters: DealsApiApiV2DealsDealIdPackagesPackageIdGetRequest, options?: AxiosRequestConfig) {
1917
+ return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesPackageIdGet(requestParameters.dealId, requestParameters.packageId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
1242
1918
  }
1243
1919
 
1244
1920
  /**
1245
1921
  *
1246
1922
  * @summary Get all DealService.
1247
- * @param {string} dealId
1248
- * @param {string} [languageCode]
1249
- * @param {number} [page]
1250
- * @param {number} [limit]
1251
- * @param {Date} [lastRetrieved]
1923
+ * @param {DealsApiApiV2DealsDealIdServicesGetRequest} requestParameters Request parameters.
1252
1924
  * @param {*} [options] Override http request option.
1253
1925
  * @throws {RequiredError}
1254
1926
  * @memberof DealsApi
1255
1927
  */
1256
- public apiV2DealsDealIdServicesGet(dealId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
1257
- return DealsApiFp(this.configuration).apiV2DealsDealIdServicesGet(dealId, languageCode, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1928
+ public apiV2DealsDealIdServicesGet(requestParameters: DealsApiApiV2DealsDealIdServicesGetRequest, options?: AxiosRequestConfig) {
1929
+ return DealsApiFp(this.configuration).apiV2DealsDealIdServicesGet(requestParameters.dealId, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1258
1930
  }
1259
1931
 
1260
1932
  /**
1261
1933
  *
1262
1934
  * @summary Get DealService.
1263
- * @param {string} dealId
1264
- * @param {string} serviceId
1265
- * @param {string} [languageCode]
1935
+ * @param {DealsApiApiV2DealsDealIdServicesServiceIdGetRequest} requestParameters Request parameters.
1266
1936
  * @param {*} [options] Override http request option.
1267
1937
  * @throws {RequiredError}
1268
1938
  * @memberof DealsApi
1269
1939
  */
1270
- public apiV2DealsDealIdServicesServiceIdGet(dealId: string, serviceId: string, languageCode?: string, options?: AxiosRequestConfig) {
1271
- return DealsApiFp(this.configuration).apiV2DealsDealIdServicesServiceIdGet(dealId, serviceId, languageCode, options).then((request) => request(this.axios, this.basePath));
1940
+ public apiV2DealsDealIdServicesServiceIdGet(requestParameters: DealsApiApiV2DealsDealIdServicesServiceIdGetRequest, options?: AxiosRequestConfig) {
1941
+ return DealsApiFp(this.configuration).apiV2DealsDealIdServicesServiceIdGet(requestParameters.dealId, requestParameters.serviceId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
1272
1942
  }
1273
1943
 
1274
1944
  /**
1275
1945
  *
1276
1946
  * @summary Get all deals.
1277
- * @param {string} [id]
1278
- * @param {string} [name]
1279
- * @param {MarketingType} [marketingType]
1280
- * @param {string} [countryId]
1281
- * @param {string} [hospitalId]
1282
- * @param {string} [hospitalName]
1283
- * @param {string} [specialtyId]
1284
- * @param {string} [specialtyName]
1285
- * @param {string} [specialtyTypeId]
1286
- * @param {string} [specialtyTypeName]
1287
- * @param {string} [serviceId]
1288
- * @param {string} [serviceName]
1289
- * @param {string} [exceptHospitalId]
1290
- * @param {string} [exceptDealId]
1291
- * @param {Array<string>} [ids]
1292
- * @param {number} [serviceDuration]
1293
- * @param {string} [languageCode]
1294
- * @param {boolean} [showHidden]
1295
- * @param {boolean} [returnDefaultValue]
1296
- * @param {number} [page]
1297
- * @param {number} [limit]
1298
- * @param {Date} [lastRetrieved]
1947
+ * @param {DealsApiApiV2DealsGetRequest} requestParameters Request parameters.
1299
1948
  * @param {*} [options] Override http request option.
1300
1949
  * @throws {RequiredError}
1301
1950
  * @memberof DealsApi
1302
1951
  */
1303
- public apiV2DealsGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
1304
- return DealsApiFp(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1952
+ public apiV2DealsGet(requestParameters: DealsApiApiV2DealsGetRequest = {}, options?: AxiosRequestConfig) {
1953
+ return DealsApiFp(this.configuration).apiV2DealsGet(requestParameters.id, requestParameters.name, requestParameters.marketingType, requestParameters.countryId, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.serviceId, requestParameters.serviceName, requestParameters.exceptHospitalId, requestParameters.exceptDealId, requestParameters.ids, requestParameters.serviceDuration, requestParameters.languageCode, requestParameters.appointmentEnabled, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1305
1954
  }
1306
1955
 
1307
1956
  /**
1308
1957
  *
1309
1958
  * @summary Get all deals.
1310
- * @param {string} [id]
1311
- * @param {string} [name]
1312
- * @param {MarketingType} [marketingType]
1313
- * @param {string} [countryId]
1314
- * @param {string} [hospitalId]
1315
- * @param {string} [hospitalName]
1316
- * @param {string} [specialtyId]
1317
- * @param {string} [specialtyName]
1318
- * @param {string} [specialtyTypeId]
1319
- * @param {string} [specialtyTypeName]
1320
- * @param {string} [serviceId]
1321
- * @param {string} [serviceName]
1322
- * @param {string} [exceptHospitalId]
1323
- * @param {string} [exceptDealId]
1324
- * @param {Array<string>} [ids]
1325
- * @param {number} [serviceDuration]
1326
- * @param {string} [languageCode]
1327
- * @param {boolean} [showHidden]
1328
- * @param {boolean} [returnDefaultValue]
1329
- * @param {number} [page]
1330
- * @param {number} [limit]
1331
- * @param {Date} [lastRetrieved]
1959
+ * @param {DealsApiApiV2DealsSimpleGetRequest} requestParameters Request parameters.
1332
1960
  * @param {*} [options] Override http request option.
1333
1961
  * @throws {RequiredError}
1334
1962
  * @memberof DealsApi
1335
1963
  */
1336
- public apiV2DealsSimpleGet(id?: string, name?: string, marketingType?: MarketingType, countryId?: string, hospitalId?: string, hospitalName?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceId?: string, serviceName?: string, exceptHospitalId?: string, exceptDealId?: string, ids?: Array<string>, serviceDuration?: number, languageCode?: string, showHidden?: boolean, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
1337
- return DealsApiFp(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, serviceId, serviceName, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1964
+ public apiV2DealsSimpleGet(requestParameters: DealsApiApiV2DealsSimpleGetRequest = {}, options?: AxiosRequestConfig) {
1965
+ return DealsApiFp(this.configuration).apiV2DealsSimpleGet(requestParameters.id, requestParameters.name, requestParameters.marketingType, requestParameters.countryId, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.specialtyTypeId, requestParameters.specialtyTypeName, requestParameters.serviceId, requestParameters.serviceName, requestParameters.exceptHospitalId, requestParameters.exceptDealId, requestParameters.ids, requestParameters.serviceDuration, requestParameters.languageCode, requestParameters.appointmentEnabled, requestParameters.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1338
1966
  }
1339
1967
 
1340
1968
  /**
1341
1969
  *
1342
1970
  * @summary Get deal by slug.
1343
- * @param {string} slug
1344
- * @param {string} [languageCode]
1345
- * @param {boolean} [returnDefaultValue]
1971
+ * @param {DealsApiApiV2DealsSlugGetRequest} requestParameters Request parameters.
1346
1972
  * @param {*} [options] Override http request option.
1347
1973
  * @throws {RequiredError}
1348
1974
  * @memberof DealsApi
1349
1975
  */
1350
- public apiV2DealsSlugGet(slug: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig) {
1351
- return DealsApiFp(this.configuration).apiV2DealsSlugGet(slug, languageCode, returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
1976
+ public apiV2DealsSlugGet(requestParameters: DealsApiApiV2DealsSlugGetRequest, options?: AxiosRequestConfig) {
1977
+ return DealsApiFp(this.configuration).apiV2DealsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
1352
1978
  }
1353
1979
  }