@atlaskit/smart-card 40.13.0 → 40.13.2

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 (247) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/i18n/en.js +5 -0
  3. package/dist/cjs/i18n/en_GB.js +5 -0
  4. package/dist/cjs/i18n/en_ZZ.js +5 -0
  5. package/dist/cjs/utils/analytics/analytics.js +1 -1
  6. package/dist/cjs/view/BlockCard/index.js +3 -0
  7. package/dist/cjs/view/BlockCard/views/utils/index.js +1 -1
  8. package/dist/cjs/view/EmbedCard/index.js +3 -0
  9. package/dist/cjs/view/InlineCard/index.js +3 -0
  10. package/dist/cjs/view/LinkUrl/index.js +1 -1
  11. package/dist/es2019/i18n/en.js +5 -0
  12. package/dist/es2019/i18n/en_GB.js +5 -0
  13. package/dist/es2019/i18n/en_ZZ.js +5 -0
  14. package/dist/es2019/utils/analytics/analytics.js +1 -1
  15. package/dist/es2019/view/BlockCard/index.js +2 -0
  16. package/dist/es2019/view/BlockCard/views/utils/index.js +1 -1
  17. package/dist/es2019/view/EmbedCard/index.js +2 -0
  18. package/dist/es2019/view/InlineCard/index.js +2 -0
  19. package/dist/es2019/view/LinkUrl/index.js +1 -1
  20. package/dist/esm/i18n/en.js +5 -0
  21. package/dist/esm/i18n/en_GB.js +5 -0
  22. package/dist/esm/i18n/en_ZZ.js +5 -0
  23. package/dist/esm/utils/analytics/analytics.js +1 -1
  24. package/dist/esm/view/BlockCard/index.js +2 -0
  25. package/dist/esm/view/BlockCard/views/utils/index.js +1 -1
  26. package/dist/esm/view/EmbedCard/index.js +2 -0
  27. package/dist/esm/view/InlineCard/index.js +2 -0
  28. package/dist/esm/view/LinkUrl/index.js +1 -1
  29. package/dist/types/extractors/action/extract-invoke-preview-action.d.ts +5 -5
  30. package/dist/types/extractors/common/actions/types.d.ts +2 -2
  31. package/dist/types/extractors/common/context/extractAccessContext.d.ts +2 -2
  32. package/dist/types/extractors/common/icon/extractIcon.d.ts +4 -4
  33. package/dist/types/extractors/common/icon/prioritiseIcon.d.ts +6 -6
  34. package/dist/types/extractors/common/lozenge/extractTaskType.d.ts +1 -1
  35. package/dist/types/extractors/common/lozenge/types.d.ts +1 -1
  36. package/dist/types/extractors/flexible/actions/index.d.ts +6 -6
  37. package/dist/types/extractors/flexible/extract-state.d.ts +2 -2
  38. package/dist/types/extractors/index.d.ts +3 -3
  39. package/dist/types/i18n/en.d.ts +5 -0
  40. package/dist/types/i18n/en_GB.d.ts +5 -0
  41. package/dist/types/i18n/en_ZZ.d.ts +5 -0
  42. package/dist/types/model/invoke-opts.d.ts +2 -2
  43. package/dist/types/ssr.d.ts +1 -1
  44. package/dist/types/state/flexible-ui-context/types.d.ts +105 -105
  45. package/dist/types/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +38 -38
  46. package/dist/types/state/hooks/use-ai-summary-config/types.d.ts +1 -1
  47. package/dist/types/state/hooks/use-invoke/types.d.ts +1 -1
  48. package/dist/types/state/hooks/useSmartLink.d.ts +2 -2
  49. package/dist/types/state/hooks-external/useSmartLinkActions.d.ts +14 -14
  50. package/dist/types/state/modal/types.d.ts +4 -4
  51. package/dist/types/types.d.ts +2 -2
  52. package/dist/types/utils/analytics/LinkAnalyticsContext.d.ts +2 -2
  53. package/dist/types/utils/analytics/SmartLinkAnalyticsContext.d.ts +3 -3
  54. package/dist/types/utils/analytics/types.d.ts +6 -6
  55. package/dist/types/view/BlockCard/types.d.ts +11 -11
  56. package/dist/types/view/BlockCard/views/utils/index.d.ts +1 -1
  57. package/dist/types/view/Card/types.d.ts +19 -19
  58. package/dist/types/view/CardWithUrl/types.d.ts +22 -22
  59. package/dist/types/view/EmbedCard/components/ErrorFrame.d.ts +4 -4
  60. package/dist/types/view/EmbedCard/components/ExpandedFrame.d.ts +22 -22
  61. package/dist/types/view/EmbedCard/components/Frame.d.ts +2 -2
  62. package/dist/types/view/EmbedCard/components/IFrame.d.ts +1 -1
  63. package/dist/types/view/EmbedCard/components/IframeDwellTracker.d.ts +1 -1
  64. package/dist/types/view/EmbedCard/components/ImageIcon.d.ts +2 -2
  65. package/dist/types/view/EmbedCard/components/styled.d.ts +7 -7
  66. package/dist/types/view/EmbedCard/types.d.ts +13 -13
  67. package/dist/types/view/EmbedCard/useEmbedResolvePostMessageListener.d.ts +1 -1
  68. package/dist/types/view/EmbedCard/views/ErroredView.d.ts +2 -2
  69. package/dist/types/view/EmbedCard/views/ResolvedView.d.ts +20 -20
  70. package/dist/types/view/EmbedCard/views/forbidden-view/types.d.ts +1 -1
  71. package/dist/types/view/EmbedCard/views/not-found-view/types.d.ts +1 -1
  72. package/dist/types/view/EmbedModal/components/embed-content/types.d.ts +1 -1
  73. package/dist/types/view/EmbedModal/components/link-info/types.d.ts +1 -1
  74. package/dist/types/view/EmbedModal/types.d.ts +2 -2
  75. package/dist/types/view/FlexibleCard/components/actions/action/action-button/types.d.ts +3 -3
  76. package/dist/types/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +1 -1
  77. package/dist/types/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts +1 -1
  78. package/dist/types/view/FlexibleCard/components/actions/action/types.d.ts +40 -40
  79. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/types.d.ts +2 -2
  80. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.d.ts +1 -1
  81. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +10 -10
  82. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/main.d.ts +2 -2
  83. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.d.ts +6 -6
  84. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +8 -8
  85. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +1 -1
  86. package/dist/types/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +1 -1
  87. package/dist/types/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
  88. package/dist/types/view/FlexibleCard/components/actions/custom-unresolved-action/index.d.ts +2 -2
  89. package/dist/types/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +1 -1
  90. package/dist/types/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +2 -2
  91. package/dist/types/view/FlexibleCard/components/blocks/action-group/types.d.ts +13 -13
  92. package/dist/types/view/FlexibleCard/components/blocks/element-group/types.d.ts +11 -11
  93. package/dist/types/view/FlexibleCard/components/blocks/footer-block/types.d.ts +4 -4
  94. package/dist/types/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +1 -1
  95. package/dist/types/view/FlexibleCard/components/blocks/preview-block/types.d.ts +4 -4
  96. package/dist/types/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +8 -8
  97. package/dist/types/view/FlexibleCard/components/blocks/title-block/types.d.ts +35 -35
  98. package/dist/types/view/FlexibleCard/components/blocks/types.d.ts +45 -45
  99. package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
  100. package/dist/types/view/FlexibleCard/components/common/image-icon/types.d.ts +5 -5
  101. package/dist/types/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +4 -4
  102. package/dist/types/view/FlexibleCard/components/container/hover-card-control/types.d.ts +2 -2
  103. package/dist/types/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.d.ts +8 -8
  104. package/dist/types/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +12 -12
  105. package/dist/types/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +8 -8
  106. package/dist/types/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +19 -19
  107. package/dist/types/view/FlexibleCard/components/elements/common/base-link-element/index.d.ts +10 -10
  108. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/types.d.ts +4 -4
  109. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/types.d.ts +1 -1
  110. package/dist/types/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +9 -9
  111. package/dist/types/view/FlexibleCard/components/elements/index.d.ts +4 -4
  112. package/dist/types/view/FlexibleCard/components/elements/media-element/index.d.ts +6 -6
  113. package/dist/types/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +1 -1
  114. package/dist/types/view/FlexibleCard/components/elements/preview-element/index.d.ts +4 -4
  115. package/dist/types/view/FlexibleCard/types.d.ts +41 -41
  116. package/dist/types/view/HoverCard/components/views/resolved/types.d.ts +3 -3
  117. package/dist/types/view/HoverCard/types.d.ts +26 -26
  118. package/dist/types/view/InlineCard/ErroredView/index.d.ts +7 -7
  119. package/dist/types/view/InlineCard/ForbiddenView/index.d.ts +10 -10
  120. package/dist/types/view/InlineCard/Frame/index.d.ts +6 -6
  121. package/dist/types/view/InlineCard/Frame/styled.d.ts +3 -3
  122. package/dist/types/view/InlineCard/IconAndTitleLayout/index.d.ts +8 -8
  123. package/dist/types/view/InlineCard/ResolvedView/index.d.ts +15 -15
  124. package/dist/types/view/InlineCard/ResolvingView/index.d.ts +6 -6
  125. package/dist/types/view/InlineCard/UnauthorisedView/index.d.ts +14 -14
  126. package/dist/types/view/InlineCard/types.d.ts +11 -11
  127. package/dist/types/view/LinkUrl/types.d.ts +2 -2
  128. package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +2 -2
  129. package/dist/types/view/RelatedLinksModal/components/types.d.ts +10 -10
  130. package/dist/types/view/RelatedLinksModal/types.d.ts +5 -5
  131. package/dist/types/view/common/Icon.d.ts +3 -3
  132. package/dist/types/view/common/UnauthorisedViewContent.d.ts +5 -5
  133. package/dist/types/view/common/ai-prism/ai-glowing-border/types.d.ts +7 -7
  134. package/dist/types/view/common/ai-prism/types.d.ts +1 -1
  135. package/dist/types/view/common/ai-summary/types.d.ts +6 -6
  136. package/dist/types/view/common/render-svg.d.ts +2 -2
  137. package/dist/types/view/types.d.ts +6 -6
  138. package/dist/types-ts4.5/extractors/action/extract-invoke-preview-action.d.ts +5 -5
  139. package/dist/types-ts4.5/extractors/common/actions/types.d.ts +2 -2
  140. package/dist/types-ts4.5/extractors/common/context/extractAccessContext.d.ts +2 -2
  141. package/dist/types-ts4.5/extractors/common/icon/extractIcon.d.ts +4 -4
  142. package/dist/types-ts4.5/extractors/common/icon/prioritiseIcon.d.ts +6 -6
  143. package/dist/types-ts4.5/extractors/common/lozenge/extractTaskType.d.ts +1 -1
  144. package/dist/types-ts4.5/extractors/common/lozenge/types.d.ts +1 -1
  145. package/dist/types-ts4.5/extractors/flexible/actions/index.d.ts +6 -6
  146. package/dist/types-ts4.5/extractors/flexible/extract-state.d.ts +2 -2
  147. package/dist/types-ts4.5/extractors/index.d.ts +3 -3
  148. package/dist/types-ts4.5/i18n/en.d.ts +5 -0
  149. package/dist/types-ts4.5/i18n/en_GB.d.ts +5 -0
  150. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +5 -0
  151. package/dist/types-ts4.5/model/invoke-opts.d.ts +2 -2
  152. package/dist/types-ts4.5/ssr.d.ts +1 -1
  153. package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +105 -105
  154. package/dist/types-ts4.5/state/hooks/use-ai-summary/ai-summary-service/types.d.ts +38 -38
  155. package/dist/types-ts4.5/state/hooks/use-ai-summary-config/types.d.ts +1 -1
  156. package/dist/types-ts4.5/state/hooks/use-invoke/types.d.ts +1 -1
  157. package/dist/types-ts4.5/state/hooks/useSmartLink.d.ts +2 -2
  158. package/dist/types-ts4.5/state/hooks-external/useSmartLinkActions.d.ts +14 -14
  159. package/dist/types-ts4.5/state/modal/types.d.ts +4 -4
  160. package/dist/types-ts4.5/types.d.ts +2 -2
  161. package/dist/types-ts4.5/utils/analytics/LinkAnalyticsContext.d.ts +2 -2
  162. package/dist/types-ts4.5/utils/analytics/SmartLinkAnalyticsContext.d.ts +3 -3
  163. package/dist/types-ts4.5/utils/analytics/types.d.ts +6 -6
  164. package/dist/types-ts4.5/view/BlockCard/types.d.ts +11 -11
  165. package/dist/types-ts4.5/view/BlockCard/views/utils/index.d.ts +1 -1
  166. package/dist/types-ts4.5/view/Card/types.d.ts +19 -19
  167. package/dist/types-ts4.5/view/CardWithUrl/types.d.ts +22 -22
  168. package/dist/types-ts4.5/view/EmbedCard/components/ErrorFrame.d.ts +4 -4
  169. package/dist/types-ts4.5/view/EmbedCard/components/ExpandedFrame.d.ts +22 -22
  170. package/dist/types-ts4.5/view/EmbedCard/components/Frame.d.ts +2 -2
  171. package/dist/types-ts4.5/view/EmbedCard/components/IFrame.d.ts +1 -1
  172. package/dist/types-ts4.5/view/EmbedCard/components/IframeDwellTracker.d.ts +1 -1
  173. package/dist/types-ts4.5/view/EmbedCard/components/ImageIcon.d.ts +2 -2
  174. package/dist/types-ts4.5/view/EmbedCard/components/styled.d.ts +7 -7
  175. package/dist/types-ts4.5/view/EmbedCard/types.d.ts +13 -13
  176. package/dist/types-ts4.5/view/EmbedCard/useEmbedResolvePostMessageListener.d.ts +1 -1
  177. package/dist/types-ts4.5/view/EmbedCard/views/ErroredView.d.ts +2 -2
  178. package/dist/types-ts4.5/view/EmbedCard/views/ResolvedView.d.ts +20 -20
  179. package/dist/types-ts4.5/view/EmbedCard/views/forbidden-view/types.d.ts +1 -1
  180. package/dist/types-ts4.5/view/EmbedCard/views/not-found-view/types.d.ts +1 -1
  181. package/dist/types-ts4.5/view/EmbedModal/components/embed-content/types.d.ts +1 -1
  182. package/dist/types-ts4.5/view/EmbedModal/components/link-info/types.d.ts +1 -1
  183. package/dist/types-ts4.5/view/EmbedModal/types.d.ts +2 -2
  184. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-button/types.d.ts +3 -3
  185. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-icon/types.d.ts +1 -1
  186. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/action-stack-item/types.d.ts +1 -1
  187. package/dist/types-ts4.5/view/FlexibleCard/components/actions/action/types.d.ts +40 -40
  188. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/types.d.ts +2 -2
  189. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.d.ts +1 -1
  190. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.d.ts +10 -10
  191. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/manual-triggers-form/main.d.ts +2 -2
  192. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/main.d.ts +6 -6
  193. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/menu-context/main.d.ts +8 -8
  194. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/footer/main.d.ts +1 -1
  195. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.d.ts +1 -1
  196. package/dist/types-ts4.5/view/FlexibleCard/components/actions/automation-action/utils/index.d.ts +1 -1
  197. package/dist/types-ts4.5/view/FlexibleCard/components/actions/custom-unresolved-action/index.d.ts +2 -2
  198. package/dist/types-ts4.5/view/FlexibleCard/components/actions/unresolved-action/index.d.ts +1 -1
  199. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/action-group-item/index.d.ts +2 -2
  200. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-group/types.d.ts +13 -13
  201. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/element-group/types.d.ts +11 -11
  202. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/footer-block/types.d.ts +4 -4
  203. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/metadata-block/types.d.ts +1 -1
  204. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/preview-block/types.d.ts +4 -4
  205. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/snippet-block/types.d.ts +8 -8
  206. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/types.d.ts +35 -35
  207. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/types.d.ts +45 -45
  208. package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +1 -1
  209. package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/types.d.ts +5 -5
  210. package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +4 -4
  211. package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/types.d.ts +2 -2
  212. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-avatar-group-element/index.d.ts +8 -8
  213. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +12 -12
  214. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-date-time-element/index.d.ts +8 -8
  215. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-icon-element/index.d.ts +19 -19
  216. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-link-element/index.d.ts +10 -10
  217. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-error/types.d.ts +4 -4
  218. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/types.d.ts +1 -1
  219. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-text-element/index.d.ts +9 -9
  220. package/dist/types-ts4.5/view/FlexibleCard/components/elements/index.d.ts +4 -4
  221. package/dist/types-ts4.5/view/FlexibleCard/components/elements/media-element/index.d.ts +6 -6
  222. package/dist/types-ts4.5/view/FlexibleCard/components/elements/owned-by-element/index.d.ts +1 -1
  223. package/dist/types-ts4.5/view/FlexibleCard/components/elements/preview-element/index.d.ts +4 -4
  224. package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +41 -41
  225. package/dist/types-ts4.5/view/HoverCard/components/views/resolved/types.d.ts +3 -3
  226. package/dist/types-ts4.5/view/HoverCard/types.d.ts +26 -26
  227. package/dist/types-ts4.5/view/InlineCard/ErroredView/index.d.ts +7 -7
  228. package/dist/types-ts4.5/view/InlineCard/ForbiddenView/index.d.ts +10 -10
  229. package/dist/types-ts4.5/view/InlineCard/Frame/index.d.ts +6 -6
  230. package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +3 -3
  231. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/index.d.ts +8 -8
  232. package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +15 -15
  233. package/dist/types-ts4.5/view/InlineCard/ResolvingView/index.d.ts +6 -6
  234. package/dist/types-ts4.5/view/InlineCard/UnauthorisedView/index.d.ts +14 -14
  235. package/dist/types-ts4.5/view/InlineCard/types.d.ts +11 -11
  236. package/dist/types-ts4.5/view/LinkUrl/types.d.ts +2 -2
  237. package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +2 -2
  238. package/dist/types-ts4.5/view/RelatedLinksModal/components/types.d.ts +10 -10
  239. package/dist/types-ts4.5/view/RelatedLinksModal/types.d.ts +5 -5
  240. package/dist/types-ts4.5/view/common/Icon.d.ts +3 -3
  241. package/dist/types-ts4.5/view/common/UnauthorisedViewContent.d.ts +5 -5
  242. package/dist/types-ts4.5/view/common/ai-prism/ai-glowing-border/types.d.ts +7 -7
  243. package/dist/types-ts4.5/view/common/ai-prism/types.d.ts +1 -1
  244. package/dist/types-ts4.5/view/common/ai-summary/types.d.ts +6 -6
  245. package/dist/types-ts4.5/view/common/render-svg.d.ts +2 -2
  246. package/dist/types-ts4.5/view/types.d.ts +6 -6
  247. package/package.json +5 -6
