@webitel/ui-sdk 26.8.21 → 26.8.23

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 (387) hide show
  1. package/dist/{clients-Ba7VhTMH.js → clients-Cgrz-ee-.js} +707 -22
  2. package/dist/{components-ABAwRPPa.js → components-Q-Lkl5tb.js} +882 -846
  3. package/dist/{composables-C_OatTQJ.js → composables-BtWSAI5D.js} +14 -12
  4. package/dist/ui-sdk.css +1 -1
  5. package/dist/ui-sdk.js +51 -50
  6. package/dist/ui-sdk.umd.cjs +695 -594
  7. package/dist/useEventBus-B-ZeklLu.js +5 -0
  8. package/dist/{useValidation-DgSm80YX.js → useValidation-C_F39G5j.js} +5 -5
  9. package/dist/{useVidstackSrc-B4mUti_c.js → useVidstackSrc-aQcqC_v0.js} +5 -5
  10. package/dist/{vidstack-C6nBVWwn-cKiWT0KJ.js → vidstack-C6nBVWwn-DNsvM1pU.js} +2 -2
  11. package/dist/{vidstack-CI5oafcm-DfWpvayJ.js → vidstack-CI5oafcm-EXmYmdjq.js} +1 -1
  12. package/dist/{vidstack-DUnfBERX2-BJtKHFxc.js → vidstack-DUnfBERX2-jgzDS0Hg.js} +1 -1
  13. package/dist/{vidstack-audio-BCPraiiR.js → vidstack-audio-CPO0A50Q.js} +1 -1
  14. package/dist/{vidstack-dash-MBx5aEEA.js → vidstack-dash-DHt7tTPh.js} +2 -2
  15. package/dist/{vidstack-hls-BbZsbfaO.js → vidstack-hls-WW1jeu5R.js} +2 -2
  16. package/dist/vidstack-video-Bwash4bY.js +2 -0
  17. package/dist/vue-router-Dwey8MMv.js +16 -0
  18. package/dist/{wt-button-G2Q1uf_y.js → wt-button-OZTROX1W.js} +3 -3
  19. package/dist/{wt-chat-emoji-DM6G80G_.js → wt-chat-emoji-CiL3CTCQ.js} +3 -3
  20. package/dist/{wt-datepicker-DTUMTWJK.js → wt-datepicker-BwjMwR9-.js} +38 -34
  21. package/dist/{wt-display-chip-items-3GRXkRfT.js → wt-display-chip-items-DXfs6aQp.js} +2 -2
  22. package/dist/{wt-dual-panel-Dhj8Eg_y.js → wt-dual-panel-BEGLGU7F.js} +1 -1
  23. package/dist/{wt-expansion-card-BzhcCehz.js → wt-expansion-card-CpmnVJ03.js} +1 -1
  24. package/dist/{wt-galleria-qPHnXPx7.js → wt-galleria-CgY38PPx.js} +3 -6
  25. package/dist/{wt-icon-btn-BJl5VlM9.js → wt-icon-btn-hAWVJdNG.js} +2 -2
  26. package/dist/{wt-navigation-menu-CenQi_-T.js → wt-navigation-menu-BMupOW07.js} +2 -2
  27. package/dist/{wt-notifications-bar-C7cK0wEL.js → wt-notifications-bar-CqVk9cm7.js} +1 -1
  28. package/dist/{wt-player-Ca2x4geU.js → wt-player-vsOVUgi7.js} +17 -15
  29. package/dist/{wt-screen-recordings-action-Dzzo0eqW.js → wt-screen-recordings-action-Dj6ITuhE.js} +1 -1
  30. package/dist/{wt-search-bar-DtJL-csc.js → wt-search-bar-DaBSWvlP.js} +3 -3
  31. package/dist/wt-send-message-popup-BvnTPEeX.js +1208 -0
  32. package/dist/wt-start-page-BFQExFUj.js +73 -0
  33. package/dist/{wt-status-select-D1hAjCAS.js → wt-status-select-B-N9Fvz4.js} +2 -2
  34. package/dist/{wt-table-DJ3yOWZV.js → wt-table-C4PZJ3rP.js} +49 -47
  35. package/dist/{wt-table-column-select-CgEh5BAF.js → wt-table-column-select-D4c56HPB.js} +2 -2
  36. package/dist/{wt-time-input-u5Ay5_X5.js → wt-time-input-BEBrSugB.js} +9 -2
  37. package/dist/{wt-timepicker-CB8HzUZw.js → wt-timepicker-CS5S9HHJ.js} +11 -4
  38. package/dist/{wt-toast-BbaZZWKt.js → wt-toast-Cb15-PN4.js} +1 -1
  39. package/dist/{wt-tree-DZ9ErOGj.js → wt-tree-CMIpbXBo.js} +40 -40
  40. package/dist/{wt-tree-table-C0ZIJXcv.js → wt-tree-table-CVvWMduu.js} +7 -7
  41. package/dist/{wt-type-extension-value-input-kzX2hJY_.js → wt-type-extension-value-input-bsEXPInV.js} +14 -9
  42. package/dist/{wt-vidstack-player-DbRHboYo.js → wt-vidstack-player-BymuGcAX.js} +46 -42
  43. package/package.json +4 -1
  44. package/src/api/clients/_shared/types.ts +30 -0
  45. package/src/api/clients/caseSources/caseSources.ts +17 -8
  46. package/src/api/clients/quickReplies/quickReplies.ts +17 -8
  47. package/src/api/clients/roles/roles.ts +21 -12
  48. package/src/api/clients/wtTypes/sysTypes/sysTypes.ts +16 -4
  49. package/src/api/clients/wtTypes/typeExtensions/typeExtensions.ts +27 -9
  50. package/src/api/websocket/WebSocketClientController.ts +13 -5
  51. package/src/api/websocket/{config.js → config.ts} +5 -3
  52. package/src/api/websocket/websocketErrorEventHandler.ts +1 -1
  53. package/src/components/_internals/composables/useExpansion/useExpansion.ts +6 -1
  54. package/src/components/_internals/composables/useGalleriaMaskClick/useGalleriaMaskClick.ts +5 -3
  55. package/src/components/_internals/composables/useInputControl/useInputControl.ts +5 -3
  56. package/src/components/_internals/composables/useSelect/types.ts +69 -0
  57. package/src/components/_internals/composables/useSelect/useSelect.ts +4 -2
  58. package/src/components/_internals/composables/useSelect/useSelectCustomValues.ts +3 -2
  59. package/src/components/_internals/composables/useSelect/useSelectDropdown.ts +4 -3
  60. package/src/components/_internals/composables/useSelect/useSelectOptions.ts +20 -14
  61. package/src/components/_internals/composables/useSelect/useSelectUtils.ts +20 -7
  62. package/src/components/_internals/composables/useTableColumnDrag/useTableColumnDrag.ts +22 -12
  63. package/src/components/_internals/composables/useWtTable/useWtTable.ts +6 -2
  64. package/src/components/_internals/types/PrimevueInstance.ts +15 -0
  65. package/src/components/_shared/settings-panel/components/speed-settings/speed-settings.vue +6 -1
  66. package/src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue +6 -1
  67. package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue +0 -2
  68. package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue +0 -2
  69. package/src/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue +12 -4
  70. package/src/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue +17 -7
  71. package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +36 -15
  72. package/src/components/on-demand/wt-upload-file-icon-btn/wt-upload-file-icon-btn.vue +1 -1
  73. package/src/components/wt-badge-new/wt-badge.vue +1 -1
  74. package/src/components/wt-button/wt-button.vue +5 -5
  75. package/src/components/wt-checkbox/wt-checkbox.vue +4 -2
  76. package/src/components/wt-chip/wt-chip.vue +1 -1
  77. package/src/components/wt-datepicker/wt-datepicker.vue +30 -20
  78. package/src/components/wt-dual-panel/wt-dual-panel.vue +1 -1
  79. package/src/components/wt-galleria/wt-galleria.vue +1 -11
  80. package/src/components/wt-image/wt-image.vue +3 -3
  81. package/src/components/wt-input-number/wt-input-number.vue +8 -13
  82. package/src/components/wt-input-text/wt-input-text.vue +15 -17
  83. package/src/components/wt-intersection-observer/wt-intersection-observer.vue +1 -1
  84. package/src/components/wt-message/wt-message.vue +1 -1
  85. package/src/components/wt-multi-select/wt-multi-select.vue +22 -12
  86. package/src/components/wt-navigation-bar/types/WtNavigationBar.ts +3 -1
  87. package/src/components/wt-navigation-bar/wt-navigation-bar.vue +34 -18
  88. package/src/components/wt-password/wt-password.vue +12 -13
  89. package/src/components/wt-player/wt-player.vue +7 -2
  90. package/src/components/wt-popover/wt-popover.vue +5 -1
  91. package/src/components/wt-popup/wt-popup.vue +5 -1
  92. package/src/components/wt-radio/wt-radio.vue +1 -1
  93. package/src/components/wt-search-bar/wt-search-bar.vue +17 -10
  94. package/src/components/wt-single-select/wt-single-select.vue +19 -12
  95. package/src/components/wt-status-select/wt-status-select.vue +2 -2
  96. package/src/components/wt-table/types/WtTable.ts +11 -1
  97. package/src/components/wt-table/wt-table.vue +43 -24
  98. package/src/components/wt-table-column-select/wt-table-column-select.vue +3 -5
  99. package/src/components/wt-textarea/wt-textarea.vue +9 -15
  100. package/src/components/wt-time-input/wt-time-input.vue +7 -4
  101. package/src/components/wt-timepicker/wt-timepicker.vue +6 -3
  102. package/src/components/wt-toast/wt-toast.vue +2 -2
  103. package/src/components/wt-tree/wt-tree.vue +6 -5
  104. package/src/components/wt-tree-line/types/wt-tree-node.ts +6 -0
  105. package/src/components/wt-tree-line/wt-tree-line.vue +29 -15
  106. package/src/components/wt-tree-table/wt-tree-table.vue +16 -18
  107. package/src/components/wt-tree-table-row/wt-tree-table-row.vue +9 -4
  108. package/src/components/wt-vidstack-player/components/buttons/fullscreen-button.vue +2 -3
  109. package/src/components/wt-vidstack-player/components/buttons/play-button.vue +1 -5
  110. package/src/components/wt-vidstack-player/components/controls-group/controls-group.vue +2 -4
  111. package/src/components/wt-vidstack-player/components/layouts/video-layout.vue +2 -4
  112. package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/components/buttons/fullscreen-button.vue +0 -2
  113. package/src/components/wt-vidstack-player/components/panels/playback-controls-panel/components/buttons/play-button.vue +2 -4
  114. package/src/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue +4 -4
  115. package/src/components/wt-vidstack-player/components/panels/video-call-controls-panel/video-call-controls-panel.vue +3 -3
  116. package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +4 -4
  117. package/src/components/wt-vidstack-player/components/screenshot-box/screenshot-box.vue +1 -1
  118. package/src/components/wt-vidstack-player/composables/useVidstackPlayerSize.ts +11 -0
  119. package/src/components/wt-vidstack-player/composables/useVidstackSrc.ts +27 -6
  120. package/src/components/wt-vidstack-player/wt-vidstack-player.vue +7 -4
  121. package/src/enums/MessageColor/MessageColor.ts +1 -1
  122. package/src/enums/MessageVariant/MessageVariant.ts +2 -1
  123. package/src/install.ts +6 -2
  124. package/src/locale/en/en.js +3 -0
  125. package/src/locale/es/es.js +3 -0
  126. package/src/locale/kz/kz.js +3 -0
  127. package/src/locale/pl/pl.js +3 -0
  128. package/src/locale/ro/ro.js +3 -0
  129. package/src/locale/ru/ru.js +3 -0
  130. package/src/locale/uk/uk.js +3 -0
  131. package/src/locale/uz/uz.js +3 -0
  132. package/src/locale/vi/vi.js +3 -0
  133. package/src/mixins/validationMixin/regle/useRegleValidation.ts +2 -2
  134. package/src/mixins/validationMixin/useValidation.ts +1 -1
  135. package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +25 -8
  136. package/src/modules/CSVExport/CSVExport.js +1 -1
  137. package/src/modules/CallSession/modules/VideoCall/video-call.vue +34 -16
  138. package/src/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.js +1 -1
  139. package/src/modules/FilesExport/composables/useFilesExport.ts +1 -1
  140. package/src/modules/UploadCsvPopup/components/wt-upload-csv-popup.vue +2 -2
  141. package/src/modules/UploadCsvPopup/composable/useUploadCsv.ts +39 -12
  142. package/src/modules/UploadCsvPopup/scripts/normalizeCSVData.ts +20 -17
  143. package/src/modules/UploadCsvPopup/scripts/parseCSV.ts +2 -2
  144. package/src/modules/UploadCsvPopup/scripts/processFile.ts +2 -2
  145. package/src/modules/UploadCsvPopup/scripts/splitAndSaveData.ts +8 -2
  146. package/src/modules/UserNotifications/stores/userNotificationsStore.ts +9 -1
  147. package/src/modules/Userinfo/classes/ApplicationsAccess.ts +12 -6
  148. package/src/modules/Userinfo/mappings/mappings.ts +10 -3
  149. package/src/modules/Userinfo/scripts/utils.ts +8 -4
  150. package/src/modules/Userinfo/stores/accessStore.ts +16 -16
  151. package/src/modules/Userinfo/types/UserAccess.ts +1 -1
  152. package/src/plugins/breakpoint/breakpoint.plugin.ts +1 -1
  153. package/src/scripts/compareSize.ts +4 -4
  154. package/src/scripts/downloadFile/downloadFile.ts +1 -1
  155. package/src/scripts/normalizeDatetime.ts +2 -2
  156. package/src/utils/displayText.ts +1 -1
  157. package/types/.tsbuildinfo +1 -1
  158. package/types/api/clients/_shared/types.d.ts +23 -0
  159. package/types/api/clients/caseSources/caseSources.d.ts +7 -15
  160. package/types/api/clients/chatGateways/defaults/webChatGateway.d.ts +1 -1
  161. package/types/api/clients/gateways/defaults/trunkingGateway.d.ts +1 -1
  162. package/types/api/clients/quickReplies/quickReplies.d.ts +7 -15
  163. package/types/api/clients/roles/roles.d.ts +8 -16
  164. package/types/api/clients/wtTypes/sysTypes/sysTypes.d.ts +11 -12
  165. package/types/api/clients/wtTypes/typeExtensions/typeExtensions.d.ts +19 -18
  166. package/types/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.d.ts +1 -1
  167. package/types/api/defaults/getDefaultGetParams/getDefaultGetParams.d.ts +2 -2
  168. package/types/api/transformers/applyTransform.d.ts +2 -2
  169. package/types/api/websocket/WebSocketClientController.d.ts +10 -9
  170. package/types/api/websocket/config.d.ts +3 -2
  171. package/types/api/websocket/websocketErrorEventHandler.d.ts +5 -1
  172. package/types/assets/icons/iconsRepository.d.ts +1 -1
  173. package/types/components/_internals/composables/useExpansion/useExpansion.d.ts +6 -1
  174. package/types/components/_internals/composables/useGalleriaMaskClick/useGalleriaMaskClick.d.ts +2 -1
  175. package/types/components/_internals/composables/useInputControl/useInputControl.d.ts +4 -2
  176. package/types/components/_internals/composables/useSelect/types.d.ts +52 -0
  177. package/types/components/_internals/composables/useSelect/useSelect.d.ts +4 -18
  178. package/types/components/_internals/composables/useSelect/useSelectCustomValues.d.ts +2 -12
  179. package/types/components/_internals/composables/useSelect/useSelectDropdown.d.ts +2 -14
  180. package/types/components/_internals/composables/useSelect/useSelectOptions.d.ts +6 -14
  181. package/types/components/_internals/composables/useSelect/useSelectUtils.d.ts +5 -4
  182. package/types/components/_internals/composables/useTableColumnDrag/useTableColumnDrag.d.ts +3 -1
  183. package/types/components/_internals/composables/useWtTable/useWtTable.d.ts +3 -2
  184. package/types/components/_internals/types/PrimevueInstance.d.ts +14 -0
  185. package/types/components/_shared/settings-panel/components/speed-settings/speed-settings.vue.d.ts +2 -2
  186. package/types/components/_shared/settings-panel/settings-panel.vue.d.ts +1 -1
  187. package/types/components/on-demand/wt-call-media-action/wt-call-media-action.vue.d.ts +2 -2
  188. package/types/components/on-demand/wt-chat-emoji/wt-chat-emoji.vue.d.ts +1 -1
  189. package/types/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue.d.ts +6 -2
  190. package/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue.d.ts +6 -6
  191. package/types/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue.d.ts +2 -2
  192. package/types/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue.d.ts +2 -2
  193. package/types/components/on-demand/wt-route-transition/wt-route-transition.vue.d.ts +1 -1
  194. package/types/components/on-demand/wt-save-failed-popup/wt-save-failed-popup.vue.d.ts +3 -3
  195. package/types/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue.d.ts +10 -2
  196. package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +8 -8
  197. package/types/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue.d.ts +1 -1
  198. package/types/components/on-demand/wt-table-transition/wt-table-transition.vue.d.ts +1 -1
  199. package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +18 -11
  200. package/types/components/on-demand/wt-upload-file-icon-btn/wt-upload-file-icon-btn.vue.d.ts +3 -3
  201. package/types/components/transitions/cases/wt-replace-transition.vue.d.ts +1 -1
  202. package/types/components/transitions/wt-transition.vue.d.ts +1 -1
  203. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  204. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +64 -64
  205. package/types/components/wt-app-header/wt-app-header.vue.d.ts +1 -1
  206. package/types/components/wt-app-header/wt-header-actions.vue.d.ts +6 -9
  207. package/types/components/wt-badge/wt-badge.vue.d.ts +1 -1
  208. package/types/components/wt-badge-new/wt-badge.vue.d.ts +3 -3
  209. package/types/components/wt-breadcrumb/wt-breadcrumb.vue.d.ts +1 -1
  210. package/types/components/wt-button/wt-button.vue.d.ts +2 -2
  211. package/types/components/wt-button-select/wt-button-select.vue.d.ts +3 -3
  212. package/types/components/wt-call-media-metric/wt-call-media-metric.vue.d.ts +1 -1
  213. package/types/components/wt-checkbox/wt-checkbox.vue.d.ts +3 -3
  214. package/types/components/wt-chip/wt-chip.vue.d.ts +2 -2
  215. package/types/components/wt-confirm-dialog/wt-confirm-dialog.vue.d.ts +5 -5
  216. package/types/components/wt-context-menu/wt-context-menu.vue.d.ts +7 -7
  217. package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +20 -19
  218. package/types/components/wt-divider/wt-divider.vue.d.ts +1 -1
  219. package/types/components/wt-dual-panel/wt-dual-panel.vue.d.ts +5 -5
  220. package/types/components/wt-empty/wt-empty.vue.d.ts +38 -38
  221. package/types/components/wt-expansion-card/wt-expansion-card.vue.d.ts +3 -3
  222. package/types/components/wt-expansion-panel/wt-expansion-panel.vue.d.ts +3 -3
  223. package/types/components/wt-galleria/wt-galleria.vue.d.ts +2 -2
  224. package/types/components/wt-icon/wt-icon.vue.d.ts +1 -1
  225. package/types/components/wt-icon-action/wt-icon-action.vue.d.ts +4 -4
  226. package/types/components/wt-icon-btn/wt-icon-btn.vue.d.ts +3 -3
  227. package/types/components/wt-image/wt-image.vue.d.ts +2 -2
  228. package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +3 -3
  229. package/types/components/wt-input-number/wt-input-number.vue.d.ts +9 -9
  230. package/types/components/wt-input-text/wt-input-text.vue.d.ts +11 -9
  231. package/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +1 -1
  232. package/types/components/wt-item-link/wt-item-link.vue.d.ts +1 -1
  233. package/types/components/wt-label/mixins/labelUsageMixin.d.ts +1 -1
  234. package/types/components/wt-label/wt-label.vue.d.ts +1 -1
  235. package/types/components/wt-menubar/wt-menubar.vue.d.ts +1 -1
  236. package/types/components/wt-message/wt-message.vue.d.ts +1 -1
  237. package/types/components/wt-multi-select/wt-multi-select.vue.d.ts +19 -19
  238. package/types/components/wt-navigation-bar/types/WtNavigationBar.d.ts +2 -1
  239. package/types/components/wt-navigation-bar/wt-navigation-bar.vue.d.ts +22 -45
  240. package/types/components/wt-page-header/wt-page-header.vue.d.ts +4 -4
  241. package/types/components/wt-password/wt-password.vue.d.ts +11 -9
  242. package/types/components/wt-player/wt-player.vue.d.ts +6 -6
  243. package/types/components/wt-popover/wt-popover.vue.d.ts +13 -9
  244. package/types/components/wt-popup/wt-popup.vue.d.ts +8 -4
  245. package/types/components/wt-radio/wt-radio.vue.d.ts +2 -2
  246. package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +25 -18
  247. package/types/components/wt-single-select/wt-single-select.vue.d.ts +18 -15
  248. package/types/components/wt-slider/wt-slider.vue.d.ts +3 -3
  249. package/types/components/wt-status-select/wt-status-select.vue.d.ts +3 -3
  250. package/types/components/wt-stepper/wt-stepper.vue.d.ts +2 -2
  251. package/types/components/wt-switcher/wt-switcher.vue.d.ts +4 -4
  252. package/types/components/wt-table/types/WtTable.d.ts +7 -1
  253. package/types/components/wt-table/wt-table.vue.d.ts +12 -12
  254. package/types/components/wt-table-actions/wt-table-actions.vue.d.ts +2 -2
  255. package/types/components/wt-table-column-select/wt-table-column-select.vue.d.ts +1 -1
  256. package/types/components/wt-tabs/wt-tabs.vue.d.ts +3 -3
  257. package/types/components/wt-textarea/wt-textarea.vue.d.ts +9 -14
  258. package/types/components/wt-time-input/wt-time-input.vue.d.ts +9 -9
  259. package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +8 -8
  260. package/types/components/wt-tooltip/_internals/wt-tooltip-floating.vue.d.ts +5 -5
  261. package/types/components/wt-tooltip/wt-tooltip.vue.d.ts +7 -7
  262. package/types/components/wt-tree/wt-tree.vue.d.ts +5 -3
  263. package/types/components/wt-tree-line/types/wt-tree-node.d.ts +5 -0
  264. package/types/components/wt-tree-line/wt-tree-line.vue.d.ts +8 -18
  265. package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +2 -2
  266. package/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +3 -18
  267. package/types/components/wt-vidstack-player/components/buttons/fullscreen-button.vue.d.ts +1 -1
  268. package/types/components/wt-vidstack-player/components/layouts/video-layout.vue.d.ts +5 -5
  269. package/types/components/wt-vidstack-player/components/panels/playback-controls-panel/components/buttons/fullscreen-button.vue.d.ts +1 -1
  270. package/types/components/wt-vidstack-player/components/panels/playback-controls-panel/components/time-group.vue.d.ts +1 -1
  271. package/types/components/wt-vidstack-player/components/panels/playback-controls-panel/playback-controls-panel.vue.d.ts +1 -1
  272. package/types/components/wt-vidstack-player/components/panels/screen-sharing-controls-panel/screen-sharing-controls-panel.vue.d.ts +3 -3
  273. package/types/components/wt-vidstack-player/components/panels/video-call-controls-panel/video-call-controls-panel.vue.d.ts +14 -14
  274. package/types/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue.d.ts +2 -2
  275. package/types/components/wt-vidstack-player/components/screenshot-box/screenshot-box.vue.d.ts +2 -2
  276. package/types/components/wt-vidstack-player/components/toggle-button.vue.d.ts +1 -1
  277. package/types/components/wt-vidstack-player/composables/useVidstackPlayerSize.d.ts +2 -0
  278. package/types/components/wt-vidstack-player/composables/useVidstackSrc.d.ts +11 -4
  279. package/types/components/wt-vidstack-player/wt-vidstack-player.vue.d.ts +8 -7
  280. package/types/composables/useCachedInterval/useCachedInterval.d.ts +1 -1
  281. package/types/composables/useCachedItemInstanceName/useCachedItemInstanceName.d.ts +1 -1
  282. package/types/composables/useCard/useCardTabs.d.ts +1 -1
  283. package/types/composables/useClose/useClose.d.ts +1 -1
  284. package/types/enums/MessageColor/MessageColor.d.ts +1 -1
  285. package/types/enums/MessageVariant/MessageVariant.d.ts +1 -1
  286. package/types/locale/en/en.d.ts +4 -2
  287. package/types/locale/es/es.d.ts +4 -2
  288. package/types/locale/i18n.d.ts +36 -18
  289. package/types/locale/index.d.ts +36 -18
  290. package/types/locale/kz/kz.d.ts +4 -2
  291. package/types/locale/pl/pl.d.ts +4 -2
  292. package/types/locale/ro/ro.d.ts +4 -2
  293. package/types/locale/ru/ru.d.ts +4 -2
  294. package/types/locale/uk/uk.d.ts +4 -2
  295. package/types/locale/uz/uz.d.ts +4 -2
  296. package/types/locale/vi/vi.d.ts +4 -2
  297. package/types/mixins/dataFilterMixins/_urlControllerMixin/_urlControllerMixin.d.ts +1 -1
  298. package/types/mixins/dataFilterMixins/apiFilterMixin.d.ts +3 -3
  299. package/types/mixins/dataFilterMixins/baseFilterMixin/baseFilterMixin.d.ts +1 -1
  300. package/types/mixins/dataFilterMixins/enumFilterMixin.d.ts +4 -4
  301. package/types/mixins/dataFilterMixins/paginationFilterMixin.d.ts +2 -2
  302. package/types/mixins/dataFilterMixins/sortFilterMixin.d.ts +1 -1
  303. package/types/mixins/validationMixin/regle/useRegleValidation.d.ts +1 -1
  304. package/types/mixins/validationMixin/useValidation.d.ts +2 -2
  305. package/types/mixins/validationMixin/validationMixin.d.ts +1 -1
  306. package/types/mixins/validationMixin/vuelidate/useVuelidateValidation.d.ts +9 -5
  307. package/types/modules/AgentPdfs/components/agent-pdfs-tab.vue.d.ts +1 -1
  308. package/types/modules/AgentPdfs/components/pdf-status-preview.vue.d.ts +1 -1
  309. package/types/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue.d.ts +4 -4
  310. package/types/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue.d.ts +1 -1
  311. package/types/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue.d.ts +1 -1
  312. package/types/modules/Appearance/components/wt-dark-mode-switcher.vue.d.ts +1 -1
  313. package/types/modules/Appearance/pinia/store/AppearanceStore.d.ts +3 -3
  314. package/types/modules/Appearance/store/AppearanceStoreModule.d.ts +1 -1
  315. package/types/modules/AuditForm/components/audit-form-question-read-wrapper.vue.d.ts +3 -3
  316. package/types/modules/AuditForm/components/audit-form-question-write-wrapper.vue.d.ts +2 -2
  317. package/types/modules/AuditForm/components/audit-form-question.vue.d.ts +7 -7
  318. package/types/modules/AuditForm/components/audit-form.vue.d.ts +6 -6
  319. package/types/modules/AuditForm/components/form/form-footer/audit-form-footer.vue.d.ts +3 -3
  320. package/types/modules/AuditForm/components/form-questions/options/audit-form-question-options-write-row.vue.d.ts +2 -2
  321. package/types/modules/AuditForm/components/form-questions/options/audit-form-question-options.vue.d.ts +4 -4
  322. package/types/modules/AuditForm/components/form-questions/score/audit-form-question-score.vue.d.ts +6 -6
  323. package/types/modules/AuditForm/components/form-questions/yes/audit-form-question-yes.vue.d.ts +2 -2
  324. package/types/modules/CSVExport/CSVExport.d.ts +3 -6
  325. package/types/modules/CSVExport/XLSExport.d.ts +1 -1
  326. package/types/modules/CSVExport/composables/useCSVExport.d.ts +6 -6
  327. package/types/modules/CSVExport/mixins/exportCSVMixin.d.ts +1 -1
  328. package/types/modules/CSVExport/mixins/exportXLSMixin.d.ts +1 -1
  329. package/types/modules/CallSession/modules/ScreenSharing/screen-sharing.vue.d.ts +3 -3
  330. package/types/modules/CallSession/modules/VideoCall/composables/useReceiverLiveStream.d.ts +6 -6
  331. package/types/modules/CallSession/modules/VideoCall/video-call.vue.d.ts +17 -17
  332. package/types/modules/CardStoreModule/store/CardStoreModule.d.ts +1 -1
  333. package/types/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue.d.ts +2 -2
  334. package/types/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.d.ts +1 -1
  335. package/types/modules/Filters/classes/BaseFilterSchema.d.ts +7 -7
  336. package/types/modules/Filters/components/filter-search.vue.d.ts +2 -2
  337. package/types/modules/Filters/components/filter-table-fields.vue.d.ts +3 -3
  338. package/types/modules/Filters/scripts/getters/localStorageGetter.d.ts +1 -1
  339. package/types/modules/Filters/store/FiltersStoreModule.d.ts +1 -1
  340. package/types/modules/Notifications/assets/audio/triggerSound.d.ts +1 -1
  341. package/types/modules/Notifications/store/NotificationsStoreModule.d.ts +9 -9
  342. package/types/modules/ObjectPermissions/components/_internal/permissions-role-row.vue.d.ts +1 -1
  343. package/types/modules/ObjectPermissions/components/_internal/permissions-role-select.vue.d.ts +1 -1
  344. package/types/modules/ObjectPermissions/components/_internal/permissions-tab-content.vue.d.ts +5 -5
  345. package/types/modules/ObjectPermissions/components/_internal/permissions-tab-role-popup.vue.d.ts +2 -2
  346. package/types/modules/ObjectPermissions/headers/headers.d.ts +1 -1
  347. package/types/modules/ObjectPermissions/store/objectPermissionsStoreModule.d.ts +2 -2
  348. package/types/modules/QueryFilters/classes/BaseFilterSchema.d.ts +2 -2
  349. package/types/modules/QueryFilters/components/abstract-api-filter.vue.d.ts +1 -1
  350. package/types/modules/QueryFilters/components/abstract-enum-filter.vue.d.ts +1 -1
  351. package/types/modules/QueryFilters/components/filter-datetime.vue.d.ts +1 -1
  352. package/types/modules/QueryFilters/components/filter-from-to.vue.d.ts +1 -1
  353. package/types/modules/QueryFilters/components/filter-search.vue.d.ts +1 -1
  354. package/types/modules/QueryFilters/components/filter-table-fields.vue.d.ts +3 -3
  355. package/types/modules/QueryFilters/mixins/_urlControllerMixin/_urlControllerMixin.d.ts +1 -1
  356. package/types/modules/QueryFilters/mixins/apiFilterMixin.d.ts +1 -1
  357. package/types/modules/QueryFilters/mixins/baseFilterMixin/baseFilterMixin.d.ts +1 -1
  358. package/types/modules/QueryFilters/mixins/enumFilterMixin.d.ts +1 -1
  359. package/types/modules/QueryFilters/mixins/paginationFilterMixin.d.ts +2 -2
  360. package/types/modules/QueryFilters/mixins/sortFilterMixin.d.ts +1 -1
  361. package/types/modules/QueryFilters/store/QueryFiltersStoreModule.d.ts +4 -4
  362. package/types/modules/TableComponentModule/composables/useTableEmpty.d.ts +7 -7
  363. package/types/modules/TableStoreModule/store/TableStoreModule.d.ts +5 -5
  364. package/types/modules/UploadCsvPopup/components/wt-upload-csv-popup.vue.d.ts +5 -5
  365. package/types/modules/UploadCsvPopup/composable/useUploadCsv.d.ts +21 -11
  366. package/types/modules/UploadCsvPopup/scripts/normalizeCSVData.d.ts +15 -20
  367. package/types/modules/UploadCsvPopup/scripts/parseCSV.d.ts +2 -1
  368. package/types/modules/UploadCsvPopup/scripts/processFile.d.ts +2 -2
  369. package/types/modules/UploadCsvPopup/scripts/splitAndSaveData.d.ts +3 -3
  370. package/types/modules/Userinfo/classes/ApplicationsAccess.d.ts +2 -10
  371. package/types/modules/Userinfo/mappings/mappings.d.ts +12 -24
  372. package/types/modules/Userinfo/scripts/utils.d.ts +2 -2
  373. package/types/modules/Userinfo/stores/settingsStore.d.ts +4 -4
  374. package/types/modules/Userinfo/stores/userinfoStore.d.ts +3 -3
  375. package/types/modules/Userinfo/types/UserAccess.d.ts +1 -1
  376. package/types/scripts/compareSize.d.ts +4 -4
  377. package/types/scripts/debounce.d.ts +1 -1
  378. package/types/scripts/sortQueryAdapters.d.ts +3 -3
  379. package/types/store/BaseStoreModules/BaseStoreModule.d.ts +6 -6
  380. package/types/store/new/modules/apiStoreModule/apiStoreModule.d.ts +12 -12
  381. package/types/store/new/modules/tableStoreModule/tableStoreModule.d.ts +4 -4
  382. package/types/utils/displayText.d.ts +1 -1
  383. package/types/validations/config/errors/customZodErrorsHandler.d.ts +1 -1
  384. package/dist/vidstack-video-DwlbGwN7.js +0 -2
  385. package/dist/wt-send-message-popup-MbV1uq6H.js +0 -77
  386. package/dist/wt-start-page-DMXRhA9E.js +0 -86
  387. package/dist/{wt-popover-ChCN6b1o.js → wt-popover-lP-AhF8l.js} +3 -3
