@iblai/web-utils 1.11.7 → 1.11.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/dist/auth/index.esm.js.map +1 -1
  2. package/dist/auth/index.js.map +1 -1
  3. package/dist/auth/web-utils/src/__tests__/index.mobile.test.d.ts +7 -0
  4. package/dist/auth/web-utils/src/__tests__/index.web.test.d.ts +8 -0
  5. package/dist/auth/web-utils/src/constants/__tests__/chat.test.d.ts +1 -0
  6. package/dist/auth/web-utils/src/constants/chat.d.ts +8 -0
  7. package/dist/auth/web-utils/src/features/apple-restriction/__tests__/slice.test.d.ts +1 -0
  8. package/dist/auth/web-utils/src/features/apple-restriction/slice.d.ts +7 -0
  9. package/dist/auth/web-utils/src/features/chat/__tests__/slice.test.d.ts +1 -0
  10. package/dist/auth/web-utils/src/features/chat/slice.d.ts +164 -0
  11. package/dist/auth/web-utils/src/features/chat-input/__tests__/api-slice.test.d.ts +1 -0
  12. package/dist/auth/web-utils/src/features/chat-input/api-slice.d.ts +12 -0
  13. package/dist/auth/web-utils/src/features/csv/combine-csv.d.ts +35 -0
  14. package/dist/auth/web-utils/src/features/csv/index.d.ts +1 -0
  15. package/dist/auth/web-utils/src/features/files/__tests__/filesSlice.test.d.ts +1 -0
  16. package/dist/auth/web-utils/src/features/files/filesSlice.d.ts +23 -0
  17. package/dist/auth/web-utils/src/features/host-chat/__tests__/slice.test.d.ts +1 -0
  18. package/dist/auth/web-utils/src/features/host-chat/slice.d.ts +17 -0
  19. package/dist/auth/web-utils/src/features/index.d.ts +11 -0
  20. package/dist/auth/web-utils/src/features/monetization/__tests__/slice.test.d.ts +1 -0
  21. package/dist/auth/web-utils/src/features/monetization/slice.d.ts +16 -0
  22. package/dist/auth/web-utils/src/features/rbac/__tests__/rbac-slice.test.d.ts +1 -0
  23. package/dist/auth/web-utils/src/features/rbac/rbac-slice.d.ts +13 -0
  24. package/dist/auth/web-utils/src/features/subscription/__tests__/slice.test.d.ts +1 -0
  25. package/dist/auth/web-utils/src/features/subscription/constants.d.ts +12 -0
  26. package/dist/auth/web-utils/src/features/subscription/slice.d.ts +28 -0
  27. package/dist/auth/web-utils/src/features/top-banner/__tests__/slice.test.d.ts +1 -0
  28. package/dist/auth/web-utils/src/features/top-banner/slice.d.ts +24 -0
  29. package/dist/auth/web-utils/src/features/tracking/__tests__/time-tracker.test.d.ts +1 -0
  30. package/dist/auth/web-utils/src/features/tracking/examples.d.ts +4 -0
  31. package/dist/auth/web-utils/src/features/tracking/index.d.ts +6 -0
  32. package/dist/auth/web-utils/src/features/tracking/time-tracker.d.ts +29 -0
  33. package/dist/auth/web-utils/src/features/tracking/use-time-tracker-native.d.ts +14 -0
  34. package/dist/auth/web-utils/src/features/tracking/use-time-tracker.d.ts +14 -0
  35. package/dist/auth/web-utils/src/hoc/index.d.ts +2 -0
  36. package/dist/auth/web-utils/src/hoc/with-permissions.d.ts +44 -0
  37. package/dist/auth/web-utils/src/hooks/__tests__/use-accessing-public-route.test.d.ts +1 -0
  38. package/dist/auth/web-utils/src/hooks/__tests__/use-cached-session-id.test.d.ts +1 -0
  39. package/dist/auth/web-utils/src/hooks/__tests__/use-chat-file-upload.test.d.ts +1 -0
  40. package/dist/auth/web-utils/src/hooks/__tests__/use-embed-mode.test.d.ts +1 -0
  41. package/dist/auth/web-utils/src/hooks/__tests__/use-event-callback.test.d.ts +1 -0
  42. package/dist/auth/web-utils/src/hooks/__tests__/use-event-listener.test.d.ts +1 -0
  43. package/dist/auth/web-utils/src/hooks/__tests__/use-file-drag-drop.test.d.ts +1 -0
  44. package/dist/auth/web-utils/src/hooks/__tests__/use-local-storage.test.d.ts +1 -0
  45. package/dist/auth/web-utils/src/hooks/__tests__/use-mentor-settings.test.d.ts +1 -0
  46. package/dist/auth/web-utils/src/hooks/__tests__/use-model-file-upload-capabilities.test.d.ts +1 -0
  47. package/dist/auth/web-utils/src/hooks/__tests__/use-os.test.d.ts +1 -0
  48. package/dist/auth/web-utils/src/hooks/__tests__/use-responsive.test.d.ts +1 -0
  49. package/dist/auth/web-utils/src/hooks/__tests__/use-show-attachment.test.d.ts +1 -0
  50. package/dist/auth/web-utils/src/hooks/__tests__/use-show-free-trial-dialog.test.d.ts +1 -0
  51. package/dist/auth/web-utils/src/hooks/__tests__/use-show-voice-call.test.d.ts +1 -0
  52. package/dist/auth/web-utils/src/hooks/__tests__/use-show-voice-recorder.test.d.ts +1 -0
  53. package/dist/auth/web-utils/src/hooks/__tests__/use-timer.test.d.ts +1 -0
  54. package/dist/auth/web-utils/src/hooks/__tests__/use-tokens.test.d.ts +1 -0
  55. package/dist/auth/web-utils/src/hooks/__tests__/use-user-agreement.test.d.ts +1 -0
  56. package/dist/auth/web-utils/src/hooks/__tests__/use-user.test.d.ts +1 -0
  57. package/dist/auth/web-utils/src/hooks/__tests__/use-voice-chat.test.d.ts +1 -0
  58. package/dist/auth/web-utils/src/hooks/__tests__/use-welcome-message.test.d.ts +1 -0
  59. package/dist/auth/web-utils/src/hooks/chat/__tests__/chat-history.utils.test.d.ts +1 -0
  60. package/dist/auth/web-utils/src/hooks/chat/chat-history.utils.d.ts +10 -0
  61. package/dist/auth/web-utils/src/hooks/chat/ollama-client.d.ts +57 -0
  62. package/dist/auth/web-utils/src/hooks/chat/use-advanced-chat.d.ts +61 -0
  63. package/dist/auth/web-utils/src/hooks/chat/use-advanced-chat.test.d.ts +1 -0
  64. package/dist/auth/web-utils/src/hooks/chat/use-chat-history.d.ts +17 -0
  65. package/dist/auth/web-utils/src/hooks/chat/use-chat-v2.d.ts +146 -0
  66. package/dist/auth/web-utils/src/hooks/chat/use-chat-v2.test.d.ts +1 -0
  67. package/dist/auth/web-utils/src/hooks/chat/use-chat.d.ts +53 -0
  68. package/dist/auth/web-utils/src/hooks/chat/use-get-chat-details.d.ts +14 -0
  69. package/dist/auth/web-utils/src/hooks/chat/use-get-chat-details.test.d.ts +1 -0
  70. package/dist/auth/web-utils/src/hooks/chat/use-mentor-tools.d.ts +24 -0
  71. package/dist/auth/web-utils/src/hooks/chat/use-mentor-tools.test.d.ts +1 -0
  72. package/dist/auth/web-utils/src/hooks/index.d.ts +42 -0
  73. package/dist/auth/web-utils/src/hooks/profile/use-profile-image-upload.d.ts +13 -0
  74. package/dist/auth/web-utils/src/hooks/profile/use-user-profile-update.d.ts +28 -0
  75. package/dist/auth/web-utils/src/hooks/stripe/__tests__/use-stripe-upgrade.test.d.ts +1 -0
  76. package/dist/auth/web-utils/src/hooks/stripe/use-stripe-upgrade.d.ts +14 -0
  77. package/dist/auth/web-utils/src/hooks/subscription/class-subscription-flow.d.ts +70 -0
  78. package/dist/auth/web-utils/src/hooks/subscription/constants.d.ts +4 -0
  79. package/dist/auth/web-utils/src/hooks/subscription/use-subscription-handler.d.ts +11 -0
  80. package/dist/auth/web-utils/src/hooks/subscription-v2/__tests__/use-402-error-check.test.d.ts +1 -0
  81. package/dist/auth/web-utils/src/hooks/subscription-v2/class-subscription-flow.d.ts +78 -0
  82. package/dist/auth/web-utils/src/hooks/subscription-v2/constants.d.ts +56 -0
  83. package/dist/auth/web-utils/src/hooks/subscription-v2/use-402-error-check.d.ts +22 -0
  84. package/dist/auth/web-utils/src/hooks/subscription-v2/use-external-pricing-plan.d.ts +7 -0
  85. package/dist/auth/web-utils/src/hooks/subscription-v2/use-subscription-handler.d.ts +71 -0
  86. package/dist/auth/web-utils/src/hooks/tenant-metadata/__tests__/config-loader.test.d.ts +10 -0
  87. package/dist/auth/web-utils/src/hooks/tenant-metadata/__tests__/use-tenant-metadata.test.d.ts +1 -0
  88. package/dist/auth/web-utils/src/hooks/tenant-metadata/config-loader.d.ts +41 -0
  89. package/dist/auth/web-utils/src/hooks/tenant-metadata/constants.d.ts +9 -0
  90. package/dist/auth/web-utils/src/hooks/tenant-metadata/index.d.ts +5 -0
  91. package/dist/auth/web-utils/src/hooks/tenant-metadata/types.d.ts +9 -0
  92. package/dist/auth/web-utils/src/hooks/tenant-metadata/use-tenant-metadata.d.ts +29 -0
  93. package/dist/auth/web-utils/src/hooks/use-accessing-public-route.d.ts +1 -0
  94. package/dist/auth/web-utils/src/hooks/use-cached-session-id.d.ts +8 -0
  95. package/dist/auth/web-utils/src/hooks/use-chat-file-upload.d.ts +17 -0
  96. package/dist/auth/web-utils/src/hooks/use-day-js.d.ts +7 -0
  97. package/dist/auth/web-utils/src/hooks/use-embed-mode.d.ts +1 -0
  98. package/dist/auth/web-utils/src/hooks/use-event-callback.d.ts +2 -0
  99. package/dist/auth/web-utils/src/hooks/use-event-listener.d.ts +6 -0
  100. package/dist/auth/web-utils/src/hooks/use-file-drag-drop.d.ts +15 -0
  101. package/dist/auth/web-utils/src/hooks/use-isomorphic-layout-effect.d.ts +2 -0
  102. package/dist/auth/web-utils/src/hooks/use-local-storage.d.ts +13 -0
  103. package/dist/auth/web-utils/src/hooks/use-mentor-settings.d.ts +46 -0
  104. package/dist/auth/web-utils/src/hooks/use-model-file-upload-capabilities.d.ts +21 -0
  105. package/dist/auth/web-utils/src/hooks/use-os.d.ts +8 -0
  106. package/dist/auth/web-utils/src/hooks/use-responsive.d.ts +13 -0
  107. package/dist/auth/web-utils/src/hooks/use-show-attachment.d.ts +7 -0
  108. package/dist/auth/web-utils/src/hooks/use-show-free-trial-dialog.d.ts +31 -0
  109. package/dist/auth/web-utils/src/hooks/use-show-voice-call.d.ts +7 -0
  110. package/dist/auth/web-utils/src/hooks/use-show-voice-recorder.d.ts +7 -0
  111. package/dist/auth/web-utils/src/hooks/use-tenant-switch-sync.d.ts +13 -0
  112. package/dist/auth/web-utils/src/hooks/use-timer.d.ts +7 -0
  113. package/dist/auth/web-utils/src/hooks/use-tokens.d.ts +2 -0
  114. package/dist/auth/web-utils/src/hooks/use-user-agreement.d.ts +18 -0
  115. package/dist/auth/web-utils/src/hooks/use-user.d.ts +23 -0
  116. package/dist/auth/web-utils/src/hooks/use-voice-chat.d.ts +11 -0
  117. package/dist/auth/web-utils/src/hooks/use-welcome-message.d.ts +16 -0
  118. package/dist/auth/web-utils/src/index.d.ts +8 -0
  119. package/dist/auth/web-utils/src/index.mobile.d.ts +86 -0
  120. package/dist/auth/web-utils/src/index.web.d.ts +142 -0
  121. package/dist/auth/web-utils/src/providers/__tests__/auth-provider.test.d.ts +1 -0
  122. package/dist/auth/web-utils/src/providers/__tests__/mentor-provider.test.d.ts +1 -0
  123. package/dist/auth/web-utils/src/providers/__tests__/service-worker-provider.test.d.ts +1 -0
  124. package/dist/auth/web-utils/src/providers/__tests__/tenant-provider.test.d.ts +1 -0
  125. package/dist/auth/web-utils/src/providers/auth-provider.d.ts +129 -0
  126. package/dist/auth/web-utils/src/providers/index.d.ts +4 -0
  127. package/dist/auth/web-utils/src/providers/mentor-provider.d.ts +44 -0
  128. package/dist/auth/web-utils/src/providers/service-worker-provider.d.ts +21 -0
  129. package/dist/auth/web-utils/src/providers/tenant-provider.d.ts +77 -0
  130. package/dist/auth/web-utils/src/services/__tests__/event-bus.test.d.ts +1 -0
  131. package/dist/auth/web-utils/src/services/__tests__/file-upload.test.d.ts +1 -0
  132. package/dist/auth/web-utils/src/services/__tests__/register-sw.test.d.ts +1 -0
  133. package/dist/auth/web-utils/src/services/event-bus.d.ts +6 -0
  134. package/dist/auth/web-utils/src/services/file-upload.d.ts +60 -0
  135. package/dist/auth/web-utils/src/services/index.d.ts +3 -0
  136. package/dist/auth/web-utils/src/services/register-sw.d.ts +71 -0
  137. package/dist/auth/web-utils/src/types/chat.d.ts +1 -0
  138. package/dist/auth/web-utils/src/types/file-upload.d.ts +62 -0
  139. package/dist/auth/web-utils/src/types/index.d.ts +68 -0
  140. package/dist/auth/web-utils/src/types/subscription.d.ts +40 -0
  141. package/dist/auth/web-utils/src/utils/__tests__/auth.test.d.ts +1 -0
  142. package/dist/auth/web-utils/src/utils/__tests__/constants.test.d.ts +1 -0
  143. package/dist/auth/web-utils/src/utils/__tests__/helpers.test.d.ts +1 -0
  144. package/dist/auth/web-utils/src/utils/__tests__/platform.test.d.ts +1 -0
  145. package/dist/auth/web-utils/src/utils/__tests__/tauri-api-cache.test.d.ts +1 -0
  146. package/dist/auth/web-utils/src/utils/__tests__/tenant-switch.test.d.ts +1 -0
  147. package/dist/auth/web-utils/src/utils/constants.d.ts +69 -0
  148. package/dist/auth/web-utils/src/utils/data/__tests__/advanced-tab.test.d.ts +1 -0
  149. package/dist/auth/web-utils/src/utils/data/advanced-tab.d.ts +62 -0
  150. package/dist/auth/web-utils/src/utils/helpers.d.ts +33 -0
  151. package/dist/auth/web-utils/src/utils/index.d.ts +6 -0
  152. package/dist/auth/web-utils/src/utils/platform.d.ts +9 -0
  153. package/dist/auth/web-utils/src/utils/tauri-api-cache.d.ts +19 -0
  154. package/dist/index.esm.js +581 -266
  155. package/dist/index.esm.js.map +1 -1
  156. package/dist/index.js +594 -279
  157. package/dist/index.js.map +1 -1
  158. package/dist/package.json +1 -2
  159. package/dist/web-utils/src/hooks/chat/use-advanced-chat.d.ts +4 -4
  160. package/dist/web-utils/src/hooks/subscription-v2/use-subscription-handler.d.ts +3 -3
  161. package/dist/web-utils/src/hooks/tenant-metadata/use-tenant-metadata.d.ts +3 -3
  162. package/dist/web-utils/src/hooks/use-isomorphic-layout-effect.d.ts +2 -2
  163. package/dist/web-utils/src/hooks/use-mentor-settings.d.ts +21 -21
  164. package/dist/web-utils/src/hooks/use-user-agreement.d.ts +3 -6
  165. package/dist/web-utils/tsconfig.tsbuildinfo +1 -0
  166. package/package.json +1 -2
  167. package/dist/data-layer/src/config.d.ts +0 -8
  168. package/dist/data-layer/src/constants.d.ts +0 -31
  169. package/dist/data-layer/src/core/index.d.ts +0 -11
  170. package/dist/data-layer/src/features/analytics/api-slice.d.ts +0 -3756
  171. package/dist/data-layer/src/features/analytics/constants.d.ts +0 -133
  172. package/dist/data-layer/src/features/analytics/custom-api-slice.d.ts +0 -311
  173. package/dist/data-layer/src/features/analytics/types.d.ts +0 -696
  174. package/dist/data-layer/src/features/api-keys/api-slice.d.ts +0 -702
  175. package/dist/data-layer/src/features/apps/api-slice.d.ts +0 -720
  176. package/dist/data-layer/src/features/artifacts/api-slice.d.ts +0 -1798
  177. package/dist/data-layer/src/features/artifacts/constants.d.ts +0 -42
  178. package/dist/data-layer/src/features/artifacts/types.d.ts +0 -37
  179. package/dist/data-layer/src/features/audit-logs/api-slice.d.ts +0 -268
  180. package/dist/data-layer/src/features/audit-logs/constants.d.ts +0 -11
  181. package/dist/data-layer/src/features/audit-logs/types.d.ts +0 -32
  182. package/dist/data-layer/src/features/auth/api-slice.d.ts +0 -639
  183. package/dist/data-layer/src/features/auth/constants.d.ts +0 -20
  184. package/dist/data-layer/src/features/auth/types.d.ts +0 -33
  185. package/dist/data-layer/src/features/billing/api-slice.d.ts +0 -359
  186. package/dist/data-layer/src/features/billing/constants.d.ts +0 -16
  187. package/dist/data-layer/src/features/billing/custom-api-slice.d.ts +0 -634
  188. package/dist/data-layer/src/features/billing/types.d.ts +0 -36
  189. package/dist/data-layer/src/features/call-configurations/api-slice.d.ts +0 -855
  190. package/dist/data-layer/src/features/call-configurations/constants.d.ts +0 -16
  191. package/dist/data-layer/src/features/call-configurations/types.d.ts +0 -49
  192. package/dist/data-layer/src/features/career/api-slice.d.ts +0 -3080
  193. package/dist/data-layer/src/features/catalog/api-slice.d.ts +0 -10260
  194. package/dist/data-layer/src/features/chat/api-slice.d.ts +0 -1977
  195. package/dist/data-layer/src/features/chat/constants.d.ts +0 -8
  196. package/dist/data-layer/src/features/chat/custom-api-slice.d.ts +0 -272
  197. package/dist/data-layer/src/features/chat-files/api-slice.d.ts +0 -185
  198. package/dist/data-layer/src/features/chat-files/types.d.ts +0 -32
  199. package/dist/data-layer/src/features/chat-history/api-slice.d.ts +0 -1528
  200. package/dist/data-layer/src/features/chat-privacy/api-slice.d.ts +0 -1398
  201. package/dist/data-layer/src/features/chat-privacy/constants.d.ts +0 -13
  202. package/dist/data-layer/src/features/claw/api-slice.d.ts +0 -5471
  203. package/dist/data-layer/src/features/claw/constants.d.ts +0 -126
  204. package/dist/data-layer/src/features/claw/types.d.ts +0 -275
  205. package/dist/data-layer/src/features/constants.d.ts +0 -3
  206. package/dist/data-layer/src/features/core/api-slice.d.ts +0 -6188
  207. package/dist/data-layer/src/features/core/constants.d.ts +0 -51
  208. package/dist/data-layer/src/features/core/custom-api-slice.d.ts +0 -1766
  209. package/dist/data-layer/src/features/core/custom-public-image-asset-api-slice.d.ts +0 -373
  210. package/dist/data-layer/src/features/core/types.d.ts +0 -73
  211. package/dist/data-layer/src/features/course-metadata/api-slice.d.ts +0 -1728
  212. package/dist/data-layer/src/features/course-metadata/types.d.ts +0 -179
  213. package/dist/data-layer/src/features/courses/api-slice.d.ts +0 -664
  214. package/dist/data-layer/src/features/courses/types.d.ts +0 -26
  215. package/dist/data-layer/src/features/credentials/api-slice.d.ts +0 -6360
  216. package/dist/data-layer/src/features/credentials/constants.d.ts +0 -36
  217. package/dist/data-layer/src/features/credentials/custom-api-slice.d.ts +0 -1839
  218. package/dist/data-layer/src/features/credentials/types.d.ts +0 -39
  219. package/dist/data-layer/src/features/custom-domain/api-slice.d.ts +0 -602
  220. package/dist/data-layer/src/features/custom-domain/constants.d.ts +0 -20
  221. package/dist/data-layer/src/features/custom-domain/types.d.ts +0 -46
  222. package/dist/data-layer/src/features/datasets/api-slice.d.ts +0 -439
  223. package/dist/data-layer/src/features/disclaimers/api-slice.d.ts +0 -912
  224. package/dist/data-layer/src/features/disclaimers/constants.d.ts +0 -27
  225. package/dist/data-layer/src/features/disclaimers/types.d.ts +0 -67
  226. package/dist/data-layer/src/features/edx-proctoring/api-slice.d.ts +0 -590
  227. package/dist/data-layer/src/features/edx-proctoring/constants.d.ts +0 -15
  228. package/dist/data-layer/src/features/edx-proctoring/types.d.ts +0 -61
  229. package/dist/data-layer/src/features/edx-sso/api-slice.d.ts +0 -334
  230. package/dist/data-layer/src/features/edx-sso/types.d.ts +0 -10
  231. package/dist/data-layer/src/features/llms/api-slice.d.ts +0 -373
  232. package/dist/data-layer/src/features/mcp/api-slice.d.ts +0 -2613
  233. package/dist/data-layer/src/features/mcp/constants.d.ts +0 -57
  234. package/dist/data-layer/src/features/mcp/types.d.ts +0 -176
  235. package/dist/data-layer/src/features/memory/api-slice.d.ts +0 -3462
  236. package/dist/data-layer/src/features/memory/constants.d.ts +0 -80
  237. package/dist/data-layer/src/features/memory/types.d.ts +0 -190
  238. package/dist/data-layer/src/features/mentor/api-slice.d.ts +0 -7984
  239. package/dist/data-layer/src/features/mentor/constants.d.ts +0 -45
  240. package/dist/data-layer/src/features/mentor/custom-api-slice.d.ts +0 -957
  241. package/dist/data-layer/src/features/mentor/privacy.d.ts +0 -61
  242. package/dist/data-layer/src/features/mentor/types.d.ts +0 -83
  243. package/dist/data-layer/src/features/mentor-categories/api-slice.d.ts +0 -785
  244. package/dist/data-layer/src/features/moderation-logs/api-slice.d.ts +0 -705
  245. package/dist/data-layer/src/features/monetization/constants.d.ts +0 -76
  246. package/dist/data-layer/src/features/monetization/custom-api-slice.d.ts +0 -5178
  247. package/dist/data-layer/src/features/monetization/types.d.ts +0 -229
  248. package/dist/data-layer/src/features/notifications/api-slice.d.ts +0 -1728
  249. package/dist/data-layer/src/features/notifications/constants.d.ts +0 -26
  250. package/dist/data-layer/src/features/notifications/custom-api-slice.d.ts +0 -996
  251. package/dist/data-layer/src/features/notifications/types.d.ts +0 -69
  252. package/dist/data-layer/src/features/per-learner/api-slice.d.ts +0 -1329
  253. package/dist/data-layer/src/features/periodic-agents/api-slice.d.ts +0 -2347
  254. package/dist/data-layer/src/features/platform/api-slice.d.ts +0 -2553
  255. package/dist/data-layer/src/features/platform/constants.d.ts +0 -17
  256. package/dist/data-layer/src/features/platform/custom-api-slice.d.ts +0 -493
  257. package/dist/data-layer/src/features/platform/types.d.ts +0 -61
  258. package/dist/data-layer/src/features/projects/api-slice.d.ts +0 -2026
  259. package/dist/data-layer/src/features/projects/constants.d.ts +0 -51
  260. package/dist/data-layer/src/features/projects/types.d.ts +0 -79
  261. package/dist/data-layer/src/features/prompts/api-slice.d.ts +0 -2464
  262. package/dist/data-layer/src/features/reports/api-slice.d.ts +0 -789
  263. package/dist/data-layer/src/features/retirement/api-slice.d.ts +0 -165
  264. package/dist/data-layer/src/features/retirement/constants.d.ts +0 -7
  265. package/dist/data-layer/src/features/retirement/types.d.ts +0 -3
  266. package/dist/data-layer/src/features/search/ai-search-api-slice.d.ts +0 -1413
  267. package/dist/data-layer/src/features/search/api-slice.d.ts +0 -2017
  268. package/dist/data-layer/src/features/search/constants.d.ts +0 -41
  269. package/dist/data-layer/src/features/search/types.d.ts +0 -161
  270. package/dist/data-layer/src/features/sessions/api-slice.d.ts +0 -969
  271. package/dist/data-layer/src/features/sessions/constants.d.ts +0 -3
  272. package/dist/data-layer/src/features/sessions/url.d.ts +0 -9
  273. package/dist/data-layer/src/features/skills/api-slice.d.ts +0 -1389
  274. package/dist/data-layer/src/features/stripe/api-slice.d.ts +0 -803
  275. package/dist/data-layer/src/features/stripe/constants.d.ts +0 -19
  276. package/dist/data-layer/src/features/stripe/types.d.ts +0 -19
  277. package/dist/data-layer/src/features/tenant/api-slice.d.ts +0 -832
  278. package/dist/data-layer/src/features/tenant/constants.d.ts +0 -11
  279. package/dist/data-layer/src/features/tenant/types.d.ts +0 -19
  280. package/dist/data-layer/src/features/tenant-logo/api-slice.d.ts +0 -349
  281. package/dist/data-layer/src/features/tenant-logo/constants.d.ts +0 -24
  282. package/dist/data-layer/src/features/tools/api-slice.d.ts +0 -417
  283. package/dist/data-layer/src/features/training-documents/api-slice.d.ts +0 -1523
  284. package/dist/data-layer/src/features/user/api-slice.d.ts +0 -2128
  285. package/dist/data-layer/src/features/user/constants.d.ts +0 -47
  286. package/dist/data-layer/src/features/user/types.d.ts +0 -134
  287. package/dist/data-layer/src/features/user-invitations/api-slice.d.ts +0 -762
  288. package/dist/data-layer/src/features/utils.d.ts +0 -94
  289. package/dist/data-layer/src/features/watched-groups/api-slice.d.ts +0 -2481
  290. package/dist/data-layer/src/features/watched-groups/constants.d.ts +0 -66
  291. package/dist/data-layer/src/features/watched-groups/types.d.ts +0 -143
  292. package/dist/data-layer/src/features/workflows/api-slice.d.ts +0 -2454
  293. package/dist/data-layer/src/features/workflows/constants.d.ts +0 -57
  294. package/dist/data-layer/src/features/workflows/types.d.ts +0 -130
  295. package/dist/data-layer/src/index.d.ts +0 -121
  296. package/dist/data-layer/src/reducers/index.d.ts +0 -2
  297. package/dist/data-layer/src/reducers/mentor.d.ts +0 -2
  298. package/dist/data-layer/src/reducers/skills.d.ts +0 -2
  299. package/dist/data-layer/src/services/StorageService.d.ts +0 -5
  300. package/dist/data-layer/src/utils/index.d.ts +0 -6