@@ -3,12 +3,12 @@ export interface ExtractorFunction<T> {
3
3
  }
4
4
  export interface ExtractOptions<T> {
5
5
  defaultExtractorFunction: ExtractorFunction<T>;
6
- extractorPrioritiesByType: {
7
- [type: string]: number;
8
- };
9
6
  extractorFunctionsByType: {
10
7
  [type: string]: ExtractorFunction<T>;
11
8
  };
9
+ extractorPrioritiesByType: {
10
+ [type: string]: number;
11
+ };
12
12
  json: any;
13
13
  }
14
14
  export declare function genericExtractPropsFromJSONLD<T>(options: ExtractOptions<T>): T;
@@ -55,7 +55,9 @@ declare const _default: {
55
55
  'fabric.linking.connect_to': string;
56
56
  'fabric.linking.connect_unauthorised_account_action': string;
57
57
  'fabric.linking.connect_unauthorised_account_description': string;
58
+ 'fabric.linking.connect_unauthorised_account_description-appify': string;
58
59
  'fabric.linking.connect_unauthorised_account_description_no_provider': string;
60
+ 'fabric.linking.connect_unauthorised_account_description_no_provider-appify': string;
59
61
  'fabric.linking.continue': string;
60
62
  'fabric.linking.copied_summary_action_description': string;
61
63
  'fabric.linking.copied_url_to_clipboard': string;
@@ -94,6 +96,7 @@ declare const _default: {
94
96
  'fabric.linking.join_to_view': string;
95
97
  'fabric.linking.join_to_view-issue-term-refresh': string;
96
98
  'fabric.linking.learn_more_about_connecting_account': string;
99
+ 'fabric.linking.learn_more_about_connecting_account-appify': string;
97
100
  'fabric.linking.learn_more_about_smart_links': string;
98
101
  'fabric.linking.link_safety_warning_message': string;
99
102
  'fabric.linking.loading': string;
@@ -114,6 +117,8 @@ declare const _default: {
114
117
  'fabric.linking.preview_improved': string;
115
118
  'fabric.linking.preview_max_size': string;
116
119
  'fabric.linking.preview_min_size': string;
120
+ 'fabric.linking.preview_modal': string;
121
+ 'fabric.linking.preview_panel': string;
117
122
  'fabric.linking.priority_blocker': string;
118
123
  'fabric.linking.priority_critical': string;
119
124
  'fabric.linking.priority_high': string;
@@ -55,7 +55,9 @@ declare const _default: {
55
55
  'fabric.linking.connect_to': string;
56
56
  'fabric.linking.connect_unauthorised_account_action': string;
57
57
  'fabric.linking.connect_unauthorised_account_description': string;
58
+ 'fabric.linking.connect_unauthorised_account_description-appify': string;
58
59
  'fabric.linking.connect_unauthorised_account_description_no_provider': string;
60
+ 'fabric.linking.connect_unauthorised_account_description_no_provider-appify': string;
59
61
  'fabric.linking.continue': string;
60
62
  'fabric.linking.copied_summary_action_description': string;
61
63
  'fabric.linking.copied_url_to_clipboard': string;
@@ -94,6 +96,7 @@ declare const _default: {
94
96
  'fabric.linking.join_to_view': string;
95
97
  'fabric.linking.join_to_view-issue-term-refresh': string;
96
98
  'fabric.linking.learn_more_about_connecting_account': string;
99
+ 'fabric.linking.learn_more_about_connecting_account-appify': string;
97
100
  'fabric.linking.learn_more_about_smart_links': string;
98
101
  'fabric.linking.link_safety_warning_message': string;
99
102
  'fabric.linking.loading': string;
@@ -114,6 +117,8 @@ declare const _default: {
114
117
  'fabric.linking.preview_improved': string;
115
118
  'fabric.linking.preview_max_size': string;
116
119
  'fabric.linking.preview_min_size': string;
120
+ 'fabric.linking.preview_modal': string;
121
+ 'fabric.linking.preview_panel': string;
117
122
  'fabric.linking.priority_blocker': string;
118
123
  'fabric.linking.priority_critical': string;
119
124
  'fabric.linking.priority_high': string;
@@ -55,7 +55,9 @@ declare const _default: {
55
55
  'fabric.linking.connect_to': string;
56
56
  'fabric.linking.connect_unauthorised_account_action': string;
57
57
  'fabric.linking.connect_unauthorised_account_description': string;
58
+ 'fabric.linking.connect_unauthorised_account_description-appify': string;
58
59
  'fabric.linking.connect_unauthorised_account_description_no_provider': string;
60
+ 'fabric.linking.connect_unauthorised_account_description_no_provider-appify': string;
59
61
  'fabric.linking.continue': string;
60
62
  'fabric.linking.copied_summary_action_description': string;
61
63
  'fabric.linking.copied_url_to_clipboard': string;
@@ -94,6 +96,7 @@ declare const _default: {
94
96
  'fabric.linking.join_to_view': string;
95
97
  'fabric.linking.join_to_view-issue-term-refresh': string;
96
98
  'fabric.linking.learn_more_about_connecting_account': string;
99
+ 'fabric.linking.learn_more_about_connecting_account-appify': string;
97
100
  'fabric.linking.learn_more_about_smart_links': string;
98
101
  'fabric.linking.link_safety_warning_message': string;
99
102
  'fabric.linking.loading': string;
@@ -114,6 +117,8 @@ declare const _default: {
114
117
  'fabric.linking.preview_improved': string;
115
118
  'fabric.linking.preview_max_size': string;
116
119
  'fabric.linking.preview_min_size': string;
120
+ 'fabric.linking.preview_modal': string;
121
+ 'fabric.linking.preview_panel': string;
117
122
  'fabric.linking.priority_blocker': string;
118
123
  'fabric.linking.priority_critical': string;
119
124
  'fabric.linking.priority_high': string;
@@ -2,8 +2,8 @@ import { type InvokePayload, type ServerActionOpts } from '@atlaskit/linking-com
2
2
  import { type CardInnerAppearance } from '../view/Card/types';
3
3
  export type InvokeType = 'server' | 'client';
4
4
  export type InvokeOpts<T> = {
5
- type: InvokeType;
6
5
  source?: CardInnerAppearance;
6
+ type: InvokeType;
7
7
  } & InvokePayload<T>;
8
8
  export type InvokeClientOpts = InvokeOpts<ClientActionOpts> & {
9
9
  type: 'client';
@@ -12,6 +12,6 @@ export type InvokeServerOpts = InvokeOpts<ServerActionOpts> & {
12
12
  type: 'server';
13
13
  };
14
14
  export interface ClientActionOpts {
15
- type: string;
16
15
  promise: () => Promise<void>;
16
+ type: string;
17
17
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { CardProps } from './types';
3
3
  export type CardSSRProps = CardProps & {
4
- url: string;
5
4
  hideIconLoadingSkeleton?: boolean;
5
+ url: string;
6
6
  };
7
7
  export declare const CardSSR: (props: CardSSRProps) => React.JSX.Element;
@@ -13,6 +13,24 @@ export type FlexibleUiDataContext = {
13
13
  * An object containing available action on the linked resource.
14
14
  */
15
15
  actions?: FlexibleUiActions;
16
+ /**
17
+ * Contains the number of applied components on the linked resource.
18
+ * @type number
19
+ * @see AppliedToComponentsCount
20
+ */
21
+ appliedToComponentsCount?: number;
22
+ /**
23
+ * Contains the atlassian resource identifier (ARI) of the linked resource.
24
+ * @type string
25
+ * @see Title
26
+ */
27
+ ari?: string;
28
+ /**
29
+ * Contains the name of the entity that has the resource assigend to.
30
+ * @type string
31
+ * @see AssignedTo
32
+ */
33
+ assignedTo?: string;
16
34
  /**
17
35
  * An array containing data used to populate the AssignedToGroup element.
18
36
  * @see AvatarGroup
@@ -24,12 +42,6 @@ export type FlexibleUiDataContext = {
24
42
  * @see AttachmentCount
25
43
  */
26
44
  attachmentCount?: number;
27
- /**
28
- * Contains the number of applied components on the linked resource.
29
- * @type number
30
- * @see AppliedToComponentsCount
31
- */
32
- appliedToComponentsCount?: number;
33
45
  /**
34
46
  * An array containing data used to populate the AuthorGroup element.
35
47
  * @see AvatarGroup
@@ -51,55 +63,12 @@ export type FlexibleUiDataContext = {
51
63
  * @see CommentCount
52
64
  */
53
65
  commentCount?: number;
54
- /**
55
- * Contains the ISO timestamp of when the resource was due.
56
- * This value is mapped to JsonLD endTime.
57
- * @type string - ISO Timestamp
58
- * @see DueOn
59
- */
60
- dueOn?: string;
61
- /**
62
- * Contains the number of views of the linked resource.
63
- * @type number
64
- * @see ViewCount
65
- */
66
- viewCount?: number;
67
- /**
68
- * Contains the number of react of the linked resource.
69
- * @type number
70
- * @see ReactCount
71
- */
72
- reactCount?: number;
73
- /**
74
- * Contains the number of votes of the linked resource.
75
- * @type number
76
- * @see VoteCount
77
- */
78
- voteCount?: number;
79
- /**
80
- * Contains the name of the entity that has the resource assigend to.
81
- * @type string
82
- * @see AssignedTo
83
- */
84
- assignedTo?: string;
85
66
  /**
86
67
  * Contains the name of the entity that created the resource.
87
68
  * @type string
88
69
  * @see CreatedBy
89
70
  */
90
71
  createdBy?: string;
91
- /**
92
- * Contains the name of the entity that owns the resource.
93
- * @type string
94
- * @see OwnedBy
95
- */
96
- ownedBy?: string;
97
- /**
98
- * Contains the person that owns the resource.
99
- * @type LinkPerson
100
- * @see OwnedByGroup
101
- */
102
- ownedByGroup?: LinkPerson[];
103
72
  /**
104
73
  * Contains the ISO timestamp of when the resource was created.
105
74
  * @type string - ISO Timestamp
@@ -107,11 +76,12 @@ export type FlexibleUiDataContext = {
107
76
  */
108
77
  createdOn?: string;
109
78
  /**
110
- * Contains data needed to show a view action.
111
- * @type ViewActionData
112
- * @see ViewAction
79
+ * Contains the ISO timestamp of when the resource was due.
80
+ * This value is mapped to JsonLD endTime.
81
+ * @type string - ISO Timestamp
82
+ * @see DueOn
113
83
  */
114
- viewAction?: PreviewActionData;
84
+ dueOn?: string;
115
85
  /**
116
86
  * Contains the information about the latest commit in the repository
117
87
  */
@@ -126,6 +96,21 @@ export type FlexibleUiDataContext = {
126
96
  * Contains the link text and url
127
97
  */
128
98
  linkTitle?: LinkTitle;
99
+ /**
100
+ * Contains the name and url of the location that the resource is located in.
101
+ * @type LinkLocation
102
+ * @see Location
103
+ */
104
+ location?: LinkLocation;
105
+ /**
106
+ * Contains metadata about the linked resource.
107
+ */
108
+ meta?: {
109
+ accessType?: string;
110
+ objectId?: string;
111
+ resourceType?: string;
112
+ tenantId?: string;
113
+ };
129
114
  /**
130
115
  * Contains the name of the entity that last modified the resource.
131
116
  * @type string
@@ -138,6 +123,18 @@ export type FlexibleUiDataContext = {
138
123
  * @see ModifiedOn
139
124
  */
140
125
  modifiedOn?: string;
126
+ /**
127
+ * Contains the name of the entity that owns the resource.
128
+ * @type string
129
+ * @see OwnedBy
130
+ */
131
+ ownedBy?: string;
132
+ /**
133
+ * Contains the person that owns the resource.
134
+ * @type LinkPerson
135
+ * @see OwnedByGroup
136
+ */
137
+ ownedByGroup?: LinkPerson[];
141
138
  /**
142
139
  * Contains the preview (typically the thumbnail) of the resource.
143
140
  * @type Media
@@ -163,11 +160,11 @@ export type FlexibleUiDataContext = {
163
160
  */
164
161
  provider?: Icon;
165
162
  /**
166
- * Contains the snippet of the resource.
167
- * @type string
168
- * @see Snippet
163
+ * Contains the number of react of the linked resource.
164
+ * @type number
165
+ * @see ReactCount
169
166
  */
170
- snippet?: string;
167
+ reactCount?: number;
171
168
  /**
172
169
  * Contains read time (time taken to read) of the resource
173
170
  */
@@ -178,6 +175,12 @@ export type FlexibleUiDataContext = {
178
175
  * @see SentOn
179
176
  */
180
177
  sentOn?: string;
178
+ /**
179
+ * Contains the snippet of the resource.
180
+ * @type string
181
+ * @see Snippet
182
+ */
183
+ snippet?: string;
181
184
  /**
182
185
  * Contains the source branch name of the link typed pull request.
183
186
  * @type string
@@ -189,29 +192,23 @@ export type FlexibleUiDataContext = {
189
192
  * @type number
190
193
  * @see SubscriberCount
191
194
  */
192
- subscriberCount?: number;
193
- /**
194
- * Contains the number of team members of the linked resource.
195
- * @type number
196
- * @see TeamMemberCount
197
- */
198
- teamMemberCount?: number;
195
+ state?: LinkLozenge;
199
196
  /**
200
- * A string displaying progress on subtasks
197
+ * Contains the no of story points for a task.
198
+ * @type string
199
+ * @see StoryPoints
201
200
  */
202
- subTasksProgress?: string;
201
+ storyPoints?: number;
203
202
  /**
204
203
  * Contains the number of subscribers of the linked resource.
205
204
  * @type number
206
205
  * @see SubscriberCount
207
206
  */
208
- state?: LinkLozenge;
207
+ subscriberCount?: number;
209
208
  /**
210
- * Contains the no of story points for a task.
211
- * @type string
212
- * @see StoryPoints
209
+ * A string displaying progress on subtasks
213
210
  */
214
- storyPoints?: number;
211
+ subTasksProgress?: string;
215
212
  /**
216
213
  * Contains the target branch name of the link typed pull request.
217
214
  * @type string
@@ -219,48 +216,51 @@ export type FlexibleUiDataContext = {
219
216
  */
220
217
  targetBranch?: string;
221
218
  /**
222
- * Contains the url of the linked resource.
223
- * @type string
224
- * @see Title
225
- */
226
- url?: string;
227
- /**
228
- * Contains the atlassian resource identifier (ARI) of the linked resource.
229
- * @type string
230
- * @see Title
231
- */
232
- ari?: string;
233
- /**
234
- * Contains the name and url of the location that the resource is located in.
235
- * @type LinkLocation
236
- * @see Location
219
+ * Contains the number of team members of the linked resource.
220
+ * @type number
221
+ * @see TeamMemberCount
237
222
  */
238
- location?: LinkLocation;
223
+ teamMemberCount?: number;
239
224
  /**
240
225
  * Contains the type provided by the link extractor.
241
226
  * @type string
242
227
  */
243
228
  type?: string[];
244
229
  /**
245
- * Contains metadata about the linked resource.
230
+ * Contains the url of the linked resource.
231
+ * @type string
232
+ * @see Title
246
233
  */
247
- meta?: {
248
- objectId?: string;
249
- resourceType?: string;
250
- tenantId?: string;
251
- accessType?: string;
252
- };
234
+ url?: string;
253
235
  /**
254
236
  * Contains user attributes information.
255
237
  * @type JsonLd.Primitives.UserAttributes
256
238
  * @see UserAttributes
257
239
  */
258
240
  userAttributes?: {
259
- role?: string;
260
241
  department?: string;
261
242
  location?: string;
262
243
  pronouns?: string;
244
+ role?: string;
263
245
  };
246
+ /**
247
+ * Contains data needed to show a view action.
248
+ * @type ViewActionData
249
+ * @see ViewAction
250
+ */
251
+ viewAction?: PreviewActionData;
252
+ /**
253
+ * Contains the number of views of the linked resource.
254
+ * @type number
255
+ * @see ViewCount
256
+ */
257
+ viewCount?: number;
258
+ /**
259
+ * Contains the number of votes of the linked resource.
260
+ * @type number
261
+ * @see VoteCount
262
+ */
263
+ voteCount?: number;
264
264
  };
265
265
  export type LinkTitle = {
266
266
  onClick?: React.EventHandler<React.MouseEvent | React.KeyboardEvent>;
@@ -281,18 +281,18 @@ export type Media = {
281
281
  url: string;
282
282
  };
283
283
  export type FlexibleUiActions = {
284
- [ActionName.PreviewAction]?: PreviewActionData;
284
+ [ActionName.AutomationAction]?: AutomationActionData;
285
+ [ActionName.CopyLinkAction]?: CopyLinkActionData;
285
286
  [ActionName.DownloadAction]?: DownloadActionData;
286
287
  [ActionName.FollowAction]?: ServerActionProp<boolean>;
287
- [ActionName.CopyLinkAction]?: CopyLinkActionData;
288
+ [ActionName.PreviewAction]?: PreviewActionData;
288
289
  [InternalActionName.AISummaryAction]?: AISummaryActionData;
289
- [ActionName.AutomationAction]?: AutomationActionData;
290
290
  [InternalActionName.UnresolvedAction]?: UnresolvedActionData;
291
291
  [InternalActionName.ViewRelatedLinksAction]?: ViewRelatedLinksActionData;
292
292
  };
293
293
  export type PreviewActionData = {
294
- invokeAction: InvokeClientActionProps;
295
294
  hasPreviewPanel?: boolean;
295
+ invokeAction: InvokeClientActionProps;
296
296
  };
297
297
  export type DownloadActionData = {
298
298
  invokeAction: InvokeClientActionProps;
@@ -304,14 +304,14 @@ export type AISummaryActionData = {
304
304
  url: string;
305
305
  };
306
306
  export type AutomationActionData = {
307
- product: string;
308
- resourceType: string;
307
+ analyticsSource: string;
309
308
  baseAutomationUrl: string;
310
- objectAri: any;
311
- siteAri: any;
312
309
  canManageAutomation: boolean;
313
- analyticsSource: string;
310
+ objectAri: any;
314
311
  objectName?: string;
312
+ product: string;
313
+ resourceType: string;
314
+ siteAri: any;
315
315
  };
316
316
  export type UnresolvedActionData = RetryOptions;
317
317
  export type ViewRelatedLinksActionData = {
@@ -319,6 +319,6 @@ export type ViewRelatedLinksActionData = {
319
319
  };
320
320
  export type ServerActionProp<TValue> = {
321
321
  action: InvokeRequestWithCardDetails;
322
- value?: TValue;
323
322
  isProject?: boolean;
323
+ value?: TValue;
324
324
  };
@@ -1,50 +1,50 @@
1
1
  import type { EnvironmentsKeys, ProductType } from '@atlaskit/linking-common';
2
2
  export interface AISummaryServiceInt {
3
- summariseUrl: () => Promise<AISummaryState>;
4
3
  state: AISummaryState;
5
4
  subscribe: (stateSetter: StateSetter) => () => void;
5
+ summariseUrl: () => Promise<AISummaryState>;
6
6
  }
7
7
  export declare class ChunkProcessingError extends Error {
8
8
  constructor(error: any);
9
9
  }
10
10
  export type AISummaryServiceProps = {
11
- baseUrl?: string;
12
- onError?: (id: string, reason?: string) => void;
13
- onStart?: (id: string) => void;
14
- onSuccess?: (id: string) => void;
15
- product?: ProductType;
16
11
  /**
17
12
  * we should always include the ARI if possible
18
13
  */
19
14
  ari?: string;
15
+ baseUrl?: string;
20
16
  envKey?: EnvironmentsKeys;
21
17
  locale?: string;
18
+ onError?: (id: string, reason?: string) => void;
19
+ onStart?: (id: string) => void;
20
+ onSuccess?: (id: string) => void;
21
+ product?: ProductType;
22
22
  url: string;
23
23
  };
24
24
  export type AISummaryServiceConfig = {
25
- requestUrl: string;
26
25
  headers: Record<string, string>;
26
+ requestUrl: string;
27
27
  };
28
28
  export type AISummaryStatus = 'ready' | 'loading' | 'error' | 'done';
29
29
  export type PostAgentPayload = {
30
+ agent_input_context: AgentInputContext;
31
+ ai_feature_input?: FeatureInputContext;
30
32
  /**
31
33
  * Which agent in `assistance_service` to use.
32
34
  */
33
35
  recipient_agent_named_id: 'smartlink_summary_agent';
34
- agent_input_context: AgentInputContext;
35
36
  user_intent?: string;
36
- ai_feature_input?: FeatureInputContext;
37
37
  };
38
38
  export type AgentInputContext = {
39
- content_url: string;
40
39
  content_ari?: string;
40
+ content_url: string;
41
+ locale?: string;
41
42
  prompt_id: PromptId;
42
43
  summary_output_mimetype?: SummaryOutputMimeType;
43
- locale?: string;
44
44
  };
45
45
  export type FeatureInputContext = {
46
- content_url: string;
47
46
  content_ari?: string;
47
+ content_url: string;
48
48
  locale?: string;
49
49
  };
50
50
  export type PromptId = 'smart_links';
@@ -65,62 +65,62 @@ export declare const errorMessages: readonly [
65
65
  export type ErrorMessage = (typeof errorMessages)[number];
66
66
  export type AISummaryState = {
67
67
  content: string;
68
- status: AISummaryStatus;
69
68
  error?: string;
69
+ status: AISummaryStatus;
70
70
  };
71
71
  export type StateSetter = (state: AISummaryState) => any;
72
72
  export type StreamMessage = StreamTrace | StreamAnswerPart | StreamResponse | StreamError;
73
73
  export type StreamResponse = {
74
- type: 'FINAL_RESPONSE';
75
74
  message: {
76
- message: Message;
77
75
  content: string;
76
+ message: Message;
78
77
  };
79
- millisOffset?: number;
80
78
  metadata?: {
81
79
  request_id?: string;
82
80
  };
81
+ millisOffset?: number;
82
+ type: 'FINAL_RESPONSE';
83
83
  };
84
84
  export type StreamError = {
85
- type: 'ERROR';
86
85
  message: {
87
86
  content: string;
88
- status_code?: number;
89
87
  message_template?: ErrorMessage;
88
+ status_code?: number;
90
89
  };
91
- millisOffset: number;
92
90
  metadata: null | {
93
91
  error_message?: string;
94
92
  request_id?: string;
95
93
  timeout?: number;
96
94
  };
95
+ millisOffset: number;
96
+ type: 'ERROR';
97
97
  };
98
98
  export type StreamAnswerPart = {
99
- type: 'ANSWER_PART';
100
99
  message: {
101
100
  content: string;
102
101
  role: 'ASSISTANT';
103
102
  };
104
- millisOffset: number;
105
103
  metadata?: {
106
- run_id?: string;
107
104
  request_id?: string;
105
+ run_id?: string;
108
106
  };
107
+ millisOffset: number;
108
+ type: 'ANSWER_PART';
109
109
  };
110
110
  export type StreamTrace = {
111
- type: 'TRACE';
112
111
  message: {
113
- message_template: string;
114
112
  content: string;
113
+ message_template: string;
115
114
  user_query: string;
116
115
  };
117
- millisOffset: number;
118
116
  metadata?: {
119
- run_id: string;
120
- request_id: string;
121
- plugin_name?: string;
122
117
  plugin_input?: string;
118
+ plugin_name?: string;
119
+ request_id: string;
120
+ run_id: string;
123
121
  };
122
+ millisOffset: number;
123
+ type: 'TRACE';
124
124
  };
125
125
  export type Usage = {
126
126
  model_usage: {
@@ -129,12 +129,12 @@ export type Usage = {
129
129
  total: ModelUsage;
130
130
  };
131
131
  export type ModelUsage = {
132
- total_tokens: number;
133
- prompt_tokens: number;
134
132
  completion_tokens: number;
133
+ duration: number;
134
+ prompt_tokens: number;
135
135
  request_count: number;
136
136
  total_cost: number;
137
- duration: number;
137
+ total_tokens: number;
138
138
  };
139
139
  export type Metadata = {
140
140
  bm25Variant?: string;
@@ -158,32 +158,32 @@ export type Message = {
158
158
  content_mime_type: ContentType;
159
159
  conversation_channel_id?: string;
160
160
  experience_id: ExperienceId;
161
+ id: number;
161
162
  message_metadata?: Metadata;
162
163
  plugin_invocations: PluginInvocationMessage[];
163
164
  role: Role;
164
- id: number;
165
+ sources?: Sources;
165
166
  time_created: string;
166
167
  user_ari: string;
167
- sources?: Sources;
168
168
  };
169
169
  export type ContentType = 'text/markdown';
170
170
  export type ExperienceId = 'ai-mate' | 'smart-link';
171
171
  export type Role = 'ASSISTANT';
172
172
  export type Appendices = Array<Appendix>;
173
173
  export type Appendix = {
174
- type: 'requestForm' | 'helpDesk';
175
- content: string;
176
174
  appendix_sources?: Sources;
175
+ content: string;
176
+ type: 'requestForm' | 'helpDesk';
177
177
  };
178
178
  export type Sources = Array<Source>;
179
179
  export type Source = {
180
180
  ari: string;
181
+ id: number;
182
+ lastModified: string;
183
+ message_id: number;
181
184
  title: string;
182
185
  type: string;
183
186
  url: string;
184
- lastModified: string;
185
- message_id: number;
186
- id: number;
187
187
  };
188
188
  export type PluginInvocation = {
189
189
  id: number | null;
@@ -2,6 +2,6 @@ import { type EnvironmentsKeys, type ProductType } from '@atlaskit/linking-commo
2
2
  export type AISummaryConfig = {
3
3
  baseUrl?: string;
4
4
  envKey?: EnvironmentsKeys;
5
- product?: ProductType;
6
5
  isAdminHubAIEnabled?: boolean;
6
+ product?: ProductType;
7
7
  };
@@ -42,7 +42,7 @@ export type InvokeRequestWithCardDetails = InvokeRequest & {
42
42
  */
43
43
  export type InvokeActions = {
44
44
  create?: InvokeRequest;
45
+ delete?: InvokeRequest;
45
46
  read?: InvokeRequest;
46
47
  update?: InvokeRequestWithCardDetails;
47
- delete?: InvokeRequest;
48
48
  };
@@ -14,9 +14,9 @@ export declare function useSmartLink(id: string, url: string): {
14
14
  ari: string;
15
15
  }) => boolean) | undefined;
16
16
  openPreviewPanel: ((props: {
17
- url: string;
18
17
  ari: string;
19
- name: string;
20
18
  iconUrl: string | undefined;
19
+ name: string;
20
+ url: string;
21
21
  }) => void) | undefined;
22
22
  };