ch-api-client-typescript2 5.4.5 → 5.4.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 (121) hide show
  1. package/lib/api/deals-api.d.ts +34 -116
  2. package/lib/api/deals-api.d.ts.map +1 -1
  3. package/lib/api/deals-api.js +41 -150
  4. package/lib/api/doctor-affiliations-api.d.ts +12 -3
  5. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  6. package/lib/api/doctor-affiliations-api.js +12 -6
  7. package/lib/api/hospitals-api.d.ts +36 -9
  8. package/lib/api/hospitals-api.d.ts.map +1 -1
  9. package/lib/api/hospitals-api.js +36 -18
  10. package/lib/models/appointment-type.d.ts +0 -1
  11. package/lib/models/appointment-type.d.ts.map +1 -1
  12. package/lib/models/appointment-type.js +0 -1
  13. package/lib/models/auditable-entity-model.d.ts +67 -0
  14. package/lib/models/auditable-entity-model.d.ts.map +1 -0
  15. package/lib/models/create-appointment-command.d.ts +0 -6
  16. package/lib/models/create-appointment-command.d.ts.map +1 -1
  17. package/lib/models/deal-document-model.d.ts +3 -16
  18. package/lib/models/deal-document-model.d.ts.map +1 -1
  19. package/lib/models/deal-item-model.d.ts +26 -8
  20. package/lib/models/deal-item-model.d.ts.map +1 -1
  21. package/lib/models/deal-model.d.ts +26 -8
  22. package/lib/models/deal-model.d.ts.map +1 -1
  23. package/lib/models/deal-package-item-model.d.ts +34 -3
  24. package/lib/models/deal-package-item-model.d.ts.map +1 -1
  25. package/lib/models/deal-package-model.d.ts +34 -3
  26. package/lib/models/deal-package-model.d.ts.map +1 -1
  27. package/lib/models/doctor-affiliation-item-model.d.ts +26 -8
  28. package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
  29. package/lib/models/doctor-affiliation-model.d.ts +26 -8
  30. package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
  31. package/lib/models/doctor-document-model.d.ts +3 -9
  32. package/lib/models/doctor-document-model.d.ts.map +1 -1
  33. package/lib/models/doctor-item-model.d.ts +0 -7
  34. package/lib/models/doctor-item-model.d.ts.map +1 -1
  35. package/lib/models/doctor-model.d.ts +0 -7
  36. package/lib/models/doctor-model.d.ts.map +1 -1
  37. package/lib/models/hospital-document-model.d.ts +3 -9
  38. package/lib/models/hospital-document-model.d.ts.map +1 -1
  39. package/lib/models/hospital-feature-detail-document-model.d.ts +56 -0
  40. package/lib/models/hospital-feature-detail-document-model.d.ts.map +1 -0
  41. package/lib/models/hospital-feature-detail-model.d.ts +56 -0
  42. package/lib/models/hospital-feature-detail-model.d.ts.map +1 -0
  43. package/lib/models/hospital-feature-detail-model.js +15 -0
  44. package/lib/models/hospital-feature-document-model.d.ts +32 -0
  45. package/lib/models/hospital-feature-document-model.d.ts.map +1 -0
  46. package/lib/models/hospital-feature-document-model.js +15 -0
  47. package/lib/models/hospital-feature-domain-document-model.d.ts +50 -0
  48. package/lib/models/hospital-feature-domain-document-model.d.ts.map +1 -0
  49. package/lib/models/hospital-feature-domain-document-model.js +15 -0
  50. package/lib/models/hospital-feature-domain-model.d.ts +50 -0
  51. package/lib/models/hospital-feature-domain-model.d.ts.map +1 -0
  52. package/lib/models/hospital-feature-domain-model.js +15 -0
  53. package/lib/models/{feature-document-model.d.ts → hospital-feature-model.d.ts} +10 -15
  54. package/lib/models/hospital-feature-model.d.ts.map +1 -0
  55. package/lib/models/hospital-feature-model.js +15 -0
  56. package/lib/models/hospital-item-model.d.ts +22 -4
  57. package/lib/models/hospital-item-model.d.ts.map +1 -1
  58. package/lib/models/hospital-model.d.ts +22 -4
  59. package/lib/models/hospital-model.d.ts.map +1 -1
  60. package/lib/models/hospital-service-item-model.d.ts +34 -3
  61. package/lib/models/hospital-service-item-model.d.ts.map +1 -1
  62. package/lib/models/hospital-service-model.d.ts +34 -3
  63. package/lib/models/hospital-service-model.d.ts.map +1 -1
  64. package/lib/models/hospital-specialty-item-model.d.ts +34 -3
  65. package/lib/models/hospital-specialty-item-model.d.ts.map +1 -1
  66. package/lib/models/hospital-specialty-model.d.ts +34 -3
  67. package/lib/models/hospital-specialty-model.d.ts.map +1 -1
  68. package/lib/models/hospital-sub-document-model.d.ts +7 -0
  69. package/lib/models/hospital-sub-document-model.d.ts.map +1 -1
  70. package/lib/models/index.d.ts +9 -2
  71. package/lib/models/index.d.ts.map +1 -1
  72. package/lib/models/index.js +9 -2
  73. package/lib/models/notification-code.d.ts +2 -0
  74. package/lib/models/notification-code.d.ts.map +1 -1
  75. package/lib/models/notification-code.js +2 -0
  76. package/lib/models/survey-form-simple-mapping-model.d.ts +39 -0
  77. package/lib/models/survey-form-simple-mapping-model.d.ts.map +1 -0
  78. package/lib/models/survey-form-simple-mapping-model.js +15 -0
  79. package/lib/models/{feature-model.d.ts → survey-form-sub-document-model.d.ts} +9 -15
  80. package/lib/models/survey-form-sub-document-model.d.ts.map +1 -0
  81. package/lib/models/survey-form-sub-document-model.js +15 -0
  82. package/package.json +1 -1
  83. package/src/.openapi-generator/FILES +9 -2
  84. package/src/api/deals-api.ts +58 -199
  85. package/src/api/doctor-affiliations-api.ts +20 -6
  86. package/src/api/hospitals-api.ts +60 -18
  87. package/src/models/appointment-type.ts +0 -1
  88. package/src/models/auditable-entity-model.ts +72 -0
  89. package/src/models/create-appointment-command.ts +0 -6
  90. package/src/models/deal-document-model.ts +3 -18
  91. package/src/models/deal-item-model.ts +26 -8
  92. package/src/models/deal-model.ts +26 -8
  93. package/src/models/deal-package-item-model.ts +36 -3
  94. package/src/models/deal-package-model.ts +36 -3
  95. package/src/models/doctor-affiliation-item-model.ts +26 -8
  96. package/src/models/doctor-affiliation-model.ts +26 -8
  97. package/src/models/doctor-document-model.ts +3 -9
  98. package/src/models/doctor-item-model.ts +0 -9
  99. package/src/models/doctor-model.ts +0 -9
  100. package/src/models/hospital-document-model.ts +5 -11
  101. package/src/models/hospital-feature-detail-document-model.ts +63 -0
  102. package/src/models/hospital-feature-detail-model.ts +63 -0
  103. package/src/models/hospital-feature-document-model.ts +39 -0
  104. package/src/models/hospital-feature-domain-document-model.ts +57 -0
  105. package/src/models/hospital-feature-domain-model.ts +57 -0
  106. package/src/models/{feature-document-model.ts → hospital-feature-model.ts} +11 -14
  107. package/src/models/hospital-item-model.ts +24 -6
  108. package/src/models/hospital-model.ts +24 -6
  109. package/src/models/hospital-service-item-model.ts +36 -3
  110. package/src/models/hospital-service-model.ts +36 -3
  111. package/src/models/hospital-specialty-item-model.ts +36 -3
  112. package/src/models/hospital-specialty-model.ts +36 -3
  113. package/src/models/hospital-sub-document-model.ts +9 -0
  114. package/src/models/index.ts +9 -2
  115. package/src/models/notification-code.ts +2 -0
  116. package/src/models/survey-form-simple-mapping-model.ts +48 -0
  117. package/src/models/{feature-model.ts → survey-form-sub-document-model.ts} +8 -14
  118. package/lib/models/feature-document-model.d.ts.map +0 -1
  119. package/lib/models/feature-model.d.ts.map +0 -1
  120. /package/lib/models/{feature-document-model.js → auditable-entity-model.js} +0 -0
  121. /package/lib/models/{feature-model.js → hospital-feature-detail-document-model.js} +0 -0