@@ -1,8 +0,0 @@
1
- import { SERVICES } from '../../constants';
2
- export declare const CHAT_CUSTOM_REDUCER_PATH = "chatCustomApiSlice";
3
- export declare const CHAT_CUSTOM_ENDPOINTS: {
4
- GET_CHAT_MESSAGE_TTS: {
5
- path: (org: string, user_id: string, chat_message_id: string) => string;
6
- service: SERVICES;
7
- };
8
- };
@@ -1,272 +0,0 @@
1
- export interface GetChatMessageTtsArgs {
2
- org: string;
3
- user_id: string;
4
- chat_message_id: string;
5
- }
6
- export declare const chatCustomApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, {
7
- getChatMessageTts: import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>;
8
- }, "chatCustomApiSlice", never, typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
9
- export declare const useGetChatMessageTtsQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
10
- status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
11
- originalArgs?: undefined | undefined;
12
- data?: undefined | undefined;
13
- error?: undefined | undefined;
14
- requestId?: undefined | undefined;
15
- endpointName?: string | undefined;
16
- startedTimeStamp?: undefined | undefined;
17
- fulfilledTimeStamp?: undefined | undefined;
18
- } & {
19
- currentData?: string | undefined;
20
- isUninitialized: false;
21
- isLoading: false;
22
- isFetching: false;
23
- isSuccess: false;
24
- isError: false;
25
- }, "isUninitialized"> & {
26
- isUninitialized: true;
27
- }) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
28
- currentData?: string | undefined;
29
- isUninitialized: false;
30
- isLoading: false;
31
- isFetching: false;
32
- isSuccess: false;
33
- isError: false;
34
- }, {
35
- isLoading: true;
36
- isFetching: boolean;
37
- data: undefined;
38
- } | ({
39
- isSuccess: true;
40
- isFetching: true;
41
- error: undefined;
42
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
43
- currentData?: string | undefined;
44
- isUninitialized: false;
45
- isLoading: false;
46
- isFetching: false;
47
- isSuccess: false;
48
- isError: false;
49
- }, "data" | "fulfilledTimeStamp">>) | ({
50
- isSuccess: true;
51
- isFetching: false;
52
- error: undefined;
53
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
54
- currentData?: string | undefined;
55
- isUninitialized: false;
56
- isLoading: false;
57
- isFetching: false;
58
- isSuccess: false;
59
- isError: false;
60
- }, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
61
- isError: true;
62
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
63
- currentData?: string | undefined;
64
- isUninitialized: false;
65
- isLoading: false;
66
- isFetching: false;
67
- isSuccess: false;
68
- isError: false;
69
- }, "error">>)>> & {
70
- status: import("@reduxjs/toolkit/query").QueryStatus;
71
- }>(arg: GetChatMessageTtsArgs | typeof import("@reduxjs/toolkit/query").skipToken, options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & {
72
- skip?: boolean;
73
- refetchOnMountOrArgChange?: boolean | number;
74
- } & {
75
- skip?: boolean;
76
- selectFromResult?: ((state: import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
77
- status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
78
- originalArgs?: undefined | undefined;
79
- data?: undefined | undefined;
80
- error?: undefined | undefined;
81
- requestId?: undefined | undefined;
82
- endpointName?: string | undefined;
83
- startedTimeStamp?: undefined | undefined;
84
- fulfilledTimeStamp?: undefined | undefined;
85
- } & {
86
- currentData?: string | undefined;
87
- isUninitialized: false;
88
- isLoading: false;
89
- isFetching: false;
90
- isSuccess: false;
91
- isError: false;
92
- }, "isUninitialized"> & {
93
- isUninitialized: true;
94
- }) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
95
- currentData?: string | undefined;
96
- isUninitialized: false;
97
- isLoading: false;
98
- isFetching: false;
99
- isSuccess: false;
100
- isError: false;
101
- }, {
102
- isLoading: true;
103
- isFetching: boolean;
104
- data: undefined;
105
- } | ({
106
- isSuccess: true;
107
- isFetching: true;
108
- error: undefined;
109
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
110
- currentData?: string | undefined;
111
- isUninitialized: false;
112
- isLoading: false;
113
- isFetching: false;
114
- isSuccess: false;
115
- isError: false;
116
- }, "data" | "fulfilledTimeStamp">>) | ({
117
- isSuccess: true;
118
- isFetching: false;
119
- error: undefined;
120
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
121
- currentData?: string | undefined;
122
- isUninitialized: false;
123
- isLoading: false;
124
- isFetching: false;
125
- isSuccess: false;
126
- isError: false;
127
- }, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
128
- isError: true;
129
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
130
- currentData?: string | undefined;
131
- isUninitialized: false;
132
- isLoading: false;
133
- isFetching: false;
134
- isSuccess: false;
135
- isError: false;
136
- }, "error">>)>> & {
137
- status: import("@reduxjs/toolkit/query").QueryStatus;
138
- }) => R) | undefined;
139
- }) | undefined) => [R][R extends any ? 0 : never] & {
140
- refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>>;
141
- }, useLazyGetChatMessageTtsQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
142
- status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
143
- originalArgs?: undefined | undefined;
144
- data?: undefined | undefined;
145
- error?: undefined | undefined;
146
- requestId?: undefined | undefined;
147
- endpointName?: string | undefined;
148
- startedTimeStamp?: undefined | undefined;
149
- fulfilledTimeStamp?: undefined | undefined;
150
- } & {
151
- currentData?: string | undefined;
152
- isUninitialized: false;
153
- isLoading: false;
154
- isFetching: false;
155
- isSuccess: false;
156
- isError: false;
157
- }, "isUninitialized"> & {
158
- isUninitialized: true;
159
- }) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
160
- currentData?: string | undefined;
161
- isUninitialized: false;
162
- isLoading: false;
163
- isFetching: false;
164
- isSuccess: false;
165
- isError: false;
166
- }, {
167
- isLoading: true;
168
- isFetching: boolean;
169
- data: undefined;
170
- } | ({
171
- isSuccess: true;
172
- isFetching: true;
173
- error: undefined;
174
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
175
- currentData?: string | undefined;
176
- isUninitialized: false;
177
- isLoading: false;
178
- isFetching: false;
179
- isSuccess: false;
180
- isError: false;
181
- }, "data" | "fulfilledTimeStamp">>) | ({
182
- isSuccess: true;
183
- isFetching: false;
184
- error: undefined;
185
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
186
- currentData?: string | undefined;
187
- isUninitialized: false;
188
- isLoading: false;
189
- isFetching: false;
190
- isSuccess: false;
191
- isError: false;
192
- }, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
193
- isError: true;
194
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
195
- currentData?: string | undefined;
196
- isUninitialized: false;
197
- isLoading: false;
198
- isFetching: false;
199
- isSuccess: false;
200
- isError: false;
201
- }, "error">>)>> & {
202
- status: import("@reduxjs/toolkit/query").QueryStatus;
203
- }>(options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & Omit<{
204
- skip?: boolean;
205
- selectFromResult?: ((state: import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
206
- status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
207
- originalArgs?: undefined | undefined;
208
- data?: undefined | undefined;
209
- error?: undefined | undefined;
210
- requestId?: undefined | undefined;
211
- endpointName?: string | undefined;
212
- startedTimeStamp?: undefined | undefined;
213
- fulfilledTimeStamp?: undefined | undefined;
214
- } & {
215
- currentData?: string | undefined;
216
- isUninitialized: false;
217
- isLoading: false;
218
- isFetching: false;
219
- isSuccess: false;
220
- isError: false;
221
- }, "isUninitialized"> & {
222
- isUninitialized: true;
223
- }) | import("@reduxjs/toolkit/query").TSHelpersOverride<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
224
- currentData?: string | undefined;
225
- isUninitialized: false;
226
- isLoading: false;
227
- isFetching: false;
228
- isSuccess: false;
229
- isError: false;
230
- }, {
231
- isLoading: true;
232
- isFetching: boolean;
233
- data: undefined;
234
- } | ({
235
- isSuccess: true;
236
- isFetching: true;
237
- error: undefined;
238
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
239
- currentData?: string | undefined;
240
- isUninitialized: false;
241
- isLoading: false;
242
- isFetching: false;
243
- isSuccess: false;
244
- isError: false;
245
- }, "data" | "fulfilledTimeStamp">>) | ({
246
- isSuccess: true;
247
- isFetching: false;
248
- error: undefined;
249
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
250
- currentData?: string | undefined;
251
- isUninitialized: false;
252
- isLoading: false;
253
- isFetching: false;
254
- isSuccess: false;
255
- isError: false;
256
- }, "data" | "fulfilledTimeStamp" | "currentData">>) | ({
257
- isError: true;
258
- } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>> & {
259
- currentData?: string | undefined;
260
- isUninitialized: false;
261
- isLoading: false;
262
- isFetching: false;
263
- isSuccess: false;
264
- isError: false;
265
- }, "error">>)>> & {
266
- status: import("@reduxjs/toolkit/query").QueryStatus;
267
- }) => R) | undefined;
268
- }, "skip">) | undefined) => [(arg: GetChatMessageTtsArgs, preferCacheValue?: boolean) => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<GetChatMessageTtsArgs, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, string, "chatCustomApiSlice", unknown>>, [R][R extends any ? 0 : never] & {
269
- reset: () => void;
270
- }, {
271
- lastArg: GetChatMessageTtsArgs;
272
- }];
@@ -1,185 +0,0 @@
1
- import type { FileUploadURLRequest, FileUploadURLResponse } from './types';
2
- export declare const chatFilesApiSlice: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, {
3
- /**
4
- * Get presigned S3 URL for file upload
5
- * POST /api/ai-mentor/orgs/{org}/users/{userId}/chat/files/upload-url/
6
- */
7
- getFileUploadUrl: import("@reduxjs/toolkit/query").MutationDefinition<{
8
- org: string;
9
- userId: string;
10
- requestBody: FileUploadURLRequest;
11
- }, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, FileUploadURLResponse, "chatFilesApiSlice", unknown>;
12
- }, "chatFilesApiSlice", never, typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
13
- export declare const useGetFileUploadUrlMutation: <R extends Record<string, any> = ({
14
- requestId?: undefined;
15
- status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
16
- data?: undefined;
17
- error?: undefined;
18
- endpointName?: string;
19
- startedTimeStamp?: undefined;
20
- fulfilledTimeStamp?: undefined;
21
- } & {
22
- status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
23
- isUninitialized: true;
24
- isLoading: false;
25
- isSuccess: false;
26
- isError: false;
27
- }) | ({
28
- status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
29
- } & Omit<{
30
- requestId: string;
31
- data?: FileUploadURLResponse | undefined;
32
- error?: import("../utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
33
- endpointName: string;
34
- startedTimeStamp: number;
35
- fulfilledTimeStamp?: number;
36
- }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
37
- requestId: string;
38
- data?: FileUploadURLResponse | undefined;
39
- error?: import("../utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
40
- endpointName: string;
41
- startedTimeStamp: number;
42
- fulfilledTimeStamp?: number;
43
- }, "data" | "fulfilledTimeStamp">> & {
44
- error: undefined;
45
- } & {
46
- status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
47
- isUninitialized: false;
48
- isLoading: false;
49
- isSuccess: true;
50
- isError: false;
51
- }) | ({
52
- status: import("@reduxjs/toolkit/query").QueryStatus.pending;
53
- } & {
54
- requestId: string;
55
- data?: FileUploadURLResponse | undefined;
56
- error?: import("../utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
57
- endpointName: string;
58
- startedTimeStamp: number;
59
- fulfilledTimeStamp?: number;
60
- } & {
61
- data?: undefined;
62
- } & {
63
- status: import("@reduxjs/toolkit/query").QueryStatus.pending;
64
- isUninitialized: false;
65
- isLoading: true;
66
- isSuccess: false;
67
- isError: false;
68
- }) | ({
69
- status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
70
- } & Omit<{
71
- requestId: string;
72
- data?: FileUploadURLResponse | undefined;
73
- error?: import("../utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
74
- endpointName: string;
75
- startedTimeStamp: number;
76
- fulfilledTimeStamp?: number;
77
- }, "error"> & Required<Pick<{
78
- requestId: string;
79
- data?: FileUploadURLResponse | undefined;
80
- error?: import("../utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
81
- endpointName: string;
82
- startedTimeStamp: number;
83
- fulfilledTimeStamp?: number;
84
- }, "error">> & {
85
- status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
86
- isUninitialized: false;
87
- isLoading: false;
88
- isSuccess: false;
89
- isError: true;
90
- })>(options?: {
91
- selectFromResult?: ((state: ({
92
- requestId?: undefined;
93
- status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
94
- data?: undefined;
95
- error?: undefined;
96
- endpointName?: string;
97
- startedTimeStamp?: undefined;
98
- fulfilledTimeStamp?: undefined;
99
- } & {
100
- status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
101
- isUninitialized: true;
102
- isLoading: false;
103
- isSuccess: false;
104
- isError: false;
105
- }) | ({
106
- status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
107
- } & Omit<{
108
- requestId: string;
109
- data?: FileUploadURLResponse | undefined;
110
- error?: import("../utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
111
- endpointName: string;
112
- startedTimeStamp: number;
113
- fulfilledTimeStamp?: number;
114
- }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
115
- requestId: string;
116
- data?: FileUploadURLResponse | undefined;
117
- error?: import("../utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
118
- endpointName: string;
119
- startedTimeStamp: number;
120
- fulfilledTimeStamp?: number;
121
- }, "data" | "fulfilledTimeStamp">> & {
122
- error: undefined;
123
- } & {
124
- status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
125
- isUninitialized: false;
126
- isLoading: false;
127
- isSuccess: true;
128
- isError: false;
129
- }) | ({
130
- status: import("@reduxjs/toolkit/query").QueryStatus.pending;
131
- } & {
132
- requestId: string;
133
- data?: FileUploadURLResponse | undefined;
134
- error?: import("../utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
135
- endpointName: string;
136
- startedTimeStamp: number;
137
- fulfilledTimeStamp?: number;
138
- } & {
139
- data?: undefined;
140
- } & {
141
- status: import("@reduxjs/toolkit/query").QueryStatus.pending;
142
- isUninitialized: false;
143
- isLoading: true;
144
- isSuccess: false;
145
- isError: false;
146
- }) | ({
147
- status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
148
- } & Omit<{
149
- requestId: string;
150
- data?: FileUploadURLResponse | undefined;
151
- error?: import("../utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
152
- endpointName: string;
153
- startedTimeStamp: number;
154
- fulfilledTimeStamp?: number;
155
- }, "error"> & Required<Pick<{
156
- requestId: string;
157
- data?: FileUploadURLResponse | undefined;
158
- error?: import("../utils").ExtendedFetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
159
- endpointName: string;
160
- startedTimeStamp: number;
161
- fulfilledTimeStamp?: number;
162
- }, "error">> & {
163
- status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
164
- isUninitialized: false;
165
- isLoading: false;
166
- isSuccess: false;
167
- isError: true;
168
- })) => R) | undefined;
169
- fixedCacheKey?: string;
170
- } | undefined) => readonly [(arg: {
171
- org: string;
172
- userId: string;
173
- requestBody: FileUploadURLRequest;
174
- }) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<{
175
- org: string;
176
- userId: string;
177
- requestBody: FileUploadURLRequest;
178
- }, import("@reduxjs/toolkit/query").BaseQueryFn<import("../utils").CustomQueryArgs, unknown, import("../utils").ExtendedFetchBaseQueryError, Record<string, unknown>, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, never, FileUploadURLResponse, "chatFilesApiSlice", unknown>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
179
- originalArgs?: {
180
- org: string;
181
- userId: string;
182
- requestBody: FileUploadURLRequest;
183
- } | undefined;
184
- reset: () => void;
185
- }];
@@ -1,32 +0,0 @@
1
- /**
2
- * Local type definitions for file upload API
3
- * These mirror the backend API types
4
- */
5
- /**
6
- * Request for generating presigned upload URL
7
- */
8
- export interface FileUploadURLRequest {
9
- /** Chat session ID */
10
- session_id: string;
11
- /** Original filename */
12
- file_name: string;
13
- /** MIME type of the file */
14
- content_type: string;
15
- /** File size in bytes */
16
- file_size: number;
17
- }
18
- /**
19
- * Response with presigned upload URL
20
- */
21
- export interface FileUploadURLResponse {
22
- /** Presigned S3 upload URL */
23
- upload_url: string;
24
- /** S3 object key for the uploaded file */
25
- file_key: string;
26
- /** Unique identifier for the ChatFile record */
27
- file_id: string;
28
- /** URL expiration time in seconds */
29
- expires_in: number;
30
- /** HTTP method to use for upload (PUT or POST) */
31
- upload_method?: string;
32
- }