@rh-support/troubleshoot 2.6.353 → 2.6.357

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 (339) hide show
  1. package/lib/esm/components/AccountInfo/AccountSelector.d.ts.map +1 -1
  2. package/lib/esm/components/AccountInfo/AccountSelector.js +19 -29
  3. package/lib/esm/components/AccountInfo/OwnerSelector.d.ts.map +1 -1
  4. package/lib/esm/components/AccountInfo/OwnerSelector.js +91 -16
  5. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.d.ts.map +1 -1
  6. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/ActiveCustomerEscalation.js +6 -2
  7. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.d.ts.map +1 -1
  8. package/lib/esm/components/CaseEditView/ActiveCustomerEscalation/RequestEscalationModal.js +61 -32
  9. package/lib/esm/components/CaseEditView/ArchivedCaseBanner.d.ts +8 -0
  10. package/lib/esm/components/CaseEditView/ArchivedCaseBanner.d.ts.map +1 -0
  11. package/lib/esm/components/CaseEditView/ArchivedCaseBanner.js +18 -0
  12. package/lib/esm/components/CaseEditView/Case.d.ts.map +1 -1
  13. package/lib/esm/components/CaseEditView/Case.js +60 -33
  14. package/lib/esm/components/CaseEditView/CaseDetailsAside.d.ts.map +1 -1
  15. package/lib/esm/components/CaseEditView/CaseDetailsAside.js +19 -9
  16. package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.d.ts.map +1 -1
  17. package/lib/esm/components/CaseEditView/CaseDetailsErrorMessage.js +15 -4
  18. package/lib/esm/components/CaseEditView/CaseDetailsTabs.d.ts.map +1 -1
  19. package/lib/esm/components/CaseEditView/CaseDetailsTabs.js +82 -55
  20. package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts +2 -0
  21. package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.d.ts.map +1 -1
  22. package/lib/esm/components/CaseEditView/CaseOverview/CaseOwnerInfo.js +3 -3
  23. package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.d.ts +1 -2
  24. package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.d.ts.map +1 -1
  25. package/lib/esm/components/CaseEditView/CaseOverview/CaseStatus.js +8 -6
  26. package/lib/esm/components/CaseEditView/CaseOverview/index.d.ts.map +1 -1
  27. package/lib/esm/components/CaseEditView/CaseOverview/index.js +76 -45
  28. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.d.ts.map +1 -1
  29. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutions.js +203 -109
  30. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts +0 -1
  31. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.d.ts.map +1 -1
  32. package/lib/esm/components/CaseEditView/CaseSolutions/CaseSolutionsItem.js +5 -5
  33. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts +1 -3
  34. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.d.ts.map +1 -1
  35. package/lib/esm/components/CaseEditView/ConfirmationModals/ReopenCaseModal.js +5 -9
  36. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.d.ts.map +1 -1
  37. package/lib/esm/components/CaseEditView/RequestRemoteSession/ESSRemoteSessionModal.js +18 -17
  38. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.d.ts.map +1 -1
  39. package/lib/esm/components/CaseEditView/RequestRemoteSession/NewEssTermsModal.js +51 -47
  40. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.d.ts.map +1 -1
  41. package/lib/esm/components/CaseEditView/RequestRemoteSession/RemoteSessionAgreementModal.js +49 -44
  42. package/lib/esm/components/CaseEditView/RequestRemoteSession/remoteSessionUtils.d.ts +4 -0
  43. package/lib/esm/components/CaseEditView/RequestRemoteSession/remoteSessionUtils.d.ts.map +1 -0
  44. package/lib/esm/components/CaseEditView/RequestRemoteSession/remoteSessionUtils.js +23 -0
  45. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.d.ts.map +1 -1
  46. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseContactPhoneNumber.js +51 -45
  47. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.d.ts.map +1 -1
  48. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseDetailsManagement.js +23 -10
  49. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseHostname.js +1 -1
  50. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.d.ts.map +1 -1
  51. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInformation.js +0 -2
  52. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.d.ts.map +1 -1
  53. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseInternalStatus.js +3 -2
  54. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.d.ts.map +1 -1
  55. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseOpenshiftClusterId/CaseOpenshiftClusterId.js +132 -57
  56. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.d.ts.map +1 -1
  57. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/CaseReferenceNumber.js +10 -5
  58. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.d.ts.map +1 -1
  59. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/ProductVersion.js +110 -65
  60. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.d.ts.map +1 -1
  61. package/lib/esm/components/CaseEditView/Tabs/CaseDetails/Summary.js +16 -9
  62. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.d.ts.map +1 -1
  63. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseAttachment.js +40 -26
  64. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts +2 -4
  65. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.d.ts.map +1 -1
  66. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseComments.js +122 -148
  67. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts +4 -2
  68. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.d.ts.map +1 -1
  69. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CaseDiscussion.js +76 -145
  70. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.d.ts.map +1 -1
  71. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/CommentSearch.js +22 -9
  72. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.d.ts.map +1 -1
  73. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/DiscussionItemLink.js +9 -2
  74. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.d.ts.map +1 -1
  75. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/JumpAndCopyLink.js +8 -1
  76. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useAttachmentUploadCompletion.d.ts +29 -0
  77. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useAttachmentUploadCompletion.d.ts.map +1 -0
  78. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useAttachmentUploadCompletion.js +29 -0
  79. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useCommentDrafts.d.ts +17 -0
  80. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useCommentDrafts.d.ts.map +1 -0
  81. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useCommentDrafts.js +60 -0
  82. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.d.ts +1 -2
  83. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.d.ts.map +1 -1
  84. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment/useMarkdownFileUploader.js +13 -8
  85. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts +9 -3
  86. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.d.ts.map +1 -1
  87. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/PostComment.js +217 -271
  88. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.d.ts.map +1 -1
  89. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/VerifyCaseStatusModal/VerifyCaseStatusModal.js +6 -4
  90. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.d.ts.map +1 -1
  91. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/CaseHistory.js +3 -1
  92. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.css +4 -4
  93. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts +35 -3
  94. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.d.ts.map +1 -1
  95. package/lib/esm/components/CaseEditView/Tabs/CaseHistory/Timeline.js +63 -224
  96. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts +4 -5
  97. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.d.ts.map +1 -1
  98. package/lib/esm/components/CaseEditView/Tabs/CasePrivateNotes/CasePrivateNotes.js +18 -5
  99. package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.d.ts.map +1 -1
  100. package/lib/esm/components/CaseEditView/Tabs/CaseSummary/CaseSummary.js +7 -2
  101. package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.d.ts.map +1 -1
  102. package/lib/esm/components/CaseEditView/Tabs/RMEEscalations/RMEEscalationList.js +38 -52
  103. package/lib/esm/components/CaseInformation/CaseGroup.d.ts.map +1 -1
  104. package/lib/esm/components/CaseInformation/CaseGroup.js +168 -61
  105. package/lib/esm/components/CaseInformation/CaseInformation.d.ts.map +1 -1
  106. package/lib/esm/components/CaseInformation/CaseInformation.js +10 -9
  107. package/lib/esm/components/CaseInformation/CaseLabels.d.ts +3 -0
  108. package/lib/esm/components/CaseInformation/CaseLabels.d.ts.map +1 -0
  109. package/lib/esm/components/CaseInformation/CaseLabels.js +103 -0
  110. package/lib/esm/components/CaseInformation/ContactPhoneNumber.d.ts.map +1 -1
  111. package/lib/esm/components/CaseInformation/ContactPhoneNumber.js +108 -31
  112. package/lib/esm/components/CaseInformation/ContactPhoneNumberPopOver.js +2 -2
  113. package/lib/esm/components/CaseInformation/Description.js +1 -1
  114. package/lib/esm/components/CaseInformation/FileDiag.d.ts.map +1 -1
  115. package/lib/esm/components/CaseInformation/FileDiag.js +2 -5
  116. package/lib/esm/components/CaseInformation/Fts.d.ts.map +1 -1
  117. package/lib/esm/components/CaseInformation/Fts.js +31 -17
  118. package/lib/esm/components/CaseInformation/Severity.d.ts.map +1 -1
  119. package/lib/esm/components/CaseInformation/Severity.js +21 -13
  120. package/lib/esm/components/CaseInformation/SupportLevel.d.ts.map +1 -1
  121. package/lib/esm/components/CaseInformation/SupportLevel.js +36 -55
  122. package/lib/esm/components/CaseManagement/CaseLabelsCreate.d.ts +4 -0
  123. package/lib/esm/components/CaseManagement/CaseLabelsCreate.d.ts.map +1 -0
  124. package/lib/esm/components/CaseManagement/CaseLabelsCreate.js +110 -0
  125. package/lib/esm/components/CaseManagement/CaseLanguageSelector.d.ts.map +1 -1
  126. package/lib/esm/components/CaseManagement/CaseLanguageSelector.js +2 -8
  127. package/lib/esm/components/CaseManagement/CaseManagement.d.ts.map +1 -1
  128. package/lib/esm/components/CaseManagement/CaseManagement.js +13 -10
  129. package/lib/esm/components/CaseManagement/Cep.d.ts.map +1 -1
  130. package/lib/esm/components/CaseManagement/Cep.js +11 -9
  131. package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts +2 -1
  132. package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.d.ts.map +1 -1
  133. package/lib/esm/components/CaseManagement/NoClusterIDReasonSelector.js +22 -3
  134. package/lib/esm/components/CaseManagement/OpenShiftClusterId.js +6 -6
  135. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.d.ts.map +1 -1
  136. package/lib/esm/components/CaseManagement/OpenshiftDropdownV4.js +15 -22
  137. package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.d.ts.map +1 -1
  138. package/lib/esm/components/CaseManagement/SendNotifications/NonOrgCaseNotifyeesSelector.js +34 -40
  139. package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.d.ts.map +1 -1
  140. package/lib/esm/components/ConfirmationModals/NoAttachmentSelectedModal.js +5 -4
  141. package/lib/esm/components/EditDescription/EditDescription.js +1 -1
  142. package/lib/esm/components/IdeaInformation/IdeaInformation.d.ts.map +1 -1
  143. package/lib/esm/components/IdeaInformation/IdeaInformation.js +16 -18
  144. package/lib/esm/components/OpenCase/SupportTypeSelectorPage.d.ts.map +1 -1
  145. package/lib/esm/components/OpenCase/SupportTypeSelectorPage.js +4 -2
  146. package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts +0 -1
  147. package/lib/esm/components/ProductSelector/AllProductsSelector.d.ts.map +1 -1
  148. package/lib/esm/components/ProductSelector/AllProductsSelector.js +3 -15
  149. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.d.ts.map +1 -1
  150. package/lib/esm/components/ProductSelector/NewProductDropdownSelector.js +13 -37
  151. package/lib/esm/components/ProductSelector/NewProductVersionSelector.d.ts.map +1 -1
  152. package/lib/esm/components/ProductSelector/NewProductVersionSelector.js +37 -50
  153. package/lib/esm/components/ProductSelector/ProductNotEntitledWarning.d.ts +3 -0
  154. package/lib/esm/components/ProductSelector/ProductNotEntitledWarning.d.ts.map +1 -0
  155. package/lib/esm/components/ProductSelector/ProductNotEntitledWarning.js +9 -0
  156. package/lib/esm/components/ProductSelector/ProductSelector.d.ts.map +1 -1
  157. package/lib/esm/components/ProductSelector/ProductSelector.js +1 -3
  158. package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.d.ts.map +1 -1
  159. package/lib/esm/components/ProductSelector/ProductVersionDropdownSelector.js +9 -1
  160. package/lib/esm/components/Recommendations/AsideResults.d.ts.map +1 -1
  161. package/lib/esm/components/Recommendations/AsideResults.js +5 -5
  162. package/lib/esm/components/Recommendations/ClusterRecommendationToast.d.ts.map +1 -1
  163. package/lib/esm/components/Recommendations/ClusterRecommendationToast.js +1 -4
  164. package/lib/esm/components/Recommendations/ClusterRecommendations.d.ts.map +1 -1
  165. package/lib/esm/components/Recommendations/ClusterRecommendations.js +1 -4
  166. package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.d.ts.map +1 -1
  167. package/lib/esm/components/RemoteRider/RemoteRiderAcceptanceModal.js +10 -8
  168. package/lib/esm/components/Review/Review.d.ts.map +1 -1
  169. package/lib/esm/components/Review/Review.js +25 -19
  170. package/lib/esm/components/SessionRestore/SessionRestore.d.ts.map +1 -1
  171. package/lib/esm/components/SessionRestore/SessionRestore.js +3 -1
  172. package/lib/esm/components/SubmitCase/SubmitCase.d.ts.map +1 -1
  173. package/lib/esm/components/SubmitCase/SubmitCase.js +1 -1
  174. package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.d.ts.map +1 -1
  175. package/lib/esm/components/UpdateSeverityModal/UpdateSeverityModal.js +104 -62
  176. package/lib/esm/components/shared/Constants.d.ts +1 -0
  177. package/lib/esm/components/shared/Constants.d.ts.map +1 -1
  178. package/lib/esm/components/shared/Constants.js +1 -0
  179. package/lib/esm/components/shared/fileUpload/FileLister.d.ts.map +1 -1
  180. package/lib/esm/components/shared/fileUpload/FileLister.js +3 -3
  181. package/lib/esm/components/shared/fileUpload/FileUpload.js +2 -3
  182. package/lib/esm/components/shared/fileUpload/FileUploader.d.ts.map +1 -1
  183. package/lib/esm/components/shared/fileUpload/FileUploader.js +3 -1
  184. package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts +1 -0
  185. package/lib/esm/components/shared/fileUpload/WidgetFileUploader.d.ts.map +1 -1
  186. package/lib/esm/components/shared/fileUpload/WidgetFileUploader.js +4 -3
  187. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts +1 -1
  188. package/lib/esm/components/shared/fileUpload/fileSelectors/FileSelectorButton.d.ts.map +1 -1
  189. package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts +21 -5
  190. package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.d.ts.map +1 -1
  191. package/lib/esm/components/shared/fileUpload/reducer/AttachmentHelper.js +207 -34
  192. package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts +5 -1
  193. package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.d.ts.map +1 -1
  194. package/lib/esm/components/shared/fileUpload/reducer/AttachmentReducer.js +36 -1
  195. package/lib/esm/components/shared/fileUpload/types/index.d.ts +5 -1
  196. package/lib/esm/components/shared/fileUpload/types/index.d.ts.map +1 -1
  197. package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts +2 -2
  198. package/lib/esm/components/shared/fileUpload/useFileUploader.d.ts.map +1 -1
  199. package/lib/esm/components/shared/fileUpload/useFileUploader.js +116 -47
  200. package/lib/esm/components/shared/useIsSectionValid.d.ts.map +1 -1
  201. package/lib/esm/components/shared/useIsSectionValid.js +22 -57
  202. package/lib/esm/components/shared/usePostComment.d.ts.map +1 -1
  203. package/lib/esm/components/shared/usePostComment.js +16 -28
  204. package/lib/esm/components/shared/utils.d.ts +1 -0
  205. package/lib/esm/components/shared/utils.d.ts.map +1 -1
  206. package/lib/esm/components/shared/utils.js +9 -3
  207. package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.d.ts.map +1 -1
  208. package/lib/esm/components/wizardLayout/GlobalTroubleshootEffects.js +178 -38
  209. package/lib/esm/components/wizardLayout/WizardAside.d.ts.map +1 -1
  210. package/lib/esm/components/wizardLayout/WizardAside.js +2 -4
  211. package/lib/esm/components/wizardLayout/WizardLayout.d.ts.map +1 -1
  212. package/lib/esm/components/wizardLayout/WizardLayout.js +9 -13
  213. package/lib/esm/components/wizardLayout/WizardMain.d.ts.map +1 -1
  214. package/lib/esm/components/wizardLayout/WizardMain.js +7 -0
  215. package/lib/esm/components/wizardLayout/WizardNavigation.d.ts.map +1 -1
  216. package/lib/esm/components/wizardLayout/WizardNavigation.js +13 -10
  217. package/lib/esm/constants/caseDetailsConstants.d.ts +5 -0
  218. package/lib/esm/constants/caseDetailsConstants.d.ts.map +1 -1
  219. package/lib/esm/constants/caseDetailsConstants.js +5 -0
  220. package/lib/esm/context/CaseContext.d.ts.map +1 -1
  221. package/lib/esm/css/app.css +28 -0
  222. package/lib/esm/css/case.css +60 -209
  223. package/lib/esm/graphql/index.d.ts +4 -0
  224. package/lib/esm/graphql/index.d.ts.map +1 -0
  225. package/lib/esm/graphql/index.js +3 -0
  226. package/lib/esm/graphql/mutations/createRMECaseEscalation.d.ts +2 -0
  227. package/lib/esm/graphql/mutations/createRMECaseEscalation.d.ts.map +1 -0
  228. package/lib/esm/graphql/mutations/createRMECaseEscalation.js +24 -0
  229. package/lib/esm/graphql/mutations/index.d.ts +2 -0
  230. package/lib/esm/graphql/mutations/index.d.ts.map +1 -0
  231. package/lib/esm/graphql/mutations/index.js +1 -0
  232. package/lib/esm/graphql/queries/getEscalationDetails.d.ts +2 -0
  233. package/lib/esm/graphql/queries/getEscalationDetails.d.ts.map +1 -0
  234. package/lib/esm/graphql/queries/getEscalationDetails.js +31 -0
  235. package/lib/esm/graphql/queries/index.d.ts +2 -0
  236. package/lib/esm/graphql/queries/index.d.ts.map +1 -0
  237. package/lib/esm/graphql/queries/index.js +1 -0
  238. package/lib/esm/graphql/schemas/escalation.d.ts +66 -0
  239. package/lib/esm/graphql/schemas/escalation.d.ts.map +1 -0
  240. package/lib/esm/graphql/schemas/escalation.js +1 -0
  241. package/lib/esm/graphql/schemas/index.d.ts +2 -0
  242. package/lib/esm/graphql/schemas/index.d.ts.map +1 -0
  243. package/lib/esm/graphql/schemas/index.js +1 -0
  244. package/lib/esm/hooks/useCaseComments/caseCommentsQuery.d.ts +4 -0
  245. package/lib/esm/hooks/useCaseComments/caseCommentsQuery.d.ts.map +1 -0
  246. package/lib/esm/hooks/useCaseComments/caseCommentsQuery.js +52 -0
  247. package/lib/esm/hooks/useCaseComments/index.d.ts +7 -0
  248. package/lib/esm/hooks/useCaseComments/index.d.ts.map +1 -0
  249. package/lib/esm/hooks/useCaseComments/index.js +5 -0
  250. package/lib/esm/hooks/useCaseComments/mapCaseComment.d.ts +25 -0
  251. package/lib/esm/hooks/useCaseComments/mapCaseComment.d.ts.map +1 -0
  252. package/lib/esm/hooks/useCaseComments/mapCaseComment.js +75 -0
  253. package/lib/esm/hooks/useCaseComments/types.d.ts +85 -0
  254. package/lib/esm/hooks/useCaseComments/types.d.ts.map +1 -0
  255. package/lib/esm/hooks/useCaseComments/types.js +1 -0
  256. package/lib/esm/hooks/useCaseComments/useCaseComments.d.ts +17 -0
  257. package/lib/esm/hooks/useCaseComments/useCaseComments.d.ts.map +1 -0
  258. package/lib/esm/hooks/useCaseComments/useCaseComments.js +38 -0
  259. package/lib/esm/hooks/useCaseComments/useCreateCaseComment.d.ts +19 -0
  260. package/lib/esm/hooks/useCaseComments/useCreateCaseComment.d.ts.map +1 -0
  261. package/lib/esm/hooks/useCaseComments/useCreateCaseComment.js +33 -0
  262. package/lib/esm/hooks/useCaseGroupUiState.d.ts +3 -0
  263. package/lib/esm/hooks/useCaseGroupUiState.d.ts.map +1 -0
  264. package/lib/esm/hooks/useCaseGroupUiState.js +10 -0
  265. package/lib/esm/hooks/useCaseHistory.d.ts +26 -0
  266. package/lib/esm/hooks/useCaseHistory.d.ts.map +1 -0
  267. package/lib/esm/hooks/useCaseHistory.js +98 -0
  268. package/lib/esm/hooks/useCaseLabelLinkMutations.d.ts +21 -0
  269. package/lib/esm/hooks/useCaseLabelLinkMutations.d.ts.map +1 -0
  270. package/lib/esm/hooks/useCaseLabelLinkMutations.js +91 -0
  271. package/lib/esm/hooks/useCaseUpdateErrorMessage.d.ts +1 -1
  272. package/lib/esm/hooks/useCaseUpdateErrorMessage.d.ts.map +1 -1
  273. package/lib/esm/hooks/useCaseUpdateErrorMessage.js +21 -11
  274. package/lib/esm/hooks/useResetCaseCreate.d.ts.map +1 -1
  275. package/lib/esm/hooks/useResetCaseCreate.js +18 -11
  276. package/lib/esm/hooks/useS3Upload.d.ts +5 -4
  277. package/lib/esm/hooks/useS3Upload.d.ts.map +1 -1
  278. package/lib/esm/hooks/useS3Upload.js +28 -30
  279. package/lib/esm/i18n/template-de.d.ts +2 -2
  280. package/lib/esm/i18n/template-de.js +2 -2
  281. package/lib/esm/i18n/template-es.d.ts +2 -2
  282. package/lib/esm/i18n/template-es.js +2 -2
  283. package/lib/esm/i18n/template-fr.d.ts +2 -2
  284. package/lib/esm/i18n/template-fr.js +2 -2
  285. package/lib/esm/i18n/template-it.d.ts +2 -2
  286. package/lib/esm/i18n/template-it.js +2 -2
  287. package/lib/esm/i18n/template-jp.d.ts +2 -2
  288. package/lib/esm/i18n/template-jp.js +2 -2
  289. package/lib/esm/i18n/template-ko.d.ts +2 -2
  290. package/lib/esm/i18n/template-ko.js +2 -2
  291. package/lib/esm/i18n/template-pt.d.ts +2 -2
  292. package/lib/esm/i18n/template-pt.js +2 -2
  293. package/lib/esm/i18n/template-ru.d.ts +2 -2
  294. package/lib/esm/i18n/template-ru.js +2 -2
  295. package/lib/esm/i18n/template-zh.d.ts +2 -2
  296. package/lib/esm/i18n/template-zh.js +2 -2
  297. package/lib/esm/index.js +1 -0
  298. package/lib/esm/models/cache.d.ts +0 -2
  299. package/lib/esm/models/cache.d.ts.map +1 -1
  300. package/lib/esm/models/caseHistory.d.ts +80 -0
  301. package/lib/esm/models/caseHistory.d.ts.map +1 -0
  302. package/lib/esm/models/caseHistory.js +1 -0
  303. package/lib/esm/reducers/CaseConstNTypes.d.ts +123 -9
  304. package/lib/esm/reducers/CaseConstNTypes.d.ts.map +1 -1
  305. package/lib/esm/reducers/CaseConstNTypes.js +31 -7
  306. package/lib/esm/reducers/CaseDetailsPageReducer.d.ts +7 -5
  307. package/lib/esm/reducers/CaseDetailsPageReducer.d.ts.map +1 -1
  308. package/lib/esm/reducers/CaseDetailsPageReducer.js +58 -26
  309. package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts +11 -12
  310. package/lib/esm/reducers/CaseDiscussionTabReducer.d.ts.map +1 -1
  311. package/lib/esm/reducers/CaseDiscussionTabReducer.js +63 -70
  312. package/lib/esm/reducers/CaseHelpers.d.ts +11 -1
  313. package/lib/esm/reducers/CaseHelpers.d.ts.map +1 -1
  314. package/lib/esm/reducers/CaseHelpers.js +117 -17
  315. package/lib/esm/reducers/CaseOverviewReducer.d.ts +3 -1
  316. package/lib/esm/reducers/CaseOverviewReducer.d.ts.map +1 -1
  317. package/lib/esm/reducers/CaseOverviewReducer.js +7 -5
  318. package/lib/esm/reducers/CaseReducer.d.ts +56 -11
  319. package/lib/esm/reducers/CaseReducer.d.ts.map +1 -1
  320. package/lib/esm/reducers/CaseReducer.js +279 -99
  321. package/lib/esm/reducers/RecommendationsReducer.d.ts.map +1 -1
  322. package/lib/esm/reducers/RecommendationsReducer.js +16 -19
  323. package/lib/esm/scss/_main.scss +9 -0
  324. package/lib/esm/utils/TimelineUtils.d.ts +41 -0
  325. package/lib/esm/utils/TimelineUtils.d.ts.map +1 -0
  326. package/lib/esm/utils/TimelineUtils.js +135 -0
  327. package/lib/esm/utils/caseHistoryUtils.d.ts +66 -0
  328. package/lib/esm/utils/caseHistoryUtils.d.ts.map +1 -0
  329. package/lib/esm/utils/caseHistoryUtils.js +165 -0
  330. package/lib/esm/utils/caseOpenshiftClusterIdUtils.d.ts +1 -2
  331. package/lib/esm/utils/caseOpenshiftClusterIdUtils.d.ts.map +1 -1
  332. package/lib/esm/utils/caseOpenshiftClusterIdUtils.js +4 -4
  333. package/lib/esm/utils/caseSeverityFtsGraphQLUtils.d.ts +6 -0
  334. package/lib/esm/utils/caseSeverityFtsGraphQLUtils.d.ts.map +1 -0
  335. package/lib/esm/utils/caseSeverityFtsGraphQLUtils.js +26 -0
  336. package/package.json +9 -8
  337. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/AsaCommentFeedbackModal.d.ts +0 -25
  338. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/AsaCommentFeedbackModal.d.ts.map +0 -1
  339. package/lib/esm/components/CaseEditView/Tabs/CaseDiscussion/AsaCommentFeedbackModal.js +0 -88