@@ -44,64 +44,6 @@ import { MarketingType } from '../models';
44
44
  */
45
45
  export const DealsApiAxiosParamCreator = function (configuration?: Configuration) {
46
46
  return {
47
- /**
48
- *
49
- * @summary Get DealAppointmentTimetables
50
- * @param {string} dealId
51
- * @param {number} [year]
52
- * @param {number} [month]
53
- * @param {string} [timeZone]
54
- * @param {string} [appointmentIdExcluded]
55
- * @param {*} [options] Override http request option.
56
- * @throws {RequiredError}
57
- */
58
- apiV2DealsDealIdAppointmenttimetablesGet: async (dealId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
59
- // verify required parameter 'dealId' is not null or undefined
60
- assertParamExists('apiV2DealsDealIdAppointmenttimetablesGet', 'dealId', dealId)
61
- const localVarPath = `/api/v2/deals/{dealId}/appointmenttimetables`
62
- .replace(`{${"dealId"}}`, encodeURIComponent(String(dealId)));
63
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
64
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65
- let baseOptions;
66
- if (configuration) {
67
- baseOptions = configuration.baseOptions;
68
- }
69
-
70
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
71
- const localVarHeaderParameter = {} as any;
72
- const localVarQueryParameter = {} as any;
73
-
74
- // authentication oauth2 required
75
- // oauth required
76
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
77
-
78
- if (year !== undefined) {
79
- localVarQueryParameter['Year'] = year;
80
- }
81
-
82
- if (month !== undefined) {
83
- localVarQueryParameter['Month'] = month;
84
- }
85
-
86
- if (timeZone !== undefined) {
87
- localVarQueryParameter['TimeZone'] = timeZone;
88
- }
89
-
90
- if (appointmentIdExcluded !== undefined) {
91
- localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
92
- }
93
-
94
-
95
-
96
- setSearchParams(localVarUrlObj, localVarQueryParameter);
97
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
98
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
99
-
100
- return {
101
- url: toPathString(localVarUrlObj),
102
- options: localVarRequestOptions,
103
- };
104
- },
105
47
  /**
106
48
  *
107
49
  * @summary Get deal.
@@ -157,7 +99,8 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
157
99
  * @param {string} [hospitalId]
158
100
  * @param {string} [hospitalName]
159
101
  * @param {string} [languageCode]
160
- * @param {boolean} [appointmentEnabled]
102
+ * @param {boolean} [appointmentChEnabled]
103
+ * @param {boolean} [appointmentSaasEnabled]
161
104
  * @param {boolean} [showHidden]
162
105
  * @param {number} [page]
163
106
  * @param {number} [limit]
@@ -165,7 +108,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
165
108
  * @param {*} [options] Override http request option.
166
109
  * @throws {RequiredError}
167
110
  */
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> => {
111
+ apiV2DealsDealIdPackagesGet: async (dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, appointmentChEnabled?: boolean, appointmentSaasEnabled?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
169
112
  // verify required parameter 'dealId' is not null or undefined
170
113
  assertParamExists('apiV2DealsDealIdPackagesGet', 'dealId', dealId)
171
114
  const localVarPath = `/api/v2/deals/{dealId}/packages`
@@ -209,8 +152,12 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
209
152
  localVarQueryParameter['LanguageCode'] = languageCode;
210
153
  }
211
154
 
212
- if (appointmentEnabled !== undefined) {
213
- localVarQueryParameter['AppointmentEnabled'] = appointmentEnabled;
155
+ if (appointmentChEnabled !== undefined) {
156
+ localVarQueryParameter['AppointmentChEnabled'] = appointmentChEnabled;
157
+ }
158
+
159
+ if (appointmentSaasEnabled !== undefined) {
160
+ localVarQueryParameter['AppointmentSaasEnabled'] = appointmentSaasEnabled;
214
161
  }
215
162
 
216
163
  if (showHidden !== undefined) {
@@ -250,11 +197,12 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
250
197
  * @param {number} [year]
251
198
  * @param {number} [month]
252
199
  * @param {string} [timeZone]
200
+ * @param {boolean} [isExternal]
253
201
  * @param {string} [appointmentIdExcluded]
254
202
  * @param {*} [options] Override http request option.
255
203
  * @throws {RequiredError}
256
204
  */
257
- apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet: async (dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
205
+ apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet: async (dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
258
206
  // verify required parameter 'dealId' is not null or undefined
259
207
  assertParamExists('apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet', 'dealId', dealId)
260
208
  // verify required parameter 'packageId' is not null or undefined
@@ -289,6 +237,10 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
289
237
  localVarQueryParameter['TimeZone'] = timeZone;
290
238
  }
291
239
 
240
+ if (isExternal !== undefined) {
241
+ localVarQueryParameter['IsExternal'] = isExternal;
242
+ }
243
+
292
244
  if (appointmentIdExcluded !== undefined) {
293
245
  localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
294
246
  }
@@ -466,7 +418,6 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
466
418
  * @param {Array<string>} [ids]
467
419
  * @param {number} [serviceDuration]
468
420
  * @param {string} [languageCode]
469
- * @param {boolean} [appointmentEnabled]
470
421
  * @param {boolean} [showHidden]
471
422
  * @param {boolean} [returnDefaultValue]
472
423
  * @param {number} [page]
@@ -475,7 +426,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
475
426
  * @param {*} [options] Override http request option.
476
427
  * @throws {RequiredError}
477
428
  */
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> => {
429
+ 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> => {
479
430
  const localVarPath = `/api/v2/deals`;
480
431
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
481
432
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -556,10 +507,6 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
556
507
  localVarQueryParameter['LanguageCode'] = languageCode;
557
508
  }
558
509
 
559
- if (appointmentEnabled !== undefined) {
560
- localVarQueryParameter['AppointmentEnabled'] = appointmentEnabled;
561
- }
562
-
563
510
  if (showHidden !== undefined) {
564
511
  localVarQueryParameter['ShowHidden'] = showHidden;
565
512
  }
@@ -613,7 +560,6 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
613
560
  * @param {Array<string>} [ids]
614
561
  * @param {number} [serviceDuration]
615
562
  * @param {string} [languageCode]
616
- * @param {boolean} [appointmentEnabled]
617
563
  * @param {boolean} [showHidden]
618
564
  * @param {boolean} [returnDefaultValue]
619
565
  * @param {number} [page]
@@ -622,7 +568,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
622
568
  * @param {*} [options] Override http request option.
623
569
  * @throws {RequiredError}
624
570
  */
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> => {
571
+ 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> => {
626
572
  const localVarPath = `/api/v2/deals/simple`;
627
573
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
628
574
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -703,10 +649,6 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
703
649
  localVarQueryParameter['LanguageCode'] = languageCode;
704
650
  }
705
651
 
706
- if (appointmentEnabled !== undefined) {
707
- localVarQueryParameter['AppointmentEnabled'] = appointmentEnabled;
708
- }
709
-
710
652
  if (showHidden !== undefined) {
711
653
  localVarQueryParameter['ShowHidden'] = showHidden;
712
654
  }
@@ -799,21 +741,6 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
799
741
  export const DealsApiFp = function(configuration?: Configuration) {
800
742
  const localVarAxiosParamCreator = DealsApiAxiosParamCreator(configuration)
801
743
  return {
802
- /**
803
- *
804
- * @summary Get DealAppointmentTimetables
805
- * @param {string} dealId
806
- * @param {number} [year]
807
- * @param {number} [month]
808
- * @param {string} [timeZone]
809
- * @param {string} [appointmentIdExcluded]
810
- * @param {*} [options] Override http request option.
811
- * @throws {RequiredError}
812
- */
813
- async apiV2DealsDealIdAppointmenttimetablesGet(dealId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
814
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdAppointmenttimetablesGet(dealId, year, month, timeZone, appointmentIdExcluded, options);
815
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
816
- },
817
744
  /**
818
745
  *
819
746
  * @summary Get deal.
@@ -838,7 +765,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
838
765
  * @param {string} [hospitalId]
839
766
  * @param {string} [hospitalName]
840
767
  * @param {string} [languageCode]
841
- * @param {boolean} [appointmentEnabled]
768
+ * @param {boolean} [appointmentChEnabled]
769
+ * @param {boolean} [appointmentSaasEnabled]
842
770
  * @param {boolean} [showHidden]
843
771
  * @param {number} [page]
844
772
  * @param {number} [limit]
@@ -846,8 +774,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
846
774
  * @param {*} [options] Override http request option.
847
775
  * @throws {RequiredError}
848
776
  */
849
- 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>> {
850
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, appointmentEnabled, showHidden, page, limit, lastRetrieved, options);
777
+ async apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, appointmentChEnabled?: boolean, appointmentSaasEnabled?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DealPackagesModel>> {
778
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, appointmentChEnabled, appointmentSaasEnabled, showHidden, page, limit, lastRetrieved, options);
851
779
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
852
780
  },
853
781
  /**
@@ -858,12 +786,13 @@ export const DealsApiFp = function(configuration?: Configuration) {
858
786
  * @param {number} [year]
859
787
  * @param {number} [month]
860
788
  * @param {string} [timeZone]
789
+ * @param {boolean} [isExternal]
861
790
  * @param {string} [appointmentIdExcluded]
862
791
  * @param {*} [options] Override http request option.
863
792
  * @throws {RequiredError}
864
793
  */
865
- async apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
866
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId, packageId, year, month, timeZone, appointmentIdExcluded, options);
794
+ async apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
795
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId, packageId, year, month, timeZone, isExternal, appointmentIdExcluded, options);
867
796
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
868
797
  },
869
798
  /**
@@ -927,7 +856,6 @@ export const DealsApiFp = function(configuration?: Configuration) {
927
856
  * @param {Array<string>} [ids]
928
857
  * @param {number} [serviceDuration]
929
858
  * @param {string} [languageCode]
930
- * @param {boolean} [appointmentEnabled]
931
859
  * @param {boolean} [showHidden]
932
860
  * @param {boolean} [returnDefaultValue]
933
861
  * @param {number} [page]
@@ -936,8 +864,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
936
864
  * @param {*} [options] Override http request option.
937
865
  * @throws {RequiredError}
938
866
  */
939
- 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>> {
940
- 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);
867
+ 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>> {
868
+ 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);
941
869
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
942
870
  },
943
871
  /**
@@ -960,7 +888,6 @@ export const DealsApiFp = function(configuration?: Configuration) {
960
888
  * @param {Array<string>} [ids]
961
889
  * @param {number} [serviceDuration]
962
890
  * @param {string} [languageCode]
963
- * @param {boolean} [appointmentEnabled]
964
891
  * @param {boolean} [showHidden]
965
892
  * @param {boolean} [returnDefaultValue]
966
893
  * @param {number} [page]
@@ -969,8 +896,8 @@ export const DealsApiFp = function(configuration?: Configuration) {
969
896
  * @param {*} [options] Override http request option.
970
897
  * @throws {RequiredError}
971
898
  */
972
- 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>> {
973
- 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);
899
+ 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>> {
900
+ 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);
974
901
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
975
902
  },
976
903
  /**
@@ -997,20 +924,6 @@ export const DealsApiFp = function(configuration?: Configuration) {
997
924
  export const DealsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
998
925
  const localVarFp = DealsApiFp(configuration)
999
926
  return {
1000
- /**
1001
- *
1002
- * @summary Get DealAppointmentTimetables
1003
- * @param {string} dealId
1004
- * @param {number} [year]
1005
- * @param {number} [month]
1006
- * @param {string} [timeZone]
1007
- * @param {string} [appointmentIdExcluded]
1008
- * @param {*} [options] Override http request option.
1009
- * @throws {RequiredError}
1010
- */
1011
- apiV2DealsDealIdAppointmenttimetablesGet(dealId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: any): AxiosPromise<AppointmentTimetablesModel> {
1012
- return localVarFp.apiV2DealsDealIdAppointmenttimetablesGet(dealId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(axios, basePath));
1013
- },
1014
927
  /**
1015
928
  *
1016
929
  * @summary Get deal.
@@ -1034,7 +947,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1034
947
  * @param {string} [hospitalId]
1035
948
  * @param {string} [hospitalName]
1036
949
  * @param {string} [languageCode]
1037
- * @param {boolean} [appointmentEnabled]
950
+ * @param {boolean} [appointmentChEnabled]
951
+ * @param {boolean} [appointmentSaasEnabled]
1038
952
  * @param {boolean} [showHidden]
1039
953
  * @param {number} [page]
1040
954
  * @param {number} [limit]
@@ -1042,8 +956,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1042
956
  * @param {*} [options] Override http request option.
1043
957
  * @throws {RequiredError}
1044
958
  */
1045
- 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> {
1046
- return localVarFp.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, appointmentEnabled, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
959
+ apiV2DealsDealIdPackagesGet(dealId: string, relatedDealPackageId?: string, dealName?: string, name?: string, countryId?: string, hospitalId?: string, hospitalName?: string, languageCode?: string, appointmentChEnabled?: boolean, appointmentSaasEnabled?: boolean, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DealPackagesModel> {
960
+ return localVarFp.apiV2DealsDealIdPackagesGet(dealId, relatedDealPackageId, dealName, name, countryId, hospitalId, hospitalName, languageCode, appointmentChEnabled, appointmentSaasEnabled, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1047
961
  },
1048
962
  /**
1049
963
  *
@@ -1053,12 +967,13 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1053
967
  * @param {number} [year]
1054
968
  * @param {number} [month]
1055
969
  * @param {string} [timeZone]
970
+ * @param {boolean} [isExternal]
1056
971
  * @param {string} [appointmentIdExcluded]
1057
972
  * @param {*} [options] Override http request option.
1058
973
  * @throws {RequiredError}
1059
974
  */
1060
- apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: any): AxiosPromise<AppointmentTimetablesModel> {
1061
- return localVarFp.apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId, packageId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(axios, basePath));
975
+ apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<AppointmentTimetablesModel> {
976
+ return localVarFp.apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId, packageId, year, month, timeZone, isExternal, appointmentIdExcluded, options).then((request) => request(axios, basePath));
1062
977
  },
1063
978
  /**
1064
979
  *
@@ -1118,7 +1033,6 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1118
1033
  * @param {Array<string>} [ids]
1119
1034
  * @param {number} [serviceDuration]
1120
1035
  * @param {string} [languageCode]
1121
- * @param {boolean} [appointmentEnabled]
1122
1036
  * @param {boolean} [showHidden]
1123
1037
  * @param {boolean} [returnDefaultValue]
1124
1038
  * @param {number} [page]
@@ -1127,8 +1041,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1127
1041
  * @param {*} [options] Override http request option.
1128
1042
  * @throws {RequiredError}
1129
1043
  */
1130
- 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> {
1131
- 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));
1044
+ 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> {
1045
+ 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));
1132
1046
  },
1133
1047
  /**
1134
1048
  *
@@ -1150,7 +1064,6 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1150
1064
  * @param {Array<string>} [ids]
1151
1065
  * @param {number} [serviceDuration]
1152
1066
  * @param {string} [languageCode]
1153
- * @param {boolean} [appointmentEnabled]
1154
1067
  * @param {boolean} [showHidden]
1155
1068
  * @param {boolean} [returnDefaultValue]
1156
1069
  * @param {number} [page]
@@ -1159,8 +1072,8 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1159
1072
  * @param {*} [options] Override http request option.
1160
1073
  * @throws {RequiredError}
1161
1074
  */
1162
- 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> {
1163
- 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));
1075
+ 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> {
1076
+ 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));
1164
1077
  },
