@iblai/web-utils 1.11.8 → 1.11.10
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.
- package/dist/auth/index.esm.js.map +1 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/web-utils/src/__tests__/index.mobile.test.d.ts +7 -0
- package/dist/auth/web-utils/src/__tests__/index.web.test.d.ts +8 -0
- package/dist/auth/web-utils/src/constants/__tests__/chat.test.d.ts +1 -0
- package/dist/auth/web-utils/src/constants/chat.d.ts +8 -0
- package/dist/auth/web-utils/src/features/apple-restriction/__tests__/slice.test.d.ts +1 -0
- package/dist/auth/web-utils/src/features/apple-restriction/slice.d.ts +7 -0
- package/dist/auth/web-utils/src/features/chat/__tests__/slice.test.d.ts +1 -0
- package/dist/auth/web-utils/src/features/chat/slice.d.ts +164 -0
- package/dist/auth/web-utils/src/features/chat-input/__tests__/api-slice.test.d.ts +1 -0
- package/dist/auth/web-utils/src/features/chat-input/api-slice.d.ts +12 -0
- package/dist/auth/web-utils/src/features/csv/combine-csv.d.ts +35 -0
- package/dist/auth/web-utils/src/features/csv/index.d.ts +1 -0
- package/dist/auth/web-utils/src/features/files/__tests__/filesSlice.test.d.ts +1 -0
- package/dist/auth/web-utils/src/features/files/filesSlice.d.ts +23 -0
- package/dist/auth/web-utils/src/features/host-chat/__tests__/slice.test.d.ts +1 -0
- package/dist/auth/web-utils/src/features/host-chat/slice.d.ts +17 -0
- package/dist/auth/web-utils/src/features/index.d.ts +11 -0
- package/dist/auth/web-utils/src/features/monetization/__tests__/slice.test.d.ts +1 -0
- package/dist/auth/web-utils/src/features/monetization/slice.d.ts +16 -0
- package/dist/auth/web-utils/src/features/rbac/__tests__/rbac-slice.test.d.ts +1 -0
- package/dist/auth/web-utils/src/features/rbac/rbac-slice.d.ts +13 -0
- package/dist/auth/web-utils/src/features/subscription/__tests__/slice.test.d.ts +1 -0
- package/dist/auth/web-utils/src/features/subscription/constants.d.ts +12 -0
- package/dist/auth/web-utils/src/features/subscription/slice.d.ts +28 -0
- package/dist/auth/web-utils/src/features/top-banner/__tests__/slice.test.d.ts +1 -0
- package/dist/auth/web-utils/src/features/top-banner/slice.d.ts +24 -0
- package/dist/auth/web-utils/src/features/tracking/__tests__/time-tracker.test.d.ts +1 -0
- package/dist/auth/web-utils/src/features/tracking/examples.d.ts +4 -0
- package/dist/auth/web-utils/src/features/tracking/index.d.ts +6 -0
- package/dist/auth/web-utils/src/features/tracking/time-tracker.d.ts +29 -0
- package/dist/auth/web-utils/src/features/tracking/use-time-tracker-native.d.ts +14 -0
- package/dist/auth/web-utils/src/features/tracking/use-time-tracker.d.ts +14 -0
- package/dist/auth/web-utils/src/hoc/index.d.ts +2 -0
- package/dist/auth/web-utils/src/hoc/with-permissions.d.ts +44 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-accessing-public-route.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-cached-session-id.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-chat-file-upload.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-embed-mode.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-event-callback.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-event-listener.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-file-drag-drop.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-local-storage.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-mentor-settings.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-model-file-upload-capabilities.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-os.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-responsive.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-show-attachment.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-show-free-trial-dialog.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-show-voice-call.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-show-voice-recorder.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-timer.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-tokens.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-user-agreement.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-user.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-voice-chat.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/__tests__/use-welcome-message.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/chat/__tests__/chat-history.utils.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/chat/chat-history.utils.d.ts +10 -0
- package/dist/auth/web-utils/src/hooks/chat/ollama-client.d.ts +57 -0
- package/dist/auth/web-utils/src/hooks/chat/use-advanced-chat.d.ts +61 -0
- package/dist/auth/web-utils/src/hooks/chat/use-advanced-chat.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/chat/use-chat-history.d.ts +17 -0
- package/dist/auth/web-utils/src/hooks/chat/use-chat-v2.d.ts +146 -0
- package/dist/auth/web-utils/src/hooks/chat/use-chat-v2.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/chat/use-chat.d.ts +53 -0
- package/dist/auth/web-utils/src/hooks/chat/use-get-chat-details.d.ts +14 -0
- package/dist/auth/web-utils/src/hooks/chat/use-get-chat-details.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/chat/use-mentor-tools.d.ts +24 -0
- package/dist/auth/web-utils/src/hooks/chat/use-mentor-tools.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/index.d.ts +42 -0
- package/dist/auth/web-utils/src/hooks/profile/use-profile-image-upload.d.ts +13 -0
- package/dist/auth/web-utils/src/hooks/profile/use-user-profile-update.d.ts +28 -0
- package/dist/auth/web-utils/src/hooks/stripe/__tests__/use-stripe-upgrade.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/stripe/use-stripe-upgrade.d.ts +14 -0
- package/dist/auth/web-utils/src/hooks/subscription/class-subscription-flow.d.ts +70 -0
- package/dist/auth/web-utils/src/hooks/subscription/constants.d.ts +4 -0
- package/dist/auth/web-utils/src/hooks/subscription/use-subscription-handler.d.ts +11 -0
- package/dist/auth/web-utils/src/hooks/subscription-v2/__tests__/use-402-error-check.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/subscription-v2/class-subscription-flow.d.ts +78 -0
- package/dist/auth/web-utils/src/hooks/subscription-v2/constants.d.ts +56 -0
- package/dist/auth/web-utils/src/hooks/subscription-v2/use-402-error-check.d.ts +22 -0
- package/dist/auth/web-utils/src/hooks/subscription-v2/use-external-pricing-plan.d.ts +7 -0
- package/dist/auth/web-utils/src/hooks/subscription-v2/use-subscription-handler.d.ts +71 -0
- package/dist/auth/web-utils/src/hooks/tenant-metadata/__tests__/config-loader.test.d.ts +10 -0
- package/dist/auth/web-utils/src/hooks/tenant-metadata/__tests__/use-tenant-metadata.test.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/tenant-metadata/config-loader.d.ts +41 -0
- package/dist/auth/web-utils/src/hooks/tenant-metadata/constants.d.ts +9 -0
- package/dist/auth/web-utils/src/hooks/tenant-metadata/index.d.ts +5 -0
- package/dist/auth/web-utils/src/hooks/tenant-metadata/types.d.ts +9 -0
- package/dist/auth/web-utils/src/hooks/tenant-metadata/use-tenant-metadata.d.ts +29 -0
- package/dist/auth/web-utils/src/hooks/use-accessing-public-route.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/use-cached-session-id.d.ts +8 -0
- package/dist/auth/web-utils/src/hooks/use-chat-file-upload.d.ts +17 -0
- package/dist/auth/web-utils/src/hooks/use-day-js.d.ts +7 -0
- package/dist/auth/web-utils/src/hooks/use-embed-mode.d.ts +1 -0
- package/dist/auth/web-utils/src/hooks/use-event-callback.d.ts +2 -0
- package/dist/auth/web-utils/src/hooks/use-event-listener.d.ts +6 -0
- package/dist/auth/web-utils/src/hooks/use-file-drag-drop.d.ts +15 -0
- package/dist/auth/web-utils/src/hooks/use-isomorphic-layout-effect.d.ts +2 -0
- package/dist/auth/web-utils/src/hooks/use-local-storage.d.ts +13 -0
- package/dist/auth/web-utils/src/hooks/use-mentor-settings.d.ts +46 -0
- package/dist/auth/web-utils/src/hooks/use-model-file-upload-capabilities.d.ts +21 -0
- package/dist/auth/web-utils/src/hooks/use-os.d.ts +8 -0
- package/dist/auth/web-utils/src/hooks/use-responsive.d.ts +13 -0
- package/dist/auth/web-utils/src/hooks/use-show-attachment.d.ts +7 -0
- package/dist/auth/web-utils/src/hooks/use-show-free-trial-dialog.d.ts +31 -0
- package/dist/auth/web-utils/src/hooks/use-show-voice-call.d.ts +7 -0
- package/dist/auth/web-utils/src/hooks/use-show-voice-recorder.d.ts +7 -0
- package/dist/auth/web-utils/src/hooks/use-tenant-switch-sync.d.ts +13 -0
- package/dist/auth/web-utils/src/hooks/use-timer.d.ts +7 -0
- package/dist/auth/web-utils/src/hooks/use-tokens.d.ts +2 -0
- package/dist/auth/web-utils/src/hooks/use-user-agreement.d.ts +18 -0
- package/dist/auth/web-utils/src/hooks/use-user.d.ts +23 -0
- package/dist/auth/web-utils/src/hooks/use-voice-chat.d.ts +11 -0
- package/dist/auth/web-utils/src/hooks/use-welcome-message.d.ts +16 -0
- package/dist/auth/web-utils/src/index.d.ts +8 -0
- package/dist/auth/web-utils/src/index.mobile.d.ts +86 -0
- package/dist/auth/web-utils/src/index.web.d.ts +142 -0
- package/dist/auth/web-utils/src/providers/__tests__/auth-provider.test.d.ts +1 -0
- package/dist/auth/web-utils/src/providers/__tests__/mentor-provider.test.d.ts +1 -0
- package/dist/auth/web-utils/src/providers/__tests__/service-worker-provider.test.d.ts +1 -0
- package/dist/auth/web-utils/src/providers/__tests__/tenant-provider.test.d.ts +1 -0
- package/dist/auth/web-utils/src/providers/auth-provider.d.ts +129 -0
- package/dist/auth/web-utils/src/providers/index.d.ts +4 -0
- package/dist/auth/web-utils/src/providers/mentor-provider.d.ts +44 -0
- package/dist/auth/web-utils/src/providers/service-worker-provider.d.ts +21 -0
- package/dist/auth/web-utils/src/providers/tenant-provider.d.ts +77 -0
- package/dist/auth/web-utils/src/services/__tests__/event-bus.test.d.ts +1 -0
- package/dist/auth/web-utils/src/services/__tests__/file-upload.test.d.ts +1 -0
- package/dist/auth/web-utils/src/services/__tests__/register-sw.test.d.ts +1 -0
- package/dist/auth/web-utils/src/services/event-bus.d.ts +6 -0
- package/dist/auth/web-utils/src/services/file-upload.d.ts +60 -0
- package/dist/auth/web-utils/src/services/index.d.ts +3 -0
- package/dist/auth/web-utils/src/services/register-sw.d.ts +71 -0
- package/dist/auth/web-utils/src/types/chat.d.ts +1 -0
- package/dist/auth/web-utils/src/types/file-upload.d.ts +62 -0
- package/dist/auth/web-utils/src/types/index.d.ts +68 -0
- package/dist/auth/web-utils/src/types/subscription.d.ts +40 -0
- package/dist/auth/web-utils/src/utils/__tests__/auth.test.d.ts +1 -0
- package/dist/auth/web-utils/src/utils/__tests__/constants.test.d.ts +1 -0
- package/dist/auth/web-utils/src/utils/__tests__/helpers.test.d.ts +1 -0
- package/dist/auth/web-utils/src/utils/__tests__/platform.test.d.ts +1 -0
- package/dist/auth/web-utils/src/utils/__tests__/tauri-api-cache.test.d.ts +1 -0
- package/dist/auth/web-utils/src/utils/__tests__/tenant-switch.test.d.ts +1 -0
- package/dist/auth/web-utils/src/utils/constants.d.ts +69 -0
- package/dist/auth/web-utils/src/utils/data/__tests__/advanced-tab.test.d.ts +1 -0
- package/dist/auth/web-utils/src/utils/data/advanced-tab.d.ts +62 -0
- package/dist/auth/web-utils/src/utils/helpers.d.ts +33 -0
- package/dist/auth/web-utils/src/utils/index.d.ts +6 -0
- package/dist/auth/web-utils/src/utils/platform.d.ts +9 -0
- package/dist/auth/web-utils/src/utils/tauri-api-cache.d.ts +19 -0
- package/dist/index.esm.js +575 -262
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +588 -275
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -2
- package/dist/web-utils/src/hooks/chat/use-advanced-chat.d.ts +4 -4
- package/dist/web-utils/src/hooks/subscription-v2/use-subscription-handler.d.ts +3 -3
- package/dist/web-utils/src/hooks/tenant-metadata/use-tenant-metadata.d.ts +3 -3
- package/dist/web-utils/src/hooks/use-isomorphic-layout-effect.d.ts +2 -2
- package/dist/web-utils/src/hooks/use-mentor-settings.d.ts +21 -21
- package/dist/web-utils/src/hooks/use-user-agreement.d.ts +3 -6
- package/dist/web-utils/tsconfig.tsbuildinfo +1 -0
- package/package.json +1 -2
- package/dist/data-layer/src/config.d.ts +0 -8
- package/dist/data-layer/src/constants.d.ts +0 -31
- package/dist/data-layer/src/core/index.d.ts +0 -11
- package/dist/data-layer/src/features/analytics/api-slice.d.ts +0 -3756
- package/dist/data-layer/src/features/analytics/constants.d.ts +0 -133
- package/dist/data-layer/src/features/analytics/custom-api-slice.d.ts +0 -8
- package/dist/data-layer/src/features/analytics/types.d.ts +0 -696
- package/dist/data-layer/src/features/api-keys/api-slice.d.ts +0 -702
- package/dist/data-layer/src/features/apps/api-slice.d.ts +0 -720
- package/dist/data-layer/src/features/artifacts/api-slice.d.ts +0 -1798
- package/dist/data-layer/src/features/artifacts/constants.d.ts +0 -42
- package/dist/data-layer/src/features/artifacts/types.d.ts +0 -37
- package/dist/data-layer/src/features/audit-logs/api-slice.d.ts +0 -268
- package/dist/data-layer/src/features/audit-logs/constants.d.ts +0 -11
- package/dist/data-layer/src/features/audit-logs/types.d.ts +0 -32
- package/dist/data-layer/src/features/auth/api-slice.d.ts +0 -639
- package/dist/data-layer/src/features/auth/constants.d.ts +0 -20
- package/dist/data-layer/src/features/auth/types.d.ts +0 -33
- package/dist/data-layer/src/features/billing/api-slice.d.ts +0 -359
- package/dist/data-layer/src/features/billing/constants.d.ts +0 -16
- package/dist/data-layer/src/features/billing/custom-api-slice.d.ts +0 -634
- package/dist/data-layer/src/features/billing/types.d.ts +0 -36
- package/dist/data-layer/src/features/call-configurations/api-slice.d.ts +0 -855
- package/dist/data-layer/src/features/call-configurations/constants.d.ts +0 -16
- package/dist/data-layer/src/features/call-configurations/types.d.ts +0 -49
- package/dist/data-layer/src/features/career/api-slice.d.ts +0 -3080
- package/dist/data-layer/src/features/catalog/api-slice.d.ts +0 -10260
- package/dist/data-layer/src/features/chat/api-slice.d.ts +0 -1977
- package/dist/data-layer/src/features/chat/constants.d.ts +0 -8
- package/dist/data-layer/src/features/chat/custom-api-slice.d.ts +0 -272
- package/dist/data-layer/src/features/chat-files/api-slice.d.ts +0 -185
- package/dist/data-layer/src/features/chat-files/types.d.ts +0 -32
- package/dist/data-layer/src/features/chat-history/api-slice.d.ts +0 -1528
- package/dist/data-layer/src/features/chat-privacy/api-slice.d.ts +0 -1398
- package/dist/data-layer/src/features/chat-privacy/constants.d.ts +0 -13
- package/dist/data-layer/src/features/claw/api-slice.d.ts +0 -5471
- package/dist/data-layer/src/features/claw/constants.d.ts +0 -126
- package/dist/data-layer/src/features/claw/types.d.ts +0 -275
- package/dist/data-layer/src/features/constants.d.ts +0 -3
- package/dist/data-layer/src/features/core/api-slice.d.ts +0 -9045
- package/dist/data-layer/src/features/core/constants.d.ts +0 -51
- package/dist/data-layer/src/features/core/custom-api-slice.d.ts +0 -1766
- package/dist/data-layer/src/features/core/custom-public-image-asset-api-slice.d.ts +0 -373
- package/dist/data-layer/src/features/core/types.d.ts +0 -73
- package/dist/data-layer/src/features/course-metadata/api-slice.d.ts +0 -1728
- package/dist/data-layer/src/features/course-metadata/types.d.ts +0 -179
- package/dist/data-layer/src/features/courses/api-slice.d.ts +0 -664
- package/dist/data-layer/src/features/courses/types.d.ts +0 -26
- package/dist/data-layer/src/features/credentials/api-slice.d.ts +0 -6360
- package/dist/data-layer/src/features/credentials/constants.d.ts +0 -36
- package/dist/data-layer/src/features/credentials/custom-api-slice.d.ts +0 -1839
- package/dist/data-layer/src/features/credentials/types.d.ts +0 -39
- package/dist/data-layer/src/features/custom-domain/api-slice.d.ts +0 -602
- package/dist/data-layer/src/features/custom-domain/constants.d.ts +0 -20
- package/dist/data-layer/src/features/custom-domain/types.d.ts +0 -46
- package/dist/data-layer/src/features/datasets/api-slice.d.ts +0 -439
- package/dist/data-layer/src/features/disclaimers/api-slice.d.ts +0 -912
- package/dist/data-layer/src/features/disclaimers/constants.d.ts +0 -27
- package/dist/data-layer/src/features/disclaimers/types.d.ts +0 -67
- package/dist/data-layer/src/features/edx-proctoring/api-slice.d.ts +0 -590
- package/dist/data-layer/src/features/edx-proctoring/constants.d.ts +0 -15
- package/dist/data-layer/src/features/edx-proctoring/types.d.ts +0 -61
- package/dist/data-layer/src/features/edx-sso/api-slice.d.ts +0 -334
- package/dist/data-layer/src/features/edx-sso/types.d.ts +0 -10
- package/dist/data-layer/src/features/llms/api-slice.d.ts +0 -373
- package/dist/data-layer/src/features/mcp/api-slice.d.ts +0 -2613
- package/dist/data-layer/src/features/mcp/constants.d.ts +0 -57
- package/dist/data-layer/src/features/mcp/types.d.ts +0 -176
- package/dist/data-layer/src/features/memory/api-slice.d.ts +0 -3462
- package/dist/data-layer/src/features/memory/constants.d.ts +0 -80
- package/dist/data-layer/src/features/memory/types.d.ts +0 -190
- package/dist/data-layer/src/features/mentor/api-slice.d.ts +0 -7984
- package/dist/data-layer/src/features/mentor/constants.d.ts +0 -45
- package/dist/data-layer/src/features/mentor/custom-api-slice.d.ts +0 -957
- package/dist/data-layer/src/features/mentor/privacy.d.ts +0 -61
- package/dist/data-layer/src/features/mentor/types.d.ts +0 -83
- package/dist/data-layer/src/features/mentor-categories/api-slice.d.ts +0 -785
- package/dist/data-layer/src/features/moderation-logs/api-slice.d.ts +0 -705
- package/dist/data-layer/src/features/monetization/constants.d.ts +0 -76
- package/dist/data-layer/src/features/monetization/custom-api-slice.d.ts +0 -5178
- package/dist/data-layer/src/features/monetization/types.d.ts +0 -229
- package/dist/data-layer/src/features/notifications/api-slice.d.ts +0 -1728
- package/dist/data-layer/src/features/notifications/constants.d.ts +0 -26
- package/dist/data-layer/src/features/notifications/custom-api-slice.d.ts +0 -996
- package/dist/data-layer/src/features/notifications/types.d.ts +0 -69
- package/dist/data-layer/src/features/per-learner/api-slice.d.ts +0 -1329
- package/dist/data-layer/src/features/periodic-agents/api-slice.d.ts +0 -2347
- package/dist/data-layer/src/features/platform/api-slice.d.ts +0 -2553
- package/dist/data-layer/src/features/platform/constants.d.ts +0 -17
- package/dist/data-layer/src/features/platform/custom-api-slice.d.ts +0 -493
- package/dist/data-layer/src/features/platform/types.d.ts +0 -61
- package/dist/data-layer/src/features/projects/api-slice.d.ts +0 -2026
- package/dist/data-layer/src/features/projects/constants.d.ts +0 -51
- package/dist/data-layer/src/features/projects/types.d.ts +0 -79
- package/dist/data-layer/src/features/prompts/api-slice.d.ts +0 -2464
- package/dist/data-layer/src/features/reports/api-slice.d.ts +0 -789
- package/dist/data-layer/src/features/retirement/api-slice.d.ts +0 -165
- package/dist/data-layer/src/features/retirement/constants.d.ts +0 -7
- package/dist/data-layer/src/features/retirement/types.d.ts +0 -3
- package/dist/data-layer/src/features/search/ai-search-api-slice.d.ts +0 -1413
- package/dist/data-layer/src/features/search/api-slice.d.ts +0 -2017
- package/dist/data-layer/src/features/search/constants.d.ts +0 -41
- package/dist/data-layer/src/features/search/types.d.ts +0 -161
- package/dist/data-layer/src/features/sessions/api-slice.d.ts +0 -969
- package/dist/data-layer/src/features/sessions/constants.d.ts +0 -3
- package/dist/data-layer/src/features/sessions/url.d.ts +0 -9
- package/dist/data-layer/src/features/skills/api-slice.d.ts +0 -1389
- package/dist/data-layer/src/features/stripe/api-slice.d.ts +0 -803
- package/dist/data-layer/src/features/stripe/constants.d.ts +0 -19
- package/dist/data-layer/src/features/stripe/types.d.ts +0 -19
- package/dist/data-layer/src/features/tenant/api-slice.d.ts +0 -832
- package/dist/data-layer/src/features/tenant/constants.d.ts +0 -11
- package/dist/data-layer/src/features/tenant/types.d.ts +0 -19
- package/dist/data-layer/src/features/tenant-logo/api-slice.d.ts +0 -349
- package/dist/data-layer/src/features/tenant-logo/constants.d.ts +0 -24
- package/dist/data-layer/src/features/tools/api-slice.d.ts +0 -417
- package/dist/data-layer/src/features/training-documents/api-slice.d.ts +0 -1523
- package/dist/data-layer/src/features/user/api-slice.d.ts +0 -2128
- package/dist/data-layer/src/features/user/constants.d.ts +0 -47
- package/dist/data-layer/src/features/user/types.d.ts +0 -134
- package/dist/data-layer/src/features/user-invitations/api-slice.d.ts +0 -762
- package/dist/data-layer/src/features/utils.d.ts +0 -94
- package/dist/data-layer/src/features/watched-groups/api-slice.d.ts +0 -2481
- package/dist/data-layer/src/features/watched-groups/constants.d.ts +0 -66
- package/dist/data-layer/src/features/watched-groups/types.d.ts +0 -143
- package/dist/data-layer/src/features/workflows/api-slice.d.ts +0 -2454
- package/dist/data-layer/src/features/workflows/constants.d.ts +0 -57
- package/dist/data-layer/src/features/workflows/types.d.ts +0 -130
- package/dist/data-layer/src/index.d.ts +0 -121
- package/dist/data-layer/src/reducers/index.d.ts +0 -2
- package/dist/data-layer/src/reducers/mentor.d.ts +0 -2
- package/dist/data-layer/src/reducers/skills.d.ts +0 -2
- package/dist/data-layer/src/services/StorageService.d.ts +0 -5
- package/dist/data-layer/src/utils/index.d.ts +0 -6
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { SERVICES } from '@data-layer/constants';
|
|
2
|
-
export declare const CLAW_REDUCER_PATH = "clawApiSlice";
|
|
3
|
-
export declare const CLAW_TAG_TYPES: readonly ["ClawMentorConfig", "ClawInstances", "AgentConfig", "AgentSkills", "AgentSkillResources", "MentorSkillAssignments"];
|
|
4
|
-
export declare const CLAW_ENDPOINTS: {
|
|
5
|
-
readonly GET_MENTOR_CONFIG: {
|
|
6
|
-
readonly path: (org: string, mentorUniqueId: string) => string;
|
|
7
|
-
readonly service: SERVICES.DM;
|
|
8
|
-
};
|
|
9
|
-
readonly CREATE_MENTOR_CONFIG: {
|
|
10
|
-
readonly path: (org: string, mentorUniqueId: string) => string;
|
|
11
|
-
readonly service: SERVICES.DM;
|
|
12
|
-
};
|
|
13
|
-
readonly UPDATE_MENTOR_CONFIG: {
|
|
14
|
-
readonly path: (org: string, mentorUniqueId: string) => string;
|
|
15
|
-
readonly service: SERVICES.DM;
|
|
16
|
-
};
|
|
17
|
-
readonly DELETE_MENTOR_CONFIG: {
|
|
18
|
-
readonly path: (org: string, mentorUniqueId: string) => string;
|
|
19
|
-
readonly service: SERVICES.DM;
|
|
20
|
-
};
|
|
21
|
-
readonly PUSH_CONFIG: {
|
|
22
|
-
readonly path: (org: string, mentorUniqueId: string) => string;
|
|
23
|
-
readonly service: SERVICES.DM;
|
|
24
|
-
};
|
|
25
|
-
readonly GET_INSTANCES: {
|
|
26
|
-
readonly path: (org: string) => string;
|
|
27
|
-
readonly service: SERVICES.DM;
|
|
28
|
-
};
|
|
29
|
-
readonly GET_INSTANCE: {
|
|
30
|
-
readonly path: (org: string, id: number) => string;
|
|
31
|
-
readonly service: SERVICES.DM;
|
|
32
|
-
};
|
|
33
|
-
readonly CREATE_INSTANCE: {
|
|
34
|
-
readonly path: (org: string) => string;
|
|
35
|
-
readonly service: SERVICES.DM;
|
|
36
|
-
};
|
|
37
|
-
readonly UPDATE_INSTANCE: {
|
|
38
|
-
readonly path: (org: string, id: number) => string;
|
|
39
|
-
readonly service: SERVICES.DM;
|
|
40
|
-
};
|
|
41
|
-
readonly DELETE_INSTANCE: {
|
|
42
|
-
readonly path: (org: string, id: number) => string;
|
|
43
|
-
readonly service: SERVICES.DM;
|
|
44
|
-
};
|
|
45
|
-
readonly HEALTH_CHECK_INSTANCE: {
|
|
46
|
-
readonly path: (org: string, id: number) => string;
|
|
47
|
-
readonly service: SERVICES.DM;
|
|
48
|
-
};
|
|
49
|
-
readonly TEST_CONNECTIVITY_INSTANCE: {
|
|
50
|
-
readonly path: (org: string, id: number) => string;
|
|
51
|
-
readonly service: SERVICES.DM;
|
|
52
|
-
};
|
|
53
|
-
readonly REFRESH_VERSION_INSTANCE: {
|
|
54
|
-
readonly path: (org: string, id: number) => string;
|
|
55
|
-
readonly service: SERVICES.DM;
|
|
56
|
-
};
|
|
57
|
-
readonly GET_AGENT_CONFIG: {
|
|
58
|
-
readonly path: (org: string, mentorUniqueId: string) => string;
|
|
59
|
-
readonly service: SERVICES.DM;
|
|
60
|
-
};
|
|
61
|
-
/** PATCH is upsert — first write bootstraps the row, no separate POST. */
|
|
62
|
-
readonly UPDATE_AGENT_CONFIG: {
|
|
63
|
-
readonly path: (org: string, mentorUniqueId: string) => string;
|
|
64
|
-
readonly service: SERVICES.DM;
|
|
65
|
-
};
|
|
66
|
-
readonly GET_AGENT_SKILLS: {
|
|
67
|
-
readonly path: (org: string) => string;
|
|
68
|
-
readonly service: SERVICES.DM;
|
|
69
|
-
};
|
|
70
|
-
readonly GET_AGENT_SKILL: {
|
|
71
|
-
readonly path: (org: string, id: number) => string;
|
|
72
|
-
readonly service: SERVICES.DM;
|
|
73
|
-
};
|
|
74
|
-
readonly CREATE_AGENT_SKILL: {
|
|
75
|
-
readonly path: (org: string) => string;
|
|
76
|
-
readonly service: SERVICES.DM;
|
|
77
|
-
};
|
|
78
|
-
readonly UPDATE_AGENT_SKILL: {
|
|
79
|
-
readonly path: (org: string, id: number) => string;
|
|
80
|
-
readonly service: SERVICES.DM;
|
|
81
|
-
};
|
|
82
|
-
readonly DELETE_AGENT_SKILL: {
|
|
83
|
-
readonly path: (org: string, id: number) => string;
|
|
84
|
-
readonly service: SERVICES.DM;
|
|
85
|
-
};
|
|
86
|
-
readonly GET_AGENT_SKILL_RESOURCES: {
|
|
87
|
-
readonly path: (org: string) => string;
|
|
88
|
-
readonly service: SERVICES.DM;
|
|
89
|
-
};
|
|
90
|
-
readonly GET_AGENT_SKILL_RESOURCE: {
|
|
91
|
-
readonly path: (org: string, id: number) => string;
|
|
92
|
-
readonly service: SERVICES.DM;
|
|
93
|
-
};
|
|
94
|
-
readonly CREATE_AGENT_SKILL_RESOURCE: {
|
|
95
|
-
readonly path: (org: string) => string;
|
|
96
|
-
readonly service: SERVICES.DM;
|
|
97
|
-
};
|
|
98
|
-
readonly UPDATE_AGENT_SKILL_RESOURCE: {
|
|
99
|
-
readonly path: (org: string, id: number) => string;
|
|
100
|
-
readonly service: SERVICES.DM;
|
|
101
|
-
};
|
|
102
|
-
readonly DELETE_AGENT_SKILL_RESOURCE: {
|
|
103
|
-
readonly path: (org: string, id: number) => string;
|
|
104
|
-
readonly service: SERVICES.DM;
|
|
105
|
-
};
|
|
106
|
-
readonly GET_MENTOR_SKILL_ASSIGNMENTS: {
|
|
107
|
-
readonly path: (org: string, mentorUniqueId: string) => string;
|
|
108
|
-
readonly service: SERVICES.DM;
|
|
109
|
-
};
|
|
110
|
-
readonly CREATE_MENTOR_SKILL_ASSIGNMENT: {
|
|
111
|
-
readonly path: (org: string, mentorUniqueId: string) => string;
|
|
112
|
-
readonly service: SERVICES.DM;
|
|
113
|
-
};
|
|
114
|
-
readonly GET_MENTOR_SKILL_ASSIGNMENT: {
|
|
115
|
-
readonly path: (org: string, mentorUniqueId: string, assignmentPk: number) => string;
|
|
116
|
-
readonly service: SERVICES.DM;
|
|
117
|
-
};
|
|
118
|
-
readonly UPDATE_MENTOR_SKILL_ASSIGNMENT: {
|
|
119
|
-
readonly path: (org: string, mentorUniqueId: string, assignmentPk: number) => string;
|
|
120
|
-
readonly service: SERVICES.DM;
|
|
121
|
-
};
|
|
122
|
-
readonly DELETE_MENTOR_SKILL_ASSIGNMENT: {
|
|
123
|
-
readonly path: (org: string, mentorUniqueId: string, assignmentPk: number) => string;
|
|
124
|
-
readonly service: SERVICES.DM;
|
|
125
|
-
};
|
|
126
|
-
};
|
|
@@ -1,275 +0,0 @@
|
|
|
1
|
-
export interface ClawBaseParams {
|
|
2
|
-
org: string;
|
|
3
|
-
}
|
|
4
|
-
export interface ClawMentorConfig {
|
|
5
|
-
id: number;
|
|
6
|
-
mentor: string;
|
|
7
|
-
server: number;
|
|
8
|
-
server_name: string;
|
|
9
|
-
server_status: string;
|
|
10
|
-
server_last_health_status: string | null;
|
|
11
|
-
server_last_health_check: string | null;
|
|
12
|
-
agent_config: Record<string, unknown>;
|
|
13
|
-
/** OpenClaw worker agent identifier. Defaults to "main". */
|
|
14
|
-
agent_id: string;
|
|
15
|
-
enabled: boolean;
|
|
16
|
-
auto_push: boolean;
|
|
17
|
-
last_config_push: string | null;
|
|
18
|
-
last_config_push_status: string | null;
|
|
19
|
-
last_push_warnings: string[];
|
|
20
|
-
}
|
|
21
|
-
export interface GetClawMentorConfigParams extends ClawBaseParams {
|
|
22
|
-
mentorUniqueId: string;
|
|
23
|
-
}
|
|
24
|
-
export interface CreateClawMentorConfigParams extends ClawBaseParams {
|
|
25
|
-
mentorUniqueId: string;
|
|
26
|
-
server: number;
|
|
27
|
-
enabled?: boolean;
|
|
28
|
-
/** OpenClaw worker agent identifier. Omit to accept default "main". */
|
|
29
|
-
agent_id?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface UpdateClawMentorConfigParams extends ClawBaseParams {
|
|
32
|
-
mentorUniqueId: string;
|
|
33
|
-
server?: number;
|
|
34
|
-
enabled?: boolean;
|
|
35
|
-
auto_push?: boolean;
|
|
36
|
-
agent_config?: Record<string, unknown>;
|
|
37
|
-
agent_id?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface DeleteClawMentorConfigParams extends ClawBaseParams {
|
|
40
|
-
mentorUniqueId: string;
|
|
41
|
-
}
|
|
42
|
-
export interface PushClawConfigParams extends ClawBaseParams {
|
|
43
|
-
mentorUniqueId: string;
|
|
44
|
-
}
|
|
45
|
-
export interface ClawInstance {
|
|
46
|
-
id: number;
|
|
47
|
-
name: string;
|
|
48
|
-
claw_type: string;
|
|
49
|
-
provision_mode: string;
|
|
50
|
-
server_url: string;
|
|
51
|
-
deployment_backend: number | null;
|
|
52
|
-
status: string;
|
|
53
|
-
deploy_state: string;
|
|
54
|
-
last_health_check: string | null;
|
|
55
|
-
last_health_status: string | null;
|
|
56
|
-
claw_version: string | null;
|
|
57
|
-
platform_key: string;
|
|
58
|
-
created_at: string;
|
|
59
|
-
updated_at: string;
|
|
60
|
-
}
|
|
61
|
-
export interface PaginatedClawInstanceList {
|
|
62
|
-
count: number;
|
|
63
|
-
next: string | null;
|
|
64
|
-
previous: string | null;
|
|
65
|
-
results: ClawInstance[];
|
|
66
|
-
}
|
|
67
|
-
export interface GetClawInstancesParams extends ClawBaseParams {
|
|
68
|
-
}
|
|
69
|
-
export interface GetClawInstanceParams extends ClawBaseParams {
|
|
70
|
-
id: number;
|
|
71
|
-
}
|
|
72
|
-
export interface CreateClawInstanceParams extends ClawBaseParams {
|
|
73
|
-
name: string;
|
|
74
|
-
claw_type: string;
|
|
75
|
-
server_url: string;
|
|
76
|
-
gateway_token?: string;
|
|
77
|
-
auth_headers?: Record<string, string>;
|
|
78
|
-
connection_params?: Record<string, unknown>;
|
|
79
|
-
deployment_backend?: number | null;
|
|
80
|
-
}
|
|
81
|
-
export interface UpdateClawInstanceParams extends ClawBaseParams {
|
|
82
|
-
id: number;
|
|
83
|
-
name?: string;
|
|
84
|
-
claw_type?: string;
|
|
85
|
-
server_url?: string;
|
|
86
|
-
gateway_token?: string;
|
|
87
|
-
auth_headers?: Record<string, string>;
|
|
88
|
-
connection_params?: Record<string, unknown>;
|
|
89
|
-
deployment_backend?: number | null;
|
|
90
|
-
}
|
|
91
|
-
export interface DeleteClawInstanceParams extends ClawBaseParams {
|
|
92
|
-
id: number;
|
|
93
|
-
}
|
|
94
|
-
/** Response for health-check / test-connectivity actions on an instance.
|
|
95
|
-
* Backend shape is unstable — keep it permissive so the UI can surface any
|
|
96
|
-
* status/message the server returns. */
|
|
97
|
-
export interface ClawInstanceCheckResponse {
|
|
98
|
-
ok?: boolean;
|
|
99
|
-
status?: string;
|
|
100
|
-
message?: string;
|
|
101
|
-
detail?: string;
|
|
102
|
-
health_status?: string;
|
|
103
|
-
claw_version?: string;
|
|
104
|
-
last_health_check?: string;
|
|
105
|
-
[key: string]: unknown;
|
|
106
|
-
}
|
|
107
|
-
export interface ClawInstanceActionParams extends ClawBaseParams {
|
|
108
|
-
id: number;
|
|
109
|
-
}
|
|
110
|
-
export interface AgentConfig {
|
|
111
|
-
id: number;
|
|
112
|
-
mentor: string;
|
|
113
|
-
identity: string;
|
|
114
|
-
soul: string;
|
|
115
|
-
user_context: string;
|
|
116
|
-
tools: string;
|
|
117
|
-
agents: string;
|
|
118
|
-
bootstrap: string;
|
|
119
|
-
heartbeat: string;
|
|
120
|
-
memory: string;
|
|
121
|
-
model: string;
|
|
122
|
-
config: Record<string, unknown>;
|
|
123
|
-
created_at: string;
|
|
124
|
-
updated_at: string;
|
|
125
|
-
}
|
|
126
|
-
export interface GetAgentConfigParams extends ClawBaseParams {
|
|
127
|
-
mentorUniqueId: string;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* PATCH is upsert — first write bootstraps the row, no separate POST.
|
|
131
|
-
*/
|
|
132
|
-
export interface UpdateAgentConfigParams extends ClawBaseParams {
|
|
133
|
-
mentorUniqueId: string;
|
|
134
|
-
identity?: string;
|
|
135
|
-
soul?: string;
|
|
136
|
-
user_context?: string;
|
|
137
|
-
tools?: string;
|
|
138
|
-
agents?: string;
|
|
139
|
-
bootstrap?: string;
|
|
140
|
-
heartbeat?: string;
|
|
141
|
-
memory?: string;
|
|
142
|
-
model?: string;
|
|
143
|
-
config?: Record<string, unknown>;
|
|
144
|
-
}
|
|
145
|
-
export interface AgentSkill {
|
|
146
|
-
id: number;
|
|
147
|
-
/** Stable UUID — preferred identifier for write bodies (e.g. skill assignments). */
|
|
148
|
-
unique_id: string;
|
|
149
|
-
name: string;
|
|
150
|
-
slug: string;
|
|
151
|
-
description: string;
|
|
152
|
-
version: string;
|
|
153
|
-
instruction: string;
|
|
154
|
-
metadata: Record<string, unknown>;
|
|
155
|
-
enabled: boolean;
|
|
156
|
-
platform_key: string;
|
|
157
|
-
created_at: string;
|
|
158
|
-
updated_at: string;
|
|
159
|
-
}
|
|
160
|
-
export interface PaginatedAgentSkillList {
|
|
161
|
-
count: number;
|
|
162
|
-
next: string | null;
|
|
163
|
-
previous: string | null;
|
|
164
|
-
results: AgentSkill[];
|
|
165
|
-
}
|
|
166
|
-
export interface GetAgentSkillsParams extends ClawBaseParams {
|
|
167
|
-
}
|
|
168
|
-
export interface GetAgentSkillParams extends ClawBaseParams {
|
|
169
|
-
id: number;
|
|
170
|
-
}
|
|
171
|
-
export interface CreateAgentSkillParams extends ClawBaseParams {
|
|
172
|
-
name: string;
|
|
173
|
-
slug: string;
|
|
174
|
-
description?: string;
|
|
175
|
-
version?: string;
|
|
176
|
-
instruction?: string;
|
|
177
|
-
metadata?: Record<string, unknown>;
|
|
178
|
-
enabled?: boolean;
|
|
179
|
-
}
|
|
180
|
-
export interface UpdateAgentSkillParams extends ClawBaseParams {
|
|
181
|
-
id: number;
|
|
182
|
-
name?: string;
|
|
183
|
-
slug?: string;
|
|
184
|
-
description?: string;
|
|
185
|
-
version?: string;
|
|
186
|
-
instruction?: string;
|
|
187
|
-
metadata?: Record<string, unknown>;
|
|
188
|
-
enabled?: boolean;
|
|
189
|
-
}
|
|
190
|
-
export interface DeleteAgentSkillParams extends ClawBaseParams {
|
|
191
|
-
id: number;
|
|
192
|
-
}
|
|
193
|
-
export type AgentSkillResourceFileType = 'script' | 'reference' | 'asset';
|
|
194
|
-
export interface AgentSkillResource {
|
|
195
|
-
id: number;
|
|
196
|
-
skill: number;
|
|
197
|
-
file_type: AgentSkillResourceFileType | string;
|
|
198
|
-
name: string;
|
|
199
|
-
url?: string;
|
|
200
|
-
content?: string;
|
|
201
|
-
metadata?: Record<string, unknown>;
|
|
202
|
-
created_at: string;
|
|
203
|
-
updated_at: string;
|
|
204
|
-
}
|
|
205
|
-
export interface PaginatedAgentSkillResourceList {
|
|
206
|
-
count: number;
|
|
207
|
-
next: string | null;
|
|
208
|
-
previous: string | null;
|
|
209
|
-
results: AgentSkillResource[];
|
|
210
|
-
}
|
|
211
|
-
export interface GetAgentSkillResourcesParams extends ClawBaseParams {
|
|
212
|
-
skill?: number;
|
|
213
|
-
file_type?: AgentSkillResourceFileType | string;
|
|
214
|
-
}
|
|
215
|
-
export interface GetAgentSkillResourceParams extends ClawBaseParams {
|
|
216
|
-
id: number;
|
|
217
|
-
}
|
|
218
|
-
export interface CreateAgentSkillResourceParams extends ClawBaseParams {
|
|
219
|
-
skill: number;
|
|
220
|
-
file_type: AgentSkillResourceFileType | string;
|
|
221
|
-
name: string;
|
|
222
|
-
url?: string;
|
|
223
|
-
content?: string;
|
|
224
|
-
metadata?: Record<string, unknown>;
|
|
225
|
-
}
|
|
226
|
-
export interface UpdateAgentSkillResourceParams extends ClawBaseParams {
|
|
227
|
-
id: number;
|
|
228
|
-
skill?: number;
|
|
229
|
-
file_type?: AgentSkillResourceFileType | string;
|
|
230
|
-
name?: string;
|
|
231
|
-
url?: string;
|
|
232
|
-
content?: string;
|
|
233
|
-
metadata?: Record<string, unknown>;
|
|
234
|
-
}
|
|
235
|
-
export interface DeleteAgentSkillResourceParams extends ClawBaseParams {
|
|
236
|
-
id: number;
|
|
237
|
-
}
|
|
238
|
-
export interface MentorSkillAssignment {
|
|
239
|
-
id: number;
|
|
240
|
-
mentor: string;
|
|
241
|
-
/** Skill UUID — the new stable identifier. */
|
|
242
|
-
skill: string;
|
|
243
|
-
skill_name: string;
|
|
244
|
-
enabled: boolean;
|
|
245
|
-
created_at: string;
|
|
246
|
-
updated_at: string;
|
|
247
|
-
}
|
|
248
|
-
export interface PaginatedMentorSkillAssignmentList {
|
|
249
|
-
count: number;
|
|
250
|
-
next: string | null;
|
|
251
|
-
previous: string | null;
|
|
252
|
-
results: MentorSkillAssignment[];
|
|
253
|
-
}
|
|
254
|
-
export interface GetMentorSkillAssignmentsParams extends ClawBaseParams {
|
|
255
|
-
mentorUniqueId: string;
|
|
256
|
-
}
|
|
257
|
-
export interface GetMentorSkillAssignmentParams extends ClawBaseParams {
|
|
258
|
-
mentorUniqueId: string;
|
|
259
|
-
assignmentPk: number;
|
|
260
|
-
}
|
|
261
|
-
export interface CreateMentorSkillAssignmentParams extends ClawBaseParams {
|
|
262
|
-
mentorUniqueId: string;
|
|
263
|
-
/** Skill UUID — the create endpoint references skills by UUID, not integer PK. */
|
|
264
|
-
skill: string;
|
|
265
|
-
enabled?: boolean;
|
|
266
|
-
}
|
|
267
|
-
export interface UpdateMentorSkillAssignmentParams extends ClawBaseParams {
|
|
268
|
-
mentorUniqueId: string;
|
|
269
|
-
assignmentPk: number;
|
|
270
|
-
enabled?: boolean;
|
|
271
|
-
}
|
|
272
|
-
export interface DeleteMentorSkillAssignmentParams extends ClawBaseParams {
|
|
273
|
-
mentorUniqueId: string;
|
|
274
|
-
assignmentPk: number;
|
|
275
|
-
}
|