@@ -1,11 +1,12 @@
1
1
  import { IVersionsDetails } from '@cee-eng/hydrajs/@types/api/pcm/products';
2
- import { ICaseDetails, ICasePayload, ICepDetails, INotifiedUser } from '@cee-eng/hydrajs/@types/api/public/case';
2
+ import { ICaseBugzilla, ICaseChat, ICaseComment, ICaseDetails, ICaseResourceLink, ICepDetails, INotifiedUser } from '@cee-eng/hydrajs/@types/api/public/case';
3
3
  import { ICaseGroup, IGroupUser } from '@cee-eng/hydrajs/@types/api/public/caseGroups';
4
4
  import { IEntitlement } from '@cee-eng/hydrajs/@types/api/public/entitlements';
5
5
  import { IAccount } from '@cee-eng/hydrajs/@types/models/account';
6
6
  import { ICaseNotificationAddresses } from '@cee-eng/hydrajs/@types/models/case';
7
7
  import { IContact } from '@cee-eng/hydrajs/@types/models/contact';
8
8
  import { IAction, IAPIError, IApiResponseDetails } from '@rh-support/types/shared';
9
+ import { IServiceLevelInfo } from '@rh-support/utils';
9
10
  import { Dispatch } from 'react';
10
11
  import { ICVEWorkflowRecommendation } from '../models/caseCreationWorkflows';