1165
1078
  /**
1166
1079
  *
@@ -1178,48 +1091,6 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
1178
1091
  };
1179
1092
  };
1180
1093
 
1181
- /**
1182
- * Request parameters for apiV2DealsDealIdAppointmenttimetablesGet operation in DealsApi.
1183
- * @export
1184
- * @interface DealsApiApiV2DealsDealIdAppointmenttimetablesGetRequest
1185
- */
1186
- export interface DealsApiApiV2DealsDealIdAppointmenttimetablesGetRequest {
1187
- /**
1188
- *
1189
- * @type {string}
1190
- * @memberof DealsApiApiV2DealsDealIdAppointmenttimetablesGet
1191
- */
1192
- readonly dealId: string
1193
-
1194
- /**
1195
- *
1196
- * @type {number}
1197
- * @memberof DealsApiApiV2DealsDealIdAppointmenttimetablesGet
1198
- */
1199
- readonly year?: number
1200
-
1201
- /**
1202
- *
1203
- * @type {number}
1204
- * @memberof DealsApiApiV2DealsDealIdAppointmenttimetablesGet
1205
- */
1206
- readonly month?: number
1207
-
1208
- /**
1209
- *
1210
- * @type {string}
1211
- * @memberof DealsApiApiV2DealsDealIdAppointmenttimetablesGet
1212
- */
1213
- readonly timeZone?: string
1214
-
1215
- /**
1216
- *
1217
- * @type {string}
1218
- * @memberof DealsApiApiV2DealsDealIdAppointmenttimetablesGet
1219
- */
1220
- readonly appointmentIdExcluded?: string
1221
- }
1222
-
1223
1094
  /**
1224
1095
  * Request parameters for apiV2DealsDealIdGet operation in DealsApi.
1225
1096
  * @export
@@ -1315,7 +1186,14 @@ export interface DealsApiApiV2DealsDealIdPackagesGetRequest {
1315
1186
  * @type {boolean}
1316
1187
  * @memberof DealsApiApiV2DealsDealIdPackagesGet
1317
1188
  */