@@ -1074,7 +1074,10 @@ var se = class {
1074
1074
  })))(), 1), J = (...e) => (t) => le.default.all([...e, t]), ue = (...e) => (t) => t.map((t) => le.default.all([...e, t])), de = {
1075
1075
  eventBus: null,
1076
1076
  i18n: null
1077
- }, Y = (e) => {
1077
+ };
1078
+ //#endregion
1079
+ //#region packages/api-services/src/api/transformers/notify/notify.transformer.ts
1080
+ function Y(e) {
1078
1081
  if (typeof e == "function") {
1079
1082
  let t = ({ type: e, text: t }) => de.eventBus?.$emit("notification", {
1080
1083
  type: e,
@@ -1090,7 +1093,10 @@ var se = class {
1090
1093
  });
1091
1094
  }
1092
1095
  return e;
1093
- }, X = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), Z = (e = []) => (t) => o(t, e), fe = /* @__PURE__ */ e(u(), 1), Q = (e = "search") => (t) => {
1096
+ }
1097
+ //#endregion
1098
+ //#region packages/api-services/src/api/transformers/sanitize/sanitize.transformer.ts
1099
+ var X = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), Z = (e = []) => (t) => o(t, e), fe = /* @__PURE__ */ e(u(), 1), Q = (e = "search") => (t) => {
1094
1100
  let n = (0, fe.default)(t), r = d(n, e);
1095
1101
  return !r || r.slice(-1) === "*" ? n : f(n, e, `${r}*`);
1096
1102
  }, pe = "acl", me = (e) => e.map((e) => ({
@@ -22869,9 +22875,23 @@ m.array(Ae), m.object({
22869
22875
  from: m.string().optional(),
22870
22876
  to: m.string().optional()
22871
22877
  }).optional(),
22878
+ q: m.string().optional(),
22872
22879
  stopCause: m.array(m.string()).optional(),
22873
22880
  variables: m.record(m.string(), m.string()).optional()
22874
- }), m.object({ count: m.string().optional() }), m.object({
22881
+ }), m.object({ count: m.string().optional() }), m.object({ queue_id: m.string().describe("Identifier of the queue.") }), m.object({
22882
+ ids: m.array(m.string()).optional().describe("Filter by specific queue member identifiers."),
22883
+ bucketId: m.array(m.string()).optional().describe("Filter by bucket identifiers."),
22884
+ stopCause: m.array(m.string()).optional().describe("Filter by stop causes."),
22885
+ agentId: m.array(m.number()).optional().describe("Filter by assigned agent identifiers."),
22886
+ numbers: m.array(m.string()).optional().describe("Filter by member phone numbers."),
22887
+ variablesString: m.string().optional().describe("This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18"),
22888
+ id: m.array(m.string()).optional().describe("Filter by related entity identifiers."),
22889
+ "createdAt.from": m.string().optional(),
22890
+ "createdAt.to": m.string().optional(),
22891
+ "priority.from": m.string().optional(),
22892
+ "priority.to": m.string().optional(),
22893
+ q: m.string().optional().describe("Search pattern used to filter queue members.\nThe value is matched against the member name\nand against the member's searchable destination values.")
22894
+ }), m.object({ count: m.string().optional().describe("Total number of matching queue members.") }).describe("ResetMembersCountResponse contains the total number\nof queue members matching the specified criteria."), m.object({
22875
22895
  queue_id: m.string(),
22876
22896
  id: m.string()
22877
22897
  }), m.object({
@@ -23359,6 +23379,7 @@ m.object({
23359
23379
  "date.since": m.string().optional().describe("Since epochtime (milli).\n**Match**: greater than .."),
23360
23380
  "date.until": m.string().optional().describe("Until epochtime (milli).\n**Match**: less or equal .."),
23361
23381
  online: m.boolean().optional().describe("Dialogs ONLY that are currently [not] active( closed: ? )."),
23382
+ rated: m.boolean().optional().describe("Dialogs ONLY that have [not] been rated."),
23362
23383
  groupString: m.string().optional().describe("Includes ONLY those chat dialogs\nwhose member channel(s) contain\na specified set of variables.\n\n10")
23363
23384
  }), m.object({
23364
23385
  data: m.array(m.object({
@@ -23498,6 +23519,7 @@ m.object({
23498
23519
  name: m.string().optional().describe("Contact display **name**."),
23499
23520
  type: m.string().optional().describe("Contact **type** provider.")
23500
23521
  }).optional().describe("Peer contact."),
23522
+ rateId: m.string().optional().describe("Zero value means - NOT rated yet."),
23501
23523
  started: m.string().optional().describe("Timestamp when dialog started."),
23502
23524
  title: m.string().optional().describe("Title of the dialog."),
23503
23525
  via: m.object({
@@ -24871,7 +24893,14 @@ m.object({
24871
24893
  "FAILED"
24872
24894
  ]).default("EXPORT_STATUS_UNSPECIFIED").describe("Current lifecycle status of the task."),
24873
24895
  taskId: m.string().optional().describe("Unique ID to track the background task.")
24874
- }).describe("Metadata about an export task immediately after creation."), m.object({ call_id: m.string() }), m.object({
24896
+ }).describe("Metadata about an export task immediately after creation."), m.object({ call_id: m.string().describe("Unique identifier of the call.") }), m.object({ fileIds: m.array(m.string()).optional().describe("IDs of already-uploaded files (e.g. PDFs) to bundle into one ZIP archive.") }), m.object({
24897
+ error: m.object({
24898
+ code: m.number().optional(),
24899
+ details: m.array(m.object({ "@type": m.string().optional() })).optional(),
24900
+ message: m.string().optional()
24901
+ }).optional(),
24902
+ result: m.object({ data: m.string().optional() }).optional()
24903
+ }), m.object({ call_id: m.string() }), m.object({
24875
24904
  page: m.number().optional().describe("Page number (1-based)."),
24876
24905
  size: m.number().optional().describe("Number of items per page."),
24877
24906
  sort: m.string().optional().describe("sorting criteria, e.g. \"+created_at\" or \"-name\"")
@@ -28967,7 +28996,149 @@ m.array(Ie), m.object({
28967
28996
  id: m.string().optional(),
28968
28997
  name: m.string().optional()
28969
28998
  }).optional()
28970
- }).optional() }), m.object({
28999
+ }).optional() }), m.object({ ids: m.array(m.string()).optional().describe("Identifiers of skill presets to delete.") }), m.object({ items: m.array(m.object({
29000
+ createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
29001
+ createdBy: m.object({
29002
+ id: m.string().optional(),
29003
+ name: m.string().optional()
29004
+ }).optional().describe("User who created the preset."),
29005
+ description: m.string().optional().describe("Optional preset description."),
29006
+ id: m.string().optional().describe("Unique preset identifier."),
29007
+ name: m.string().optional().describe("Display name of the preset."),
29008
+ skills: m.array(m.object({
29009
+ id: m.string().optional(),
29010
+ name: m.string().optional()
29011
+ })).optional().describe("Skills included in the preset."),
29012
+ updatedAt: m.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
29013
+ updatedBy: m.object({
29014
+ id: m.string().optional(),
29015
+ name: m.string().optional()
29016
+ }).optional().describe("User who last updated the preset.")
29017
+ }).describe("SkillPreset represents a reusable collection\nof skills that can be assigned within the Call Center.")).optional().describe("Deleted skill presets.") }).describe("Response containing deleted skill presets."), m.object({
29018
+ page: m.number().optional().describe("Page number (1-based)."),
29019
+ size: m.number().optional().describe("Maximum number of items per page."),
29020
+ q: m.string().optional().describe("Search pattern applied to preset names."),
29021
+ sort: m.string().optional().describe("Sort expression.\nExample: \"-name\", \"+created_at\"."),
29022
+ fields: m.array(m.string()).optional().describe("List of fields to include in the response."),
29023
+ ids: m.array(m.string()).optional().describe("Filter by preset identifiers."),
29024
+ skillIds: m.array(m.string()).optional().describe("Filter by associated skill identifiers."),
29025
+ skipDefault: m.boolean().optional().describe("Skip the default preset in the search results.")
29026
+ }), m.object({
29027
+ items: m.array(m.object({
29028
+ createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
29029
+ createdBy: m.object({
29030
+ id: m.string().optional(),
29031
+ name: m.string().optional()
29032
+ }).optional().describe("User who created the preset."),
29033
+ description: m.string().optional().describe("Optional preset description."),
29034
+ id: m.string().optional().describe("Unique preset identifier."),
29035
+ name: m.string().optional().describe("Display name of the preset."),
29036
+ skills: m.array(m.object({
29037
+ id: m.string().optional(),
29038
+ name: m.string().optional()
29039
+ })).optional().describe("Skills included in the preset."),
29040
+ updatedAt: m.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
29041
+ updatedBy: m.object({
29042
+ id: m.string().optional(),
29043
+ name: m.string().optional()
29044
+ }).optional().describe("User who last updated the preset.")
29045
+ }).describe("SkillPreset represents a reusable collection\nof skills that can be assigned within the Call Center.")).optional().describe("Matching skill presets."),
29046
+ next: m.boolean().optional().describe("Indicates whether another page of results exists.")
29047
+ }).describe("Search results for skill presets."), m.object({
29048
+ description: m.string().optional().describe("Optional description."),
29049
+ name: m.string().optional().describe("Display name of the preset."),
29050
+ skills: m.array(m.object({
29051
+ id: m.string().optional(),
29052
+ name: m.string().optional()
29053
+ })).optional().describe("Skills included in the preset.")
29054
+ }).describe("Request for creating a skill preset."), m.object({ item: m.object({
29055
+ createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
29056
+ createdBy: m.object({
29057
+ id: m.string().optional(),
29058
+ name: m.string().optional()
29059
+ }).optional().describe("User who created the preset."),
29060
+ description: m.string().optional().describe("Optional preset description."),
29061
+ id: m.string().optional().describe("Unique preset identifier."),
29062
+ name: m.string().optional().describe("Display name of the preset."),
29063
+ skills: m.array(m.object({
29064
+ id: m.string().optional(),
29065
+ name: m.string().optional()
29066
+ })).optional().describe("Skills included in the preset."),
29067
+ updatedAt: m.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
29068
+ updatedBy: m.object({
29069
+ id: m.string().optional(),
29070
+ name: m.string().optional()
29071
+ }).optional().describe("User who last updated the preset.")
29072
+ }).optional().describe("Created skill preset.") }).describe("Response containing the created skill preset."), m.object({ id: m.string().describe("Skill preset identifier.") }), m.object({ item: m.object({
29073
+ createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
29074
+ createdBy: m.object({
29075
+ id: m.string().optional(),
29076
+ name: m.string().optional()
29077
+ }).optional().describe("User who created the preset."),
29078
+ description: m.string().optional().describe("Optional preset description."),
29079
+ id: m.string().optional().describe("Unique preset identifier."),
29080
+ name: m.string().optional().describe("Display name of the preset."),
29081
+ skills: m.array(m.object({
29082
+ id: m.string().optional(),
29083
+ name: m.string().optional()
29084
+ })).optional().describe("Skills included in the preset."),
29085
+ updatedAt: m.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
29086
+ updatedBy: m.object({
29087
+ id: m.string().optional(),
29088
+ name: m.string().optional()
29089
+ }).optional().describe("User who last updated the preset.")
29090
+ }).optional().describe("Requested skill preset.") }).describe("Response containing the requested skill preset."), m.object({ id: m.string().describe("Skill preset identifier.") }), m.object({
29091
+ description: m.string().optional().describe("Updated preset description."),
29092
+ fields: m.array(m.string()).optional().describe("List of fields to update."),
29093
+ name: m.string().optional().describe("Updated preset name."),
29094
+ skills: m.array(m.object({
29095
+ id: m.string().optional(),
29096
+ name: m.string().optional()
29097
+ })).optional().describe("Updated list of skills.")
29098
+ }).describe("Request for partially updating a skill preset."), m.object({ item: m.object({
29099
+ createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
29100
+ createdBy: m.object({
29101
+ id: m.string().optional(),
29102
+ name: m.string().optional()
29103
+ }).optional().describe("User who created the preset."),
29104
+ description: m.string().optional().describe("Optional preset description."),
29105
+ id: m.string().optional().describe("Unique preset identifier."),
29106
+ name: m.string().optional().describe("Display name of the preset."),
29107
+ skills: m.array(m.object({
29108
+ id: m.string().optional(),
29109
+ name: m.string().optional()
29110
+ })).optional().describe("Skills included in the preset."),
29111
+ updatedAt: m.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
29112
+ updatedBy: m.object({
29113
+ id: m.string().optional(),
29114
+ name: m.string().optional()
29115
+ }).optional().describe("User who last updated the preset.")
29116
+ }).optional().describe("Patched skill preset item.") }).describe("Response containing patched skill preset."), m.object({ id: m.string().describe("Skill preset identifier.") }), m.object({
29117
+ description: m.string().optional().describe("Optional description."),
29118
+ name: m.string().optional().describe("Display name."),
29119
+ skills: m.array(m.object({
29120
+ id: m.string().optional(),
29121
+ name: m.string().optional()
29122
+ })).optional().describe("Skills assigned to the preset.")
29123
+ }).describe("Request for replacing a skill preset."), m.object({ item: m.object({
29124
+ createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
29125
+ createdBy: m.object({
29126
+ id: m.string().optional(),
29127
+ name: m.string().optional()
29128
+ }).optional().describe("User who created the preset."),
29129
+ description: m.string().optional().describe("Optional preset description."),
29130
+ id: m.string().optional().describe("Unique preset identifier."),
29131
+ name: m.string().optional().describe("Display name of the preset."),
29132
+ skills: m.array(m.object({
29133
+ id: m.string().optional(),
29134
+ name: m.string().optional()
29135
+ })).optional().describe("Skills included in the preset."),
29136
+ updatedAt: m.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
29137
+ updatedBy: m.object({
29138
+ id: m.string().optional(),
29139
+ name: m.string().optional()
29140
+ }).optional().describe("User who last updated the preset.")
29141
+ }).optional().describe("Updated skill preset.") }).describe("Response containing updated skill preset."), m.object({
28971
29142
  page: m.number().optional(),
28972
29143
  size: m.number().optional(),
28973
29144
  q: m.string().optional(),
@@ -30109,16 +30280,16 @@ m.array(Le), m.object({
30109
30280
  q: m.string().optional(),
30110
30281
  sort: m.string().optional(),
30111
30282
  fields: m.array(m.string()).optional(),
30112
- name: m.array(m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter".split("."))).optional().describe("Filter by setting names")
30283
+ name: m.array(m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split("."))).optional().describe("Filter by setting names")
30113
30284
  }), m.object({
30114
30285
  items: m.array(m.object({
30115
30286
  id: m.number().optional(),
30116
- name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter".split(".")).default("empty_system_settings_name")
30287
+ name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
30117
30288
  })).optional(),
30118
30289
  next: m.boolean().optional()
30119
- }), m.object({ name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter".split(".")).default("empty_system_settings_name") }), m.object({
30290
+ }), m.object({ name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name") }), m.object({
30120
30291
  id: m.number().optional(),
30121
- name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter".split(".")).default("empty_system_settings_name")
30292
+ name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
30122
30293
  }), m.object({
30123
30294
  page: m.number().optional(),
30124
30295
  size: m.number().optional(),
@@ -30130,16 +30301,16 @@ m.array(Le), m.object({
30130
30301
  next: m.boolean().optional()
30131
30302
  }), m.object({ id: m.number() }), m.object({
30132
30303
  id: m.number().optional(),
30133
- name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter".split(".")).default("empty_system_settings_name")
30304
+ name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
30134
30305
  }), m.object({ id: m.number() }), m.object({
30135
30306
  id: m.number().optional(),
30136
- name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter".split(".")).default("empty_system_settings_name")
30307
+ name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
30137
30308
  }), m.object({ id: m.number() }), m.object({ fields: m.array(m.string()).optional() }), m.object({
30138
30309
  id: m.number().optional(),
30139
- name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter".split(".")).default("empty_system_settings_name")
30310
+ name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
30140
30311
  }), m.object({ id: m.number() }), m.looseObject({}), m.object({
30141
30312
  id: m.number().optional(),
30142
- name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter".split(".")).default("empty_system_settings_name")
30313
+ name: m.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
30143
30314
  }), m.object({
30144
30315
  page: m.number().optional(),
30145
30316
  size: m.number().optional()
@@ -33279,6 +33450,7 @@ m.array(He), m.object({
33279
33450
  metadata: m.looseObject({}).optional().describe("Arbitrary metadata."),
33280
33451
  name: m.string().optional().describe("Full name of the contact."),
33281
33452
  phoneNumber: m.string().optional().describe("Phone number in E.164 format recommended."),
33453
+ replyToMessageId: m.string().optional(),
33282
33454
  sendAs: m.object({
33283
33455
  iss: m.string().optional(),
33284
33456
  sub: m.string().optional(),
@@ -33307,7 +33479,11 @@ m.array(He), m.object({
33307
33479
  groupId: m.string().optional(),
33308
33480
  threadId: m.string().optional()
33309
33481
  }).optional().describe("Recipient of the message.")
33310
- }).describe("SendMessageResponse represents the result of a send operation.\nContains the generated message ID and list of recipients."), m.object({
33482
+ }).describe("SendMessageResponse represents the result of a send operation.\nContains the generated message ID and list of recipients."), m.object({ ids: m.array(m.string()).optional().describe("Messages to delete. Only messages authored by the caller are removed.") }), m.object({
33483
+ deletedAt: m.string().optional().describe("Unix time in milliseconds when the messages were deleted."),
33484
+ deletedIds: m.array(m.string()).optional().describe("Messages that were actually deleted by this call."),
33485
+ skippedIds: m.array(m.string()).optional().describe("Requested messages left untouched: not found, already deleted,\nnot authored by the caller, or the chat is closed.")
33486
+ }), m.object({
33311
33487
  body: m.string().optional(),
33312
33488
  documents: m.array(m.object({
33313
33489
  fileName: m.string().optional(),
@@ -33316,6 +33492,9 @@ m.array(He), m.object({
33316
33492
  sizeBytes: m.string().optional(),
33317
33493
  url: m.string().optional()
33318
33494
  }).describe("Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems.")).optional(),
33495
+ externalId: m.string().optional(),
33496
+ replyToExternalId: m.string().optional(),
33497
+ replyToMessageId: m.string().optional(),
33319
33498
  sendAs: m.object({
33320
33499
  iss: m.string().optional(),
33321
33500
  sub: m.string().optional(),
@@ -33437,6 +33616,7 @@ m.array(He), m.object({
33437
33616
  longitude: m.number().optional().describe("Longitude in degrees. Must be between -180 and +180."),
33438
33617
  metadata: m.looseObject({}).optional().describe("Arbitrary metadata."),
33439
33618
  name: m.string().optional().describe("Optional location name (e.g., \"Central Park\")."),
33619
+ replyToMessageId: m.string().optional(),
33440
33620
  sendAs: m.object({
33441
33621
  iss: m.string().optional(),
33442
33622
  sub: m.string().optional(),
@@ -33467,6 +33647,9 @@ m.array(He), m.object({
33467
33647
  }).optional().describe("Recipient of the message.")
33468
33648
  }).describe("SendMessageResponse represents the result of a send operation.\nContains the generated message ID and list of recipients."), m.object({
33469
33649
  body: m.string().optional(),
33650
+ externalId: m.string().optional(),
33651
+ replyToExternalId: m.string().optional(),
33652
+ replyToMessageId: m.string().optional(),
33470
33653
  sendAs: m.object({
33471
33654
  iss: m.string().optional(),
33472
33655
  sub: m.string().optional(),
@@ -33495,7 +33678,10 @@ m.array(He), m.object({
33495
33678
  groupId: m.string().optional(),
33496
33679
  threadId: m.string().optional()
33497
33680
  }).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel.")
33498
- }).describe("Represents a response to send a text message."), m.object({ id: m.string() }), m.object({ threadId: m.string().optional() }), m.looseObject({}), m.object({ thread_id: m.string().describe("Filter by thread ID.") }), m.object({
33681
+ }).describe("Represents a response to send a text message."), m.object({ id: m.string().describe("Original message ID to be edited.") }), m.object({ body: m.string().optional().describe("New content for the message. Must not be empty.") }), m.object({
33682
+ editedAt: m.string().optional().describe("Unix time in milliseconds when the message was edited."),
33683
+ id: m.string().optional()
33684
+ }), m.object({ id: m.string() }), m.object({ threadId: m.string().optional() }), m.looseObject({}), m.object({ thread_id: m.string().describe("Filter by thread ID.") }), m.object({
33499
33685
  fields: m.array(m.string()).optional().describe("List of message fields to be returned.\nUsed to reduce payload size."),
33500
33686
  senderIds: m.array(m.string()).optional().describe("Filter messages by sender user IDs."),
33501
33687
  types: m.array(m.number()).optional().describe("Filter messages by message types."),
@@ -33513,6 +33699,15 @@ m.array(He), m.object({
33513
33699
  phone: m.string().optional()
33514
33700
  }).optional(),
33515
33701
  createdAt: m.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
33702
+ deleted: m.boolean().optional().describe("True when the message was deleted by its author. Content fields\n(body, attachments, contact, location, interactive, metadata) are\ncleared for deleted messages; clients should render a tombstone."),
33703
+ deletedAt: m.string().optional().describe("Unix time in milliseconds when the message was deleted."),
33704
+ deliveryStatus: m.enum([
33705
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
33706
+ "MESSAGE_DELIVERY_STATUS_SENT",
33707
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
33708
+ "MESSAGE_DELIVERY_STATUS_READ",
33709
+ "MESSAGE_DELIVERY_STATUS_FAILED"
33710
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("Aggregated delivery status across recipients: FAILED when every\nrecipient failed, otherwise the minimal status among non-failed ones.\nUNSPECIFIED for messages without per-recipient tracking (historical)."),
33516
33711
  documents: m.array(m.object({
33517
33712
  createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
33518
33713
  fileId: m.string().optional().describe("File storage identifier."),
@@ -33628,6 +33823,58 @@ m.array(He), m.object({
33628
33823
  ]).default("ROLE_UNSPECIFIED")
33629
33824
  }).optional().describe("User who clicked the button.")
33630
33825
  }).optional().describe("Metadata for button reaction for interactive message."),
33826
+ replyTo: m.object({
33827
+ attachmentKind: m.string().optional(),
33828
+ attachmentMime: m.string().optional(),
33829
+ attachmentName: m.string().optional(),
33830
+ body: m.string().optional(),
33831
+ createdAt: m.string().optional(),
33832
+ id: m.string().optional(),
33833
+ sender: m.object({
33834
+ contact: m.object({
33835
+ appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
33836
+ createdAt: m.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
33837
+ isBot: m.boolean().optional().describe("Represents if usere is real person or automatic script."),
33838
+ iss: m.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
33839
+ metadata: m.record(m.string(), m.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
33840
+ name: m.string().optional().describe("Display name of the contact."),
33841
+ sub: m.string().optional().describe("Associated internal system subject/identifier."),
33842
+ type: m.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
33843
+ updatedAt: m.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
33844
+ username: m.string().optional().describe("Technical username or handle."),
33845
+ vias: m.array(m.object({
33846
+ contactId: m.string().optional(),
33847
+ createdAt: m.string().optional(),
33848
+ disable: m.boolean().optional(),
33849
+ disableReason: m.string().optional(),
33850
+ metadata: m.looseObject({}).optional(),
33851
+ updatedAt: m.string().optional(),
33852
+ via: m.string().optional()
33853
+ })).optional()
33854
+ }).optional().describe("Contact represents an external messaging identity."),
33855
+ id: m.string().optional(),
33856
+ permissions: m.object({
33857
+ canAddMembers: m.boolean().optional(),
33858
+ canChangeMembersPermissions: m.boolean().optional(),
33859
+ canChangeThreadInfo: m.boolean().optional(),
33860
+ canRemoveMembers: m.boolean().optional(),
33861
+ canSendMessages: m.boolean().optional(),
33862
+ createdAt: m.string().optional(),
33863
+ id: m.string().optional(),
33864
+ memberId: m.string().optional(),
33865
+ updatedAt: m.string().optional()
33866
+ }).optional(),
33867
+ role: m.enum([
33868
+ "ROLE_UNSPECIFIED",
33869
+ "ROLE_MEMBER",
33870
+ "ROLE_ADMIN",
33871
+ "ROLE_OWNER",
33872
+ "ROLE_SUPERVISOR"
33873
+ ]).default("ROLE_UNSPECIFIED")
33874
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
33875
+ senderId: m.string().optional(),
33876
+ type: m.number().optional()
33877
+ }).optional(),
33631
33878
  sender: m.object({
33632
33879
  contact: m.object({
33633
33880
  appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -33670,6 +33917,21 @@ m.array(He), m.object({
33670
33917
  "ROLE_SUPERVISOR"
33671
33918
  ]).default("ROLE_UNSPECIFIED")
33672
33919
  }).optional().describe("Sender user aggregated information."),
33920
+ statuses: m.array(m.object({
33921
+ deliveredAt: m.string().optional().describe("Unix time in milliseconds; zero when not reached."),
33922
+ error: m.string().optional().describe("JSON-encoded provider error details for FAILED."),
33923
+ failedAt: m.string().optional(),
33924
+ memberId: m.string().optional().describe("Recipient contact id."),
33925
+ readAt: m.string().optional(),
33926
+ status: m.enum([
33927
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
33928
+ "MESSAGE_DELIVERY_STATUS_SENT",
33929
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
33930
+ "MESSAGE_DELIVERY_STATUS_READ",
33931
+ "MESSAGE_DELIVERY_STATUS_FAILED"
33932
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("MessageDeliveryStatus is a per-recipient delivery state of a message.\nTransitions are monotonic: SENT -> DELIVERED -> READ.\nFAILED is terminal but may be superseded by a later DELIVERED (retry).\n\n - MESSAGE_DELIVERY_STATUS_SENT: Accepted by the system and queued for delivery.\n - MESSAGE_DELIVERY_STATUS_DELIVERED: Reached the recipient (stream ACK, push, provider receipt, bot dispatch).\n - MESSAGE_DELIVERY_STATUS_READ: Read by the recipient. Not applicable to bots.\n - MESSAGE_DELIVERY_STATUS_FAILED: Delivery failed (provider rejected, invalid contact, channel restriction)."),
33933
+ via: m.string().optional().describe("Confirmation source: ws|push|provider|bot.")
33934
+ }).describe("MessageRecipientStatus is a per-recipient delivery state of a message.")).optional().describe("Per-recipient delivery details."),
33673
33935
  system: m.object({
33674
33936
  messageId: m.string().optional().describe("ID of message for which system messages is binded."),
33675
33937
  metadata: m.looseObject({}).optional().describe("Represents additional metadata binded into system message."),
@@ -33697,6 +33959,15 @@ m.array(He), m.object({
33697
33959
  phone: m.string().optional()
33698
33960
  }).optional(),
33699
33961
  createdAt: m.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
33962
+ deleted: m.boolean().optional().describe("True when the message was deleted by its author. Content fields\n(body, attachments, contact, location, interactive, metadata) are\ncleared for deleted messages; clients should render a tombstone."),
33963
+ deletedAt: m.string().optional().describe("Unix time in milliseconds when the message was deleted."),
33964
+ deliveryStatus: m.enum([
33965
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
33966
+ "MESSAGE_DELIVERY_STATUS_SENT",
33967
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
33968
+ "MESSAGE_DELIVERY_STATUS_READ",
33969
+ "MESSAGE_DELIVERY_STATUS_FAILED"
33970
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("Aggregated delivery status across recipients: FAILED when every\nrecipient failed, otherwise the minimal status among non-failed ones.\nUNSPECIFIED for messages without per-recipient tracking (historical)."),
33700
33971
  documents: m.array(m.object({
33701
33972
  createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
33702
33973
  fileId: m.string().optional().describe("File storage identifier."),
@@ -33812,6 +34083,58 @@ m.array(He), m.object({
33812
34083
  ]).default("ROLE_UNSPECIFIED")
33813
34084
  }).optional().describe("User who clicked the button.")
33814
34085
  }).optional().describe("Metadata for button reaction for interactive message."),
34086
+ replyTo: m.object({
34087
+ attachmentKind: m.string().optional(),
34088
+ attachmentMime: m.string().optional(),
34089
+ attachmentName: m.string().optional(),
34090
+ body: m.string().optional(),
34091
+ createdAt: m.string().optional(),
34092
+ id: m.string().optional(),
34093
+ sender: m.object({
34094
+ contact: m.object({
34095
+ appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
34096
+ createdAt: m.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
34097
+ isBot: m.boolean().optional().describe("Represents if usere is real person or automatic script."),
34098
+ iss: m.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
34099
+ metadata: m.record(m.string(), m.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
34100
+ name: m.string().optional().describe("Display name of the contact."),
34101
+ sub: m.string().optional().describe("Associated internal system subject/identifier."),
34102
+ type: m.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
34103
+ updatedAt: m.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
34104
+ username: m.string().optional().describe("Technical username or handle."),
34105
+ vias: m.array(m.object({
34106
+ contactId: m.string().optional(),
34107
+ createdAt: m.string().optional(),
34108
+ disable: m.boolean().optional(),
34109
+ disableReason: m.string().optional(),
34110
+ metadata: m.looseObject({}).optional(),
34111
+ updatedAt: m.string().optional(),
34112
+ via: m.string().optional()
34113
+ })).optional()
34114
+ }).optional().describe("Contact represents an external messaging identity."),
34115
+ id: m.string().optional(),
34116
+ permissions: m.object({
34117
+ canAddMembers: m.boolean().optional(),
34118
+ canChangeMembersPermissions: m.boolean().optional(),
34119
+ canChangeThreadInfo: m.boolean().optional(),
34120
+ canRemoveMembers: m.boolean().optional(),
34121
+ canSendMessages: m.boolean().optional(),
34122
+ createdAt: m.string().optional(),
34123
+ id: m.string().optional(),
34124
+ memberId: m.string().optional(),
34125
+ updatedAt: m.string().optional()
34126
+ }).optional(),
34127
+ role: m.enum([
34128
+ "ROLE_UNSPECIFIED",
34129
+ "ROLE_MEMBER",
34130
+ "ROLE_ADMIN",
34131
+ "ROLE_OWNER",
34132
+ "ROLE_SUPERVISOR"
34133
+ ]).default("ROLE_UNSPECIFIED")
34134
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
34135
+ senderId: m.string().optional(),
34136
+ type: m.number().optional()
34137
+ }).optional(),
33815
34138
  sender: m.object({
33816
34139
  contact: m.object({
33817
34140
  appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -33854,6 +34177,21 @@ m.array(He), m.object({
33854
34177
  "ROLE_SUPERVISOR"
33855
34178
  ]).default("ROLE_UNSPECIFIED")
33856
34179
  }).optional().describe("Sender user aggregated information."),
34180
+ statuses: m.array(m.object({
34181
+ deliveredAt: m.string().optional().describe("Unix time in milliseconds; zero when not reached."),
34182
+ error: m.string().optional().describe("JSON-encoded provider error details for FAILED."),
34183
+ failedAt: m.string().optional(),
34184
+ memberId: m.string().optional().describe("Recipient contact id."),
34185
+ readAt: m.string().optional(),
34186
+ status: m.enum([
34187
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
34188
+ "MESSAGE_DELIVERY_STATUS_SENT",
34189
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
34190
+ "MESSAGE_DELIVERY_STATUS_READ",
34191
+ "MESSAGE_DELIVERY_STATUS_FAILED"
34192
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("MessageDeliveryStatus is a per-recipient delivery state of a message.\nTransitions are monotonic: SENT -> DELIVERED -> READ.\nFAILED is terminal but may be superseded by a later DELIVERED (retry).\n\n - MESSAGE_DELIVERY_STATUS_SENT: Accepted by the system and queued for delivery.\n - MESSAGE_DELIVERY_STATUS_DELIVERED: Reached the recipient (stream ACK, push, provider receipt, bot dispatch).\n - MESSAGE_DELIVERY_STATUS_READ: Read by the recipient. Not applicable to bots.\n - MESSAGE_DELIVERY_STATUS_FAILED: Delivery failed (provider rejected, invalid contact, channel restriction)."),
34193
+ via: m.string().optional().describe("Confirmation source: ws|push|provider|bot.")
34194
+ }).describe("MessageRecipientStatus is a per-recipient delivery state of a message.")).optional().describe("Per-recipient delivery details."),
33857
34195
  system: m.object({
33858
34196
  messageId: m.string().optional().describe("ID of message for which system messages is binded."),
33859
34197
  metadata: m.looseObject({}).optional().describe("Represents additional metadata binded into system message."),
@@ -33891,6 +34229,15 @@ m.array(He), m.object({
33891
34229
  phone: m.string().optional()
33892
34230
  }).optional(),
33893
34231
  createdAt: m.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
34232
+ deleted: m.boolean().optional().describe("True when the message was deleted by its author. Content fields\n(body, attachments, contact, location, interactive, metadata) are\ncleared for deleted messages; clients should render a tombstone."),
34233
+ deletedAt: m.string().optional().describe("Unix time in milliseconds when the message was deleted."),
34234
+ deliveryStatus: m.enum([
34235
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
34236
+ "MESSAGE_DELIVERY_STATUS_SENT",
34237
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
34238
+ "MESSAGE_DELIVERY_STATUS_READ",
34239
+ "MESSAGE_DELIVERY_STATUS_FAILED"
34240
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("Aggregated delivery status across recipients: FAILED when every\nrecipient failed, otherwise the minimal status among non-failed ones.\nUNSPECIFIED for messages without per-recipient tracking (historical)."),
33894
34241
  documents: m.array(m.object({
33895
34242
  createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
33896
34243
  fileId: m.string().optional().describe("File storage identifier."),
@@ -34006,6 +34353,58 @@ m.array(He), m.object({
34006
34353
  ]).default("ROLE_UNSPECIFIED")
34007
34354
  }).optional().describe("User who clicked the button.")
34008
34355
  }).optional().describe("Metadata for button reaction for interactive message."),
34356
+ replyTo: m.object({
34357
+ attachmentKind: m.string().optional(),
34358
+ attachmentMime: m.string().optional(),
34359
+ attachmentName: m.string().optional(),
34360
+ body: m.string().optional(),
34361
+ createdAt: m.string().optional(),
34362
+ id: m.string().optional(),
34363
+ sender: m.object({
34364
+ contact: m.object({
34365
+ appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
34366
+ createdAt: m.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
34367
+ isBot: m.boolean().optional().describe("Represents if usere is real person or automatic script."),
34368
+ iss: m.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
34369
+ metadata: m.record(m.string(), m.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
34370
+ name: m.string().optional().describe("Display name of the contact."),
34371
+ sub: m.string().optional().describe("Associated internal system subject/identifier."),
34372
+ type: m.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
34373
+ updatedAt: m.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
34374
+ username: m.string().optional().describe("Technical username or handle."),
34375
+ vias: m.array(m.object({
34376
+ contactId: m.string().optional(),
34377
+ createdAt: m.string().optional(),
34378
+ disable: m.boolean().optional(),
34379
+ disableReason: m.string().optional(),
34380
+ metadata: m.looseObject({}).optional(),
34381
+ updatedAt: m.string().optional(),
34382
+ via: m.string().optional()
34383
+ })).optional()
34384
+ }).optional().describe("Contact represents an external messaging identity."),
34385
+ id: m.string().optional(),
34386
+ permissions: m.object({
34387
+ canAddMembers: m.boolean().optional(),
34388
+ canChangeMembersPermissions: m.boolean().optional(),
34389
+ canChangeThreadInfo: m.boolean().optional(),
34390
+ canRemoveMembers: m.boolean().optional(),
34391
+ canSendMessages: m.boolean().optional(),
34392
+ createdAt: m.string().optional(),
34393
+ id: m.string().optional(),
34394
+ memberId: m.string().optional(),
34395
+ updatedAt: m.string().optional()
34396
+ }).optional(),
34397
+ role: m.enum([
34398
+ "ROLE_UNSPECIFIED",
34399
+ "ROLE_MEMBER",
34400
+ "ROLE_ADMIN",
34401
+ "ROLE_OWNER",
34402
+ "ROLE_SUPERVISOR"
34403
+ ]).default("ROLE_UNSPECIFIED")
34404
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
34405
+ senderId: m.string().optional(),
34406
+ type: m.number().optional()
34407
+ }).optional(),
34009
34408
  sender: m.object({
34010
34409
  contact: m.object({
34011
34410
  appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -34048,6 +34447,21 @@ m.array(He), m.object({
34048
34447
  "ROLE_SUPERVISOR"
34049
34448
  ]).default("ROLE_UNSPECIFIED")
34050
34449
  }).optional().describe("Sender user aggregated information."),
34450
+ statuses: m.array(m.object({
34451
+ deliveredAt: m.string().optional().describe("Unix time in milliseconds; zero when not reached."),
34452
+ error: m.string().optional().describe("JSON-encoded provider error details for FAILED."),
34453
+ failedAt: m.string().optional(),
34454
+ memberId: m.string().optional().describe("Recipient contact id."),
34455
+ readAt: m.string().optional(),
34456
+ status: m.enum([
34457
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
34458
+ "MESSAGE_DELIVERY_STATUS_SENT",
34459
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
34460
+ "MESSAGE_DELIVERY_STATUS_READ",
34461
+ "MESSAGE_DELIVERY_STATUS_FAILED"
34462
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("MessageDeliveryStatus is a per-recipient delivery state of a message.\nTransitions are monotonic: SENT -> DELIVERED -> READ.\nFAILED is terminal but may be superseded by a later DELIVERED (retry).\n\n - MESSAGE_DELIVERY_STATUS_SENT: Accepted by the system and queued for delivery.\n - MESSAGE_DELIVERY_STATUS_DELIVERED: Reached the recipient (stream ACK, push, provider receipt, bot dispatch).\n - MESSAGE_DELIVERY_STATUS_READ: Read by the recipient. Not applicable to bots.\n - MESSAGE_DELIVERY_STATUS_FAILED: Delivery failed (provider rejected, invalid contact, channel restriction)."),
34463
+ via: m.string().optional().describe("Confirmation source: ws|push|provider|bot.")
34464
+ }).describe("MessageRecipientStatus is a per-recipient delivery state of a message.")).optional().describe("Per-recipient delivery details."),
34051
34465
  system: m.object({
34052
34466
  messageId: m.string().optional().describe("ID of message for which system messages is binded."),
34053
34467
  metadata: m.looseObject({}).optional().describe("Represents additional metadata binded into system message."),
@@ -34112,6 +34526,7 @@ m.array(He), m.object({
34112
34526
  "GROUP",
34113
34527
  "CHANNEL"
34114
34528
  ]).default("UNKNOWN").describe("Type of the thread."),
34529
+ unreadCount: m.number().optional().describe("Number of unread messages in this thread for the calling participant.\nCounts content messages not yet read; the caller's own messages and\nsystem messages are excluded."),
34115
34530
  updatedAt: m.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
34116
34531
  variables: m.object({
34117
34532
  threadId: m.string().optional().describe("Unique identifier for the thread."),
@@ -34159,6 +34574,15 @@ m.array(He), m.object({
34159
34574
  phone: m.string().optional()
34160
34575
  }).optional(),
34161
34576
  createdAt: m.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
34577
+ deleted: m.boolean().optional().describe("True when the message was deleted by its author. Content fields\n(body, attachments, contact, location, interactive, metadata) are\ncleared for deleted messages; clients should render a tombstone."),
34578
+ deletedAt: m.string().optional().describe("Unix time in milliseconds when the message was deleted."),
34579
+ deliveryStatus: m.enum([
34580
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
34581
+ "MESSAGE_DELIVERY_STATUS_SENT",
34582
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
34583
+ "MESSAGE_DELIVERY_STATUS_READ",
34584
+ "MESSAGE_DELIVERY_STATUS_FAILED"
34585
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("Aggregated delivery status across recipients: FAILED when every\nrecipient failed, otherwise the minimal status among non-failed ones.\nUNSPECIFIED for messages without per-recipient tracking (historical)."),
34162
34586
  documents: m.array(m.object({
34163
34587
  createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
34164
34588
  fileId: m.string().optional().describe("File storage identifier."),
@@ -34274,6 +34698,58 @@ m.array(He), m.object({
34274
34698
  ]).default("ROLE_UNSPECIFIED")
34275
34699
  }).optional().describe("User who clicked the button.")
34276
34700
  }).optional().describe("Metadata for button reaction for interactive message."),
34701
+ replyTo: m.object({
34702
+ attachmentKind: m.string().optional(),
34703
+ attachmentMime: m.string().optional(),
34704
+ attachmentName: m.string().optional(),
34705
+ body: m.string().optional(),
34706
+ createdAt: m.string().optional(),
34707
+ id: m.string().optional(),
34708
+ sender: m.object({
34709
+ contact: m.object({
34710
+ appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
34711
+ createdAt: m.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
34712
+ isBot: m.boolean().optional().describe("Represents if usere is real person or automatic script."),
34713
+ iss: m.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
34714
+ metadata: m.record(m.string(), m.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
34715
+ name: m.string().optional().describe("Display name of the contact."),
34716
+ sub: m.string().optional().describe("Associated internal system subject/identifier."),
34717
+ type: m.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
34718
+ updatedAt: m.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
34719
+ username: m.string().optional().describe("Technical username or handle."),
34720
+ vias: m.array(m.object({
34721
+ contactId: m.string().optional(),
34722
+ createdAt: m.string().optional(),
34723
+ disable: m.boolean().optional(),
34724
+ disableReason: m.string().optional(),
34725
+ metadata: m.looseObject({}).optional(),
34726
+ updatedAt: m.string().optional(),
34727
+ via: m.string().optional()
34728
+ })).optional()
34729
+ }).optional().describe("Contact represents an external messaging identity."),
34730
+ id: m.string().optional(),
34731
+ permissions: m.object({
34732
+ canAddMembers: m.boolean().optional(),
34733
+ canChangeMembersPermissions: m.boolean().optional(),
34734
+ canChangeThreadInfo: m.boolean().optional(),
34735
+ canRemoveMembers: m.boolean().optional(),
34736
+ canSendMessages: m.boolean().optional(),
34737
+ createdAt: m.string().optional(),
34738
+ id: m.string().optional(),
34739
+ memberId: m.string().optional(),
34740
+ updatedAt: m.string().optional()
34741
+ }).optional(),
34742
+ role: m.enum([
34743
+ "ROLE_UNSPECIFIED",
34744
+ "ROLE_MEMBER",
34745
+ "ROLE_ADMIN",
34746
+ "ROLE_OWNER",
34747
+ "ROLE_SUPERVISOR"
34748
+ ]).default("ROLE_UNSPECIFIED")
34749
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
34750
+ senderId: m.string().optional(),
34751
+ type: m.number().optional()
34752
+ }).optional(),
34277
34753
  sender: m.object({
34278
34754
  contact: m.object({
34279
34755
  appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -34316,6 +34792,21 @@ m.array(He), m.object({
34316
34792
  "ROLE_SUPERVISOR"
34317
34793
  ]).default("ROLE_UNSPECIFIED")
34318
34794
  }).optional().describe("Sender user aggregated information."),
34795
+ statuses: m.array(m.object({
34796
+ deliveredAt: m.string().optional().describe("Unix time in milliseconds; zero when not reached."),
34797
+ error: m.string().optional().describe("JSON-encoded provider error details for FAILED."),
34798
+ failedAt: m.string().optional(),
34799
+ memberId: m.string().optional().describe("Recipient contact id."),
34800
+ readAt: m.string().optional(),
34801
+ status: m.enum([
34802
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
34803
+ "MESSAGE_DELIVERY_STATUS_SENT",
34804
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
34805
+ "MESSAGE_DELIVERY_STATUS_READ",
34806
+ "MESSAGE_DELIVERY_STATUS_FAILED"
34807
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("MessageDeliveryStatus is a per-recipient delivery state of a message.\nTransitions are monotonic: SENT -> DELIVERED -> READ.\nFAILED is terminal but may be superseded by a later DELIVERED (retry).\n\n - MESSAGE_DELIVERY_STATUS_SENT: Accepted by the system and queued for delivery.\n - MESSAGE_DELIVERY_STATUS_DELIVERED: Reached the recipient (stream ACK, push, provider receipt, bot dispatch).\n - MESSAGE_DELIVERY_STATUS_READ: Read by the recipient. Not applicable to bots.\n - MESSAGE_DELIVERY_STATUS_FAILED: Delivery failed (provider rejected, invalid contact, channel restriction)."),
34808
+ via: m.string().optional().describe("Confirmation source: ws|push|provider|bot.")
34809
+ }).describe("MessageRecipientStatus is a per-recipient delivery state of a message.")).optional().describe("Per-recipient delivery details."),
34319
34810
  system: m.object({
34320
34811
  messageId: m.string().optional().describe("ID of message for which system messages is binded."),
34321
34812
  metadata: m.looseObject({}).optional().describe("Represents additional metadata binded into system message."),
@@ -34380,6 +34871,7 @@ m.array(He), m.object({
34380
34871
  "GROUP",
34381
34872
  "CHANNEL"
34382
34873
  ]).default("UNKNOWN").describe("Type of the thread."),
34874
+ unreadCount: m.number().optional().describe("Number of unread messages in this thread for the calling participant.\nCounts content messages not yet read; the caller's own messages and\nsystem messages are excluded."),
34383
34875
  updatedAt: m.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
34384
34876
  variables: m.object({
34385
34877
  threadId: m.string().optional().describe("Unique identifier for the thread."),
@@ -34433,6 +34925,15 @@ m.array(He), m.object({
34433
34925
  phone: m.string().optional()
34434
34926
  }).optional(),
34435
34927
  createdAt: m.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
34928
+ deleted: m.boolean().optional().describe("True when the message was deleted by its author. Content fields\n(body, attachments, contact, location, interactive, metadata) are\ncleared for deleted messages; clients should render a tombstone."),
34929
+ deletedAt: m.string().optional().describe("Unix time in milliseconds when the message was deleted."),
34930
+ deliveryStatus: m.enum([
34931
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
34932
+ "MESSAGE_DELIVERY_STATUS_SENT",
34933
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
34934
+ "MESSAGE_DELIVERY_STATUS_READ",
34935
+ "MESSAGE_DELIVERY_STATUS_FAILED"
34936
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("Aggregated delivery status across recipients: FAILED when every\nrecipient failed, otherwise the minimal status among non-failed ones.\nUNSPECIFIED for messages without per-recipient tracking (historical)."),
34436
34937
  documents: m.array(m.object({
34437
34938
  createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
34438
34939
  fileId: m.string().optional().describe("File storage identifier."),
@@ -34548,6 +35049,58 @@ m.array(He), m.object({
34548
35049
  ]).default("ROLE_UNSPECIFIED")
34549
35050
  }).optional().describe("User who clicked the button.")
34550
35051
  }).optional().describe("Metadata for button reaction for interactive message."),
35052
+ replyTo: m.object({
35053
+ attachmentKind: m.string().optional(),
35054
+ attachmentMime: m.string().optional(),
35055
+ attachmentName: m.string().optional(),
35056
+ body: m.string().optional(),
35057
+ createdAt: m.string().optional(),
35058
+ id: m.string().optional(),
35059
+ sender: m.object({
35060
+ contact: m.object({
35061
+ appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
35062
+ createdAt: m.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
35063
+ isBot: m.boolean().optional().describe("Represents if usere is real person or automatic script."),
35064
+ iss: m.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
35065
+ metadata: m.record(m.string(), m.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
35066
+ name: m.string().optional().describe("Display name of the contact."),
35067
+ sub: m.string().optional().describe("Associated internal system subject/identifier."),
35068
+ type: m.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
35069
+ updatedAt: m.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
35070
+ username: m.string().optional().describe("Technical username or handle."),
35071
+ vias: m.array(m.object({
35072
+ contactId: m.string().optional(),
35073
+ createdAt: m.string().optional(),
35074
+ disable: m.boolean().optional(),
35075
+ disableReason: m.string().optional(),
35076
+ metadata: m.looseObject({}).optional(),
35077
+ updatedAt: m.string().optional(),
35078
+ via: m.string().optional()
35079
+ })).optional()
35080
+ }).optional().describe("Contact represents an external messaging identity."),
35081
+ id: m.string().optional(),
35082
+ permissions: m.object({
35083
+ canAddMembers: m.boolean().optional(),
35084
+ canChangeMembersPermissions: m.boolean().optional(),
35085
+ canChangeThreadInfo: m.boolean().optional(),
35086
+ canRemoveMembers: m.boolean().optional(),
35087
+ canSendMessages: m.boolean().optional(),
35088
+ createdAt: m.string().optional(),
35089
+ id: m.string().optional(),
35090
+ memberId: m.string().optional(),
35091
+ updatedAt: m.string().optional()
35092
+ }).optional(),
35093
+ role: m.enum([
35094
+ "ROLE_UNSPECIFIED",
35095
+ "ROLE_MEMBER",
35096
+ "ROLE_ADMIN",
35097
+ "ROLE_OWNER",
35098
+ "ROLE_SUPERVISOR"
35099
+ ]).default("ROLE_UNSPECIFIED")
35100
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
35101
+ senderId: m.string().optional(),
35102
+ type: m.number().optional()
35103
+ }).optional(),
34551
35104
  sender: m.object({
34552
35105
  contact: m.object({
34553
35106
  appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -34590,6 +35143,21 @@ m.array(He), m.object({
34590
35143
  "ROLE_SUPERVISOR"
34591
35144
  ]).default("ROLE_UNSPECIFIED")
34592
35145
  }).optional().describe("Sender user aggregated information."),
35146
+ statuses: m.array(m.object({
35147
+ deliveredAt: m.string().optional().describe("Unix time in milliseconds; zero when not reached."),
35148
+ error: m.string().optional().describe("JSON-encoded provider error details for FAILED."),
35149
+ failedAt: m.string().optional(),
35150
+ memberId: m.string().optional().describe("Recipient contact id."),
35151
+ readAt: m.string().optional(),
35152
+ status: m.enum([
35153
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
35154
+ "MESSAGE_DELIVERY_STATUS_SENT",
35155
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
35156
+ "MESSAGE_DELIVERY_STATUS_READ",
35157
+ "MESSAGE_DELIVERY_STATUS_FAILED"
35158
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("MessageDeliveryStatus is a per-recipient delivery state of a message.\nTransitions are monotonic: SENT -> DELIVERED -> READ.\nFAILED is terminal but may be superseded by a later DELIVERED (retry).\n\n - MESSAGE_DELIVERY_STATUS_SENT: Accepted by the system and queued for delivery.\n - MESSAGE_DELIVERY_STATUS_DELIVERED: Reached the recipient (stream ACK, push, provider receipt, bot dispatch).\n - MESSAGE_DELIVERY_STATUS_READ: Read by the recipient. Not applicable to bots.\n - MESSAGE_DELIVERY_STATUS_FAILED: Delivery failed (provider rejected, invalid contact, channel restriction)."),
35159
+ via: m.string().optional().describe("Confirmation source: ws|push|provider|bot.")
35160
+ }).describe("MessageRecipientStatus is a per-recipient delivery state of a message.")).optional().describe("Per-recipient delivery details."),
34593
35161
  system: m.object({
34594
35162
  messageId: m.string().optional().describe("ID of message for which system messages is binded."),
34595
35163
  metadata: m.looseObject({}).optional().describe("Represents additional metadata binded into system message."),
@@ -34654,6 +35222,7 @@ m.array(He), m.object({
34654
35222
  "GROUP",
34655
35223
  "CHANNEL"
34656
35224
  ]).default("UNKNOWN").describe("Type of the thread."),
35225
+ unreadCount: m.number().optional().describe("Number of unread messages in this thread for the calling participant.\nCounts content messages not yet read; the caller's own messages and\nsystem messages are excluded."),
34657
35226
  updatedAt: m.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
34658
35227
  variables: m.object({
34659
35228
  threadId: m.string().optional().describe("Unique identifier for the thread."),
@@ -34685,7 +35254,10 @@ m.array(He), m.object({
34685
35254
  }).optional().describe("Optional variables associated with the thread.")
34686
35255
  }).describe("Thread represents a thread (aka chat or conversation) entity.")).optional().describe("Threads in which the caller was previously a member, but has left."),
34687
35256
  next: m.boolean().optional().describe("Indicates whether there is a next page available.")
34688
- }), m.object({ id: m.string().describe("Unique thread identifier.") }), m.object({ fields: m.array(m.string()).optional().describe("List of fields to include in the response.") }), m.object({
35257
+ }), m.object({
35258
+ unreadChats: m.number().optional().describe("Number of chats (threads) that have at least one unread message."),
35259
+ unreadMessages: m.string().optional().describe("Total number of unread messages across all chats.")
35260
+ }).describe("GetUnreadSummaryResponse carries the caller's unread totals."), m.object({ id: m.string().describe("Unique thread identifier.") }), m.object({ fields: m.array(m.string()).optional().describe("List of fields to include in the response.") }), m.object({
34689
35261
  createdAt: m.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),
34690
35262
  description: m.string().optional().describe("Optional thread description."),
34691
35263
  id: m.string().optional().describe("Unique thread identifier."),
@@ -34697,6 +35269,15 @@ m.array(He), m.object({
34697
35269
  phone: m.string().optional()
34698
35270
  }).optional(),
34699
35271
  createdAt: m.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
35272
+ deleted: m.boolean().optional().describe("True when the message was deleted by its author. Content fields\n(body, attachments, contact, location, interactive, metadata) are\ncleared for deleted messages; clients should render a tombstone."),
35273
+ deletedAt: m.string().optional().describe("Unix time in milliseconds when the message was deleted."),
35274
+ deliveryStatus: m.enum([
35275
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
35276
+ "MESSAGE_DELIVERY_STATUS_SENT",
35277
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
35278
+ "MESSAGE_DELIVERY_STATUS_READ",
35279
+ "MESSAGE_DELIVERY_STATUS_FAILED"
35280
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("Aggregated delivery status across recipients: FAILED when every\nrecipient failed, otherwise the minimal status among non-failed ones.\nUNSPECIFIED for messages without per-recipient tracking (historical)."),
34700
35281
  documents: m.array(m.object({
34701
35282
  createdAt: m.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
34702
35283
  fileId: m.string().optional().describe("File storage identifier."),
@@ -34812,6 +35393,58 @@ m.array(He), m.object({
34812
35393
  ]).default("ROLE_UNSPECIFIED")
34813
35394
  }).optional().describe("User who clicked the button.")
34814
35395
  }).optional().describe("Metadata for button reaction for interactive message."),
35396
+ replyTo: m.object({
35397
+ attachmentKind: m.string().optional(),
35398
+ attachmentMime: m.string().optional(),
35399
+ attachmentName: m.string().optional(),
35400
+ body: m.string().optional(),
35401
+ createdAt: m.string().optional(),
35402
+ id: m.string().optional(),
35403
+ sender: m.object({
35404
+ contact: m.object({
35405
+ appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
35406
+ createdAt: m.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
35407
+ isBot: m.boolean().optional().describe("Represents if usere is real person or automatic script."),
35408
+ iss: m.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
35409
+ metadata: m.record(m.string(), m.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
35410
+ name: m.string().optional().describe("Display name of the contact."),
35411
+ sub: m.string().optional().describe("Associated internal system subject/identifier."),
35412
+ type: m.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
35413
+ updatedAt: m.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
35414
+ username: m.string().optional().describe("Technical username or handle."),
35415
+ vias: m.array(m.object({
35416
+ contactId: m.string().optional(),
35417
+ createdAt: m.string().optional(),
35418
+ disable: m.boolean().optional(),
35419
+ disableReason: m.string().optional(),
35420
+ metadata: m.looseObject({}).optional(),
35421
+ updatedAt: m.string().optional(),
35422
+ via: m.string().optional()
35423
+ })).optional()
35424
+ }).optional().describe("Contact represents an external messaging identity."),
35425
+ id: m.string().optional(),
35426
+ permissions: m.object({
35427
+ canAddMembers: m.boolean().optional(),
35428
+ canChangeMembersPermissions: m.boolean().optional(),
35429
+ canChangeThreadInfo: m.boolean().optional(),
35430
+ canRemoveMembers: m.boolean().optional(),
35431
+ canSendMessages: m.boolean().optional(),
35432
+ createdAt: m.string().optional(),
35433
+ id: m.string().optional(),
35434
+ memberId: m.string().optional(),
35435
+ updatedAt: m.string().optional()
35436
+ }).optional(),
35437
+ role: m.enum([
35438
+ "ROLE_UNSPECIFIED",
35439
+ "ROLE_MEMBER",
35440
+ "ROLE_ADMIN",
35441
+ "ROLE_OWNER",
35442
+ "ROLE_SUPERVISOR"
35443
+ ]).default("ROLE_UNSPECIFIED")
35444
+ }).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
35445
+ senderId: m.string().optional(),
35446
+ type: m.number().optional()
35447
+ }).optional(),
34815
35448
  sender: m.object({
34816
35449
  contact: m.object({
34817
35450
  appId: m.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -34854,6 +35487,21 @@ m.array(He), m.object({
34854
35487
  "ROLE_SUPERVISOR"
34855
35488
  ]).default("ROLE_UNSPECIFIED")
34856
35489
  }).optional().describe("Sender user aggregated information."),
35490
+ statuses: m.array(m.object({
35491
+ deliveredAt: m.string().optional().describe("Unix time in milliseconds; zero when not reached."),
35492
+ error: m.string().optional().describe("JSON-encoded provider error details for FAILED."),
35493
+ failedAt: m.string().optional(),
35494
+ memberId: m.string().optional().describe("Recipient contact id."),
35495
+ readAt: m.string().optional(),
35496
+ status: m.enum([
35497
+ "MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
35498
+ "MESSAGE_DELIVERY_STATUS_SENT",
35499
+ "MESSAGE_DELIVERY_STATUS_DELIVERED",
35500
+ "MESSAGE_DELIVERY_STATUS_READ",
35501
+ "MESSAGE_DELIVERY_STATUS_FAILED"
35502
+ ]).default("MESSAGE_DELIVERY_STATUS_UNSPECIFIED").describe("MessageDeliveryStatus is a per-recipient delivery state of a message.\nTransitions are monotonic: SENT -> DELIVERED -> READ.\nFAILED is terminal but may be superseded by a later DELIVERED (retry).\n\n - MESSAGE_DELIVERY_STATUS_SENT: Accepted by the system and queued for delivery.\n - MESSAGE_DELIVERY_STATUS_DELIVERED: Reached the recipient (stream ACK, push, provider receipt, bot dispatch).\n - MESSAGE_DELIVERY_STATUS_READ: Read by the recipient. Not applicable to bots.\n - MESSAGE_DELIVERY_STATUS_FAILED: Delivery failed (provider rejected, invalid contact, channel restriction)."),
35503
+ via: m.string().optional().describe("Confirmation source: ws|push|provider|bot.")
35504
+ }).describe("MessageRecipientStatus is a per-recipient delivery state of a message.")).optional().describe("Per-recipient delivery details."),
34857
35505
  system: m.object({
34858
35506
  messageId: m.string().optional().describe("ID of message for which system messages is binded."),
34859
35507
  metadata: m.looseObject({}).optional().describe("Represents additional metadata binded into system message."),
@@ -34918,6 +35566,7 @@ m.array(He), m.object({
34918
35566
  "GROUP",
34919
35567
  "CHANNEL"
34920
35568
  ]).default("UNKNOWN").describe("Type of the thread."),
35569
+ unreadCount: m.number().optional().describe("Number of unread messages in this thread for the calling participant.\nCounts content messages not yet read; the caller's own messages and\nsystem messages are excluded."),
34921
35570
  updatedAt: m.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
34922
35571
  variables: m.object({
34923
35572
  threadId: m.string().optional().describe("Unique identifier for the thread."),
@@ -35473,6 +36122,12 @@ m.array(He), m.object({
35473
36122
  q: m.string().optional().describe("Search query for name or metadata")
35474
36123
  }), m.object({
35475
36124
  items: m.array(m.object({
36125
+ capabilities: m.object({
36126
+ delivered: m.boolean().optional().describe("The channel emits delivery receipts."),
36127
+ failed: m.boolean().optional().describe("The channel reports failed deliveries."),
36128
+ read: m.boolean().optional().describe("The channel emits read/seen receipts."),
36129
+ typing: m.boolean().optional().describe("The channel can forward a native \"typing…\" indicator to the chat partner.")
36130
+ }).optional().describe("Delivery-status receipts the channel is able to produce; unset when no\nprovider adapter is registered for the channel type."),
35476
36131
  contact: m.string().optional(),
35477
36132
  createdAt: m.string().optional(),
35478
36133
  id: m.string().optional(),
@@ -35590,6 +36245,9 @@ m.array(He), m.object({
35590
36245
  domainId: m.number().optional(),
35591
36246
  externalUserId: m.string().optional(),
35592
36247
  gateId: m.string().optional(),
36248
+ messageId: m.string().optional().describe("Internal message context for per-recipient delivery status tracking.\n\nInternal message UUID"),
36249
+ replyToExternalId: m.string().optional(),
36250
+ threadId: m.string().optional(),
35593
36251
  type: m.enum([
35594
36252
  "PROVIDER_TYPE_UNSPECIFIED",
35595
36253
  "PROVIDER_TYPE_VIBER",
@@ -35615,6 +36273,9 @@ m.array(He), m.object({
35615
36273
  size: m.string().optional(),
35616
36274
  url: m.string().optional()
35617
36275
  }).describe("ProviderFile represents a generic file attachment.")).optional(),
36276
+ messageId: m.string().optional().describe("Internal message context for per-recipient delivery status tracking.\n\nInternal message UUID"),
36277
+ replyToExternalId: m.string().optional(),
36278
+ threadId: m.string().optional(),
35618
36279
  type: m.enum([
35619
36280
  "PROVIDER_TYPE_UNSPECIFIED",
35620
36281
  "PROVIDER_TYPE_VIBER",
@@ -35656,7 +36317,10 @@ m.array(He), m.object({
35656
36317
  }).describe("ProviderKeyboardButton is a single interactive element.")).optional() }).describe("ProviderKeyboardRow is a horizontal row of buttons.")).optional() }).optional().describe("ProviderKeyboardMarkup is a grid of button rows."),
35657
36318
  singleUse: m.boolean().optional().describe("When true the keyboard is hidden after the user interacts once.")
35658
36319
  }).optional().describe("Interactive payload — exactly one kind must be set."),
35659
- sendId: m.string().optional().describe("Optional idempotency key to prevent duplicate delivery.")
36320
+ messageId: m.string().optional().describe("Internal message context for per-recipient delivery status tracking.\n\nInternal message UUID"),
36321
+ replyToExternalId: m.string().optional(),
36322
+ sendId: m.string().optional().describe("Optional idempotency key to prevent duplicate delivery."),
36323
+ threadId: m.string().optional()
35660
36324
  }).describe("ProviderSendInteractiveRequest sends a message with interactive UI elements."), m.object({
35661
36325
  createdAt: m.string().optional(),
35662
36326
  externalId: m.string().optional()
@@ -35665,6 +36329,8 @@ m.array(He), m.object({
35665
36329
  eventType: m.string().optional().describe("System event type (e.g., \"member_added\", \"member_removed\", \"transferred\").\nUsed to look up the gate-specific template or fall back to the built-in default."),
35666
36330
  externalUserId: m.string().optional().describe("Recipient's platform-specific user identifier."),
35667
36331
  gateId: m.string().optional().describe("Internal ID of the configured gateway."),
36332
+ messageId: m.string().optional().describe("Internal message context for per-recipient delivery status tracking.\n\nInternal message UUID"),
36333
+ threadId: m.string().optional(),
35668
36334
  vars: m.record(m.string(), m.string()).optional().describe("Template variables sourced from the system message metadata.\nInjected into the template via Go text/template syntax (e.g. {{.new_member_role}}).")
35669
36335
  }).describe("ProviderSendSystemMessageRequest delivers a system event to the external chat partner.\nThe provider service resolves the gate-specific template and renders the final text\nusing the supplied variables before sending via the underlying provider API."), m.object({
35670
36336
  createdAt: m.string().optional(),
@@ -35673,8 +36339,11 @@ m.array(He), m.object({
35673
36339
  domainId: m.number().optional(),
35674
36340
  externalUserId: m.string().optional(),
35675
36341
  gateId: m.string().optional(),
36342
+ messageId: m.string().optional().describe("Internal message context for per-recipient delivery status tracking:\nthe provider service persists the provider_message_id mapping on send\nand reports MarkDelivered/MarkRead/MarkFailed receipts back to im-thread.\n\nInternal message UUID"),
35676
36343
  metadata: m.record(m.string(), m.string()).optional(),
36344
+ replyToExternalId: m.string().optional(),
35677
36345
  text: m.string().optional(),
36346
+ threadId: m.string().optional(),
35678
36347
  type: m.enum([
35679
36348
  "PROVIDER_TYPE_UNSPECIFIED",
35680
36349
  "PROVIDER_TYPE_VIBER",
@@ -35689,6 +36358,22 @@ m.array(He), m.object({
35689
36358
  createdAt: m.string().optional(),
35690
36359
  externalId: m.string().optional()
35691
36360
  }).describe("ProviderSendMessageResponse returns the delivery status and external message ID."), m.object({
36361
+ domainId: m.number().optional(),
36362
+ externalUserId: m.string().optional(),
36363
+ gateId: m.string().optional(),
36364
+ threadId: m.string().optional(),
36365
+ type: m.enum([
36366
+ "PROVIDER_TYPE_UNSPECIFIED",
36367
+ "PROVIDER_TYPE_VIBER",
36368
+ "PROVIDER_TYPE_TELEGRAM_BOT",
36369
+ "PROVIDER_TYPE_TELEGRAM_APP",
36370
+ "PROVIDER_TYPE_META_APP",
36371
+ "PROVIDER_TYPE_FACEBOOK",
36372
+ "PROVIDER_TYPE_INSTAGRAM",
36373
+ "PROVIDER_TYPE_WHATSAPP"
36374
+ ]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging."),
36375
+ typingOn: m.boolean().optional()
36376
+ }).describe("ProviderSendTypingRequest asks a provider to show/hide a typing indicator\nto the external chat partner."), m.looseObject({}).describe("ProviderSendTypingResponse is intentionally empty: typing is fire-and-forget."), m.object({
35692
36377
  bot: m.object({
35693
36378
  iss: m.string().optional(),
35694
36379
  sub: m.string().optional()
@@ -36310,7 +36995,7 @@ var Ue = (e) => {
36310
36995
  greetingMedia: {}
36311
36996
  };
36312
36997
  try {
36313
- return K((await $().readAgent(e)).data, [Z(), J(t)]);
36998
+ return K((await $().readAgent(String(e))).data, [Z(), J(t)]);
36314
36999
  } catch (e) {
36315
37000
  throw K(e, [Y]);
36316
37001
  }
@@ -36339,7 +37024,7 @@ var Ue = (e) => {
36339
37024
  patch: async ({ changes: e, id: t }) => {
36340
37025
  let n = K(e, [X(qe), q()]);
36341
37026
  try {
36342
- return K((await $().patchAgent(t, n)).data, [Z()]);
37027
+ return K((await $().patchAgent(String(t), n)).data, [Z()]);
36343
37028
  } catch (e) {
36344
37029
  throw K(e, [Y]);
36345
37030
  }
@@ -36347,14 +37032,14 @@ var Ue = (e) => {
36347
37032
  update: async ({ itemInstance: e, itemId: t }) => {
36348
37033
  let n = K(e, [X(qe), q()]);
36349
37034
  try {
36350
- return K((await $().updateAgent(t, n)).data, [Z()]);
37035
+ return K((await $().updateAgent(String(t), n)).data, [Z()]);
36351
37036
  } catch (e) {
36352
37037
  throw K(e, [Y]);
36353
37038
  }
36354
37039
  },
36355
37040
  delete: async ({ id: e }) => {
36356
37041
  try {
36357
- return K((await $().deleteAgent(e)).data, []);
37042
+ return K((await $().deleteAgent(String(e))).data, []);
36358
37043
  } catch (e) {
36359
37044
  throw K(e, [Y]);
36360
37045
  }
@@ -36455,7 +37140,7 @@ var Ye = {
36455
37140
  getChatHistory: async ({ chatId: e, ...t }) => {
36456
37141
  let n = K(t, [J(_()), q()]);
36457
37142
  try {
36458
- let { messages: t, peers: r, next: i } = K((await je().catalogGetHistory(e, n)).data, [Z(), J(g())]);
37143
+ let { messages: t, peers: r, next: i } = K((await je().catalogGetHistory(String(e), n)).data, [Z(), J(g())]);
36459
37144
  return {
36460
37145
  messages: t,
36461
37146
  peers: r,