11
12
  export declare const TITLE_SUMMARY_LENGTH_LIMIT = 255;
@@ -20,6 +21,7 @@ export declare const MODIFIED_DESCRIPTION_LENGTH_LIMIT = 32000;
20
21
  export declare const HOSTNAME_LENGTH_LIMIT = 255;
21
22
  export declare const CONTACT_INFO_24X7_LIMIT = 32768;
22
23
  export declare const CLUSTER_ID_LIMIT = 255;
24
+ export declare const CLUSTER_ID_ENABLED_PRODUCTS: string[];
23
25
  export declare const CASE_REFERENCE_NUMBER_LIMIT = 100;
24
26
  export declare const PHONE_LIMIT = 23;
25
27
  export declare const SESSION_NOTIFIED_USERS_INTERNAL_LIMIT = 1024;
@@ -59,7 +61,7 @@ export declare const enum SupportLevelsInternal {
59
61
  export declare const enum SeverityLevelsInternal {
60
62
  SEV_1 = "1 (Urgent)",
61
63
  SEV_2 = "2 (High)",
62
- SEV_3 = "3 (Normal)",
64
+ SEV_3 = "3 (Medium)",
63
65
  SEV_4 = "4 (Low)"
64
66
  }
65
67
  export declare const SupportLevelDisplay: {
@@ -81,7 +83,7 @@ export declare const ITRForSLASeverity: {
81
83
  initial: string;
82
84
  ongoing: string;
83
85
  };
84
- "3 (Normal)": {
86
+ "3 (Medium)": {
85
87
  initial: string;
86
88
  ongoing: string;
87
89
  };
@@ -99,7 +101,7 @@ export declare const ITRForSLASeverity: {
99
101
  initial: string;
100
102
  ongoing: string;
101
103
  };
102
- "3 (Normal)": {
104
+ "3 (Medium)": {
103
105
  initial: string;
104
106
  ongoing: string;
105
107
  };
@@ -117,7 +119,7 @@ export declare const ITRForSLASeverity: {
117
119
  initial: string;
118
120
  ongoing: string;
119
121
  };
120
- "3 (Normal)": {
122
+ "3 (Medium)": {
121
123
  initial: string;
122
124
  ongoing: string;
123
125
  };
@@ -130,13 +132,13 @@ export declare const ITRForSLASeverity: {
130
132
  export declare const SeverityDescription: {
131
133
  "1 (Urgent)": string;
132
134
  "2 (High)": string;
133
- "3 (Normal)": string;
135
+ "3 (Medium)": string;
134
136
  "4 (Low)": string;
135
137
  };
136
138
  export declare const SeverityDescriptionDetails: {
137
139
  "1 (Urgent)": string;
138
140
  "2 (High)": string;
139
- "3 (Normal)": string;
141
+ "3 (Medium)": string;
140
142
  "4 (Low)": string;
141
143
  };
142
144
  export declare const LargeDescriptionErrorMessage = "Cumulative case description cannot be more than {{limit}} characters";
@@ -176,13 +178,77 @@ export declare enum CaseReducerConstants {
176
178
  resetCaseNoOfCreatedCase = "resetCaseNoOfCreatedCase",
177
179
  setIsPostingRemoteRequestCommentCompleted = "setIsPostingRemoteRequestCommentCompleted",
178
180
  setIsPostingRemoteRequestCommentCompletedError = "setIsPostingRemoteRequestCommentCompletedError",
179
- updateComments = "updateComments",
180
181
  setABTestVariation = "setABTestVariation"
181
182
  }
182
183
  export declare const initialCaseState: ICaseState;
184
+ export interface ICaseDetailsState {
185
+ actionPlan?: string;
186
+ alternateId?: string;
187
+ accountNumberRef?: string;
188
+ bugzillas?: ICaseBugzilla[];
189
+ caseLanguage?: string;
190
+ caseNumber?: string;
191
+ caseResourceLinks?: ICaseResourceLink[];
192
+ caseType?: string;
193
+ cep?: boolean;
194
+ chats?: ICaseChat[];
195
+ comments?: ICaseComment[];
196
+ contactCountry?: string | null;
197
+ contactEmail?: string;
198
+ contactInfo24x7?: string;
199
+ contactName?: string;
200
+ contactPhone?: string | null;
201
+ suppliedPhone?: string | null;
202
+ contactId?: string;
203
+ contactSSOName?: string;
204
+ createdById?: string;
205
+ createdByName?: string;
206
+ createdDate?: string;
207
+ description?: string;
208
+ entitlementSla?: string;
209
+ environment?: string;
210
+ externalTrackers?: unknown[];
211
+ firstCaseInactivityWarningSentAt?: string;
212
+ fts?: boolean;
213
+ groupName?: string;
214
+ groupNumber?: string | null;
215
+ hostname?: string;
216
+ id?: string;
217
+ internalStatus?: string;
218
+ isClosed?: boolean;
219
+ isPrivate?: boolean;
220
+ isStrategicAccount?: boolean;
221
+ issue?: string;
222
+ noClusterIdReason?: string;
223
+ noClusterIdReasonExplanation?: string;
224
+ additionalCaseInformation?: string | Record<string, unknown> | null;
225
+ notes?: string;
226
+ openshiftClusterID?: string | null;
227
+ openshiftClusterVersion?: string;
228
+ ownerId?: string;
229
+ ownerName?: string | null;
230
+ periodicityOfIssue?: string;
231
+ phone?: string;
232
+ phoneAreaCodePrefixLineNumber?: string;
233
+ phoneCountryCode?: string;
234
+ product?: string;
235
+ parentProductId?: string;
236
+ referrer?: string;
237
+ remoteSessionTermsAcked?: boolean;
238
+ sbrGroups?: string[];
239
+ screenSessionRequested?: boolean;
240
+ secondCaseInactivityWarningSentAt?: string;
241
+ severity?: string;
242
+ status?: string;
243
+ summary?: string | null;
244
+ suppliedPhoneNumberVerified?: 'True' | 'False' | 'Deferred';
245
+ timeFramesAndUrgency?: string;
246
+ version?: string;
247
+ waitingOnCallback?: boolean;
248
+ }
183
249
  export interface ICaseState {
184
250
  caseDetailsStrata: IApiResponseDetails<Partial<ICaseDetails>>;
185
- caseDetails: Partial<ICasePayload>;
251
+ caseDetails: ICaseDetailsState;
186
252
  customerEscalation: boolean;
187
253
  isClosed: boolean;
188
254
  isStrategicAccount: boolean;
@@ -211,6 +277,7 @@ export interface ICaseState {
211
277
  customEmailsList: IApiResponseDetails<Partial<ICaseNotificationAddresses[]>>;
212
278
  ownersEntitlements: IApiResponseDetails<IEntitlement[]>;
213
279
  hasInvalidEntitlements: boolean;
280
+ isProductNotEntitled: boolean;
214
281
  hasCaseUpdateError: boolean;
215
282
  isCaseUpdating: boolean;
216
283
  caseDetailsError: IAPIError;
@@ -228,6 +295,8 @@ export interface ICaseState {
228
295
  isPostingRemoteRequestCommentCompleted?: boolean;
229
296
  isPostingRemoteRequestCommentCompletedErrorMessage?: string | undefined;
230
297
  isExistingPhoneNumber?: boolean;
298
+ /** True only when the user edits the case-owner phone input (not auto-prefill). */
299
+ hasUserUpdatedSuppliedPhone?: boolean;
231
300
  hasLoggedInUserConfirmedPhoneNumber?: 'True' | 'False' | 'Deferred' | undefined;
232
301
  shouldNotSetPhoneCountryCode?: boolean;
233
302
  ftsContactSameAsOwner?: boolean;
@@ -236,6 +305,50 @@ export interface ICaseState {
236
305
  isCveModalOpened?: boolean;
237
306
  ABTestVariation?: string;
238
307
  openShiftClusterSupportLevel?: string;
308
+ productServiceLevel?: IServiceLevelInfo;
309
+ otherServiceLevels?: IServiceLevelInfo[];
310
+ selectedEntitlementId?: string;
311
+ accountHasPremiumSla?: boolean;
312
+ selectedVersionId?: string;
313
+ /** Label Ids selected during case creation; linked via CaseLabelLink after create. */
314
+ selectedLabelIds?: string[];
315
+ /** Owner change applied locally; persisted when user selects a required case group. */
316
+ pendingCaseOwnerUpdate?: IPendingCaseOwnerUpdate | null;
317
+ /** Drives the case-edit validation banner when mandatory group selection is invalid. */
318
+ showMandatoryCaseGroupValidationError?: boolean;
319
+ }
320
+ export interface IPendingCaseOwnerUpdate {
321
+ contactId: string;
322
+ contactSSOName: string;
323
+ phoneCaseUpdate?: {
324
+ phone?: string;
325
+ phoneCountryCode?: string;
326
+ phoneAreaCodePrefixLineNumber?: string;
327
+ } | null;
328
+ }
329
+ export interface IGraphQLCasePayload {
330
+ ContactId?: string;
331
+ EntitlementId?: string;
332
+ Language?: string;
333
+ Type?: string;
334
+ Priority?: string;
335
+ Subject?: string;
336
+ Description?: string;
337
+ ImpactOnUserOrBusiness__c?: string;
338
+ EnvironmentInWhichItOccurs__c?: string;
339
+ FrequencyOfIssueOccurrence__c?: string;
340
+ SuppliedPhone?: string;
341
+ ProductId?: string;
342
+ Origin?: string;
343
+ RecordTypeId?: string;
344
+ AlternateCaseId__c?: string;
345
+ OpenshiftClusterID__c?: string;
346
+ OpenshiftClusterVersion__c?: string;
347
+ Group__c?: string;
348
+ X24x7__c?: boolean;
349
+ X24x7ContactInformation__c?: string;
350
+ AdditionalCaseInformation__c?: string;
351
+ AccessRestrictions__c?: string;
239
352
  }
240
353
  export interface ICreateCasePayloadType extends ICaseState {
241
354
  }
@@ -243,6 +356,7 @@ export type ICaseActionType = IAction<CaseReducerConstants, ICreateCasePayloadTy
243
356
  export type CaseReducerDispatchType = Dispatch<ICaseActionType>;
244
357
  export declare const ORG_ADMIN_SEND_NOTIFCATION_KBASE_LINK = "https://access.redhat.com/articles/5967811";
245
358
  export declare const NON_ORG_ADMIN_SEND_NOTIFCATION_KBASE_LINK = "https://access.redhat.com/articles/5967831";
359
+ export declare const LANGUAGE_MAP: Record<string, string>;
246
360
  export declare const excludedCaseTypesforARH: string[];
247
361
  export declare const appSourceId_ARH = "PCM-001";
248
362
  //# sourceMappingURL=CaseConstNTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CaseConstNTypes.d.ts","sourceRoot":"","sources":["../../../src/reducers/CaseConstNTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACjH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEnF,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAC9C,eAAO,MAAM,0BAA0B,QAAQ,CAAC;AAEhD,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAExC,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAEzC,eAAO,MAAM,gCAAgC,QAAQ,CAAC;AAEtD,eAAO,MAAM,mCAAmC,MA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_LENGTH_LIMIT = 32000; //used to be 31000 to ac
11
11
  export const HOSTNAME_LENGTH_LIMIT = 255;
12
12
  export const CONTACT_INFO_24X7_LIMIT = 32768;
13
13
  export const CLUSTER_ID_LIMIT = 255;
14
+ export const CLUSTER_ID_ENABLED_PRODUCTS = [
15
+ 'Azure Red Hat OpenShift',
16
+ 'OpenShift API for Data Protection',
17
+ 'OpenShift Container Platform',
18
+ 'OpenShift Dedicated',
19
+ 'Red Hat Advanced Cluster Security for Kubernetes',
20
+ 'Red Hat OpenShift API Management',
21
+ 'Red Hat OpenShift Data Foundation',
22
+ 'Red Hat OpenShift Dev Spaces',
23
+ 'Red Hat OpenShift Serverless',
24
+ 'Red Hat OpenShift Service Mesh',
25
+ 'Red Hat OpenShift Service on AWS',
26
+ 'Red Hat OpenShift Service on AWS Hosted Control Planes',
27
+ ];
14
28
  export const CASE_REFERENCE_NUMBER_LIMIT = 100;
15
29
  export const PHONE_LIMIT = 23;
16
30
  export const SESSION_NOTIFIED_USERS_INTERNAL_LIMIT = 1024;
@@ -60,33 +74,33 @@ export const ITRForSLASeverity = {
60
74
  ["selfSupport" /* SupportLevelsInternal.SELF_SUPPORT */]: {
61
75
  ["1 (Urgent)" /* SeverityLevelsInternal.SEV_1 */]: { initial: '', ongoing: '' },
62
76
  ["2 (High)" /* SeverityLevelsInternal.SEV_2 */]: { initial: '', ongoing: '' },
63
- ["3 (Normal)" /* SeverityLevelsInternal.SEV_3 */]: { initial: '', ongoing: '' },
77
+ ["3 (Medium)" /* SeverityLevelsInternal.SEV_3 */]: { initial: '', ongoing: '' },
64
78
  ["4 (Low)" /* SeverityLevelsInternal.SEV_4 */]: { initial: '', ongoing: '' },
65
79
  },
66
80
  ["standard" /* SupportLevelsInternal.STANDARD */]: {
67
81
  ["1 (Urgent)" /* SeverityLevelsInternal.SEV_1 */]: { initial: '1 business hour', ongoing: '1 business hour' },
68
82
  ["2 (High)" /* SeverityLevelsInternal.SEV_2 */]: { initial: '4 business hours', ongoing: '4 business hours' },
69
- ["3 (Normal)" /* SeverityLevelsInternal.SEV_3 */]: { initial: '1 business day', ongoing: '1 business day' },
83
+ ["3 (Medium)" /* SeverityLevelsInternal.SEV_3 */]: { initial: '1 business day', ongoing: '1 business day' },
70
84
  ["4 (Low)" /* SeverityLevelsInternal.SEV_4 */]: { initial: '2 business days', ongoing: '2 business days' },
71
85
  },
72
86
  ["premium" /* SupportLevelsInternal.PREMIUM */]: {
73
87
  ["1 (Urgent)" /* SeverityLevelsInternal.SEV_1 */]: { initial: '1 hour', ongoing: '1 hour or as agreed' },
74
88
  ["2 (High)" /* SeverityLevelsInternal.SEV_2 */]: { initial: '2 hours', ongoing: '4 hours or as agreed' },
75
- ["3 (Normal)" /* SeverityLevelsInternal.SEV_3 */]: { initial: '4 business hours', ongoing: '8 business hours or as agreed' },
89
+ ["3 (Medium)" /* SeverityLevelsInternal.SEV_3 */]: { initial: '4 business hours', ongoing: '8 business hours or as agreed' },
76
90
  ["4 (Low)" /* SeverityLevelsInternal.SEV_4 */]: { initial: '8 business hours', ongoing: '2 business days or as agreed' },
77
91
  },
78
92
  };
79
93
  export const SeverityDescription = {
80
94
  ["1 (Urgent)" /* SeverityLevelsInternal.SEV_1 */]: 'Severe impact to critical systems',
81
95
  ["2 (High)" /* SeverityLevelsInternal.SEV_2 */]: 'Critical systems have been significantly degraded',
82
- ["3 (Normal)" /* SeverityLevelsInternal.SEV_3 */]: 'Partial, non-critical loss of usage',
96
+ ["3 (Medium)" /* SeverityLevelsInternal.SEV_3 */]: 'Partial, non-critical loss of usage',
83
97
  ["4 (Low)" /* SeverityLevelsInternal.SEV_4 */]: 'A non-urgent query regarding a Red Hat Product or service.',
84
98
  };
85
99
  //updated description details
86
100
  export const SeverityDescriptionDetails = {
87
101
  ["1 (Urgent)" /* SeverityLevelsInternal.SEV_1 */]: 'An issue with a Red Hat Product or Service that is<strong> actively causing serious interruptions to your business critical operations.</strong> This is an issue requiring immediate attention as there is a significant risk to your business.',
88
102
  ["2 (High)" /* SeverityLevelsInternal.SEV_2 */]: 'An issue with a Red Hat Product or Service that is <strong> partially functional </strong>(such as degradation of a service but the service is still available) and actively impacting your business operations. This is an issue on a business critical system requiring accelerated attention.',
89
- ["3 (Normal)" /* SeverityLevelsInternal.SEV_3 */]: 'An issue with a Red Hat Product or Service that is <strong> currently functioning as expected </strong> but you either (1) recently experienced a degradation that you are monitoring or seeking a root cause for or (2) you are seeing indicators of a potential loss of functionality to a business critical system.',
103
+ ["3 (Medium)" /* SeverityLevelsInternal.SEV_3 */]: 'An issue with a Red Hat Product or Service that is <strong> currently functioning as expected </strong> but you either (1) recently experienced a degradation that you are monitoring or seeking a root cause for or (2) you are seeing indicators of a potential loss of functionality to a business critical system.',
90
104
  ["4 (Low)" /* SeverityLevelsInternal.SEV_4 */]: 'Typically, a query that does not involve any interruption to your business critical operations. ',
91
105
  };
92
106
  export const LargeDescriptionErrorMessage = 'Cumulative case description cannot be more than {{limit}} characters';
@@ -127,7 +141,6 @@ export var CaseReducerConstants;
127
141
  CaseReducerConstants["resetCaseNoOfCreatedCase"] = "resetCaseNoOfCreatedCase";
128
142
  CaseReducerConstants["setIsPostingRemoteRequestCommentCompleted"] = "setIsPostingRemoteRequestCommentCompleted";
129
143
  CaseReducerConstants["setIsPostingRemoteRequestCommentCompletedError"] = "setIsPostingRemoteRequestCommentCompletedError";
130
- CaseReducerConstants["updateComments"] = "updateComments";
131
144
  CaseReducerConstants["setABTestVariation"] = "setABTestVariation";
132
145
  })(CaseReducerConstants || (CaseReducerConstants = {}));
133
146
  export const initialCaseState = {
@@ -151,7 +164,7 @@ export const initialCaseState = {
151
164
  environment: '',
152
165
  periodicityOfIssue: '',
153
166
  timeFramesAndUrgency: '',
154
- groupNumber: '-1',
167
+ groupNumber: null,
155
168
  entitlementSla: '',
156
169
  accountNumberRef: '',
157
170
  fts: undefined,
@@ -207,6 +220,7 @@ export const initialCaseState = {
207
220
  selectedCaseGroupUsers: getApiResourceObject([]),
208
221
  customEmailsList: getApiResourceObject([]),
209
222
  hasInvalidEntitlements: false,
223
+ isProductNotEntitled: false,
210
224
  hasCaseUpdateError: false,
211
225
  isCaseUpdating: false,
212
226
  caseDetailsError: null,
@@ -224,6 +238,7 @@ export const initialCaseState = {
224
238
  isPostingRemoteRequestCommentCompleted: false,
225
239
  isPostingRemoteRequestCommentCompletedErrorMessage: '',
226
240
  isExistingPhoneNumber: false,
241
+ hasUserUpdatedSuppliedPhone: false,
227
242
  hasLoggedInUserConfirmedPhoneNumber: 'False',
228
243
  shouldNotSetPhoneCountryCode: false,
229
244
  ftsContactSameAsOwner: false,
@@ -231,8 +246,17 @@ export const initialCaseState = {
231
246
  cveWorkflowRecommendation: [],
232
247
  isCveModalOpened: true,
233
248
  ABTestVariation: 'B',
249
+ productServiceLevel: undefined,
250
+ otherServiceLevels: [],
251
+ selectedEntitlementId: undefined,
252
+ accountHasPremiumSla: false,
253
+ selectedVersionId: undefined,
254
+ selectedLabelIds: [],
255
+ pendingCaseOwnerUpdate: null,
256
+ showMandatoryCaseGroupValidationError: false,
234
257
  };
235
258
  export const ORG_ADMIN_SEND_NOTIFCATION_KBASE_LINK = 'https://access.redhat.com/articles/5967811';
236
259
  export const NON_ORG_ADMIN_SEND_NOTIFCATION_KBASE_LINK = 'https://access.redhat.com/articles/5967831';
260
+ export const LANGUAGE_MAP = { en: 'en_US', zh: 'zh_CN', pt: 'pt_BR' };
237
261
  export const excludedCaseTypesforARH = ['Feature / Enhancement Request'];
238
262
  export const appSourceId_ARH = 'PCM-001';
@@ -1,8 +1,8 @@
1
- import { IExternalTrackerUpdate } from '@cee-eng/hydrajs/@types/api/public/case';
2
1
  import { ICommentFeedback } from '@cee-eng/hydrajs/@types/api/public/commentFeedback';
3
2
  import { IAttachment } from '@cee-eng/hydrajs/@types/models/attachment';
4
3
  import { ICaseEscalation } from '@cee-eng/hydrajs/@types/models/escalation';
5
4
  import { IAction, IApiResponseDetails } from '@rh-support/types/shared';
5
+ import { ApolloQueryClient } from '@rh-support/utils';
6
6
  type IActionType = IAction<CaseDetailsConstants, ICaseViewState>;
7
7
  export type CaseDetailsReducerDispatchType = (value: IActionType) => void;
8
8
  export declare enum CaseDetailsConstants {
@@ -11,14 +11,16 @@ export declare enum CaseDetailsConstants {
11
11
  export interface ICaseViewState {
12
12
  caseFeedbacksHydra: IApiResponseDetails<Partial<ICommentFeedback[]>>;
13
13
  caseAttachmentHydra: IApiResponseDetails<Partial<IAttachment[]>>;
14
- caseExternalTrackersUpdate: IApiResponseDetails<Partial<IExternalTrackerUpdate[]>>;
14
+ caseExternalTrackersUpdate: IApiResponseDetails<Partial<unknown[]>>;
15
15
  caseEscalations: IApiResponseDetails<ICaseEscalation[]>;
16
16
  }
17
17
  export declare const initialCaseDetailsPageState: ICaseViewState;
18
18
  export declare const caseDetailsPageReducer: (state: ICaseViewState, action: IActionType) => any;
19
- export declare const fetchAttachments: (dispatch: CaseDetailsReducerDispatchType, caseNumber: string, isSecureSupport: boolean) => Promise<void>;
19
+ export declare const fetchAttachments: (dispatch: CaseDetailsReducerDispatchType, caseNumber: string, apolloClient: ApolloQueryClient, caseSalesforceId?: string, includeSecureSupport?: boolean) => Promise<void>;
20
20
  export declare const fetchFeedbacks: (dispatch: CaseDetailsReducerDispatchType, caseNumber: string) => Promise<void>;
21
- export declare const fetchExternalTrackers: (dispatch: CaseDetailsReducerDispatchType, caseNumber: string) => Promise<void>;
22
- export declare const fetchCaseEscalations: (dispatch: CaseDetailsReducerDispatchType, caseNumber: string, accountNumber: string, setLoading?: boolean) => Promise<void>;
21
+ export declare const fetchExternalTrackers: (_dispatch: CaseDetailsReducerDispatchType, _caseNumber: string) => Promise<void>;
22
+ export declare const fetchCaseEscalations: (dispatch: CaseDetailsReducerDispatchType, parentId: string, apolloClient: {
23
+ query: (options: any) => Promise<any>;
24
+ }, setLoading?: boolean, includeSecureSupport?: boolean) => Promise<void>;
23
25
  export {};
24
26
  //# sourceMappingURL=CaseDetailsPageReducer.d.ts.map
@@ -1 +1 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,YAAY,MAAM,EAClB,cAAc,iBAAiB,EAC/B,mBAAmB,MAAM,EACzB,8BAA4B,kBA+B/B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,UAAU,8BAA8B,EAAE,YAAY,MAAM,kBAoBhG,CAAC;AAsBF,eAAO,MAAM,qBAAqB,GAAU,WAAW,8BAA8B,EAAE,aAAa,MAAM,kBAEzG,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC7B,UAAU,8BAA8B,EACxC,UAAU,MAAM,EAChB,cAAc;IAAE,KAAK,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAAA;CAAE,EACvD,oBAAiB,EACjB,8BAA4B,kBAqC/B,CAAC"}
@@ -7,9 +7,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- import { escalations, kase, publicApi } from '@cee-eng/hydrajs';
11
- import { getApiResourceObject } from '@rh-support/utils';
12
- import without from 'lodash/without';
10
+ import { publicApi } from '@cee-eng/hydrajs';
11
+ import { buildAccessRestrictionExclusionFilter, fetchCaseAttachmentsViaGraphQL, fetchCaseDetailsByCaseNumber, getApiResourceObject, } from '@rh-support/utils';
12
+ import { GET_ESCALATION_DETAILS } from '../graphql';
13
13
  export var CaseDetailsConstants;
14
14
  (function (CaseDetailsConstants) {
15
15
  CaseDetailsConstants["updateState"] = "updateState";
@@ -17,6 +17,8 @@ export var CaseDetailsConstants;
17
17
  export const initialCaseDetailsPageState = {
18
18
  caseFeedbacksHydra: getApiResourceObject([]),
19
19
  caseAttachmentHydra: getApiResourceObject([]),
20
+ // TODO: Uncomment when External Trackers has a functioning GraphQL endpoint
21
+ // caseExternalTrackersUpdate: getApiResourceObject([]),
20
22
  caseExternalTrackersUpdate: getApiResourceObject([]),
21
23
  caseEscalations: getApiResourceObject([]),
22
24
  };
@@ -30,13 +32,21 @@ export const caseDetailsPageReducer = (state, action) => {
30
32
  }
31
33
  }
32
34
  };
33
- export const fetchAttachments = (dispatch, caseNumber, isSecureSupport) => __awaiter(void 0, void 0, void 0, function* () {
35
+ export const fetchAttachments = (dispatch_1, caseNumber_1, apolloClient_1, caseSalesforceId_1, ...args_1) => __awaiter(void 0, [dispatch_1, caseNumber_1, apolloClient_1, caseSalesforceId_1, ...args_1], void 0, function* (dispatch, caseNumber, apolloClient, caseSalesforceId, includeSecureSupport = false) {
34
36
  try {
35
37
  dispatch({
36
38
  type: CaseDetailsConstants.updateState,
37
39
  payload: { caseAttachmentHydra: getApiResourceObject([], true) },
38
40
  });
39
- const allAttachments = yield kase.getAttachments(caseNumber, false, isSecureSupport);
41
+ let resolvedCaseSalesforceId = caseSalesforceId;
42
+ if (!resolvedCaseSalesforceId) {
43
+ const caseDetails = yield fetchCaseDetailsByCaseNumber(apolloClient, caseNumber, includeSecureSupport);
44
+ resolvedCaseSalesforceId = caseDetails === null || caseDetails === void 0 ? void 0 : caseDetails.id;
45
+ }
46
+ if (!resolvedCaseSalesforceId) {
47
+ throw new Error('Missing Salesforce case id');
48
+ }
49
+ const allAttachments = yield fetchCaseAttachmentsViaGraphQL(apolloClient, caseNumber, resolvedCaseSalesforceId);
40
50
  dispatch({
41
51
  type: CaseDetailsConstants.updateState,
42
52
  payload: { caseAttachmentHydra: getApiResourceObject(allAttachments) },
@@ -69,34 +79,56 @@ export const fetchFeedbacks = (dispatch, caseNumber) => __awaiter(void 0, void 0
69
79
  });
70
80
  }
71
81
  });
72
- export const fetchExternalTrackers = (dispatch, caseNumber) => __awaiter(void 0, void 0, void 0, function* () {
73
- try {
74
- dispatch({
75
- type: CaseDetailsConstants.updateState,
76
- payload: { caseExternalTrackersUpdate: getApiResourceObject([], true) },
77
- });
78
- const caseExtUpdates = yield publicApi.kase.getExternalUpdates(caseNumber);
79
- dispatch({
80
- type: CaseDetailsConstants.updateState,
81
- payload: { caseExternalTrackersUpdate: getApiResourceObject(caseExtUpdates) },
82
- });
83
- }
84
- catch (e) {
85
- dispatch({
86
- type: CaseDetailsConstants.updateState,
87
- payload: { caseExternalTrackersUpdate: getApiResourceObject([], false, true, e.message) },
88
- });
89
- }
82
+ // TODO: Uncomment when External Trackers has a functioning GraphQL endpoint
83
+ // export const fetchExternalTrackers = async (dispatch: CaseDetailsReducerDispatchType, caseNumber: string) => {
84
+ // try {
85
+ // dispatch({
86
+ // type: CaseDetailsConstants.updateState,
87
+ // payload: { caseExternalTrackersUpdate: getApiResourceObject([], true) },
88
+ // });
89
+ // const caseExtUpdates = await publicApi.kase.getExternalUpdates(caseNumber);
90
+ //
91
+ // dispatch({
92
+ // type: CaseDetailsConstants.updateState,
93
+ // payload: { caseExternalTrackersUpdate: getApiResourceObject(caseExtUpdates) },
94
+ // });
95
+ // } catch (e) {
96
+ // dispatch({
97
+ // type: CaseDetailsConstants.updateState,
98
+ // payload: { caseExternalTrackersUpdate: getApiResourceObject([], false, true, e.message) },
99
+ // });
100
+ // }
101
+ // };
102
+ export const fetchExternalTrackers = (_dispatch, _caseNumber) => __awaiter(void 0, void 0, void 0, function* () {
103
+ // no-op stub until External Trackers has a functioning GraphQL endpoint
90
104
  });
91
- export const fetchCaseEscalations = (dispatch_1, caseNumber_1, accountNumber_1, ...args_1) => __awaiter(void 0, [dispatch_1, caseNumber_1, accountNumber_1, ...args_1], void 0, function* (dispatch, caseNumber, accountNumber, setLoading = true) {
105
+ export const fetchCaseEscalations = (dispatch_1, parentId_1, apolloClient_1, ...args_1) => __awaiter(void 0, [dispatch_1, parentId_1, apolloClient_1, ...args_1], void 0, function* (dispatch, parentId, apolloClient, setLoading = true, includeSecureSupport = false) {
106
+ var _a, _b, _c, _d;
92
107
  try {
93
108
  setLoading &&
94
109
  dispatch({
95
110
  type: CaseDetailsConstants.updateState,
96
111
  payload: { caseEscalations: getApiResourceObject([], setLoading) },
97
112
  });
98
- const res = yield escalations.getEscalations({ caseNumber, accountNumber });
99
- const caseEscalations = without((res || []).filter((item) => item.escalationSource === 'RME Escalation'), null, undefined);
113
+ const { data } = yield apolloClient.query({
114
+ query: GET_ESCALATION_DETAILS,
115
+ variables: {
116
+ where: {
117
+ and: [{ ParentId: { eq: parentId } }, buildAccessRestrictionExclusionFilter(includeSecureSupport)],
118
+ },
119
+ },
120
+ });
121
+ const edges = (_d = (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.redhat_support_uiapi) === null || _a === void 0 ? void 0 : _a.query) === null || _b === void 0 ? void 0 : _b.RedHatSupportCase) === null || _c === void 0 ? void 0 : _c.edges) !== null && _d !== void 0 ? _d : [];
122
+ const caseEscalations = edges.map(({ node }) => {
123
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
124
+ return ({
125
+ name: (_b = (_a = node.CaseNumber__c) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : '',
126
+ subject: (_d = (_c = node.Subject) === null || _c === void 0 ? void 0 : _c.value) !== null && _d !== void 0 ? _d : '',
127
+ status: (_f = (_e = node.Status) === null || _e === void 0 ? void 0 : _e.value) !== null && _f !== void 0 ? _f : '',
128
+ owner: (_j = (_h = (_g = node.Owner) === null || _g === void 0 ? void 0 : _g.Name) === null || _h === void 0 ? void 0 : _h.value) !== null && _j !== void 0 ? _j : '',
129
+ escalationSource: 'RME Escalation',
130
+ });
131
+ });
100
132
  dispatch({
101
133
  type: CaseDetailsConstants.updateState,
102
134
  payload: { caseEscalations: getApiResourceObject(caseEscalations, false) },
@@ -1,16 +1,15 @@
1
- import { ICaseChat, ICaseComment, IExternalTrackerUpdate } from '@cee-eng/hydrajs/@types/api/public/case';
1
+ import { ICaseChat, ICaseComment } from '@cee-eng/hydrajs/@types/api/public/case';
2
2
  import { ICommentFeedback } from '@cee-eng/hydrajs/@types/api/public/commentFeedback';
3
3
  import { IAttachment } from '@cee-eng/hydrajs/@types/models/attachment';
4
4
  import { IAction } from '@rh-support/types/shared';
5
- import { CaseReducerDispatchType } from './CaseConstNTypes';
5
+ import { ApolloQueryClient } from '@rh-support/utils';
6
6
  type IActionType = IAction<DiscussionsConstants, IDiscussionState>;
7
7
  export type DiscussionsReducerDispatchType = (value: IActionType) => void;
8
8
  export interface IDiscussion {
9
- item: Partial<ICaseComment | IAttachment | ICaseChat | IExternalTrackerUpdate>;
9
+ item: Partial<ICaseComment | IAttachment | ICaseChat>;
10
10
  last_modified_date: string;
11
11
  discussionType: string;
12
12
  feedback?: number;
13
- feedbackReason?: string;
14
13
  }
15
14
  export declare enum DiscussionType {
16
15
  COMMENT = "comment",
@@ -35,9 +34,10 @@ export declare const initDiscussionFiltersListState: IFilter[];
35
34
  export interface IDiscussionState {
36
35
  sort: ISort;
37
36
  allDiscussions: IDiscussion[];
38
- replyCommentText: string;
39
- replyCommentCreator: string;
40
37
  discussionFiltersListState: IFilter[];
38
+ replyingToAuthor: string | null;
39
+ replyingToCommentId: string | null;
40
+ replyingToTimestamp: string | null;
41
41
  }
42
42
  export declare const initialDiscussionState: IDiscussionState;
43
43
  export declare enum DiscussionsConstants {
@@ -45,14 +45,13 @@ export declare enum DiscussionsConstants {
45
45
  }
46
46
  export declare const discussionReducer: (state: IDiscussionState, action: IActionType) => IDiscussionState;
47
47
  export declare const setSort: (dispatch: DiscussionsReducerDispatchType, sort: ISort, allDiscussions: IDiscussion[]) => void;
48
+ export declare const setReplyingTo: (dispatch: DiscussionsReducerDispatchType, author: string, commentId: string, timestamp: string) => void;
49
+ export declare const clearReplyingTo: (dispatch: DiscussionsReducerDispatchType) => void;
48
50
  export declare const setFilter: (dispatch: DiscussionsReducerDispatchType, selected: string[], discussionFiltersListState: IFilter[]) => void;
49
- export declare const setDiscussions: (dispatch: DiscussionsReducerDispatchType, comments: ICaseComment[], chats: ICaseChat[], attachments: IAttachment[], feedbacks: ICommentFeedback[], trackerUpdates: Partial<IExternalTrackerUpdate[]>, discussionFiltersListState: IFilter[], canSeeExternalTracker: boolean, canSeeChat: boolean, canSeeAttachments: boolean) => void;
51
+ export declare const setDiscussions: (dispatch: DiscussionsReducerDispatchType, comments: ICaseComment[], chats: ICaseChat[], attachments: IAttachment[], feedbacks: ICommentFeedback[], trackerUpdates: Partial<unknown[]>, discussionFiltersListState: IFilter[], canSeeExternalTracker: boolean, canSeeChat: boolean, canSeeAttachments: boolean) => void;
50
52
  export declare const updateAttacmentsAfterRemoval: (dispatch: DiscussionsReducerDispatchType, uuid_removed: string, allDiscussions: IDiscussion[], discussionFiltersListState: IFilter[]) => void;
51
- export declare const updateCommentStateFeedback: (dispatch: DiscussionsReducerDispatchType, comment_id: string, newFeedback: any, allDiscussions: IDiscussion[], feedbackReason?: string) => Promise<void>;
53
+ export declare const updateCommentStateFeedback: (dispatch: DiscussionsReducerDispatchType, comment_id: string, newFeedback: any, allDiscussions: IDiscussion[]) => Promise<void>;
52
54
  export declare const updateAttachment: (dispatch: DiscussionsReducerDispatchType, uuid: string, newAttachment: any, allDiscussions: IDiscussion[]) => void;
53
- export declare const updateDiscussionStateComments: (dispatch: DiscussionsReducerDispatchType, caseDispatch: CaseReducerDispatchType, caseNumber: string, allDiscussions: IDiscussion[], sort: ISort, feedbacks: ICommentFeedback[], discussionFiltersListState: IFilter[]) => Promise<void>;
54
- export declare const updateDiscussionStateAttachments: (dispatch: DiscussionsReducerDispatchType, caseNumber: string, allDiscussions: IDiscussion[], sort: ISort, isSecureSupport: boolean, discussionFiltersListState: IFilter[], dispatchCaseDetailsHydraAttachments: any) => Promise<void>;
55
- export declare const setCommentText: (dispatch: DiscussionsReducerDispatchType, replyCommentText: string, replyCommentCreator: string) => void;
56
- export declare const clearReplyComment: (dispatch: DiscussionsReducerDispatchType) => void;
55
+ export declare const updateDiscussionStateAttachments: (dispatch: DiscussionsReducerDispatchType, caseNumber: string, allDiscussions: IDiscussion[], sort: ISort, discussionFiltersListState: IFilter[], dispatchCaseDetailsHydraAttachments: any, apolloClient: ApolloQueryClient, caseSalesforceId?: string, includeSecureSupport?: boolean) => Promise<void>;
57
56
  export {};
58
57
  //# sourceMappingURL=CaseDiscussionTabReducer.d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