1318
- readonly appointmentEnabled?: boolean
1189
+ readonly appointmentChEnabled?: boolean
1190
+
1191
+ /**
1192
+ *
1193
+ * @type {boolean}
1194
+ * @memberof DealsApiApiV2DealsDealIdPackagesGet
1195
+ */
1196
+ readonly appointmentSaasEnabled?: boolean
1319
1197
 
1320
1198
  /**
1321
1199
  *
@@ -1387,6 +1265,13 @@ export interface DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesG
1387
1265
  */
1388
1266
  readonly timeZone?: string
1389
1267
 
1268
+ /**
1269
+ *
1270
+ * @type {boolean}
1271
+ * @memberof DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet
1272
+ */
1273
+ readonly isExternal?: boolean
1274
+
1390
1275
  /**
1391
1276
  *
1392
1277
  * @type {string}
@@ -1618,13 +1503,6 @@ export interface DealsApiApiV2DealsGetRequest {
1618
1503
  */
1619
1504
  readonly languageCode?: string
1620
1505
 
1621
- /**
1622
- *
1623
- * @type {boolean}
1624
- * @memberof DealsApiApiV2DealsGet
1625
- */
1626
- readonly appointmentEnabled?: boolean
1627
-
1628
1506
  /**
1629
1507
  *
1630
1508
  * @type {boolean}
@@ -1786,13 +1664,6 @@ export interface DealsApiApiV2DealsSimpleGetRequest {
1786
1664
  */
