ch-admin-api-client-typescript 5.4.9 → 5.5.1

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 (104) hide show
  1. package/lib/api/search-api.d.ts +13 -13
  2. package/lib/api/search-api.d.ts.map +1 -1
  3. package/lib/api/search-api.js +17 -16
  4. package/lib/models/create-deal-package-command.d.ts +7 -0
  5. package/lib/models/create-deal-package-command.d.ts.map +1 -1
  6. package/lib/models/create-doctor-affiliation-command.d.ts +7 -0
  7. package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
  8. package/lib/models/create-hospital-command.d.ts +3 -3
  9. package/lib/models/create-hospital-command.d.ts.map +1 -1
  10. package/lib/models/create-hospital-service-command.d.ts +7 -0
  11. package/lib/models/create-hospital-service-command.d.ts.map +1 -1
  12. package/lib/models/create-hospital-specialty-command.d.ts +7 -0
  13. package/lib/models/create-hospital-specialty-command.d.ts.map +1 -1
  14. package/lib/models/deal-package-item-model.d.ts +3 -3
  15. package/lib/models/deal-package-item-model.d.ts.map +1 -1
  16. package/lib/models/deal-package-model.d.ts +14 -7
  17. package/lib/models/deal-package-model.d.ts.map +1 -1
  18. package/lib/models/doctor-affiliation-model.d.ts +7 -0
  19. package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
  20. package/lib/models/{hospital-feature-detail-input-model.d.ts → feature-detail-input-model.d.ts} +8 -8
  21. package/lib/models/feature-detail-input-model.d.ts.map +1 -0
  22. package/lib/models/{hospital-feature-detail-model.d.ts → feature-detail-model.d.ts} +11 -12
  23. package/lib/models/feature-detail-model.d.ts.map +1 -0
  24. package/lib/models/feature-input-model.d.ts +32 -0
  25. package/lib/models/feature-input-model.d.ts.map +1 -0
  26. package/lib/models/{hospital-feature-model.d.ts → feature-model.d.ts} +10 -10
  27. package/lib/models/feature-model.d.ts.map +1 -0
  28. package/lib/models/hospital-item-model.d.ts +3 -40
  29. package/lib/models/hospital-item-model.d.ts.map +1 -1
  30. package/lib/models/hospital-model.d.ts +10 -40
  31. package/lib/models/hospital-model.d.ts.map +1 -1
  32. package/lib/models/hospital-service-item-model.d.ts +3 -3
  33. package/lib/models/hospital-service-item-model.d.ts.map +1 -1
  34. package/lib/models/hospital-service-model.d.ts +10 -3
  35. package/lib/models/hospital-service-model.d.ts.map +1 -1
  36. package/lib/models/hospital-specialty-item-model.d.ts +3 -3
  37. package/lib/models/hospital-specialty-item-model.d.ts.map +1 -1
  38. package/lib/models/hospital-specialty-model.d.ts +10 -3
  39. package/lib/models/hospital-specialty-model.d.ts.map +1 -1
  40. package/lib/models/index.d.ts +4 -8
  41. package/lib/models/index.d.ts.map +1 -1
  42. package/lib/models/index.js +4 -8
  43. package/lib/models/update-deal-package-command.d.ts +7 -0
  44. package/lib/models/update-deal-package-command.d.ts.map +1 -1
  45. package/lib/models/update-doctor-affiliation-command.d.ts +7 -0
  46. package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
  47. package/lib/models/update-hospital-command.d.ts +3 -3
  48. package/lib/models/update-hospital-command.d.ts.map +1 -1
  49. package/lib/models/update-hospital-service-command.d.ts +7 -0
  50. package/lib/models/update-hospital-service-command.d.ts.map +1 -1
  51. package/lib/models/update-hospital-specialty-command.d.ts +7 -0
  52. package/lib/models/update-hospital-specialty-command.d.ts.map +1 -1
  53. package/package.json +1 -1
  54. package/src/.openapi-generator/FILES +4 -8
  55. package/src/api/search-api.ts +20 -18
  56. package/src/models/create-deal-package-command.ts +9 -0
  57. package/src/models/create-doctor-affiliation-command.ts +9 -0
  58. package/src/models/create-hospital-command.ts +4 -4
  59. package/src/models/create-hospital-service-command.ts +9 -0
  60. package/src/models/create-hospital-specialty-command.ts +9 -0
  61. package/src/models/deal-package-item-model.ts +3 -3
  62. package/src/models/deal-package-model.ts +16 -7
  63. package/src/models/doctor-affiliation-model.ts +9 -0
  64. package/src/models/{hospital-feature-detail-input-model.ts → feature-detail-input-model.ts} +7 -7
  65. package/src/models/{hospital-feature-detail-model.ts → feature-detail-model.ts} +10 -13
  66. package/src/models/{hospital-feature-input-model.ts → feature-input-model.ts} +9 -9
  67. package/src/models/{hospital-feature-model.ts → feature-model.ts} +9 -9
  68. package/src/models/hospital-item-model.ts +3 -42
  69. package/src/models/hospital-model.ts +12 -42
  70. package/src/models/hospital-service-item-model.ts +3 -3
  71. package/src/models/hospital-service-model.ts +12 -3
  72. package/src/models/hospital-specialty-item-model.ts +3 -3
  73. package/src/models/hospital-specialty-model.ts +12 -3
  74. package/src/models/index.ts +4 -8
  75. package/src/models/update-deal-package-command.ts +9 -0
  76. package/src/models/update-doctor-affiliation-command.ts +9 -0
  77. package/src/models/update-hospital-command.ts +4 -4
  78. package/src/models/update-hospital-service-command.ts +9 -0
  79. package/src/models/update-hospital-specialty-command.ts +9 -0
  80. package/lib/models/hospital-domain-input-model.d.ts +0 -50
  81. package/lib/models/hospital-domain-input-model.d.ts.map +0 -1
  82. package/lib/models/hospital-domain-model.d.ts +0 -50
  83. package/lib/models/hospital-domain-model.d.ts.map +0 -1
  84. package/lib/models/hospital-feature-detail-input-model.d.ts.map +0 -1
  85. package/lib/models/hospital-feature-detail-model.d.ts.map +0 -1
  86. package/lib/models/hospital-feature-input-model.d.ts +0 -32
  87. package/lib/models/hospital-feature-input-model.d.ts.map +0 -1
  88. package/lib/models/hospital-feature-input-model.js +0 -15
  89. package/lib/models/hospital-feature-model.d.ts.map +0 -1
  90. package/lib/models/hospital-feature-model.js +0 -15
  91. package/lib/models/survey-form-simple-mapping-model.d.ts +0 -39
  92. package/lib/models/survey-form-simple-mapping-model.d.ts.map +0 -1
  93. package/lib/models/survey-form-simple-mapping-model.js +0 -15
  94. package/lib/models/translation-simple-model.d.ts +0 -55
  95. package/lib/models/translation-simple-model.d.ts.map +0 -1
  96. package/lib/models/translation-simple-model.js +0 -15
  97. package/src/models/hospital-domain-input-model.ts +0 -57
  98. package/src/models/hospital-domain-model.ts +0 -57
  99. package/src/models/survey-form-simple-mapping-model.ts +0 -48
  100. package/src/models/translation-simple-model.ts +0 -60
  101. /package/lib/models/{hospital-domain-input-model.js → feature-detail-input-model.js} +0 -0
  102. /package/lib/models/{hospital-domain-model.js → feature-detail-model.js} +0 -0
  103. /package/lib/models/{hospital-feature-detail-input-model.js → feature-input-model.js} +0 -0
  104. /package/lib/models/{hospital-feature-detail-model.js → feature-model.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"update-hospital-service-command.d.ts","sourceRoot":"","sources":["../../src/models/update-hospital-service-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGpE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;CACvC"}
1
+ {"version":3,"file":"update-hospital-service-command.d.ts","sourceRoot":"","sources":["../../src/models/update-hospital-service-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;CACvC"}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { AppointmentOptionModel } from './appointment-option-model';
13
+ import { FeatureInputModel } from './feature-input-model';
13
14
  import { MediaModel } from './media-model';
14
15
  /**
15
16
  *
@@ -89,6 +90,12 @@ export interface UpdateHospitalSpecialtyCommand {
89
90
  * @memberof UpdateHospitalSpecialtyCommand
90
91
  */
91
92
  'confirmed'?: boolean;
93
+ /**
94
+ *
95
+ * @type {FeatureInputModel}
96
+ * @memberof UpdateHospitalSpecialtyCommand
97
+ */
98
+ 'feature'?: FeatureInputModel;
92
99
  /**
93
100
  *
94
101
  * @type {AppointmentOptionModel}
@@ -1 +1 @@
1
- {"version":3,"file":"update-hospital-specialty-command.d.ts","sourceRoot":"","sources":["../../src/models/update-hospital-specialty-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGpE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;CACvC"}
1
+ {"version":3,"file":"update-hospital-specialty-command.d.ts","sourceRoot":"","sources":["../../src/models/update-hospital-specialty-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;CACvC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "5.4.9",
3
+ "version": "5.5.1",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -256,6 +256,10 @@ models/faq-tag-item-model.ts
256
256
  models/faq-tag-model.ts
257
257
  models/faq-tags-model.ts
258
258
  models/faqs-model.ts
259
+ models/feature-detail-input-model.ts
260
+ models/feature-detail-model.ts
261
+ models/feature-input-model.ts
262
+ models/feature-model.ts
259
263
  models/footer-navigation-item-model.ts
260
264
  models/gender.ts
261
265
  models/get-transfer-balance-embeded.ts
@@ -281,18 +285,12 @@ models/hospital-consultation-timetables-model.ts
281
285
  models/hospital-contact-item-model.ts
282
286
  models/hospital-contact-model.ts
283
287
  models/hospital-contacts-model.ts
284
- models/hospital-domain-input-model.ts
285
- models/hospital-domain-model.ts
286
288
  models/hospital-equipment-item-model.ts
287
289
  models/hospital-equipment-model.ts
288
290
  models/hospital-equipments-model.ts
289
291
  models/hospital-evaluation-item-model.ts
290
292
  models/hospital-evaluation-model.ts
291
293
  models/hospital-evaluations-model.ts
292
- models/hospital-feature-detail-input-model.ts
293
- models/hospital-feature-detail-model.ts
294
- models/hospital-feature-input-model.ts
295
- models/hospital-feature-model.ts
296
294
  models/hospital-item-model.ts
297
295
  models/hospital-language-item-model.ts
298
296
  models/hospital-languages-model.ts
@@ -442,7 +440,6 @@ models/survey-form-element-option-model.ts
442
440
  models/survey-form-element-types.ts
443
441
  models/survey-form-item-model.ts
444
442
  models/survey-form-model.ts
445
- models/survey-form-simple-mapping-model.ts
446
443
  models/survey-form-status.ts
447
444
  models/survey-forms-model.ts
448
445
  models/survey-result-element-model.ts
@@ -466,7 +463,6 @@ models/translate-all-options.ts
466
463
  models/translate-command.ts
467
464
  models/translate-doctor-affiliation-command.ts
468
465
  models/translate-hospital-command.ts
469
- models/translation-simple-model.ts
470
466
  models/update-about-us-page-command.ts
471
467
  models/update-account-command.ts
472
468
  models/update-accreditation-command.ts
@@ -30,12 +30,14 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
30
30
  return {
31
31
  /**
32
32
  *
33
- * @summary RecreateIndex
34
- * @param {SearchIndexType} [searchIndexType]
33
+ * @summary Recreate Index
34
+ * @param {Array<SearchIndexType>} selectedIndextypes
35
35
  * @param {*} [options] Override http request option.
36
36
  * @throws {RequiredError}
37
37
  */
38
- apiV1SearchRecreatePost: async (searchIndexType?: SearchIndexType, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38
+ apiV1SearchRecreatePost: async (selectedIndextypes: Array<SearchIndexType>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39
+ // verify required parameter 'selectedIndextypes' is not null or undefined
40
+ assertParamExists('apiV1SearchRecreatePost', 'selectedIndextypes', selectedIndextypes)
39
41
  const localVarPath = `/api/v1/search/recreate`;
40
42
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
41
43
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -52,8 +54,8 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
52
54
  // oauth required
53
55
  await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
54
56
 
55
- if (searchIndexType !== undefined) {
56
- localVarQueryParameter['searchIndexType'] = searchIndexType;
57
+ if (selectedIndextypes) {
58
+ localVarQueryParameter['selectedIndextypes'] = selectedIndextypes;
57
59
  }
58
60
 
59
61
 
@@ -79,13 +81,13 @@ export const SearchApiFp = function(configuration?: Configuration) {
79
81
  return {
80
82
  /**
81
83
  *
82
- * @summary RecreateIndex
83
- * @param {SearchIndexType} [searchIndexType]
84
+ * @summary Recreate Index
85
+ * @param {Array<SearchIndexType>} selectedIndextypes
84
86
  * @param {*} [options] Override http request option.
85
87
  * @throws {RequiredError}
86
88
  */
87
- async apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
88
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchRecreatePost(searchIndexType, options);
89
+ async apiV1SearchRecreatePost(selectedIndextypes: Array<SearchIndexType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
90
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchRecreatePost(selectedIndextypes, options);
89
91
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
90
92
  },
91
93
  }
@@ -100,13 +102,13 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
100
102
  return {
101
103
  /**
102
104
  *
103
- * @summary RecreateIndex
104
- * @param {SearchIndexType} [searchIndexType]
105
+ * @summary Recreate Index
106
+ * @param {Array<SearchIndexType>} selectedIndextypes
105
107
  * @param {*} [options] Override http request option.
106
108
  * @throws {RequiredError}
107
109
  */
108
- apiV1SearchRecreatePost(searchIndexType?: SearchIndexType, options?: any): AxiosPromise<string> {
109
- return localVarFp.apiV1SearchRecreatePost(searchIndexType, options).then((request) => request(axios, basePath));
110
+ apiV1SearchRecreatePost(selectedIndextypes: Array<SearchIndexType>, options?: any): AxiosPromise<string> {
111
+ return localVarFp.apiV1SearchRecreatePost(selectedIndextypes, options).then((request) => request(axios, basePath));
110
112
  },
111
113
  };
112
114
  };
@@ -119,10 +121,10 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
119
121
  export interface SearchApiApiV1SearchRecreatePostRequest {
120
122
  /**
121
123
  *
122
- * @type {SearchIndexType}
124
+ * @type {Array<SearchIndexType>}
123
125
  * @memberof SearchApiApiV1SearchRecreatePost
124
126
  */
125
- readonly searchIndexType?: SearchIndexType
127
+ readonly selectedIndextypes: Array<SearchIndexType>
126
128
  }
127
129
 
128
130
  /**
@@ -134,13 +136,13 @@ export interface SearchApiApiV1SearchRecreatePostRequest {
134
136
  export class SearchApi extends BaseAPI {
135
137
  /**
136
138
  *
137
- * @summary RecreateIndex
139
+ * @summary Recreate Index
138
140
  * @param {SearchApiApiV1SearchRecreatePostRequest} requestParameters Request parameters.
139
141
  * @param {*} [options] Override http request option.
140
142
  * @throws {RequiredError}
141
143
  * @memberof SearchApi
142
144
  */
143
- public apiV1SearchRecreatePost(requestParameters: SearchApiApiV1SearchRecreatePostRequest = {}, options?: AxiosRequestConfig) {
144
- return SearchApiFp(this.configuration).apiV1SearchRecreatePost(requestParameters.searchIndexType, options).then((request) => request(this.axios, this.basePath));
145
+ public apiV1SearchRecreatePost(requestParameters: SearchApiApiV1SearchRecreatePostRequest, options?: AxiosRequestConfig) {
146
+ return SearchApiFp(this.configuration).apiV1SearchRecreatePost(requestParameters.selectedIndextypes, options).then((request) => request(this.axios, this.basePath));
145
147
  }
146
148
  }
@@ -18,6 +18,9 @@
18
18
  import { AppointmentOptionModel } from './appointment-option-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
+ import { FeatureInputModel } from './feature-input-model';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
21
24
  import { RefundPolicy } from './refund-policy';
22
25
 
23
26
  /**
@@ -68,5 +71,11 @@ export interface CreateDealPackageCommand {
68
71
  * @memberof CreateDealPackageCommand
69
72
  */
70
73
  'appointmentOption'?: AppointmentOptionModel;
74
+ /**
75
+ *
76
+ * @type {FeatureInputModel}
77
+ * @memberof CreateDealPackageCommand
78
+ */
79
+ 'feature'?: FeatureInputModel;
71
80
  }
72
81
 
@@ -18,6 +18,9 @@
18
18
  import { AppointmentOptionModel } from './appointment-option-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
+ import { FeatureInputModel } from './feature-input-model';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
21
24
  import { MediaModel } from './media-model';
22
25
 
23
26
  /**
@@ -116,6 +119,12 @@ export interface CreateDoctorAffiliationCommand {
116
119
  * @memberof CreateDoctorAffiliationCommand
117
120
  */
118
121
  'consultationFee'?: number | null;
122
+ /**
123
+ *
124
+ * @type {FeatureInputModel}
125
+ * @memberof CreateDoctorAffiliationCommand
126
+ */
127
+ 'feature'?: FeatureInputModel;
119
128
  /**
120
129
  *
121
130
  * @type {Array<MediaModel>}
@@ -18,10 +18,10 @@
18
18
  import { AppointmentOptionModel } from './appointment-option-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import { HospitalConsultationOptionModel } from './hospital-consultation-option-model';
21
+ import { FeatureInputModel } from './feature-input-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
- import { HospitalFeatureInputModel } from './hospital-feature-input-model';
24
+ import { HospitalConsultationOptionModel } from './hospital-consultation-option-model';
25
25
  // May contain unused imports in some cases
26
26
  // @ts-ignore
27
27
  import { LocationModel } from './location-model';
@@ -193,9 +193,9 @@ export interface CreateHospitalCommand {
193
193
  'appointmentOption'?: AppointmentOptionModel;
194
194
  /**
195
195
  *
196
- * @type {HospitalFeatureInputModel}
196
+ * @type {FeatureInputModel}
197
197
  * @memberof CreateHospitalCommand
198
198
  */
199
- 'feature'?: HospitalFeatureInputModel;
199
+ 'feature'?: FeatureInputModel;
200
200
  }
201
201
 
@@ -18,6 +18,9 @@
18
18
  import { AppointmentOptionModel } from './appointment-option-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
+ import { FeatureInputModel } from './feature-input-model';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
21
24
  import { MediaModel } from './media-model';
22
25
  // May contain unused imports in some cases
23
26
  // @ts-ignore
@@ -107,6 +110,12 @@ export interface CreateHospitalServiceCommand {
107
110
  * @memberof CreateHospitalServiceCommand
108
111
  */
109
112
  'photoThumbnail'?: string | null;
113
+ /**
114
+ *
115
+ * @type {FeatureInputModel}
116
+ * @memberof CreateHospitalServiceCommand
117
+ */
118
+ 'feature'?: FeatureInputModel;
110
119
  /**
111
120
  *
112
121
  * @type {AppointmentOptionModel}
@@ -18,6 +18,9 @@
18
18
  import { AppointmentOptionModel } from './appointment-option-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
+ import { FeatureInputModel } from './feature-input-model';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
21
24
  import { MediaModel } from './media-model';
22
25
 
23
26
  /**
@@ -92,6 +95,12 @@ export interface CreateHospitalSpecialtyCommand {
92
95
  * @memberof CreateHospitalSpecialtyCommand
93
96
  */
94
97
  'backgroundThumbnail'?: string | null;
98
+ /**
99
+ *
100
+ * @type {FeatureInputModel}
101
+ * @memberof CreateHospitalSpecialtyCommand
102
+ */
103
+ 'feature'?: FeatureInputModel;
95
104
  /**
96
105
  *
97
106
  * @type {AppointmentOptionModel}
@@ -18,7 +18,7 @@
18
18
  import { AppointmentOptionModel } from './appointment-option-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import { AuditableEntity } from './auditable-entity';
21
+ import { AuditableEntityModel } from './auditable-entity-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import { RefundPolicy } from './refund-policy';
@@ -109,9 +109,9 @@ export interface DealPackageItemModel {
109
109
  'appointmentOption'?: AppointmentOptionModel;
110
110
  /**
111
111
  *
112
- * @type {AuditableEntity}
112
+ * @type {AuditableEntityModel}
113
113
  * @memberof DealPackageItemModel
114
114
  */
115
- 'auditableEntity'?: AuditableEntity;
115
+ 'auditableEntity'?: AuditableEntityModel;
116
116
  }
117
117
 
@@ -18,7 +18,10 @@
18
18
  import { AppointmentOptionModel } from './appointment-option-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import { AuditableEntity } from './auditable-entity';
21
+ import { AuditableEntityModel } from './auditable-entity-model';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import { FeatureModel } from './feature-model';
22
25
  // May contain unused imports in some cases
23
26
  // @ts-ignore
24
27
  import { RefundPolicy } from './refund-policy';
@@ -77,6 +80,12 @@ export interface DealPackageModel {
77
80
  * @memberof DealPackageModel
78
81
  */
79
82
  'hospitalSlug'?: string | null;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof DealPackageModel
87
+ */
88
+ 'additionalServices'?: string | null;
80
89
  /**
81
90
  *
82
91
  * @type {RefundPolicy}
@@ -103,27 +112,27 @@ export interface DealPackageModel {
103
112
  'appointmentOption'?: AppointmentOptionModel;
104
113
  /**
105
114
  *
106
- * @type {AuditableEntity}
115
+ * @type {AuditableEntityModel}
107
116
  * @memberof DealPackageModel
108
117
  */
109
- 'auditableEntity'?: AuditableEntity;
118
+ 'auditableEntity'?: AuditableEntityModel;
110
119
  /**
111
120
  *
112
121
  * @type {string}
113
122
  * @memberof DealPackageModel
114
123
  */
115
- 'additionalServices'?: string | null;
124
+ 'accomodation'?: string | null;
116
125
  /**
117
126
  *
118
127
  * @type {string}
119
128
  * @memberof DealPackageModel
120
129
  */
121
- 'accomodation'?: string | null;
130
+ 'transfer'?: string | null;
122
131
  /**
123
132
  *
124
- * @type {string}
133
+ * @type {FeatureModel}
125
134
  * @memberof DealPackageModel
126
135
  */
127
- 'transfer'?: string | null;
136
+ 'feature'?: FeatureModel;
128
137
  }
129
138
 
@@ -21,6 +21,9 @@ import { AppointmentOptionModel } from './appointment-option-model';
21
21
  import { AuditableEntity } from './auditable-entity';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
+ import { FeatureModel } from './feature-model';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
24
27
  import { MarketingType } from './marketing-type';
25
28
  // May contain unused imports in some cases
26
29
  // @ts-ignore
@@ -182,5 +185,11 @@ export interface DoctorAffiliationModel {
182
185
  * @memberof DoctorAffiliationModel
183
186
  */
184
187
  'medias'?: Array<MediaModel> | null;
188
+ /**
189
+ *
190
+ * @type {FeatureModel}
191
+ * @memberof DoctorAffiliationModel
192
+ */
193
+ 'feature'?: FeatureModel;
185
194
  }
186
195
 
@@ -17,37 +17,37 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface HospitalFeatureDetailInputModel
20
+ * @interface FeatureDetailInputModel
21
21
  */
22
- export interface HospitalFeatureDetailInputModel {
22
+ export interface FeatureDetailInputModel {
23
23
  /**
24
24
  *
25
25
  * @type {boolean}
26
- * @memberof HospitalFeatureDetailInputModel
26
+ * @memberof FeatureDetailInputModel
27
27
  */
28
28
  'isEnabledAppointment'?: boolean | null;
29
29
  /**
30
30
  *
31
31
  * @type {boolean}
32
- * @memberof HospitalFeatureDetailInputModel
32
+ * @memberof FeatureDetailInputModel
33
33
  */
34
34
  'isEnabledChat'?: boolean | null;
35
35
  /**
36
36
  *
37
37
  * @type {boolean}
38
- * @memberof HospitalFeatureDetailInputModel
38
+ * @memberof FeatureDetailInputModel
39
39
  */
40
40
  'isEnabledCall'?: boolean | null;
41
41
  /**
42
42
  *
43
43
  * @type {boolean}
44
- * @memberof HospitalFeatureDetailInputModel
44
+ * @memberof FeatureDetailInputModel
45
45
  */
46
46
  'isEnabledForm'?: boolean | null;
47
47
  /**
48
48
  *
49
49
  * @type {string}
50
- * @memberof HospitalFeatureDetailInputModel
50
+ * @memberof FeatureDetailInputModel
51
51
  */
52
52
  'surveyFormId'?: string | null;
53
53
  }
@@ -13,51 +13,48 @@
13
13
  */
14
14
 
15
15
 
16
- // May contain unused imports in some cases
17
- // @ts-ignore
18
- import { SurveyFormSimpleMappingModel } from './survey-form-simple-mapping-model';
19
16
 
20
17
  /**
21
18
  *
22
19
  * @export
23
- * @interface HospitalFeatureDetailModel
20
+ * @interface FeatureDetailModel
24
21
  */
25
- export interface HospitalFeatureDetailModel {
22
+ export interface FeatureDetailModel {
26
23
  /**
27
24
  *
28
25
  * @type {boolean}
29
- * @memberof HospitalFeatureDetailModel
26
+ * @memberof FeatureDetailModel
30
27
  */
31
28
  'isEnabledAppointment'?: boolean;
32
29
  /**
33
30
  *
34
31
  * @type {boolean}
35
- * @memberof HospitalFeatureDetailModel
32
+ * @memberof FeatureDetailModel
36
33
  */
37
34
  'isEnabledChat'?: boolean;
38
35
  /**
39
36
  *
40
37
  * @type {boolean}
41
- * @memberof HospitalFeatureDetailModel
38
+ * @memberof FeatureDetailModel
42
39
  */
43
40
  'isEnabledCall'?: boolean;
44
41
  /**
45
42
  *
46
43
  * @type {boolean}
47
- * @memberof HospitalFeatureDetailModel
44
+ * @memberof FeatureDetailModel
48
45
  */
49
46
  'isEnabledForm'?: boolean;
50
47
  /**
51
48
  *
52
49
  * @type {string}
53
- * @memberof HospitalFeatureDetailModel
50
+ * @memberof FeatureDetailModel
54
51
  */
55
52
  'surveyFormId'?: string | null;
56
53
  /**
57
54
  *
58
- * @type {SurveyFormSimpleMappingModel}
59
- * @memberof HospitalFeatureDetailModel
55
+ * @type {Array<string>}
56
+ * @memberof FeatureDetailModel
60
57
  */
61
- 'surveyForm'?: SurveyFormSimpleMappingModel;
58
+ 'surveyFormTranslatedLanguages'?: Array<string> | null;
62
59
  }
63
60
 
@@ -15,25 +15,25 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import { HospitalDomainInputModel } from './hospital-domain-input-model';
18
+ import { FeatureDetailInputModel } from './feature-detail-input-model';
19
19
 
20
20
  /**
21
21
  *
22
22
  * @export
23
- * @interface HospitalFeatureInputModel
23
+ * @interface FeatureInputModel
24
24
  */
25
- export interface HospitalFeatureInputModel {
25
+ export interface FeatureInputModel {
26
26
  /**
27
27
  *
28
- * @type {HospitalDomainInputModel}
29
- * @memberof HospitalFeatureInputModel
28
+ * @type {FeatureDetailInputModel}
29
+ * @memberof FeatureInputModel
30
30
  */
31
- 'ch'?: HospitalDomainInputModel;
31
+ 'ch'?: FeatureDetailInputModel;
32
32
  /**
33
33
  *
34
- * @type {HospitalDomainInputModel}
35
- * @memberof HospitalFeatureInputModel
34
+ * @type {FeatureDetailInputModel}
35
+ * @memberof FeatureInputModel
36
36
  */
37
- 'saas'?: HospitalDomainInputModel;
37
+ 'saas'?: FeatureDetailInputModel;
38
38
  }
39
39
 
@@ -15,25 +15,25 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import { HospitalDomainModel } from './hospital-domain-model';
18
+ import { FeatureDetailModel } from './feature-detail-model';
19
19
 
20
20
  /**
21
21
  *
22
22
  * @export
23
- * @interface HospitalFeatureModel
23
+ * @interface FeatureModel
24
24
  */
25
- export interface HospitalFeatureModel {
25
+ export interface FeatureModel {
26
26
  /**
27
27
  *
28
- * @type {HospitalDomainModel}
29
- * @memberof HospitalFeatureModel
28
+ * @type {FeatureDetailModel}
29
+ * @memberof FeatureModel
30
30
  */
31
- 'ch'?: HospitalDomainModel;
31
+ 'ch'?: FeatureDetailModel;
32
32
  /**
33
33
  *
34
- * @type {HospitalDomainModel}
35
- * @memberof HospitalFeatureModel
34
+ * @type {FeatureDetailModel}
35
+ * @memberof FeatureModel
36
36
  */
37
- 'saas'?: HospitalDomainModel;
37
+ 'saas'?: FeatureDetailModel;
38
38
  }
39
39
 
@@ -18,7 +18,7 @@
18
18
  import { AppointmentOptionModel } from './appointment-option-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
- import { AuditableEntity } from './auditable-entity';
21
+ import { AuditableEntityModel } from './auditable-entity-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import { GradeModel } from './grade-model';
@@ -27,9 +27,6 @@ import { GradeModel } from './grade-model';
27
27
  import { HospitalConsultationOptionModel } from './hospital-consultation-option-model';
28
28
  // May contain unused imports in some cases
29
29
  // @ts-ignore
30
- import { HospitalFeatureModel } from './hospital-feature-model';
31
- // May contain unused imports in some cases
32
- // @ts-ignore
33
30
  import { LocationModel } from './location-model';
34
31
  // May contain unused imports in some cases
35
32
  // @ts-ignore
@@ -128,36 +125,6 @@ export interface HospitalItemModel {
128
125
  * @memberof HospitalItemModel
129
126
  */
130
127
  'paymentEnabled'?: boolean;
131
- /**
132
- *
133
- * @type {string}
134
- * @memberof HospitalItemModel
135
- */
136
- 'chSurveyFormId'?: string | null;
137
- /**
138
- *
139
- * @type {string}
140
- * @memberof HospitalItemModel
141
- */
142
- 'saasSurveyFormId'?: string | null;
143
- /**
144
- *
145
- * @type {string}
146
- * @memberof HospitalItemModel
147
- */
148
- 'formUrlForChLink'?: string | null;
149
- /**
150
- *
151
- * @type {string}
152
- * @memberof HospitalItemModel
153
- */
154
- 'formUrlForSaasLink'?: string | null;
155
- /**
156
- *
157
- * @type {boolean}
158
- * @memberof HospitalItemModel
159
- */
160
- 'isSurveyFormTranslated'?: boolean;
161
128
  /**
162
129
  *
163
130
  * @type {string}
@@ -202,15 +169,9 @@ export interface HospitalItemModel {
202
169
  'grade'?: GradeModel;
203
170
  /**
204
171
  *
205
- * @type {HospitalFeatureModel}
206
- * @memberof HospitalItemModel
207
- */
208
- 'feature'?: HospitalFeatureModel;
209
- /**
210
- *
211
- * @type {AuditableEntity}
172
+ * @type {AuditableEntityModel}
212
173
  * @memberof HospitalItemModel
213
174
  */
214
- 'auditableEntity'?: AuditableEntity;
175
+ 'auditableEntity'?: AuditableEntityModel;
215
176
  }
216
177