@kortix/sdk 0.13.53 → 0.13.54
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/README.md +114 -6
- package/dist/browser/cache/idb-sync-cache.d.ts +44 -22
- package/dist/browser/cache/idb-sync-cache.d.ts.map +1 -1
- package/dist/browser/cache/idb-sync-cache.js +113 -257
- package/dist/browser/cache/idb-sync-cache.js.map +1 -1
- package/dist/browser/session-sync/server-transcript-mirror.d.ts +0 -1
- package/dist/browser/session-sync/server-transcript-mirror.d.ts.map +1 -1
- package/dist/browser/session-sync/server-transcript-mirror.js +3 -2
- package/dist/browser/session-sync/server-transcript-mirror.js.map +1 -1
- package/dist/browser/stores/sandbox-connection-store.d.ts +8 -0
- package/dist/browser/stores/sandbox-connection-store.d.ts.map +1 -1
- package/dist/browser/stores/sandbox-connection-store.js +7 -0
- package/dist/browser/stores/sandbox-connection-store.js.map +1 -1
- package/dist/browser/stores/sync-store.d.ts.map +1 -1
- package/dist/browser/stores/sync-store.js +6 -23
- package/dist/browser/stores/sync-store.js.map +1 -1
- package/dist/core/auth/app-viewer.d.ts +74 -2
- package/dist/core/auth/app-viewer.d.ts.map +1 -1
- package/dist/core/auth/app-viewer.js +95 -2
- package/dist/core/auth/app-viewer.js.map +1 -1
- package/dist/core/auth/kortix-member.d.ts +111 -0
- package/dist/core/auth/kortix-member.d.ts.map +1 -0
- package/dist/core/auth/kortix-member.js +232 -0
- package/dist/core/auth/kortix-member.js.map +1 -0
- package/dist/core/client/facade-commerce.d.ts +5 -1
- package/dist/core/client/facade-commerce.d.ts.map +1 -1
- package/dist/core/client/facade-commerce.js +5 -1
- package/dist/core/client/facade-commerce.js.map +1 -1
- package/dist/core/client/kortix.d.ts +114 -8
- package/dist/core/client/kortix.d.ts.map +1 -1
- package/dist/core/client/kortix.js +21 -1
- package/dist/core/client/kortix.js.map +1 -1
- package/dist/core/client/project-access-resources.d.ts +37 -2
- package/dist/core/client/project-access-resources.d.ts.map +1 -1
- package/dist/core/client/project-access-resources.js +26 -0
- package/dist/core/client/project-access-resources.js.map +1 -1
- package/dist/core/client/project-connectors.d.ts +9 -1
- package/dist/core/client/project-connectors.d.ts.map +1 -1
- package/dist/core/client/project-connectors.js +29 -0
- package/dist/core/client/project-connectors.js.map +1 -1
- package/dist/core/client/project-core.d.ts.map +1 -1
- package/dist/core/client/project-operations-admin.d.ts +17 -0
- package/dist/core/client/project-operations-admin.d.ts.map +1 -1
- package/dist/core/client/project-operations-admin.js +6 -0
- package/dist/core/client/project-operations-admin.js.map +1 -1
- package/dist/core/client/project-operations-workspace.d.ts +9 -0
- package/dist/core/client/project-operations-workspace.d.ts.map +1 -1
- package/dist/core/client/project-operations-workspace.js +6 -0
- package/dist/core/client/project-operations-workspace.js.map +1 -1
- package/dist/core/client/project-operations.d.ts +21 -1
- package/dist/core/client/project-operations.d.ts.map +1 -1
- package/dist/core/client/project-operations.js +2 -0
- package/dist/core/client/project-operations.js.map +1 -1
- package/dist/core/client/session-handle.d.ts +20 -2
- package/dist/core/client/session-handle.d.ts.map +1 -1
- package/dist/core/client/session-lifecycle-resources.d.ts +29 -2
- package/dist/core/client/session-lifecycle-resources.d.ts.map +1 -1
- package/dist/core/client/session-lifecycle-resources.js +13 -1
- package/dist/core/client/session-lifecycle-resources.js.map +1 -1
- package/dist/core/files/client.d.ts +8 -0
- package/dist/core/files/client.d.ts.map +1 -1
- package/dist/core/files/client.js +52 -10
- package/dist/core/files/client.js.map +1 -1
- package/dist/core/http/api/errors.d.ts +1 -1
- package/dist/core/http/api/errors.js +1 -1
- package/dist/core/http/authenticated-request.d.ts +14 -0
- package/dist/core/http/authenticated-request.d.ts.map +1 -0
- package/dist/core/http/authenticated-request.js +21 -0
- package/dist/core/http/authenticated-request.js.map +1 -0
- package/dist/core/http/response-error.d.ts.map +1 -1
- package/dist/core/http/response-error.js +12 -5
- package/dist/core/http/response-error.js.map +1 -1
- package/dist/core/http/transport.d.ts.map +1 -1
- package/dist/core/http/transport.js +10 -1
- package/dist/core/http/transport.js.map +1 -1
- package/dist/core/models/composer-model.d.ts +3 -1
- package/dist/core/models/composer-model.d.ts.map +1 -1
- package/dist/core/models/composer-model.js +4 -2
- package/dist/core/models/composer-model.js.map +1 -1
- package/dist/core/models/model-visibility.d.ts +4 -2
- package/dist/core/models/model-visibility.d.ts.map +1 -1
- package/dist/core/models/model-visibility.js +12 -8
- package/dist/core/models/model-visibility.js.map +1 -1
- package/dist/core/rest/platform-client/lifecycle.d.ts.map +1 -1
- package/dist/core/rest/platform-client/lifecycle.js.map +1 -1
- package/dist/core/rest/platform-client/shared.d.ts.map +1 -1
- package/dist/core/rest/platform-client/shared.js +0 -4
- package/dist/core/rest/platform-client/shared.js.map +1 -1
- package/dist/core/rest/projects-client/accounts.d.ts +13 -0
- package/dist/core/rest/projects-client/accounts.d.ts.map +1 -1
- package/dist/core/rest/projects-client/accounts.js.map +1 -1
- package/dist/core/rest/projects-client/admin-providers.d.ts +61 -0
- package/dist/core/rest/projects-client/admin-providers.d.ts.map +1 -1
- package/dist/core/rest/projects-client/admin-providers.js +6 -0
- package/dist/core/rest/projects-client/admin-providers.js.map +1 -1
- package/dist/core/rest/projects-client/apps-fleet.d.ts +99 -0
- package/dist/core/rest/projects-client/apps-fleet.d.ts.map +1 -0
- package/dist/core/rest/projects-client/apps-fleet.js +58 -0
- package/dist/core/rest/projects-client/apps-fleet.js.map +1 -0
- package/dist/core/rest/projects-client/apps.d.ts +230 -16
- package/dist/core/rest/projects-client/apps.d.ts.map +1 -1
- package/dist/core/rest/projects-client/apps.js +30 -1
- package/dist/core/rest/projects-client/apps.js.map +1 -1
- package/dist/core/rest/projects-client/billing.d.ts +45 -6
- package/dist/core/rest/projects-client/billing.d.ts.map +1 -1
- package/dist/core/rest/projects-client/billing.js +32 -25
- package/dist/core/rest/projects-client/billing.js.map +1 -1
- package/dist/core/rest/projects-client/change-requests.d.ts +10 -0
- package/dist/core/rest/projects-client/change-requests.d.ts.map +1 -1
- package/dist/core/rest/projects-client/change-requests.js +4 -0
- package/dist/core/rest/projects-client/change-requests.js.map +1 -1
- package/dist/core/rest/projects-client/connector-run.d.ts +135 -0
- package/dist/core/rest/projects-client/connector-run.d.ts.map +1 -0
- package/dist/core/rest/projects-client/connector-run.js +211 -0
- package/dist/core/rest/projects-client/connector-run.js.map +1 -0
- package/dist/core/rest/projects-client/connectors.d.ts +80 -1
- package/dist/core/rest/projects-client/connectors.d.ts.map +1 -1
- package/dist/core/rest/projects-client/connectors.js +25 -4
- package/dist/core/rest/projects-client/connectors.js.map +1 -1
- package/dist/core/rest/projects-client/drives.d.ts +201 -0
- package/dist/core/rest/projects-client/drives.d.ts.map +1 -0
- package/dist/core/rest/projects-client/drives.js +124 -0
- package/dist/core/rest/projects-client/drives.js.map +1 -0
- package/dist/core/rest/projects-client/files.d.ts +41 -0
- package/dist/core/rest/projects-client/files.d.ts.map +1 -1
- package/dist/core/rest/projects-client/files.js +49 -0
- package/dist/core/rest/projects-client/files.js.map +1 -1
- package/dist/core/rest/projects-client/index.d.ts +5 -0
- package/dist/core/rest/projects-client/index.d.ts.map +1 -1
- package/dist/core/rest/projects-client/index.js +5 -0
- package/dist/core/rest/projects-client/index.js.map +1 -1
- package/dist/core/rest/projects-client/notifications.d.ts +160 -0
- package/dist/core/rest/projects-client/notifications.d.ts.map +1 -0
- package/dist/core/rest/projects-client/notifications.js +105 -0
- package/dist/core/rest/projects-client/notifications.js.map +1 -0
- package/dist/core/rest/projects-client/projects.d.ts +19 -9
- package/dist/core/rest/projects-client/projects.d.ts.map +1 -1
- package/dist/core/rest/projects-client/projects.js +4 -1
- package/dist/core/rest/projects-client/projects.js.map +1 -1
- package/dist/core/rest/projects-client/session-attachments.d.ts.map +1 -1
- package/dist/core/rest/projects-client/session-attachments.js +0 -3
- package/dist/core/rest/projects-client/session-attachments.js.map +1 -1
- package/dist/core/rest/projects-client/session-prompt-actions.d.ts +29 -0
- package/dist/core/rest/projects-client/session-prompt-actions.d.ts.map +1 -0
- package/dist/core/rest/projects-client/session-prompt-actions.js +13 -0
- package/dist/core/rest/projects-client/session-prompt-actions.js.map +1 -0
- package/dist/core/rest/projects-client/session-reminders.d.ts +17 -0
- package/dist/core/rest/projects-client/session-reminders.d.ts.map +1 -1
- package/dist/core/rest/projects-client/session-reminders.js +40 -0
- package/dist/core/rest/projects-client/session-reminders.js.map +1 -1
- package/dist/core/rest/projects-client/session-sandbox.d.ts +23 -8
- package/dist/core/rest/projects-client/session-sandbox.d.ts.map +1 -1
- package/dist/core/rest/projects-client/session-sandbox.js +28 -10
- package/dist/core/rest/projects-client/session-sandbox.js.map +1 -1
- package/dist/core/rest/projects-client/sessions.d.ts +41 -1
- package/dist/core/rest/projects-client/sessions.d.ts.map +1 -1
- package/dist/core/rest/projects-client/sessions.js +35 -3
- package/dist/core/rest/projects-client/sessions.js.map +1 -1
- package/dist/core/rest/projects-client/tokens.d.ts +5 -0
- package/dist/core/rest/projects-client/tokens.d.ts.map +1 -1
- package/dist/core/rest/projects-client/tokens.js.map +1 -1
- package/dist/core/rest/projects-client/triggers.d.ts +123 -1
- package/dist/core/rest/projects-client/triggers.d.ts.map +1 -1
- package/dist/core/rest/projects-client/triggers.js +16 -0
- package/dist/core/rest/projects-client/triggers.js.map +1 -1
- package/dist/core/session/control-stream.d.ts +100 -16
- package/dist/core/session/control-stream.d.ts.map +1 -1
- package/dist/core/session/control-stream.js +270 -40
- package/dist/core/session/control-stream.js.map +1 -1
- package/dist/core/session/message-queue.d.ts +35 -9
- package/dist/core/session/message-queue.d.ts.map +1 -1
- package/dist/core/session/message-queue.js +23 -6
- package/dist/core/session/message-queue.js.map +1 -1
- package/dist/core/session/runtime-gone.d.ts +19 -0
- package/dist/core/session/runtime-gone.d.ts.map +1 -0
- package/dist/core/session/runtime-gone.js +28 -0
- package/dist/core/session/runtime-gone.js.map +1 -0
- package/dist/core/session/working-server.d.ts +41 -0
- package/dist/core/session/working-server.d.ts.map +1 -0
- package/dist/core/session/working-server.js +76 -0
- package/dist/core/session/working-server.js.map +1 -0
- package/dist/core/session-sync/saved-copy-store.d.ts +6 -4
- package/dist/core/session-sync/saved-copy-store.d.ts.map +1 -1
- package/dist/core/session-sync/saved-copy-store.js +6 -4
- package/dist/core/session-sync/saved-copy-store.js.map +1 -1
- package/dist/core/session-sync/session-sync-controller.d.ts +9 -0
- package/dist/core/session-sync/session-sync-controller.d.ts.map +1 -1
- package/dist/core/session-sync/session-sync-controller.js +12 -1
- package/dist/core/session-sync/session-sync-controller.js.map +1 -1
- package/dist/core/stream/event-stream.d.ts +2 -3
- package/dist/core/stream/event-stream.d.ts.map +1 -1
- package/dist/core/stream/event-stream.js +8 -10
- package/dist/core/stream/event-stream.js.map +1 -1
- package/dist/core/turns/parts.d.ts.map +1 -1
- package/dist/core/turns/parts.js +3 -0
- package/dist/core/turns/parts.js.map +1 -1
- package/dist/core/turns/segments/working-turn.d.ts +23 -0
- package/dist/core/turns/segments/working-turn.d.ts.map +1 -1
- package/dist/core/turns/segments/working-turn.js +22 -0
- package/dist/core/turns/segments/working-turn.js.map +1 -1
- package/dist/core/warm-session-pool.d.ts +85 -0
- package/dist/core/warm-session-pool.d.ts.map +1 -0
- package/dist/core/warm-session-pool.js +180 -0
- package/dist/core/warm-session-pool.js.map +1 -0
- package/dist/deprecated/api-client.d.ts +1 -1
- package/dist/deprecated/api-client.js +1 -1
- package/dist/deprecated/auth.d.ts +1 -1
- package/dist/deprecated/auth.js +1 -1
- package/dist/deprecated/config.d.ts +1 -1
- package/dist/deprecated/config.js +1 -1
- package/dist/deprecated/event-stream.d.ts +1 -1
- package/dist/deprecated/event-stream.js +1 -1
- package/dist/deprecated/feature-flags.d.ts +1 -1
- package/dist/deprecated/feature-flags.js +1 -1
- package/dist/deprecated/files.d.ts +1 -1
- package/dist/deprecated/files.js +1 -1
- package/dist/deprecated/fresh-sessions.d.ts +1 -1
- package/dist/deprecated/fresh-sessions.js +1 -1
- package/dist/deprecated/idb-sync-cache.d.ts +3 -3
- package/dist/deprecated/idb-sync-cache.js +3 -3
- package/dist/deprecated/instance-routes.d.ts +1 -1
- package/dist/deprecated/instance-routes.js +1 -1
- package/dist/deprecated/opencode-client.d.ts +1 -1
- package/dist/deprecated/opencode-client.js +1 -1
- package/dist/deprecated/opencode-errors.d.ts +1 -1
- package/dist/deprecated/opencode-errors.js +1 -1
- package/dist/deprecated/opencode-pending-store.d.ts +3 -3
- package/dist/deprecated/opencode-pending-store.js +3 -3
- package/dist/deprecated/platform-client.d.ts +1 -1
- package/dist/deprecated/platform-client.js +1 -1
- package/dist/deprecated/projects-client.d.ts +1 -1
- package/dist/deprecated/projects-client.js +1 -1
- package/dist/deprecated/sandbox-connection-store.d.ts +3 -3
- package/dist/deprecated/sandbox-connection-store.js +3 -3
- package/dist/deprecated/server-store.d.ts +3 -3
- package/dist/deprecated/server-store.js +3 -3
- package/dist/deprecated/session-url.d.ts +1 -1
- package/dist/deprecated/session-url.js +1 -1
- package/dist/deprecated/session.d.ts +1 -1
- package/dist/deprecated/session.js +1 -1
- package/dist/deprecated/sync-store.d.ts +3 -3
- package/dist/deprecated/sync-store.js +3 -3
- package/dist/deprecated/turns.d.ts +1 -1
- package/dist/deprecated/turns.js +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/opencode-pending-store.d.ts +3 -2
- package/dist/internal/opencode-pending-store.d.ts.map +1 -1
- package/dist/internal/opencode-pending-store.js +3 -2
- package/dist/internal/opencode-pending-store.js.map +1 -1
- package/dist/internal/sandbox-connection-store.d.ts +3 -2
- package/dist/internal/sandbox-connection-store.d.ts.map +1 -1
- package/dist/internal/sandbox-connection-store.js +3 -2
- package/dist/internal/sandbox-connection-store.js.map +1 -1
- package/dist/internal/server-store.d.ts +3 -2
- package/dist/internal/server-store.d.ts.map +1 -1
- package/dist/internal/server-store.js +3 -2
- package/dist/internal/server-store.js.map +1 -1
- package/dist/internal/sync-store.d.ts +3 -2
- package/dist/internal/sync-store.d.ts.map +1 -1
- package/dist/internal/sync-store.js +3 -2
- package/dist/internal/sync-store.js.map +1 -1
- package/dist/kortix.esm.min.js +33 -33
- package/dist/kortix.global.js +33 -33
- package/dist/node/app-guard.d.ts +16 -0
- package/dist/node/app-guard.d.ts.map +1 -1
- package/dist/node/app-guard.js +36 -15
- package/dist/node/app-guard.js.map +1 -1
- package/dist/node/app-viewer.d.ts +10 -0
- package/dist/node/app-viewer.d.ts.map +1 -1
- package/dist/node/app-viewer.js +15 -0
- package/dist/node/app-viewer.js.map +1 -1
- package/dist/node/scoped-client.d.ts.map +1 -1
- package/dist/node/scoped-client.js +19 -1
- package/dist/node/scoped-client.js.map +1 -1
- package/dist/platform/auth-core.d.ts +0 -2
- package/dist/platform/auth-core.d.ts.map +1 -1
- package/dist/platform/auth-core.js +0 -10
- package/dist/platform/auth-core.js.map +1 -1
- package/dist/react/hold-live-start.d.ts +1 -1
- package/dist/react/hold-live-start.d.ts.map +1 -1
- package/dist/react/hold-live-start.js +5 -1
- package/dist/react/hold-live-start.js.map +1 -1
- package/dist/react/human-presence.d.ts +44 -0
- package/dist/react/human-presence.d.ts.map +1 -0
- package/dist/react/human-presence.js +96 -0
- package/dist/react/human-presence.js.map +1 -0
- package/dist/react/index.d.ts +6 -2
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +10 -2
- package/dist/react/index.js.map +1 -1
- package/dist/react/provider-refresh.d.ts +6 -0
- package/dist/react/provider-refresh.d.ts.map +1 -1
- package/dist/react/provider-refresh.js +9 -2
- package/dist/react/provider-refresh.js.map +1 -1
- package/dist/react/query-contracts.d.ts +9 -1
- package/dist/react/query-contracts.d.ts.map +1 -1
- package/dist/react/query-contracts.js +37 -0
- package/dist/react/query-contracts.js.map +1 -1
- package/dist/react/query-keys.d.ts +64 -0
- package/dist/react/query-keys.d.ts.map +1 -1
- package/dist/react/query-keys.js +66 -0
- package/dist/react/query-keys.js.map +1 -1
- package/dist/react/sign-in-with-kortix.d.ts +2 -2
- package/dist/react/use-accounts.d.ts +14 -2
- package/dist/react/use-accounts.d.ts.map +1 -1
- package/dist/react/use-admin-accounts.d.ts +2 -1
- package/dist/react/use-admin-accounts.d.ts.map +1 -1
- package/dist/react/use-admin-accounts.js +1 -1
- package/dist/react/use-admin-accounts.js.map +1 -1
- package/dist/react/use-admin-analytics.d.ts +62 -28
- package/dist/react/use-admin-analytics.d.ts.map +1 -1
- package/dist/react/use-admin-analytics.js +28 -28
- package/dist/react/use-admin-analytics.js.map +1 -1
- package/dist/react/use-admin-billing.d.ts +4 -4
- package/dist/react/use-admin-billing.d.ts.map +1 -1
- package/dist/react/use-admin-billing.js +4 -4
- package/dist/react/use-admin-billing.js.map +1 -1
- package/dist/react/use-admin-feedback.d.ts +18 -8
- package/dist/react/use-admin-feedback.d.ts.map +1 -1
- package/dist/react/use-admin-feedback.js +8 -8
- package/dist/react/use-admin-feedback.js.map +1 -1
- package/dist/react/use-admin-providers.d.ts +3 -0
- package/dist/react/use-admin-providers.d.ts.map +1 -1
- package/dist/react/use-admin-providers.js +11 -1
- package/dist/react/use-admin-providers.js.map +1 -1
- package/dist/react/use-admin-sandboxes.d.ts +17 -8
- package/dist/react/use-admin-sandboxes.d.ts.map +1 -1
- package/dist/react/use-admin-sandboxes.js +8 -8
- package/dist/react/use-admin-sandboxes.js.map +1 -1
- package/dist/react/use-connector-query.d.ts +24 -0
- package/dist/react/use-connector-query.d.ts.map +1 -0
- package/dist/react/use-connector-query.js +37 -0
- package/dist/react/use-connector-query.js.map +1 -0
- package/dist/react/use-feature-flag.d.ts +3 -2
- package/dist/react/use-feature-flag.d.ts.map +1 -1
- package/dist/react/use-feature-flag.js +4 -2
- package/dist/react/use-feature-flag.js.map +1 -1
- package/dist/react/use-notifications.d.ts +644 -0
- package/dist/react/use-notifications.d.ts.map +1 -0
- package/dist/react/use-notifications.js +134 -0
- package/dist/react/use-notifications.js.map +1 -0
- package/dist/react/use-opencode-events/handle-session-event.d.ts.map +1 -1
- package/dist/react/use-opencode-events/handle-session-event.js +3 -5
- package/dist/react/use-opencode-events/handle-session-event.js.map +1 -1
- package/dist/react/use-opencode-events/index.d.ts +6 -0
- package/dist/react/use-opencode-events/index.d.ts.map +1 -1
- package/dist/react/use-opencode-events/index.js +27 -2
- package/dist/react/use-opencode-events/index.js.map +1 -1
- package/dist/react/use-opencode-local.d.ts.map +1 -1
- package/dist/react/use-opencode-local.js +0 -12
- package/dist/react/use-opencode-local.js.map +1 -1
- package/dist/react/use-opencode-sessions/agents.d.ts +1 -0
- package/dist/react/use-opencode-sessions/agents.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/agents.js +4 -21
- package/dist/react/use-opencode-sessions/agents.js.map +1 -1
- package/dist/react/use-opencode-sessions/commands.d.ts +1 -2
- package/dist/react/use-opencode-sessions/commands.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/commands.js +3 -7
- package/dist/react/use-opencode-sessions/commands.js.map +1 -1
- package/dist/react/use-opencode-sessions/messages.d.ts +1 -0
- package/dist/react/use-opencode-sessions/messages.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/messages.js +1 -0
- package/dist/react/use-opencode-sessions/messages.js.map +1 -1
- package/dist/react/use-opencode-sessions/providers.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/providers.js +7 -37
- package/dist/react/use-opencode-sessions/providers.js.map +1 -1
- package/dist/react/use-opencode-sessions/sessions.d.ts +3 -0
- package/dist/react/use-opencode-sessions/sessions.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/sessions.js +5 -6
- package/dist/react/use-opencode-sessions/sessions.js.map +1 -1
- package/dist/react/use-opencode-sessions/shared.d.ts +3 -23
- package/dist/react/use-opencode-sessions/shared.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/shared.js +3 -60
- package/dist/react/use-opencode-sessions/shared.js.map +1 -1
- package/dist/react/use-opencode-sessions/tools.d.ts +1 -0
- package/dist/react/use-opencode-sessions/tools.d.ts.map +1 -1
- package/dist/react/use-opencode-sessions/tools.js +1 -0
- package/dist/react/use-opencode-sessions/tools.js.map +1 -1
- package/dist/react/use-project-apps.d.ts +496 -13
- package/dist/react/use-project-apps.d.ts.map +1 -1
- package/dist/react/use-project-apps.js +99 -2
- package/dist/react/use-project-apps.js.map +1 -1
- package/dist/react/use-project-files.d.ts +106 -0
- package/dist/react/use-project-files.d.ts.map +1 -0
- package/dist/react/use-project-files.js +131 -0
- package/dist/react/use-project-files.js.map +1 -0
- package/dist/react/use-project-sessions.d.ts +46 -0
- package/dist/react/use-project-sessions.d.ts.map +1 -1
- package/dist/react/use-project-sessions.js +32 -1
- package/dist/react/use-project-sessions.js.map +1 -1
- package/dist/react/use-project-triggers.d.ts +12 -1
- package/dist/react/use-project-triggers.d.ts.map +1 -1
- package/dist/react/use-project-triggers.js +23 -1
- package/dist/react/use-project-triggers.js.map +1 -1
- package/dist/react/use-reminders.d.ts +47 -0
- package/dist/react/use-reminders.d.ts.map +1 -1
- package/dist/react/use-reminders.js +14 -2
- package/dist/react/use-reminders.js.map +1 -1
- package/dist/react/use-runtime-reconnect.d.ts.map +1 -1
- package/dist/react/use-runtime-reconnect.js +18 -0
- package/dist/react/use-runtime-reconnect.js.map +1 -1
- package/dist/react/use-session-stream.d.ts +47 -0
- package/dist/react/use-session-stream.d.ts.map +1 -0
- package/dist/react/use-session-stream.js +224 -0
- package/dist/react/use-session-stream.js.map +1 -0
- package/dist/react/use-session-sync.d.ts +6 -0
- package/dist/react/use-session-sync.d.ts.map +1 -1
- package/dist/react/use-session-sync.js +25 -14
- package/dist/react/use-session-sync.js.map +1 -1
- package/dist/react/use-session-working.d.ts +3 -0
- package/dist/react/use-session-working.d.ts.map +1 -1
- package/dist/react/use-session-working.js +28 -9
- package/dist/react/use-session-working.js.map +1 -1
- package/dist/react/use-session.d.ts +21 -1
- package/dist/react/use-session.d.ts.map +1 -1
- package/dist/react/use-session.js +128 -32
- package/dist/react/use-session.js.map +1 -1
- package/dist/react/use-system-status.d.ts +9 -4
- package/dist/react/use-system-status.d.ts.map +1 -1
- package/dist/react/use-system-status.js +4 -4
- package/dist/react/use-system-status.js.map +1 -1
- package/dist/react/use-tunnel.d.ts +55 -0
- package/dist/react/use-tunnel.d.ts.map +1 -1
- package/dist/react/use-tunnel.js +29 -0
- package/dist/react/use-tunnel.js.map +1 -1
- package/dist/react/use-wake-escalation.d.ts +18 -0
- package/dist/react/use-wake-escalation.d.ts.map +1 -1
- package/dist/react/use-wake-escalation.js +41 -4
- package/dist/react/use-wake-escalation.js.map +1 -1
- package/package.json +2 -2
- package/dist/browser/cache/idb-sync-cache-key.d.ts +0 -2
- package/dist/browser/cache/idb-sync-cache-key.d.ts.map +0 -1
- package/dist/browser/cache/idb-sync-cache-key.js +0 -7
- package/dist/browser/cache/idb-sync-cache-key.js.map +0 -1
- package/dist/browser/stores/sync-store/stream-cache.d.ts +0 -31
- package/dist/browser/stores/sync-store/stream-cache.d.ts.map +0 -1
- package/dist/browser/stores/sync-store/stream-cache.js +0 -138
- package/dist/browser/stores/sync-store/stream-cache.js.map +0 -1
- package/dist/react/model-lookup.d.ts +0 -2
- package/dist/react/model-lookup.d.ts.map +0 -1
- package/dist/react/model-lookup.js +0 -3
- package/dist/react/model-lookup.js.map +0 -1
|
@@ -8,115 +8,115 @@ import { useRetiredMutation, useRetiredQuery } from './retired-endpoint.js';
|
|
|
8
8
|
// ============================================================================
|
|
9
9
|
// HOOKS
|
|
10
10
|
// ============================================================================
|
|
11
|
-
/** @deprecated
|
|
11
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
12
12
|
export function useAnalyticsSummary() {
|
|
13
13
|
return useRetiredQuery('useAnalyticsSummary', ['admin', 'analytics', 'summary']);
|
|
14
14
|
}
|
|
15
|
-
/** @deprecated
|
|
15
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
16
16
|
export function useThreadBrowser(params = {}) {
|
|
17
17
|
return useRetiredQuery('useThreadBrowser', ['admin', 'analytics', 'threads', params]);
|
|
18
18
|
}
|
|
19
|
-
/** @deprecated
|
|
19
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
20
20
|
export function useMessageDistribution(dateFrom, dateTo, enabled = true) {
|
|
21
21
|
return useRetiredQuery('useMessageDistribution', ['admin', 'analytics', 'message-distribution', dateFrom, dateTo], enabled);
|
|
22
22
|
}
|
|
23
|
-
/** @deprecated
|
|
23
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
24
24
|
export function useCategoryDistribution(dateFrom, dateTo, tier, enabled = true) {
|
|
25
25
|
return useRetiredQuery('useCategoryDistribution', ['admin', 'analytics', 'category-distribution', dateFrom, dateTo, tier], enabled);
|
|
26
26
|
}
|
|
27
|
-
/** @deprecated
|
|
27
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
28
28
|
export function useTierDistribution(dateFrom, dateTo, enabled = true) {
|
|
29
29
|
return useRetiredQuery('useTierDistribution', ['admin', 'analytics', 'tier-distribution', dateFrom, dateTo], enabled);
|
|
30
30
|
}
|
|
31
|
-
/** @deprecated
|
|
31
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
32
32
|
export function useVisitorStats(date, source = 'vercel') {
|
|
33
33
|
return useRetiredQuery('useVisitorStats', ['admin', 'analytics', 'visitors', date, source]);
|
|
34
34
|
}
|
|
35
|
-
/** @deprecated
|
|
35
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
36
36
|
export function useConversionFunnel(dateFrom, dateTo, source = 'vercel') {
|
|
37
37
|
return useRetiredQuery('useConversionFunnel', ['admin', 'analytics', 'conversion-funnel', dateFrom, dateTo, source]);
|
|
38
38
|
}
|
|
39
|
-
/** @deprecated
|
|
39
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
40
40
|
export function useRetentionData(params = {}) {
|
|
41
41
|
return useRetiredQuery('useRetentionData', ['admin', 'analytics', 'retention', params]);
|
|
42
42
|
}
|
|
43
|
-
/** @deprecated
|
|
43
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
44
44
|
export function useTranslate() {
|
|
45
45
|
return useRetiredMutation('useTranslate');
|
|
46
46
|
}
|
|
47
|
-
/** @deprecated
|
|
47
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
48
48
|
export function useARRWeeklyActuals() {
|
|
49
49
|
return useRetiredQuery('useARRWeeklyActuals', ['admin', 'analytics', 'arr-actuals']);
|
|
50
50
|
}
|
|
51
|
-
/** @deprecated
|
|
51
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
52
52
|
export function useUpdateARRWeeklyActual() {
|
|
53
53
|
return useRetiredMutation('useUpdateARRWeeklyActual');
|
|
54
54
|
}
|
|
55
|
-
/** @deprecated
|
|
55
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
56
56
|
export function useDeleteARRWeeklyActual() {
|
|
57
57
|
return useRetiredMutation('useDeleteARRWeeklyActual');
|
|
58
58
|
}
|
|
59
|
-
/** @deprecated
|
|
59
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
60
60
|
export function useToggleFieldOverride() {
|
|
61
61
|
return useRetiredMutation('useToggleFieldOverride');
|
|
62
62
|
}
|
|
63
|
-
/** @deprecated
|
|
63
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
64
64
|
export function useARRSimulatorConfig() {
|
|
65
65
|
return useRetiredQuery('useARRSimulatorConfig', ['admin', 'analytics', 'arr-config']);
|
|
66
66
|
}
|
|
67
|
-
/** @deprecated
|
|
67
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
68
68
|
export function useUpdateARRSimulatorConfig() {
|
|
69
69
|
return useRetiredMutation('useUpdateARRSimulatorConfig');
|
|
70
70
|
}
|
|
71
|
-
/** @deprecated
|
|
71
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
72
72
|
export function useSignupsByDate(dateFrom, dateTo) {
|
|
73
73
|
return useRetiredQuery('useSignupsByDate', ['admin', 'analytics', 'signups-by-date', dateFrom, dateTo], !!dateFrom && !!dateTo);
|
|
74
74
|
}
|
|
75
|
-
/** @deprecated
|
|
75
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
76
76
|
export function useViewsByDate(dateFrom, dateTo, source = 'vercel') {
|
|
77
77
|
return useRetiredQuery('useViewsByDate', ['admin', 'analytics', 'views-by-date', dateFrom, dateTo, source], !!dateFrom && !!dateTo);
|
|
78
78
|
}
|
|
79
|
-
/** @deprecated
|
|
79
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
80
80
|
export function useNewPaidByDate(dateFrom, dateTo) {
|
|
81
81
|
return useRetiredQuery('useNewPaidByDate', ['admin', 'analytics', 'new-paid-by-date', dateFrom, dateTo], !!dateFrom && !!dateTo);
|
|
82
82
|
}
|
|
83
|
-
/** @deprecated
|
|
83
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
84
84
|
export function useChurnByDate(dateFrom, dateTo) {
|
|
85
85
|
return useRetiredQuery('useChurnByDate', ['admin', 'analytics', 'churn-by-date', dateFrom, dateTo], !!dateFrom && !!dateTo);
|
|
86
86
|
}
|
|
87
|
-
/** @deprecated
|
|
87
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
88
88
|
export function useARRMonthlyActuals() {
|
|
89
89
|
return useRetiredQuery('useARRMonthlyActuals', ['admin', 'analytics', 'arr-monthly-actuals']);
|
|
90
90
|
}
|
|
91
|
-
/** @deprecated
|
|
91
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
92
92
|
export function useUpdateARRMonthlyActual() {
|
|
93
93
|
return useRetiredMutation('useUpdateARRMonthlyActual');
|
|
94
94
|
}
|
|
95
|
-
/** @deprecated
|
|
95
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
96
96
|
export function useDeleteARRMonthlyActual() {
|
|
97
97
|
return useRetiredMutation('useDeleteARRMonthlyActual');
|
|
98
98
|
}
|
|
99
|
-
/** @deprecated
|
|
99
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
100
100
|
export function useToggleMonthlyFieldOverride() {
|
|
101
101
|
return useRetiredMutation('useToggleMonthlyFieldOverride');
|
|
102
102
|
}
|
|
103
|
-
/** @deprecated
|
|
103
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
104
104
|
export function useRevenueSummary() {
|
|
105
105
|
return useRetiredQuery('useRevenueSummary', ['admin', 'analytics', 'revenue-summary']);
|
|
106
106
|
}
|
|
107
|
-
/** @deprecated
|
|
107
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
108
108
|
export function useEngagementSummary(dateFrom, dateTo) {
|
|
109
109
|
return useRetiredQuery('useEngagementSummary', ['admin', 'analytics', 'engagement-summary', dateFrom, dateTo]);
|
|
110
110
|
}
|
|
111
|
-
/** @deprecated
|
|
111
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
112
112
|
export function useTaskPerformance(dateFrom, dateTo) {
|
|
113
113
|
return useRetiredQuery('useTaskPerformance', ['admin', 'analytics', 'task-performance', dateFrom, dateTo]);
|
|
114
114
|
}
|
|
115
|
-
/** @deprecated
|
|
115
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
116
116
|
export function useToolAdoption(date) {
|
|
117
117
|
return useRetiredQuery('useToolAdoption', ['admin', 'analytics', 'tool-adoption', date]);
|
|
118
118
|
}
|
|
119
|
-
/** @deprecated
|
|
119
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
120
120
|
export function useProfitability(dateFrom, dateTo) {
|
|
121
121
|
return useRetiredQuery('useProfitability', ['admin', 'analytics', 'profitability', dateFrom, dateTo]);
|
|
122
122
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-admin-analytics.js","sourceRoot":"","sources":["../../src/react/use-admin-analytics.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-admin-analytics.js","sourceRoot":"","sources":["../../src/react/use-admin-analytics.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAgJzE,+EAA+E;AAC/E,QAAQ;AACR,+EAA+E;AAE/E,gJA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 +13,7 @@ interface RefundRequest {
|
|
|
13
13
|
stripe_refund: boolean;
|
|
14
14
|
payment_intent_id?: string;
|
|
15
15
|
}
|
|
16
|
-
/** @deprecated
|
|
16
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
17
17
|
export declare function useUserBillingSummary(userId: string | null): import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
18
18
|
interface TransactionParams {
|
|
19
19
|
userId: string;
|
|
@@ -21,11 +21,11 @@ interface TransactionParams {
|
|
|
21
21
|
page_size?: number;
|
|
22
22
|
type_filter?: string;
|
|
23
23
|
}
|
|
24
|
-
/** @deprecated
|
|
24
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
25
25
|
export declare function useAdminUserTransactions(params: TransactionParams): import("@tanstack/react-query").UseQueryResult<any, Error>;
|
|
26
|
-
/** @deprecated
|
|
26
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
27
27
|
export declare function useAdjustCredits(): import("@tanstack/react-query").UseMutationResult<any, Error, CreditAdjustmentRequest>;
|
|
28
|
-
/** @deprecated
|
|
28
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
29
29
|
export declare function useProcessRefund(): import("@tanstack/react-query").UseMutationResult<any, Error, RefundRequest>;
|
|
30
30
|
export {};
|
|
31
31
|
//# sourceMappingURL=use-admin-billing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-admin-billing.d.ts","sourceRoot":"","sources":["../../src/react/use-admin-billing.ts"],"names":[],"mappings":"AAQA,UAAU,uBAAuB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,aAAa;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,
|
|
1
|
+
{"version":3,"file":"use-admin-billing.d.ts","sourceRoot":"","sources":["../../src/react/use-admin-billing.ts"],"names":[],"mappings":"AAQA,UAAU,uBAAuB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,aAAa;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,gJAAgJ;AAChJ,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,8DAE1D;AAED,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,gJAAgJ;AAChJ,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,iBAAiB,8DAEjE;AAED,gJAAgJ;AAChJ,wBAAgB,gBAAgB,2FAE/B;AAED,gJAAgJ;AAChJ,wBAAgB,gBAAgB,iFAE/B"}
|
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
* fail with `ENDPOINT_RETIRED` without sending a request.
|
|
6
6
|
*/
|
|
7
7
|
import { useRetiredMutation, useRetiredQuery } from './retired-endpoint.js';
|
|
8
|
-
/** @deprecated
|
|
8
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
9
9
|
export function useUserBillingSummary(userId) {
|
|
10
10
|
return useRetiredQuery('useUserBillingSummary', ['admin', 'billing', 'user', userId], !!userId);
|
|
11
11
|
}
|
|
12
|
-
/** @deprecated
|
|
12
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
13
13
|
export function useAdminUserTransactions(params) {
|
|
14
14
|
return useRetiredQuery('useAdminUserTransactions', ['admin', 'billing', 'transactions', params.userId, params.page, params.page_size, params.type_filter], !!params.userId);
|
|
15
15
|
}
|
|
16
|
-
/** @deprecated
|
|
16
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
17
17
|
export function useAdjustCredits() {
|
|
18
18
|
return useRetiredMutation('useAdjustCredits');
|
|
19
19
|
}
|
|
20
|
-
/** @deprecated
|
|
20
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
21
21
|
export function useProcessRefund() {
|
|
22
22
|
return useRetiredMutation('useProcessRefund');
|
|
23
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-admin-billing.js","sourceRoot":"","sources":["../../src/react/use-admin-billing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAmBzE,
|
|
1
|
+
{"version":3,"file":"use-admin-billing.js","sourceRoot":"","sources":["../../src/react/use-admin-billing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAmBzE,gJAAgJ;AAChJ,MAAM,UAAU,qBAAqB,CAAC,MAAqB;IACzD,OAAO,eAAe,CAAM,uBAAuB,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;AACvG,CAAC;AASD,gJAAgJ;AAChJ,MAAM,UAAU,wBAAwB,CAAC,MAAyB;IAChE,OAAO,eAAe,CAAM,0BAA0B,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACnL,CAAC;AAED,gJAAgJ;AAChJ,MAAM,UAAU,gBAAgB;IAC9B,OAAO,kBAAkB,CAA+B,kBAAkB,CAAC,CAAC;AAC9E,CAAC;AAED,gJAAgJ;AAChJ,MAAM,UAAU,gBAAgB;IAC9B,OAAO,kBAAkB,CAAqB,kBAAkB,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** @deprecated No replacement: the API removed the admin route this type describes. Removed in the next major. */
|
|
1
2
|
export interface FeedbackWithUser {
|
|
2
3
|
feedback_id: string;
|
|
3
4
|
account_id: string;
|
|
@@ -33,12 +34,14 @@ interface FeedbackListParams {
|
|
|
33
34
|
sort_by?: string;
|
|
34
35
|
sort_order?: 'asc' | 'desc';
|
|
35
36
|
}
|
|
37
|
+
/** @deprecated No replacement: the API removed the admin route this type describes. Removed in the next major. */
|
|
36
38
|
export interface FeedbackStats {
|
|
37
39
|
total_feedback: number;
|
|
38
40
|
average_rating: number;
|
|
39
41
|
total_with_text: number;
|
|
40
42
|
rating_distribution: Record<string, number>;
|
|
41
43
|
}
|
|
44
|
+
/** @deprecated No replacement: the API removed the admin route this type describes. Removed in the next major. */
|
|
42
45
|
export interface SentimentSummary {
|
|
43
46
|
total: number;
|
|
44
47
|
positive: number;
|
|
@@ -49,6 +52,7 @@ export interface SentimentSummary {
|
|
|
49
52
|
positive_percentage: number;
|
|
50
53
|
negative_percentage: number;
|
|
51
54
|
}
|
|
55
|
+
/** @deprecated No replacement: the API removed the admin route this type describes. Removed in the next major. */
|
|
52
56
|
export interface TimeSeriesPoint {
|
|
53
57
|
period: string;
|
|
54
58
|
count: number;
|
|
@@ -57,10 +61,12 @@ export interface TimeSeriesPoint {
|
|
|
57
61
|
negative_count: number;
|
|
58
62
|
with_text_count: number;
|
|
59
63
|
}
|
|
64
|
+
/** @deprecated No replacement: the API removed the admin route this type describes. Removed in the next major. */
|
|
60
65
|
export interface RatingTrends {
|
|
61
66
|
periods: string[];
|
|
62
67
|
data: Record<string, Record<string, number>>;
|
|
63
68
|
}
|
|
69
|
+
/** @deprecated No replacement: the API removed the admin route this type describes. Removed in the next major. */
|
|
64
70
|
export interface CriticalFeedback {
|
|
65
71
|
feedback_id: string;
|
|
66
72
|
rating: number;
|
|
@@ -69,6 +75,7 @@ export interface CriticalFeedback {
|
|
|
69
75
|
thread_id?: string | null;
|
|
70
76
|
user_email: string;
|
|
71
77
|
}
|
|
78
|
+
/** @deprecated No replacement: the API removed the admin route this type describes. Removed in the next major. */
|
|
72
79
|
export interface ImprovementArea {
|
|
73
80
|
area: string;
|
|
74
81
|
severity: 'high' | 'medium' | 'low';
|
|
@@ -76,6 +83,7 @@ export interface ImprovementArea {
|
|
|
76
83
|
user_quotes: string[];
|
|
77
84
|
suggested_action: string;
|
|
78
85
|
}
|
|
86
|
+
/** @deprecated No replacement: the API removed the admin route this type describes. Removed in the next major. */
|
|
79
87
|
export interface ActionableRecommendation {
|
|
80
88
|
recommendation: string;
|
|
81
89
|
priority: 'high' | 'medium' | 'low';
|
|
@@ -83,6 +91,7 @@ export interface ActionableRecommendation {
|
|
|
83
91
|
impact: string;
|
|
84
92
|
implementation_hint: string;
|
|
85
93
|
}
|
|
94
|
+
/** @deprecated No replacement: the API removed the admin route this type describes. Removed in the next major. */
|
|
86
95
|
export interface LLMAnalysisResponse {
|
|
87
96
|
analysis: string;
|
|
88
97
|
key_themes: string[];
|
|
@@ -92,31 +101,32 @@ export interface LLMAnalysisResponse {
|
|
|
92
101
|
feedback_analyzed_count: number;
|
|
93
102
|
generated_at: string;
|
|
94
103
|
}
|
|
104
|
+
/** @deprecated No replacement: the API removed the admin route this type describes. Removed in the next major. */
|
|
95
105
|
export interface LLMAnalysisRequest {
|
|
96
106
|
focus_area?: 'negative' | 'positive' | 'all' | 'critical';
|
|
97
107
|
days?: number;
|
|
98
108
|
max_feedback?: number;
|
|
99
109
|
}
|
|
100
|
-
/** @deprecated
|
|
110
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
101
111
|
export declare function useAdminFeedbackList(params?: FeedbackListParams): import("@tanstack/react-query").UseQueryResult<FeedbackListResponse, Error>;
|
|
102
|
-
/** @deprecated
|
|
112
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
103
113
|
export declare function useAdminFeedbackStats(): import("@tanstack/react-query").UseQueryResult<FeedbackStats, Error>;
|
|
104
|
-
/** @deprecated
|
|
114
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
105
115
|
export declare function useAdminSentimentSummary(): import("@tanstack/react-query").UseQueryResult<SentimentSummary, Error>;
|
|
106
|
-
/** @deprecated
|
|
116
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
107
117
|
export declare function useAdminFeedbackTimeSeries(days?: number, granularity?: string): import("@tanstack/react-query").UseQueryResult<TimeSeriesPoint[], Error>;
|
|
108
|
-
/** @deprecated
|
|
118
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
109
119
|
export declare function useAdminRatingTrends(days?: number): import("@tanstack/react-query").UseQueryResult<RatingTrends, Error>;
|
|
110
|
-
/** @deprecated
|
|
120
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
111
121
|
export declare function useAdminCriticalFeedback(limit?: number): import("@tanstack/react-query").UseQueryResult<CriticalFeedback[], Error>;
|
|
112
|
-
/** @deprecated
|
|
122
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
113
123
|
export declare function useAdminFeedbackExport(params: {
|
|
114
124
|
rating_filter?: number;
|
|
115
125
|
has_text?: boolean;
|
|
116
126
|
start_date?: string;
|
|
117
127
|
end_date?: string;
|
|
118
128
|
}): import("@tanstack/react-query").UseQueryResult<FeedbackWithUser[], Error>;
|
|
119
|
-
/** @deprecated
|
|
129
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
120
130
|
export declare function useAdminFeedbackAnalysis(): import("@tanstack/react-query").UseMutationResult<LLMAnalysisResponse, Error, LLMAnalysisRequest>;
|
|
121
131
|
/** @deprecated Invalidates the retired admin feedback queries only. Removed in the next major. */
|
|
122
132
|
export declare function useRefreshFeedbackData(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-admin-feedback.d.ts","sourceRoot":"","sources":["../../src/react/use-admin-feedback.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC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AED,gJAAgJ;AAChJ,wBAAgB,oBAAoB,CAAC,MAAM,GAAE,kBAAuB,+EAEnE;AAED,gJAAgJ;AAChJ,wBAAgB,qBAAqB,yEAEpC;AAED,gJAAgJ;AAChJ,wBAAgB,wBAAwB,4EAEvC;AAED,gJAAgJ;AAChJ,wBAAgB,0BAA0B,CAAC,IAAI,GAAE,MAAW,EAAE,WAAW,GAAE,MAAc,4EAExF;AAED,gJAAgJ;AAChJ,wBAAgB,oBAAoB,CAAC,IAAI,GAAE,MAAW,uEAErD;AAED,gJAAgJ;AAChJ,wBAAgB,wBAAwB,CAAC,KAAK,GAAE,MAAW,6EAE1D;AAED,gJAAgJ;AAChJ,wBAAgB,sBAAsB,CAAC,MAAM,EAAE;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,6EAEA;AAED,gJAAgJ;AAChJ,wBAAgB,wBAAwB,sGAEvC;AAED,kGAAkG;AAClG,wBAAgB,sBAAsB;mCAIH,kBAAkB;;;EAgBpD"}
|
|
@@ -5,35 +5,35 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { useQueryClient } from '@tanstack/react-query';
|
|
7
7
|
import { useRetiredMutation, useRetiredQuery } from './retired-endpoint.js';
|
|
8
|
-
/** @deprecated
|
|
8
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
9
9
|
export function useAdminFeedbackList(params = {}) {
|
|
10
10
|
return useRetiredQuery('useAdminFeedbackList', ['admin', 'feedback', 'list', params]);
|
|
11
11
|
}
|
|
12
|
-
/** @deprecated
|
|
12
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
13
13
|
export function useAdminFeedbackStats() {
|
|
14
14
|
return useRetiredQuery('useAdminFeedbackStats', ['admin', 'feedback', 'stats']);
|
|
15
15
|
}
|
|
16
|
-
/** @deprecated
|
|
16
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
17
17
|
export function useAdminSentimentSummary() {
|
|
18
18
|
return useRetiredQuery('useAdminSentimentSummary', ['admin', 'feedback', 'sentiment']);
|
|
19
19
|
}
|
|
20
|
-
/** @deprecated
|
|
20
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
21
21
|
export function useAdminFeedbackTimeSeries(days = 30, granularity = 'day') {
|
|
22
22
|
return useRetiredQuery('useAdminFeedbackTimeSeries', ['admin', 'feedback', 'time-series', days, granularity]);
|
|
23
23
|
}
|
|
24
|
-
/** @deprecated
|
|
24
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
25
25
|
export function useAdminRatingTrends(days = 30) {
|
|
26
26
|
return useRetiredQuery('useAdminRatingTrends', ['admin', 'feedback', 'rating-trends', days]);
|
|
27
27
|
}
|
|
28
|
-
/** @deprecated
|
|
28
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
29
29
|
export function useAdminCriticalFeedback(limit = 20) {
|
|
30
30
|
return useRetiredQuery('useAdminCriticalFeedback', ['admin', 'feedback', 'critical', limit]);
|
|
31
31
|
}
|
|
32
|
-
/** @deprecated
|
|
32
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
33
33
|
export function useAdminFeedbackExport(params) {
|
|
34
34
|
return useRetiredQuery('useAdminFeedbackExport', ['admin', 'feedback', 'export', params], false);
|
|
35
35
|
}
|
|
36
|
-
/** @deprecated
|
|
36
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
37
37
|
export function useAdminFeedbackAnalysis() {
|
|
38
38
|
return useRetiredMutation('useAdminFeedbackAnalysis');
|
|
39
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-admin-feedback.js","sourceRoot":"","sources":["../../src/react/use-admin-feedback.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-admin-feedback.js","sourceRoot":"","sources":["../../src/react/use-admin-feedback.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AA4HzE,gJAAgJ;AAChJ,MAAM,UAAU,oBAAoB,CAAC,SAA6B,EAAE;IAClE,OAAO,eAAe,CAAuB,sBAAsB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAC9G,CAAC;AAED,gJAAgJ;AAChJ,MAAM,UAAU,qBAAqB;IACnC,OAAO,eAAe,CAAgB,uBAAuB,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;AACjG,CAAC;AAED,gJAAgJ;AAChJ,MAAM,UAAU,wBAAwB;IACtC,OAAO,eAAe,CAAmB,0BAA0B,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC;AAC3G,CAAC;AAED,gJAAgJ;AAChJ,MAAM,UAAU,0BAA0B,CAAC,OAAe,EAAE,EAAE,cAAsB,KAAK;IACvF,OAAO,eAAe,CAAoB,4BAA4B,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,IAAI,EAAE,WAAW,C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C;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type AdminBootModePolicy } from '../core/rest/projects-client/admin-providers.js';
|
|
1
2
|
export declare function useAdminProviderDistribution(): import("@tanstack/react-query").UseQueryResult<import("../index.js").AdminProviderDistribution, Error>;
|
|
2
3
|
export declare function useAdminProviderSandboxes(): import("@tanstack/react-query").UseQueryResult<import("../index.js").AdminProviderSandboxesResponse, Error>;
|
|
3
4
|
export declare function useAdminProviderAnalytics(days: number, enabled: boolean): import("@tanstack/react-query").UseQueryResult<import("../index.js").AdminProviderAnalytics, Error>;
|
|
@@ -15,4 +16,6 @@ export interface AdminProviderMigrationVariables {
|
|
|
15
16
|
export declare function useSetAdminProviderDistribution(options?: AdminProviderMutationOptions): import("@tanstack/react-query").UseMutationResult<unknown, Error, Record<string, number>, unknown>;
|
|
16
17
|
export declare function useMigrateAdminSandboxProvider(options?: AdminProviderMutationOptions): import("@tanstack/react-query").UseMutationResult<unknown, Error, AdminProviderMigrationVariables, unknown>;
|
|
17
18
|
export declare function useSetAdminProviderFallback(options?: AdminProviderMutationOptions): import("@tanstack/react-query").UseMutationResult<unknown, Error, boolean, unknown>;
|
|
19
|
+
export declare function useAdminBootModes(): import("@tanstack/react-query").UseQueryResult<import("../index.js").AdminBootModes, Error>;
|
|
20
|
+
export declare function useSetAdminBootModes(options?: AdminProviderMutationOptions): import("@tanstack/react-query").UseMutationResult<import("../index.js").AdminBootModes, Error, AdminBootModePolicy, unknown>;
|
|
18
21
|
//# sourceMappingURL=use-admin-providers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-admin-providers.d.ts","sourceRoot":"","sources":["../../src/react/use-admin-providers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-admin-providers.d.ts","sourceRoot":"","sources":["../../src/react/use-admin-providers.ts"],"names":[],"mappings":"AACA,OAAO,EAAoO,KAAK,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAC1T,wBAAgB,4BAA4B,kGAE3C;AACD,wBAAgB,yBAAyB,uGAExC;AACD,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,8FAEvE;AACD,wBAAgB,wBAAwB;;UAEvC;AACD,MAAM,WAAW,4BAA4B;IAAG,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAAE;AAC3G,MAAM,WAAW,+BAA+B;IAAG,SAAS,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,MAAM,CAAC;CAAE;AAC/F,wBAAgB,+BAA+B,CAAC,OAAO,GAAE,4BAAiC,sGAMzF;AACD,wBAAgB,8BAA8B,CAAC,OAAO,GAAE,4BAAiC,+GAMxF;AACD,wBAAgB,2BAA2B,CAAC,OAAO,GAAE,4BAAiC,uFAMrF;AACD,wBAAgB,iBAAiB,uFAEhC;AACD,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,4BAAiC,uHAM9E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
2
|
-
import { getAdminProviderDistribution, listAdminSandboxes, getAdminProviderAnalytics, getAdminProviderFallback, setAdminProviderDistribution, migrateAdminSandboxProvider, setAdminProviderFallback } from '../core/rest/projects-client/admin-providers.js';
|
|
2
|
+
import { getAdminProviderDistribution, listAdminSandboxes, getAdminProviderAnalytics, getAdminProviderFallback, setAdminProviderDistribution, migrateAdminSandboxProvider, setAdminProviderFallback, getAdminBootModes, setAdminBootModes } from '../core/rest/projects-client/admin-providers.js';
|
|
3
3
|
export function useAdminProviderDistribution() {
|
|
4
4
|
return useQuery({ queryKey: ['admin', 'provider-distribution'], queryFn: () => getAdminProviderDistribution() });
|
|
5
5
|
}
|
|
@@ -33,4 +33,14 @@ export function useSetAdminProviderFallback(options = {}) {
|
|
|
33
33
|
void qc.invalidateQueries({ queryKey: ['admin', 'provider-fallback'] });
|
|
34
34
|
} });
|
|
35
35
|
}
|
|
36
|
+
export function useAdminBootModes() {
|
|
37
|
+
return useQuery({ queryKey: ['admin', 'boot-modes'], queryFn: () => getAdminBootModes(), refetchInterval: 30_000 });
|
|
38
|
+
}
|
|
39
|
+
export function useSetAdminBootModes(options = {}) {
|
|
40
|
+
const qc = useQueryClient();
|
|
41
|
+
return useMutation({ mutationFn: (policy) => setAdminBootModes(policy), onError: options.onError, onSuccess: (data) => {
|
|
42
|
+
options.onSuccess?.();
|
|
43
|
+
qc.setQueryData(['admin', 'boot-modes'], data);
|
|
44
|
+
} });
|
|
45
|
+
}
|
|
36
46
|
//# sourceMappingURL=use-admin-providers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-admin-providers.js","sourceRoot":"","sources":["../../src/react/use-admin-providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"use-admin-providers.js","sourceRoot":"","sources":["../../src/react/use-admin-providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC9E,OAAO,EAAE,4BAA4B,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,iBAAiB,EAA4B,MAAM,8CAA8C,CAAC;AAC1T,MAAM,UAAU,4BAA4B;IAC1C,OAAO,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,uBAAuB,CAAC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AC;IAC5B,OAAO,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC,MAA2B,EAAE,EAAE,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,EAAE;YACzI,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC;YACtB,EAAE,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE,IAAI,CAAC,CAAC;QACjD,CAAC,EAAE,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -33,6 +33,7 @@ interface AdminSandboxesResponse {
|
|
|
33
33
|
error?: string;
|
|
34
34
|
}
|
|
35
35
|
export declare function useAdminSandboxes(params?: AdminSandboxesParams, options?: Partial<UseQueryOptions<AdminSandboxesResponse>>): import("@tanstack/react-query").UseQueryResult<AdminSandboxesResponse, Error>;
|
|
36
|
+
/** @deprecated No replacement: only retired admin hooks use it. Removed in the next major. */
|
|
36
37
|
export interface AdminSandboxDetail {
|
|
37
38
|
sandbox: AdminSandbox & {
|
|
38
39
|
config: unknown;
|
|
@@ -40,12 +41,15 @@ export interface AdminSandboxDetail {
|
|
|
40
41
|
provider_detail: ProviderMachineDetail | null;
|
|
41
42
|
provider_error: string | null;
|
|
42
43
|
}
|
|
44
|
+
/** @deprecated No replacement: only retired admin hooks use it. Removed in the next major. */
|
|
43
45
|
export type AdminInstanceLayerStatus = 'healthy' | 'degraded' | 'offline' | 'unknown';
|
|
46
|
+
/** @deprecated No replacement: only retired admin hooks use it. Removed in the next major. */
|
|
44
47
|
export interface AdminInstanceLayerAction {
|
|
45
48
|
action: 'start_host' | 'reboot_host' | 'stop_host' | 'start_workload' | 'restart_workload' | 'stop_workload' | 'reinitialize' | 'restart_runtime' | 'restart_service';
|
|
46
49
|
label: string;
|
|
47
50
|
serviceId?: string;
|
|
48
51
|
}
|
|
52
|
+
/** @deprecated No replacement: only retired admin hooks use it. Removed in the next major. */
|
|
49
53
|
export interface AdminInstanceLayerHealth {
|
|
50
54
|
key: 'host' | 'workload' | 'runtime';
|
|
51
55
|
label: string;
|
|
@@ -54,6 +58,7 @@ export interface AdminInstanceLayerHealth {
|
|
|
54
58
|
actions: AdminInstanceLayerAction[];
|
|
55
59
|
details: Record<string, unknown>;
|
|
56
60
|
}
|
|
61
|
+
/** @deprecated No replacement: only retired admin hooks use it. Removed in the next major. */
|
|
57
62
|
export interface AdminSandboxHealth {
|
|
58
63
|
sandbox_id: string;
|
|
59
64
|
overall_status: 'healthy' | 'degraded' | 'offline' | 'unknown';
|
|
@@ -65,9 +70,11 @@ export interface AdminSandboxHealth {
|
|
|
65
70
|
runtime: AdminInstanceLayerHealth;
|
|
66
71
|
};
|
|
67
72
|
}
|
|
73
|
+
/** @deprecated No replacement: only retired admin hooks use it. Removed in the next major. */
|
|
68
74
|
export interface AdminSandboxHealthBatchResponse {
|
|
69
75
|
items: AdminSandboxHealth[];
|
|
70
76
|
}
|
|
77
|
+
/** @deprecated No replacement: only retired admin hooks use it. Removed in the next major. */
|
|
71
78
|
export interface ProviderMachineDetail {
|
|
72
79
|
id: string;
|
|
73
80
|
slug: string;
|
|
@@ -117,12 +124,13 @@ export interface ProviderMachineDetail {
|
|
|
117
124
|
key_path?: string | null;
|
|
118
125
|
} | null;
|
|
119
126
|
}
|
|
120
|
-
/** @deprecated
|
|
127
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
121
128
|
export declare function useAdminSandboxDetail(sandboxId: string | null): import("@tanstack/react-query").UseQueryResult<AdminSandboxDetail, Error>;
|
|
122
|
-
/** @deprecated
|
|
129
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
123
130
|
export declare function useAdminSandboxHealth(sandboxId: string | null, enabled?: boolean): import("@tanstack/react-query").UseQueryResult<AdminSandboxHealth, Error>;
|
|
124
|
-
/** @deprecated
|
|
131
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
125
132
|
export declare function useAdminSandboxHealthBatch(sandboxIds: string[], enabled?: boolean): import("@tanstack/react-query").UseQueryResult<AdminSandboxHealthBatchResponse, Error>;
|
|
133
|
+
/** @deprecated No replacement: only retired admin hooks use it. Removed in the next major. */
|
|
126
134
|
export interface ExecResult {
|
|
127
135
|
stdout?: string;
|
|
128
136
|
stderr?: string;
|
|
@@ -130,12 +138,13 @@ export interface ExecResult {
|
|
|
130
138
|
duration_ms?: number;
|
|
131
139
|
error?: string;
|
|
132
140
|
}
|
|
133
|
-
/** @deprecated
|
|
141
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
134
142
|
export declare function useAdminSandboxExec(): import("@tanstack/react-query").UseMutationResult<ExecResult, Error, {
|
|
135
143
|
sandboxId: string;
|
|
136
144
|
command: string;
|
|
137
145
|
timeout?: number;
|
|
138
146
|
}>;
|
|
147
|
+
/** @deprecated No replacement: only retired admin hooks use it. Removed in the next major. */
|
|
139
148
|
export interface ProxyTokenResult {
|
|
140
149
|
token: string;
|
|
141
150
|
token_id: string;
|
|
@@ -143,20 +152,20 @@ export interface ProxyTokenResult {
|
|
|
143
152
|
terminal_url: string | null;
|
|
144
153
|
proxy_url: string | null;
|
|
145
154
|
}
|
|
146
|
-
/** @deprecated
|
|
155
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
147
156
|
export declare function fetchAdminSandboxProxyToken(_sandboxId: string): Promise<ProxyTokenResult>;
|
|
148
|
-
/** @deprecated
|
|
157
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
149
158
|
export declare function useAdminSandboxAction(): import("@tanstack/react-query").UseMutationResult<unknown, Error, {
|
|
150
159
|
sandboxId: string;
|
|
151
160
|
action: "reboot" | "stop" | "start";
|
|
152
161
|
}>;
|
|
153
|
-
/** @deprecated
|
|
162
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
154
163
|
export declare function useAdminSandboxRepair(): import("@tanstack/react-query").UseMutationResult<unknown, Error, {
|
|
155
164
|
sandboxId: string;
|
|
156
165
|
action: AdminInstanceLayerAction["action"];
|
|
157
166
|
serviceId?: string;
|
|
158
167
|
}>;
|
|
159
|
-
/** @deprecated
|
|
168
|
+
/** @deprecated No replacement: the API removed this admin route. Fails with `ENDPOINT_RETIRED`, sends no request. Removed in the next major. */
|
|
160
169
|
export declare function useDeleteAdminSandbox(): import("@tanstack/react-query").UseMutationResult<{
|
|
161
170
|
success: boolean;
|
|
162
171
|
sandboxId: string;
|