1787
1665
  readonly languageCode?: string
1788
1666
 
1789
- /**
1790
- *
1791
- * @type {boolean}
1792
- * @memberof DealsApiApiV2DealsSimpleGet
1793
- */
1794
- readonly appointmentEnabled?: boolean
1795
-
1796
1667
  /**
1797
1668
  *
1798
1669
  * @type {boolean}
@@ -1871,18 +1742,6 @@ export interface DealsApiApiV2DealsSlugGetRequest {
1871
1742
  * @extends {BaseAPI}
1872
1743
  */
1873
1744
  export class DealsApi extends BaseAPI {
1874
- /**
1875
- *
1876
- * @summary Get DealAppointmentTimetables
1877
- * @param {DealsApiApiV2DealsDealIdAppointmenttimetablesGetRequest} requestParameters Request parameters.
1878
- * @param {*} [options] Override http request option.
1879
- * @throws {RequiredError}
1880
- * @memberof DealsApi
1881
- */
1882
- public apiV2DealsDealIdAppointmenttimetablesGet(requestParameters: DealsApiApiV2DealsDealIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
1883
- return DealsApiFp(this.configuration).apiV2DealsDealIdAppointmenttimetablesGet(requestParameters.dealId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
1884
- }
1885
-
1886
1745
  /**
1887
1746
  *
1888
1747
  * @summary Get deal.
@@ -1904,7 +1763,7 @@ export class DealsApi extends BaseAPI {
1904
1763
  * @memberof DealsApi
1905
1764
  */
1906
1765
  public apiV2DealsDealIdPackagesGet(requestParameters: DealsApiApiV2DealsDealIdPackagesGetRequest, options?: AxiosRequestConfig) {
1907
- 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));
1766
+ return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesGet(requestParameters.dealId, requestParameters.relatedDealPackageId, requestParameters.dealName, requestParameters.name, requestParameters.countryId, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.languageCode, requestParameters.appointmentChEnabled, requestParameters.appointmentSaasEnabled, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1908
1767
  }
1909
1768
 
1910
1769
  /**
@@ -1916,7 +1775,7 @@ export class DealsApi extends BaseAPI {
1916
1775
  * @memberof DealsApi
1917
1776
  */
1918
1777
  public apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(requestParameters: DealsApiApiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
1919
- 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));
1778
+ return DealsApiFp(this.configuration).apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(requestParameters.dealId, requestParameters.packageId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
1920
1779
  }
1921
1780
 
1922
1781
  /**
@@ -1964,7 +1823,7 @@ export class DealsApi extends BaseAPI {
1964
1823
  * @memberof DealsApi
1965
1824
  */
1966
1825
  public apiV2DealsGet(requestParameters: DealsApiApiV2DealsGetRequest = {}, options?: AxiosRequestConfig) {
1967
- 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));
1826
+ 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.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1968
1827
  }
1969
1828
 
1970
1829
  /**
@@ -1976,7 +1835,7 @@ export class DealsApi extends BaseAPI {
1976
1835
  * @memberof DealsApi
1977
1836
  */
1978
1837
  public apiV2DealsSimpleGet(requestParameters: DealsApiApiV2DealsSimpleGetRequest = {}, options?: AxiosRequestConfig) {
1979
- 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));
1838
+ 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.showHidden, requestParameters.returnDefaultValue, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1980
1839
  }
1981
1840
 
1982
1841
  /**
@@ -47,11 +47,12 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
47
47
  * @param {number} [year]
48
48
  * @param {number} [month]
49
49
  * @param {string} [timeZone]
50
+ * @param {boolean} [isExternal]
50
51
  * @param {string} [appointmentIdExcluded]
51
52
  * @param {*} [options] Override http request option.
52
53
  * @throws {RequiredError}
53
54
  */
54
- apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet: async (doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
55
+ apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet: async (doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, appointmentIdExcluded?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
55
56
  // verify required parameter 'doctorAffiliationId' is not null or undefined
56
57
  assertParamExists('apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet', 'doctorAffiliationId', doctorAffiliationId)
57
58
  const localVarPath = `/api/v2/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables`
@@ -83,6 +84,10 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
83
84
  localVarQueryParameter['TimeZone'] = timeZone;
84
85
  }
85
86
 
87
+ if (isExternal !== undefined) {
88
+ localVarQueryParameter['IsExternal'] = isExternal;
89
+ }
90
+
86
91
  if (appointmentIdExcluded !== undefined) {
87
92
  localVarQueryParameter['AppointmentIdExcluded'] = appointmentIdExcluded;
88
93
  }
@@ -399,12 +404,13 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
399
404
  * @param {number} [year]
400
405
  * @param {number} [month]
401
406
  * @param {string} [timeZone]
407
+ * @param {boolean} [isExternal]
402
408
  * @param {string} [appointmentIdExcluded]
403
409
  * @param {*} [options] Override http request option.
404
410
  * @throws {RequiredError}
405
411
  */
406
- async apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
407
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, appointmentIdExcluded, options);
412
+ async apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
413
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, isExternal, appointmentIdExcluded, options);
408
414
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
409
415
  },
410
416
  /**
@@ -501,12 +507,13 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
501
507
  * @param {number} [year]
502
508
  * @param {number} [month]
503
509
  * @param {string} [timeZone]
510
+ * @param {boolean} [isExternal]
504
511
  * @param {string} [appointmentIdExcluded]
505
512
  * @param {*} [options] Override http request option.
506
513
  * @throws {RequiredError}
507
514
  */
508
- apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, appointmentIdExcluded?: string, options?: any): AxiosPromise<AppointmentTimetablesModel> {
509
- return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, appointmentIdExcluded, options).then((request) => request(axios, basePath));
515
+ apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<AppointmentTimetablesModel> {
516
+ return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, isExternal, appointmentIdExcluded, options).then((request) => request(axios, basePath));
510
517
  },
511
518
  /**
512
519
  *
@@ -617,6 +624,13 @@ export interface DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationId
617
624
  */
618
625
  readonly timeZone?: string
619
626
 
627
+ /**
628
+ *
629
+ * @type {boolean}
630
+ * @memberof DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet
631
+ */
632
+ readonly isExternal?: boolean
633
+
620
634
  /**
621
635
  *
622
636
  * @type {string}
@@ -865,7 +879,7 @@ export class DoctorAffiliationsApi extends BaseAPI {
865
879
  * @memberof DoctorAffiliationsApi
866
880
  */
867
881
  public apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters: DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGetRequest, options?: AxiosRequestConfig) {
868
- return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters.doctorAffiliationId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
882
+ return DoctorAffiliationsApiFp(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters.doctorAffiliationId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.appointmentIdExcluded, options).then((request) => request(this.axios, this.basePath));
869
883
  }
870
884
 
871
885
  /**