@spatialwalk/avatarkit 1.0.0-beta.39 → 1.0.0-beta.40
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/CHANGELOG.md +5 -0
- package/dist/{StreamingAudioPlayer-BD-LSSrW.js → StreamingAudioPlayer-hJgaKVC3.js} +1 -1
- package/dist/avatar_core_wasm.wasm +0 -0
- package/dist/config/constants.d.ts +9 -2
- package/dist/core/AvatarController.d.ts +5 -1
- package/dist/{index-BJ9Cdos-.js → index-BxhQDfJ7.js} +226 -134
- package/dist/index.js +1 -1
- package/dist/playground/apps/web/src/api/auth.d.ts +3 -0
- package/dist/playground/apps/web/src/api/character.d.ts +13 -0
- package/dist/playground/apps/web/src/api/index.d.ts +3 -0
- package/dist/playground/apps/web/src/api/redeem.d.ts +3 -0
- package/dist/playground/apps/web/src/composables/useDebugDataCollector.d.ts +377 -0
- package/dist/playground/apps/web/src/composables/useRealtimeAvatar.d.ts +452 -0
- package/dist/playground/apps/web/src/composables/useSubtitle.d.ts +19 -0
- package/dist/playground/apps/web/src/composables/useVAD.d.ts +49 -0
- package/dist/playground/apps/web/src/composables/useVideoCapture.d.ts +57 -0
- package/dist/playground/apps/web/src/config/app-config.d.ts +29 -0
- package/dist/playground/apps/web/src/config/realtime-config.d.ts +47 -0
- package/dist/playground/apps/web/src/config/region-config.d.ts +13 -0
- package/dist/playground/apps/web/src/constants.d.ts +14 -0
- package/dist/playground/apps/web/src/libs/vad/manager.d.ts +37 -0
- package/dist/playground/apps/web/src/libs/vad/process.worklet.d.ts +22 -0
- package/dist/playground/apps/web/src/libs/vad/simpleVad.d.ts +35 -0
- package/dist/playground/apps/web/src/libs/vad/vad.d.ts +56 -0
- package/dist/playground/apps/web/src/libs/vad/wav.d.ts +1 -0
- package/dist/playground/apps/web/src/locales/index.d.ts +2 -0
- package/dist/playground/apps/web/src/modules/i18n.d.ts +3 -0
- package/dist/playground/apps/web/src/modules/pwa.d.ts +1 -0
- package/dist/playground/apps/web/src/realtime/RealtimeWebSocketClient.d.ts +18 -0
- package/dist/playground/apps/web/src/realtime/index.d.ts +1 -0
- package/dist/playground/apps/web/src/realtime/utils/eventEmitter.d.ts +9 -0
- package/dist/playground/apps/web/src/stores/call.d.ts +173 -0
- package/dist/playground/apps/web/src/stores/character.d.ts +188 -0
- package/dist/playground/apps/web/src/stores/pwa.d.ts +7 -0
- package/dist/playground/apps/web/src/stores/region.d.ts +14 -0
- package/dist/playground/apps/web/src/stores/user.d.ts +22 -0
- package/dist/playground/apps/web/src/stores/vad.d.ts +73 -0
- package/dist/playground/apps/web/src/types/avatar.d.ts +17 -0
- package/dist/playground/apps/web/src/types/character-settings.d.ts +18 -0
- package/dist/playground/apps/web/src/types/character.d.ts +34 -0
- package/dist/playground/apps/web/src/utils/animation-interpolation.d.ts +7 -0
- package/dist/playground/apps/web/src/utils/api-client.d.ts +7 -0
- package/dist/playground/apps/web/src/utils/api-error.d.ts +13 -0
- package/dist/playground/apps/web/src/utils/dynamic-resource-loader.d.ts +43 -0
- package/dist/playground/apps/web/src/utils/error-utils.d.ts +7 -0
- package/dist/playground/apps/web/src/utils/image-optimizer.d.ts +17 -0
- package/dist/playground/apps/web/src/utils/logger.d.ts +1 -0
- package/dist/playground/apps/web/src/utils/memory-tracker.d.ts +23 -0
- package/dist/playground/apps/web/src/utils/nanoid.d.ts +1 -0
- package/dist/playground/apps/web/src/utils/posthog-tracker.d.ts +74 -0
- package/dist/playground/apps/web/src/utils/resource-cache.d.ts +25 -0
- package/dist/playground/apps/web/src/utils/sdk-preinit.d.ts +3 -0
- package/dist/playground/apps/web/src/utils/toast.d.ts +31 -0
- package/dist/playground/apps/web/vite.config.d.ts +2 -0
- package/dist/playground/bump.config.d.ts +2 -0
- package/dist/playground/generated/console/v1/console.d.ts +162 -0
- package/dist/playground/generated/console/v1/instance_management.d.ts +131 -0
- package/dist/playground/generated/console/v1/material.d.ts +163 -0
- package/dist/playground/generated/console/v1/task.d.ts +280 -0
- package/dist/playground/generated/driveningress/v1/driveningress.d.ts +69 -0
- package/dist/playground/generated/driveningress/v2/driveningress.d.ts +78 -0
- package/dist/playground/generated/platform/v1/asset_groups.d.ts +199 -0
- package/dist/playground/generated/platform/v1/character.d.ts +378 -0
- package/dist/playground/generated/platform/v1/configkv.d.ts +101 -0
- package/dist/playground/generated/platform/v1/instance_management.d.ts +131 -0
- package/dist/playground/generated/platform/v1/material.d.ts +27 -0
- package/dist/playground/packages/sdk/tsdown.config.d.ts +2 -0
- package/dist/playground/unocss.config.d.ts +3 -0
- package/dist/types/index.d.ts +25 -0
- package/dist/withJoi/admin/eslint.config.d.ts +2 -0
- package/dist/withJoi/admin/generated/buf/validate/validate.d.ts +397 -0
- package/dist/withJoi/admin/generated/console/v1/collection_task.d.ts +183 -0
- package/dist/withJoi/admin/generated/console/v1/pipetemplate.d.ts +106 -0
- package/dist/withJoi/admin/generated/google/api/annotations.d.ts +1 -0
- package/dist/withJoi/admin/generated/google/api/http.d.ts +47 -0
- package/dist/withJoi/admin/generated/google/protobuf/any.d.ts +27 -0
- package/dist/withJoi/admin/generated/google/protobuf/descriptor.d.ts +552 -0
- package/dist/withJoi/admin/generated/google/protobuf/duration.d.ts +27 -0
- package/dist/withJoi/admin/generated/jsonapi/v1/base.d.ts +108 -0
- package/dist/withJoi/admin/generated/platform/v1/assets.d.ts +141 -0
- package/dist/withJoi/admin/generated/platform/v1/auth.d.ts +79 -0
- package/dist/{admin → withJoi/admin}/generated/platform/v1/character.d.ts +0 -3
- package/dist/withJoi/admin/generated/platform/v1/character_template.d.ts +124 -0
- package/dist/withJoi/admin/generated/platform/v1/collection_task.d.ts +60 -0
- package/dist/withJoi/admin/generated/platform/v1/console.d.ts +29 -0
- package/dist/withJoi/admin/generated/platform/v1/model_evaluation.d.ts +57 -0
- package/dist/withJoi/admin/generated/platform/v1/oss.d.ts +53 -0
- package/dist/withJoi/admin/generated/platform/v1/pipetemplate.d.ts +106 -0
- package/dist/withJoi/admin/generated/platform/v1/provider.d.ts +141 -0
- package/dist/withJoi/admin/generated/platform/v1/redeem.d.ts +83 -0
- package/dist/withJoi/admin/generated/platform/v1/task.d.ts +39 -0
- package/dist/withJoi/admin/generated/platform/v1/user.d.ts +142 -0
- package/dist/withJoi/admin/generated/platform/v1/voice.d.ts +141 -0
- package/dist/withJoi/admin/generated/realtime/v1/auth.d.ts +77 -0
- package/dist/withJoi/admin/generated/realtime/v1/customized.d.ts +60 -0
- package/dist/withJoi/admin/generated/realtime/v1/messages.d.ts +156 -0
- package/dist/withJoi/admin/generated/realtime/v1/realtime.d.ts +67 -0
- package/dist/withJoi/admin/generated/realtime/v1/redeem.d.ts +44 -0
- package/dist/withJoi/admin/generated/realtime/v1/user.d.ts +150 -0
- package/dist/withJoi/admin/generated/realtime/v2/realtime.d.ts +70 -0
- package/dist/{admin → withJoi/admin}/src/client/core/pathSerializer.gen.d.ts +2 -2
- package/dist/{admin → withJoi/admin}/src/client/sdk.gen.d.ts +1 -21
- package/dist/{admin → withJoi/admin}/src/client/types.gen.d.ts +0 -247
- package/dist/{admin → withJoi/admin}/src/client/valibot.gen.d.ts +0 -478
- package/dist/{admin → withJoi/admin}/src/components/ui/button/index.d.ts +2 -2
- package/dist/{admin → withJoi/admin}/src/composables/useCharacterForm.d.ts +2 -4
- package/dist/withJoi/admin/src/composables/useModelEvaluation.d.ts +11 -0
- package/dist/withJoi/admin/src/constants/links.d.ts +5 -0
- package/dist/withJoi/admin/src/main.d.ts +0 -0
- package/dist/{admin → withJoi/admin}/src/renderSystem/audio/AnimationPlayer.d.ts +1 -3
- package/dist/{admin → withJoi/admin}/src/renderSystem/audio/StreamingAudioPlayer.d.ts +4 -13
- package/dist/{admin → withJoi/admin}/src/renderSystem/core/AvatarController.d.ts +2 -7
- package/dist/{admin → withJoi/admin}/src/renderSystem/core/AvatarKit.d.ts +0 -1
- package/dist/{admin → withJoi/admin}/src/renderSystem/core/AvatarView.d.ts +1 -4
- package/dist/withJoi/admin/src/renderSystem/generated/google/protobuf/struct.d.ts +74 -0
- package/dist/withJoi/admin/src/renderSystem/generated/google/protobuf/timestamp.d.ts +27 -0
- package/dist/withJoi/admin/src/renderSystem/renderer/RenderSystem.d.ts +1 -0
- package/dist/withJoi/admin/src/renderSystem/renderer/webgpu/webgpuRenderer.d.ts +27 -0
- package/dist/{admin → withJoi/admin}/src/types/character.d.ts +0 -1
- package/dist/{admin → withJoi/admin}/src/types/task.d.ts +0 -1
- package/dist/{admin → withJoi/admin}/src/types/test-ground.d.ts +0 -4
- package/dist/withJoi/admin/vite.config.d.ts +2 -0
- package/dist/withJoi/bump.config.d.ts +2 -0
- package/dist/withJoi/eslint.config.d.ts +2 -0
- package/dist/withJoi/generated/buf/validate/validate.d.ts +397 -0
- package/dist/withJoi/generated/common/v1/models.d.ts +29 -0
- package/dist/withJoi/generated/console/v1/admin_app.d.ts +77 -0
- package/dist/withJoi/generated/console/v1/admin_auth.d.ts +69 -0
- package/dist/withJoi/generated/console/v1/admin_config.d.ts +157 -0
- package/dist/withJoi/generated/console/v1/admin_user.d.ts +84 -0
- package/dist/withJoi/generated/console/v1/admin_user_character.d.ts +107 -0
- package/dist/withJoi/generated/console/v1/app.d.ts +116 -0
- package/dist/withJoi/generated/console/v1/auth.d.ts +199 -0
- package/dist/withJoi/generated/console/v1/character.d.ts +74 -0
- package/dist/withJoi/generated/console/v1/collection_task.d.ts +183 -0
- package/dist/withJoi/generated/console/v1/console.d.ts +163 -0
- package/dist/withJoi/generated/console/v1/instance_management.d.ts +156 -0
- package/dist/withJoi/generated/console/v1/material.d.ts +180 -0
- package/dist/withJoi/generated/console/v1/pipetemplate.d.ts +106 -0
- package/dist/withJoi/generated/console/v1/task.d.ts +292 -0
- package/dist/withJoi/generated/console/v2/async_processing.d.ts +85 -0
- package/dist/withJoi/generated/driveningress/v1/driveningress.d.ts +69 -0
- package/dist/withJoi/generated/driveningress/v2/driveningress.d.ts +159 -0
- package/dist/withJoi/generated/google/api/annotations.d.ts +1 -0
- package/dist/withJoi/generated/google/api/http.d.ts +47 -0
- package/dist/withJoi/generated/google/protobuf/any.d.ts +27 -0
- package/dist/withJoi/generated/google/protobuf/descriptor.d.ts +552 -0
- package/dist/withJoi/generated/google/protobuf/duration.d.ts +27 -0
- package/dist/withJoi/generated/google/protobuf/empty.d.ts +25 -0
- package/dist/withJoi/generated/google/protobuf/struct.d.ts +74 -0
- package/dist/withJoi/generated/google/protobuf/timestamp.d.ts +27 -0
- package/dist/withJoi/generated/jsonapi/v1/base.d.ts +108 -0
- package/dist/withJoi/generated/platform/v1/asset_groups.d.ts +204 -0
- package/dist/withJoi/generated/platform/v1/assets.d.ts +141 -0
- package/dist/withJoi/generated/platform/v1/auth.d.ts +79 -0
- package/dist/withJoi/generated/platform/v1/character.d.ts +382 -0
- package/dist/withJoi/generated/platform/v1/character_template.d.ts +124 -0
- package/dist/withJoi/generated/platform/v1/christmas_characters.d.ts +118 -0
- package/dist/withJoi/generated/platform/v1/collection_task.d.ts +60 -0
- package/dist/withJoi/generated/platform/v1/configkv.d.ts +105 -0
- package/dist/withJoi/generated/platform/v1/console.d.ts +29 -0
- package/dist/withJoi/generated/platform/v1/instance_management.d.ts +156 -0
- package/dist/withJoi/generated/platform/v1/joi_model_apply.d.ts +100 -0
- package/dist/withJoi/generated/platform/v1/material.d.ts +29 -0
- package/dist/withJoi/generated/platform/v1/oss.d.ts +53 -0
- package/dist/withJoi/generated/platform/v1/pipetemplate.d.ts +106 -0
- package/dist/withJoi/generated/platform/v1/provider.d.ts +141 -0
- package/dist/withJoi/generated/platform/v1/redeem.d.ts +83 -0
- package/dist/withJoi/generated/platform/v1/sms_send_log.d.ts +95 -0
- package/dist/withJoi/generated/platform/v1/task.d.ts +39 -0
- package/dist/withJoi/generated/platform/v1/user.d.ts +142 -0
- package/dist/withJoi/generated/platform/v1/voice.d.ts +141 -0
- package/dist/withJoi/generated/realtime/v1/auth.d.ts +77 -0
- package/dist/withJoi/generated/realtime/v1/customized.d.ts +60 -0
- package/dist/withJoi/generated/realtime/v1/messages.d.ts +156 -0
- package/dist/withJoi/generated/realtime/v1/realtime.d.ts +67 -0
- package/dist/withJoi/generated/realtime/v1/redeem.d.ts +44 -0
- package/dist/withJoi/generated/realtime/v1/user.d.ts +151 -0
- package/dist/withJoi/generated/realtime/v2/auth.d.ts +84 -0
- package/dist/withJoi/generated/realtime/v2/callback.d.ts +56 -0
- package/dist/withJoi/generated/realtime/v2/christmas.d.ts +146 -0
- package/dist/withJoi/generated/realtime/v2/joi_avatar.d.ts +198 -0
- package/dist/withJoi/generated/realtime/v2/model_apply.d.ts +194 -0
- package/dist/withJoi/generated/realtime/v2/realtime.d.ts +140 -0
- package/dist/withJoi/generated/realtime/v2/user.d.ts +96 -0
- package/dist/withJoi/generated/shared-proto/syncdb/v1/syncdb.d.ts +54 -0
- package/dist/withJoi/generated/syncdb/v1/syncdb.d.ts +54 -0
- package/dist/withJoi/legacy/unocss.shared.d.ts +3 -0
- package/dist/withJoi/openapi-ts.config.d.ts +8 -0
- package/dist/withJoi/packages/sdk/src/index.d.ts +1 -0
- package/dist/withJoi/packages/sdk/tsdown.config.d.ts +2 -0
- package/dist/withJoi/src/api/appearance.d.ts +5 -0
- package/dist/withJoi/src/api/auth.d.ts +7 -0
- package/dist/withJoi/src/api/character.d.ts +20 -0
- package/dist/withJoi/src/api/index.d.ts +8 -0
- package/dist/withJoi/src/api/joi-avatar.d.ts +26 -0
- package/dist/withJoi/src/api/model-apply.d.ts +21 -0
- package/dist/withJoi/src/api/oss.d.ts +13 -0
- package/dist/withJoi/src/api/provider.d.ts +11 -0
- package/dist/withJoi/src/api/redeem.d.ts +3 -0
- package/dist/withJoi/src/api/user.d.ts +9 -0
- package/dist/withJoi/src/audio/AnimationPlayer.d.ts +22 -0
- package/dist/withJoi/src/audio/StreamingAudioPlayer.d.ts +58 -0
- package/dist/withJoi/src/client/client/client.gen.d.ts +2 -0
- package/dist/withJoi/src/client/client/index.d.ts +8 -0
- package/dist/withJoi/src/client/client/types.gen.d.ts +70 -0
- package/dist/withJoi/src/client/client/utils.gen.d.ts +31 -0
- package/dist/withJoi/src/client/client.gen.d.ts +5 -0
- package/dist/withJoi/src/client/core/auth.gen.d.ts +8 -0
- package/dist/withJoi/src/client/core/bodySerializer.gen.d.ts +21 -0
- package/dist/withJoi/src/client/core/params.gen.d.ts +27 -0
- package/dist/withJoi/src/client/core/pathSerializer.gen.d.ts +30 -0
- package/dist/withJoi/src/client/core/queryKeySerializer.gen.d.ts +9 -0
- package/dist/withJoi/src/client/core/serverSentEvents.gen.d.ts +23 -0
- package/dist/withJoi/src/client/core/types.gen.d.ts +32 -0
- package/dist/withJoi/src/client/core/utils.gen.d.ts +19 -0
- package/dist/withJoi/src/client/index.d.ts +2 -0
- package/dist/withJoi/src/client/sdk.gen.d.ts +303 -0
- package/dist/withJoi/src/client/types.gen.d.ts +4988 -0
- package/dist/withJoi/src/client/valibot.gen.d.ts +10015 -0
- package/dist/withJoi/src/components/ui/avatar/index.d.ts +9 -0
- package/dist/withJoi/src/components/ui/badge/index.d.ts +6 -0
- package/dist/withJoi/src/components/ui/button/index.d.ts +7 -0
- package/dist/withJoi/src/components/ui/popover/index.d.ts +4 -0
- package/dist/withJoi/src/components/ui/select/index.d.ts +11 -0
- package/dist/withJoi/src/composables/useCameraConfig.d.ts +48 -0
- package/dist/withJoi/src/composables/useDebugDataCollector.d.ts +377 -0
- package/dist/withJoi/src/composables/usePreviewWebSocketManager.d.ts +25 -0
- package/dist/withJoi/src/composables/useRealtimeAvatar.d.ts +462 -0
- package/dist/withJoi/src/composables/useSubtitle.d.ts +19 -0
- package/dist/withJoi/src/composables/useVAD.d.ts +49 -0
- package/dist/withJoi/src/composables/useVideoCapture.d.ts +57 -0
- package/dist/withJoi/src/config/app-config.d.ts +29 -0
- package/dist/withJoi/src/config/realtime-config.d.ts +46 -0
- package/dist/withJoi/src/config/region-config.d.ts +15 -0
- package/dist/withJoi/src/constants.d.ts +22 -0
- package/dist/withJoi/src/lib/utils.d.ts +2 -0
- package/dist/withJoi/src/libs/vad/manager.d.ts +37 -0
- package/dist/withJoi/src/libs/vad/process.worklet.d.ts +22 -0
- package/dist/withJoi/src/libs/vad/simpleVad.d.ts +35 -0
- package/dist/withJoi/src/libs/vad/vad.d.ts +56 -0
- package/dist/withJoi/src/libs/vad/wav.d.ts +1 -0
- package/dist/withJoi/src/locales/index.d.ts +2 -0
- package/dist/withJoi/src/main.d.ts +0 -0
- package/dist/withJoi/src/modules/i18n.d.ts +3 -0
- package/dist/withJoi/src/modules/pwa.d.ts +1 -0
- package/dist/withJoi/src/realtime/PreviewWebSocketClient.d.ts +18 -0
- package/dist/withJoi/src/realtime/RealtimeSyncManager.d.ts +34 -0
- package/dist/withJoi/src/realtime/RealtimeWebSocketClient.d.ts +18 -0
- package/dist/withJoi/src/realtime/index.d.ts +3 -0
- package/dist/withJoi/src/realtime/types.d.ts +29 -0
- package/dist/withJoi/src/realtime/utils/audioDebug.d.ts +3 -0
- package/dist/withJoi/src/realtime/utils/audioUtils.d.ts +11 -0
- package/dist/withJoi/src/realtime/utils/eventEmitter.d.ts +9 -0
- package/dist/withJoi/src/renderer/RenderSystem.d.ts +34 -0
- package/dist/withJoi/src/renderer/covariance.d.ts +1 -0
- package/dist/withJoi/src/renderer/renderer.d.ts +7 -0
- package/dist/withJoi/src/renderer/sortSplats.d.ts +1 -0
- package/dist/withJoi/src/renderer/webgl/reorderData.d.ts +1 -0
- package/dist/withJoi/src/renderer/webgl/webglRenderer.d.ts +27 -0
- package/dist/withJoi/src/stores/call.d.ts +176 -0
- package/dist/withJoi/src/stores/character.d.ts +188 -0
- package/dist/withJoi/src/stores/config.d.ts +59 -0
- package/dist/withJoi/src/stores/pwa.d.ts +7 -0
- package/dist/withJoi/src/stores/region.d.ts +14 -0
- package/dist/withJoi/src/stores/user.d.ts +52 -0
- package/dist/withJoi/src/stores/vad.d.ts +73 -0
- package/dist/withJoi/src/types/appearance.d.ts +30 -0
- package/dist/withJoi/src/types/avatar.d.ts +17 -0
- package/dist/withJoi/src/types/character-settings.d.ts +18 -0
- package/dist/withJoi/src/types/character.d.ts +34 -0
- package/dist/withJoi/src/types/doubao-voice.d.ts +42 -0
- package/dist/withJoi/src/utils/animation-interpolation.d.ts +7 -0
- package/dist/withJoi/src/utils/api-client.d.ts +7 -0
- package/dist/withJoi/src/utils/api-error.d.ts +13 -0
- package/dist/withJoi/src/utils/avatar-converter.d.ts +1 -0
- package/dist/withJoi/src/utils/error-utils.d.ts +3 -0
- package/dist/withJoi/src/utils/hash.d.ts +5 -0
- package/dist/withJoi/src/utils/helpers.d.ts +15 -0
- package/dist/withJoi/src/utils/image-optimizer.d.ts +17 -0
- package/dist/withJoi/src/utils/logger.d.ts +1 -0
- package/dist/withJoi/src/utils/memory-tracker.d.ts +23 -0
- package/dist/withJoi/src/utils/model-settings-utils.d.ts +29 -0
- package/dist/withJoi/src/utils/nanoid.d.ts +1 -0
- package/dist/withJoi/src/utils/posthog-tracker.d.ts +74 -0
- package/dist/withJoi/src/utils/postprocess-sdk-converter.d.ts +4 -0
- package/dist/withJoi/src/utils/postprocess-transform.d.ts +25 -0
- package/dist/withJoi/src/utils/r2-upload.d.ts +8 -0
- package/dist/withJoi/src/utils/resource-cache.d.ts +25 -0
- package/dist/withJoi/src/utils/sdk-preinit.d.ts +3 -0
- package/dist/withJoi/src/utils/toast.d.ts +30 -0
- package/dist/withJoi/src/wasm/avatarCoreAdapter.d.ts +101 -0
- package/dist/withJoi/src/wasm/avatarCoreMemory.d.ts +72 -0
- package/dist/withJoi/unocss.config.d.ts +2 -0
- package/dist/withJoi/vite.config.d.ts +2 -0
- package/package.json +12 -13
- package/dist/admin/generated/console/v1/gpu_task.d.ts +0 -274
- package/dist/admin/generated/platform/v1/gpu_task.d.ts +0 -268
- package/dist/admin/src/apis/useGpuTaskApi.d.ts +0 -41
- package/dist/admin/src/composables/useGpuTaskFilters.d.ts +0 -11
- package/dist/admin/src/composables/useModelEvaluation.d.ts +0 -22
- package/dist/admin/src/composables/useTestGroundProviders.d.ts +0 -51
- package/dist/admin/src/constants/links.d.ts +0 -7
- package/dist/admin/src/types/gpu-task.d.ts +0 -58
- package/dist/admin/src/utils/asset-config-loader.d.ts +0 -10
- package/dist/admin/src/utils/gpu-task.d.ts +0 -15
- package/dist/admin/vite.config.d.ts +0 -2
- /package/dist/{admin → playground/apps/web}/src/main.d.ts +0 -0
- /package/dist/{admin → playground}/eslint.config.d.ts +0 -0
- /package/dist/{admin → playground}/generated/buf/validate/validate.d.ts +0 -0
- /package/dist/{admin → playground}/generated/console/v1/collection_task.d.ts +0 -0
- /package/dist/{admin → playground}/generated/console/v1/pipetemplate.d.ts +0 -0
- /package/dist/{admin → playground}/generated/google/api/annotations.d.ts +0 -0
- /package/dist/{admin → playground}/generated/google/api/http.d.ts +0 -0
- /package/dist/{admin → playground}/generated/google/protobuf/any.d.ts +0 -0
- /package/dist/{admin → playground}/generated/google/protobuf/descriptor.d.ts +0 -0
- /package/dist/{admin → playground}/generated/google/protobuf/duration.d.ts +0 -0
- /package/dist/{admin → playground}/generated/google/protobuf/struct.d.ts +0 -0
- /package/dist/{admin → playground}/generated/google/protobuf/timestamp.d.ts +0 -0
- /package/dist/{admin → playground}/generated/jsonapi/v1/base.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/assets.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/auth.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/character_template.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/collection_task.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/console.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/oss.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/pipetemplate.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/provider.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/redeem.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/task.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/user.d.ts +0 -0
- /package/dist/{admin → playground}/generated/platform/v1/voice.d.ts +0 -0
- /package/dist/{admin → playground}/generated/realtime/v1/auth.d.ts +0 -0
- /package/dist/{admin → playground}/generated/realtime/v1/customized.d.ts +0 -0
- /package/dist/{admin → playground}/generated/realtime/v1/messages.d.ts +0 -0
- /package/dist/{admin → playground}/generated/realtime/v1/realtime.d.ts +0 -0
- /package/dist/{admin → playground}/generated/realtime/v1/redeem.d.ts +0 -0
- /package/dist/{admin → playground}/generated/realtime/v1/user.d.ts +0 -0
- /package/dist/{admin → playground}/generated/realtime/v2/realtime.d.ts +0 -0
- /package/dist/{admin/src/renderSystem/renderer/RenderSystem.d.ts → playground/packages/sdk/src/index.d.ts} +0 -0
- /package/dist/{admin → withJoi/admin}/generated/common/v1/models.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/admin_app.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/admin_auth.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/admin_config.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/admin_user.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/admin_user_character.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/app.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/auth.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/character.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/console.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/instance_management.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/material.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v1/task.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/console/v2/async_processing.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/google/protobuf/empty.d.ts +0 -0
- /package/dist/{admin/src/renderSystem → withJoi/admin}/generated/google/protobuf/struct.d.ts +0 -0
- /package/dist/{admin/src/renderSystem → withJoi/admin}/generated/google/protobuf/timestamp.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/platform/v1/asset_groups.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/platform/v1/christmas_characters.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/platform/v1/config.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/platform/v1/configkv.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/platform/v1/instance_management.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/platform/v1/joi_model_apply.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/platform/v1/material.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/platform/v1/sms_send_log.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/realtime/v2/auth.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/realtime/v2/callback.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/realtime/v2/joi_avatar.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/realtime/v2/model_apply.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/generated/realtime/v2/user.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/openapi-ts.config.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useAssetApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useAssetGroupApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useCharacterApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useCharacterTemplateApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useChristmasCharactersApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useCollectionTaskApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useConfigApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useConsoleApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useInstanceManagementApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useJoiModelApplyApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useMaterialApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useOssApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/usePipelineTemplateApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useProviderApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useRedeemApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useSmsSendLogApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useTaskApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useUserApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/apis/useVoiceApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/client/client.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/client/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/client/types.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/client/utils.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/client.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/core/auth.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/core/bodySerializer.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/core/params.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/core/queryKeySerializer.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/core/serverSentEvents.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/core/types.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/core/utils.gen.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/client/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/alert/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/alert-dialog/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/avatar/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/badge/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/breadcrumb/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/card/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/checkbox/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/collapsible/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/combobox/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/dialog/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/dropdown-menu/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/filter-popover/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/form/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/form/injectionKeys.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/form/useFormField.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/input/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/label/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/popover/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/progress/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/select/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/separator/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/sheet/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/sidebar/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/sidebar/utils.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/skeleton/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/slider/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/switch/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/tabs/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/tags-input/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/textarea/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/components/ui/tooltip/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useApi.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useAppStorage.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useAssetUpload.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useCharacterSettings.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useCharacterTemplateForm.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useCollectionTaskFilters.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useFileUpload.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useMaterialFilters.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useModelEvaluationWebSocket.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useModelSettings.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/usePageScrollLock.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/composables/useTaskFilters.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/character.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/collection-task.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/config-previews.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/container.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/nav.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/providers.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/regions.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/test-ground-voices.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/ui.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/voice.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/constants/volc.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/lib/cos/constants.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/lib/cos/useCosDownload.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/lib/cos/useCosUpload.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/lib/cos/useVideoInfoExtractor.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/lib/cos/utils.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/lib/utils.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/animation/utils/eventEmitter.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/animation/utils/flameConverter.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/config/app-config.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/config/constants.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/config/sdk-config-loader.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/core/Avatar.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/core/AvatarDownloader.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/generated/driveningress/v1/driveningress.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/generated/driveningress/v2/driveningress.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/renderer/covariance.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/renderer/renderer.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/renderer/sortSplats.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/renderer/webgl/reorderData.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/renderer/webgl/webglRenderer.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/types/character-settings.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/types/character.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/types/index.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/utils/animation-interpolation.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/utils/conversationId.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/utils/error-utils.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/utils/id-manager.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/utils/logger.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/wasm/avatarCoreAdapter.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/renderSystem/wasm/avatarCoreMemory.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/stores/providers.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/stores/region.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/stores/user.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/types/character-settings.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/types/collection-task.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/types/config.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/types/doubao-voice.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/types/error.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/types/model-settings.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/types/video-material.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/types/voice.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/utils/collection-task.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/utils/error.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/utils/hash.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/utils/model-settings.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/utils/monad.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/src/utils/task.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/unocss.config.d.ts +0 -0
- /package/dist/{admin → withJoi/admin}/vue-macros.config.d.ts +0 -0
- /package/dist/{admin → withJoi}/generated/platform/v1/model_evaluation.d.ts +0 -0
- /package/dist/{admin/src/renderSystem → withJoi/src}/renderer/webgpu/webgpuRenderer.d.ts +0 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
+
import { Timestamp } from '../../google/protobuf/timestamp';
|
|
3
|
+
import { PaginationRequest, PaginationResponse } from '../../jsonapi/v1/base';
|
|
4
|
+
export declare const protobufPackage = "realtime.v2";
|
|
5
|
+
export interface RealtimeCharacter {
|
|
6
|
+
id: string;
|
|
7
|
+
scene: string[];
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
status: string;
|
|
11
|
+
modelInfo: string;
|
|
12
|
+
coverUrl: string;
|
|
13
|
+
updatedAt?: Timestamp | undefined;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface RealtimeCharacterDetail {
|
|
17
|
+
id: string;
|
|
18
|
+
scene: string[];
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
status: string;
|
|
22
|
+
modelInfo: string;
|
|
23
|
+
coverUrl: string;
|
|
24
|
+
updatedAt?: Timestamp | undefined;
|
|
25
|
+
systemPrompt: string;
|
|
26
|
+
modelSettings?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
} | undefined;
|
|
29
|
+
voice?: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
} | undefined;
|
|
32
|
+
drivenBaseUrl: string;
|
|
33
|
+
}
|
|
34
|
+
export interface RealtimeListCharactersRequest {
|
|
35
|
+
pagination?: PaginationRequest | undefined;
|
|
36
|
+
characterStatus: string[];
|
|
37
|
+
listName: string;
|
|
38
|
+
}
|
|
39
|
+
export interface RealtimeListCharactersResponse {
|
|
40
|
+
characters: RealtimeCharacter[];
|
|
41
|
+
pagination?: PaginationResponse | undefined;
|
|
42
|
+
}
|
|
43
|
+
export interface RealtimeGetCharacterRequest {
|
|
44
|
+
id: string;
|
|
45
|
+
}
|
|
46
|
+
export interface RealtimeGetCharacterResponse {
|
|
47
|
+
character?: RealtimeCharacter | undefined;
|
|
48
|
+
}
|
|
49
|
+
export interface RealtimeGetCharacterDetailRequest {
|
|
50
|
+
id: string;
|
|
51
|
+
}
|
|
52
|
+
export interface RealtimeGetCharacterDetailResponse {
|
|
53
|
+
character?: RealtimeCharacterDetail | undefined;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface RealtimePreviewDrivenConfig {
|
|
57
|
+
characterId: string;
|
|
58
|
+
drivenServerUrl: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface RealtimePreviewConfig {
|
|
62
|
+
drivenConfig?: RealtimePreviewDrivenConfig | undefined;
|
|
63
|
+
speaker: string;
|
|
64
|
+
}
|
|
65
|
+
export interface ProcessCoefRequest {
|
|
66
|
+
startFrame: number;
|
|
67
|
+
characterId: string;
|
|
68
|
+
drivenProviderId: string;
|
|
69
|
+
}
|
|
70
|
+
export interface ProcessCoefResponse {
|
|
71
|
+
styleNpy: Uint8Array;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface RealtimeProvider {
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
apiUrl: string;
|
|
78
|
+
}
|
|
79
|
+
export interface RealtimeListDrivenProvidersRequest {
|
|
80
|
+
}
|
|
81
|
+
export interface RealtimeListDrivenProvidersResponse {
|
|
82
|
+
providers: RealtimeProvider[];
|
|
83
|
+
}
|
|
84
|
+
export declare const RealtimeCharacter: MessageFns<RealtimeCharacter>;
|
|
85
|
+
export declare const RealtimeCharacterDetail: MessageFns<RealtimeCharacterDetail>;
|
|
86
|
+
export declare const RealtimeListCharactersRequest: MessageFns<RealtimeListCharactersRequest>;
|
|
87
|
+
export declare const RealtimeListCharactersResponse: MessageFns<RealtimeListCharactersResponse>;
|
|
88
|
+
export declare const RealtimeGetCharacterRequest: MessageFns<RealtimeGetCharacterRequest>;
|
|
89
|
+
export declare const RealtimeGetCharacterResponse: MessageFns<RealtimeGetCharacterResponse>;
|
|
90
|
+
export declare const RealtimeGetCharacterDetailRequest: MessageFns<RealtimeGetCharacterDetailRequest>;
|
|
91
|
+
export declare const RealtimeGetCharacterDetailResponse: MessageFns<RealtimeGetCharacterDetailResponse>;
|
|
92
|
+
export declare const RealtimePreviewDrivenConfig: MessageFns<RealtimePreviewDrivenConfig>;
|
|
93
|
+
export declare const RealtimePreviewConfig: MessageFns<RealtimePreviewConfig>;
|
|
94
|
+
export declare const ProcessCoefRequest: MessageFns<ProcessCoefRequest>;
|
|
95
|
+
export declare const ProcessCoefResponse: MessageFns<ProcessCoefResponse>;
|
|
96
|
+
export declare const RealtimeProvider: MessageFns<RealtimeProvider>;
|
|
97
|
+
export declare const RealtimeListDrivenProvidersRequest: MessageFns<RealtimeListDrivenProvidersRequest>;
|
|
98
|
+
export declare const RealtimeListDrivenProvidersResponse: MessageFns<RealtimeListDrivenProvidersResponse>;
|
|
99
|
+
export interface RealtimeService {
|
|
100
|
+
RealtimeListCharacters(request: RealtimeListCharactersRequest): Promise<RealtimeListCharactersResponse>;
|
|
101
|
+
RealtimeGetCharacter(request: RealtimeGetCharacterRequest): Promise<RealtimeGetCharacterResponse>;
|
|
102
|
+
RealtimeGetCharacterDetail(request: RealtimeGetCharacterDetailRequest): Promise<RealtimeGetCharacterDetailResponse>;
|
|
103
|
+
RealtimeListDrivenProviders(request: RealtimeListDrivenProvidersRequest): Promise<RealtimeListDrivenProvidersResponse>;
|
|
104
|
+
ProcessCoef(request: ProcessCoefRequest): Promise<ProcessCoefResponse>;
|
|
105
|
+
}
|
|
106
|
+
export declare const RealtimeServiceServiceName = "realtime.v2.RealtimeService";
|
|
107
|
+
export declare class RealtimeServiceClientImpl implements RealtimeService {
|
|
108
|
+
private readonly rpc;
|
|
109
|
+
private readonly service;
|
|
110
|
+
constructor(rpc: Rpc, opts?: {
|
|
111
|
+
service?: string;
|
|
112
|
+
});
|
|
113
|
+
RealtimeListCharacters(request: RealtimeListCharactersRequest): Promise<RealtimeListCharactersResponse>;
|
|
114
|
+
RealtimeGetCharacter(request: RealtimeGetCharacterRequest): Promise<RealtimeGetCharacterResponse>;
|
|
115
|
+
RealtimeGetCharacterDetail(request: RealtimeGetCharacterDetailRequest): Promise<RealtimeGetCharacterDetailResponse>;
|
|
116
|
+
RealtimeListDrivenProviders(request: RealtimeListDrivenProvidersRequest): Promise<RealtimeListDrivenProvidersResponse>;
|
|
117
|
+
ProcessCoef(request: ProcessCoefRequest): Promise<ProcessCoefResponse>;
|
|
118
|
+
}
|
|
119
|
+
interface Rpc {
|
|
120
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
121
|
+
}
|
|
122
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
123
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
124
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
125
|
+
} : Partial<T>;
|
|
126
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
127
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
128
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
129
|
+
} & {
|
|
130
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
131
|
+
};
|
|
132
|
+
export interface MessageFns<T> {
|
|
133
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
134
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
135
|
+
fromJSON(object: any): T;
|
|
136
|
+
toJSON(message: T): unknown;
|
|
137
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
138
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
139
|
+
}
|
|
140
|
+
export {};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
+
export declare const protobufPackage = "realtime.v2";
|
|
3
|
+
export declare enum Gender {
|
|
4
|
+
GENDER_UNSPECIFIED = 0,
|
|
5
|
+
GENDER_MALE = 1,
|
|
6
|
+
GENDER_FEMALE = 2,
|
|
7
|
+
GENDER_OTHER = 3,
|
|
8
|
+
UNRECOGNIZED = -1
|
|
9
|
+
}
|
|
10
|
+
export declare function genderFromJSON(object: any): Gender;
|
|
11
|
+
export declare function genderToJSON(object: Gender): string;
|
|
12
|
+
export declare enum Language {
|
|
13
|
+
LANGUAGE_UNSPECIFIED = 0,
|
|
14
|
+
LANGUAGE_ZH_CN = 1,
|
|
15
|
+
LANGUAGE_EN_US = 2,
|
|
16
|
+
UNRECOGNIZED = -1
|
|
17
|
+
}
|
|
18
|
+
export declare function languageFromJSON(object: any): Language;
|
|
19
|
+
export declare function languageToJSON(object: Language): string;
|
|
20
|
+
export declare enum UserType {
|
|
21
|
+
USER_TYPE_UNSPECIFIED = 0,
|
|
22
|
+
USER_TYPE_NORMAL = 1,
|
|
23
|
+
USER_TYPE_ANONYMOUS = 2,
|
|
24
|
+
USER_TYPE_PAID = 3,
|
|
25
|
+
UNRECOGNIZED = -1
|
|
26
|
+
}
|
|
27
|
+
export declare function userTypeFromJSON(object: any): UserType;
|
|
28
|
+
export declare function userTypeToJSON(object: UserType): string;
|
|
29
|
+
|
|
30
|
+
export interface RealtimeUser {
|
|
31
|
+
id: string;
|
|
32
|
+
username: string;
|
|
33
|
+
nickname?: string | undefined;
|
|
34
|
+
email: string;
|
|
35
|
+
gender?: Gender | undefined;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface GetUserRequest {
|
|
39
|
+
id: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface GetUserResponse {
|
|
43
|
+
user?: RealtimeUser | undefined;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface UpdateUserRequest {
|
|
47
|
+
username?: string | undefined;
|
|
48
|
+
nickname?: string | undefined;
|
|
49
|
+
gender?: Gender | undefined;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface UpdateUserResponse {
|
|
53
|
+
user?: RealtimeUser | undefined;
|
|
54
|
+
}
|
|
55
|
+
export declare const RealtimeUser: MessageFns<RealtimeUser>;
|
|
56
|
+
export declare const GetUserRequest: MessageFns<GetUserRequest>;
|
|
57
|
+
export declare const GetUserResponse: MessageFns<GetUserResponse>;
|
|
58
|
+
export declare const UpdateUserRequest: MessageFns<UpdateUserRequest>;
|
|
59
|
+
export declare const UpdateUserResponse: MessageFns<UpdateUserResponse>;
|
|
60
|
+
|
|
61
|
+
export interface RealtimeUserService {
|
|
62
|
+
GetUser(request: GetUserRequest): Promise<GetUserResponse>;
|
|
63
|
+
UpdateUser(request: UpdateUserRequest): Promise<UpdateUserResponse>;
|
|
64
|
+
}
|
|
65
|
+
export declare const RealtimeUserServiceServiceName = "realtime.v2.RealtimeUserService";
|
|
66
|
+
export declare class RealtimeUserServiceClientImpl implements RealtimeUserService {
|
|
67
|
+
private readonly rpc;
|
|
68
|
+
private readonly service;
|
|
69
|
+
constructor(rpc: Rpc, opts?: {
|
|
70
|
+
service?: string;
|
|
71
|
+
});
|
|
72
|
+
GetUser(request: GetUserRequest): Promise<GetUserResponse>;
|
|
73
|
+
UpdateUser(request: UpdateUserRequest): Promise<UpdateUserResponse>;
|
|
74
|
+
}
|
|
75
|
+
interface Rpc {
|
|
76
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
77
|
+
}
|
|
78
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
79
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
80
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
81
|
+
} : Partial<T>;
|
|
82
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
83
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
84
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
85
|
+
} & {
|
|
86
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
87
|
+
};
|
|
88
|
+
export interface MessageFns<T> {
|
|
89
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
90
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
91
|
+
fromJSON(object: any): T;
|
|
92
|
+
toJSON(message: T): unknown;
|
|
93
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
94
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
95
|
+
}
|
|
96
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
+
import { AssetGroup } from '../../../platform/v1/asset_groups';
|
|
3
|
+
import { CreateCharacterRequest } from '../../../platform/v1/character';
|
|
4
|
+
export declare const protobufPackage = "syncdb.v1";
|
|
5
|
+
export interface SyncDBSyncCharacterRequest {
|
|
6
|
+
character?: CreateCharacterRequest | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface SyncDBSyncCharacterResponse {
|
|
9
|
+
}
|
|
10
|
+
export interface SyncDBSyncAssetGroupRequest {
|
|
11
|
+
assetGroup?: AssetGroup | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface SyncDBSyncAssetGroupResponse {
|
|
14
|
+
}
|
|
15
|
+
export declare const SyncDBSyncCharacterRequest: MessageFns<SyncDBSyncCharacterRequest>;
|
|
16
|
+
export declare const SyncDBSyncCharacterResponse: MessageFns<SyncDBSyncCharacterResponse>;
|
|
17
|
+
export declare const SyncDBSyncAssetGroupRequest: MessageFns<SyncDBSyncAssetGroupRequest>;
|
|
18
|
+
export declare const SyncDBSyncAssetGroupResponse: MessageFns<SyncDBSyncAssetGroupResponse>;
|
|
19
|
+
export interface SyncDBService {
|
|
20
|
+
SyncDBSyncCharacter(request: SyncDBSyncCharacterRequest): Promise<SyncDBSyncCharacterResponse>;
|
|
21
|
+
SyncDBSyncAssetGroup(request: SyncDBSyncAssetGroupRequest): Promise<SyncDBSyncAssetGroupResponse>;
|
|
22
|
+
}
|
|
23
|
+
export declare const SyncDBServiceServiceName = "syncdb.v1.SyncDBService";
|
|
24
|
+
export declare class SyncDBServiceClientImpl implements SyncDBService {
|
|
25
|
+
private readonly rpc;
|
|
26
|
+
private readonly service;
|
|
27
|
+
constructor(rpc: Rpc, opts?: {
|
|
28
|
+
service?: string;
|
|
29
|
+
});
|
|
30
|
+
SyncDBSyncCharacter(request: SyncDBSyncCharacterRequest): Promise<SyncDBSyncCharacterResponse>;
|
|
31
|
+
SyncDBSyncAssetGroup(request: SyncDBSyncAssetGroupRequest): Promise<SyncDBSyncAssetGroupResponse>;
|
|
32
|
+
}
|
|
33
|
+
interface Rpc {
|
|
34
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
35
|
+
}
|
|
36
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
37
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
38
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
39
|
+
} : Partial<T>;
|
|
40
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
41
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
42
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
43
|
+
} & {
|
|
44
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
45
|
+
};
|
|
46
|
+
export interface MessageFns<T> {
|
|
47
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
48
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
49
|
+
fromJSON(object: any): T;
|
|
50
|
+
toJSON(message: T): unknown;
|
|
51
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
52
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
+
import { AssetGroup } from '../../platform/v1/asset_groups';
|
|
3
|
+
import { CreateCharacterRequest } from '../../platform/v1/character';
|
|
4
|
+
export declare const protobufPackage = "syncdb.v1";
|
|
5
|
+
export interface SyncDBSyncCharacterRequest {
|
|
6
|
+
character?: CreateCharacterRequest | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface SyncDBSyncCharacterResponse {
|
|
9
|
+
}
|
|
10
|
+
export interface SyncDBSyncAssetGroupRequest {
|
|
11
|
+
assetGroup?: AssetGroup | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface SyncDBSyncAssetGroupResponse {
|
|
14
|
+
}
|
|
15
|
+
export declare const SyncDBSyncCharacterRequest: MessageFns<SyncDBSyncCharacterRequest>;
|
|
16
|
+
export declare const SyncDBSyncCharacterResponse: MessageFns<SyncDBSyncCharacterResponse>;
|
|
17
|
+
export declare const SyncDBSyncAssetGroupRequest: MessageFns<SyncDBSyncAssetGroupRequest>;
|
|
18
|
+
export declare const SyncDBSyncAssetGroupResponse: MessageFns<SyncDBSyncAssetGroupResponse>;
|
|
19
|
+
export interface SyncDBService {
|
|
20
|
+
SyncDBSyncCharacter(request: SyncDBSyncCharacterRequest): Promise<SyncDBSyncCharacterResponse>;
|
|
21
|
+
SyncDBSyncAssetGroup(request: SyncDBSyncAssetGroupRequest): Promise<SyncDBSyncAssetGroupResponse>;
|
|
22
|
+
}
|
|
23
|
+
export declare const SyncDBServiceServiceName = "syncdb.v1.SyncDBService";
|
|
24
|
+
export declare class SyncDBServiceClientImpl implements SyncDBService {
|
|
25
|
+
private readonly rpc;
|
|
26
|
+
private readonly service;
|
|
27
|
+
constructor(rpc: Rpc, opts?: {
|
|
28
|
+
service?: string;
|
|
29
|
+
});
|
|
30
|
+
SyncDBSyncCharacter(request: SyncDBSyncCharacterRequest): Promise<SyncDBSyncCharacterResponse>;
|
|
31
|
+
SyncDBSyncAssetGroup(request: SyncDBSyncAssetGroupRequest): Promise<SyncDBSyncAssetGroupResponse>;
|
|
32
|
+
}
|
|
33
|
+
interface Rpc {
|
|
34
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
35
|
+
}
|
|
36
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
37
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
38
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
39
|
+
} : Partial<T>;
|
|
40
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
41
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
42
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
43
|
+
} & {
|
|
44
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
45
|
+
};
|
|
46
|
+
export interface MessageFns<T> {
|
|
47
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
48
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
49
|
+
fromJSON(object: any): T;
|
|
50
|
+
toJSON(message: T): unknown;
|
|
51
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
52
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { V2PhoneLoginResponse, V2SendSmsCodeResponse } from '../client';
|
|
2
|
+
|
|
3
|
+
export declare function sendSmsCode(countryCode: string, phoneNumber: string, turnstileToken: string): Promise<V2SendSmsCodeResponse>;
|
|
4
|
+
|
|
5
|
+
export declare function phoneLogin(countryCode: string, phoneNumber: string, verificationCode: string): Promise<V2PhoneLoginResponse>;
|
|
6
|
+
|
|
7
|
+
export declare function login(username: string, password?: string): Promise<any>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RealtimeGetCharacterDetailResponse, RealtimeGetCharacterResponse, RealtimeListCharactersResponse } from '../../generated/realtime/v2/realtime';
|
|
2
|
+
import { V1FullCharacter } from '../client/types.gen';
|
|
3
|
+
import { CharacterMeta } from '../types/character';
|
|
4
|
+
export interface GetCharactersOptions {
|
|
5
|
+
pageSize?: number;
|
|
6
|
+
pageToken?: string;
|
|
7
|
+
characterStatus?: string[];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare function getCharacters(options?: GetCharactersOptions): Promise<RealtimeListCharactersResponse>;
|
|
11
|
+
|
|
12
|
+
export declare function getCharacterById(characterId: string): Promise<CharacterMeta>;
|
|
13
|
+
|
|
14
|
+
export declare function getCharacterRealtimeInfo(characterId: string): Promise<RealtimeGetCharacterResponse>;
|
|
15
|
+
|
|
16
|
+
export declare function getFullCharacterDetailById(characterId: string): Promise<RealtimeGetCharacterDetailResponse>;
|
|
17
|
+
|
|
18
|
+
export declare function getFullCharacterById(characterId: string): Promise<V1FullCharacter>;
|
|
19
|
+
|
|
20
|
+
export declare function deleteCharacter(characterId: string): Promise<void>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { JoiAvatarServiceUpdateJoiAvatarBody, V2DeleteJoiAvatarResponse, V2ListJoiAvatarsResponse, V2UpdateJoiAvatarResponse } from '../client';
|
|
2
|
+
export interface CreateJoiAvatarRequestDto {
|
|
3
|
+
characterId: string;
|
|
4
|
+
avatarName: string;
|
|
5
|
+
prompt: string;
|
|
6
|
+
}
|
|
7
|
+
export interface CreateJoiAvatarResponseDto {
|
|
8
|
+
avatar?: {
|
|
9
|
+
id?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
coverUrl?: string;
|
|
12
|
+
status?: string;
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export declare function listJoiAvatars(): Promise<V2ListJoiAvatarsResponse>;
|
|
19
|
+
|
|
20
|
+
export declare function listMyJoiAvatars(): Promise<V2ListJoiAvatarsResponse>;
|
|
21
|
+
|
|
22
|
+
export declare function deleteJoiAvatar(avatarId: string): Promise<V2DeleteJoiAvatarResponse>;
|
|
23
|
+
|
|
24
|
+
export declare function updateJoiAvatar(avatarId: string, body: JoiAvatarServiceUpdateJoiAvatarBody): Promise<V2UpdateJoiAvatarResponse>;
|
|
25
|
+
|
|
26
|
+
export declare function createJoiAvatar(body: CreateJoiAvatarRequestDto): Promise<CreateJoiAvatarResponseDto>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ModelApplyServiceConfigureModelApplyBody, V2ConfigureModelApplyResponse, V2GetModelApplyResponse, V2ListUserModelAppliesResponse, V2SubmitModelApplyRequest, V2SubmitModelApplyResponse } from '../client/types.gen';
|
|
2
|
+
export interface GetR2PresignedPutURLRequest {
|
|
3
|
+
objectKey?: string;
|
|
4
|
+
contentType: string;
|
|
5
|
+
durationSeconds?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface GetR2PresignedPutURLResponse {
|
|
8
|
+
presignedUrl: string;
|
|
9
|
+
objectKey: string;
|
|
10
|
+
expiration: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export declare function submitModelApply(request: V2SubmitModelApplyRequest | Record<string, unknown>): Promise<V2SubmitModelApplyResponse>;
|
|
14
|
+
|
|
15
|
+
export declare function getModelApply(applyId: string): Promise<V2GetModelApplyResponse>;
|
|
16
|
+
|
|
17
|
+
export declare function listUserModelApplies(): Promise<V2ListUserModelAppliesResponse>;
|
|
18
|
+
|
|
19
|
+
export declare function configureModelApply(applyId: string, body: ModelApplyServiceConfigureModelApplyBody): Promise<V2ConfigureModelApplyResponse>;
|
|
20
|
+
|
|
21
|
+
export declare function getR2PresignedPutURL(request: GetR2PresignedPutURLRequest): Promise<GetR2PresignedPutURLResponse>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface OSSCredentials {
|
|
2
|
+
accessKeyId: string;
|
|
3
|
+
secretAccessKey: string;
|
|
4
|
+
sessionToken?: string;
|
|
5
|
+
expiration?: string;
|
|
6
|
+
region: string;
|
|
7
|
+
bucketName: string;
|
|
8
|
+
provider: string;
|
|
9
|
+
baseUrl: string;
|
|
10
|
+
accountId?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export declare function getOSSCredentials(resourcePath: string, durationSeconds?: number): Promise<OSSCredentials>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { V2RealtimeListDrivenProvidersResponse } from '../client';
|
|
2
|
+
|
|
3
|
+
export declare function listProviders(params?: {
|
|
4
|
+
pageSize?: number;
|
|
5
|
+
pageToken?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
}): Promise<{
|
|
8
|
+
providers: unknown[];
|
|
9
|
+
}>;
|
|
10
|
+
|
|
11
|
+
export declare function listDrivenProviders(): Promise<V2RealtimeListDrivenProvidersResponse>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RealtimeAuthServiceMeResponse, Realtimev1UpdateUserResponse } from '../client';
|
|
2
|
+
|
|
3
|
+
export declare function getCurrentUser(): Promise<RealtimeAuthServiceMeResponse>;
|
|
4
|
+
|
|
5
|
+
export declare function updateUserProfile(request: {
|
|
6
|
+
nickname: string;
|
|
7
|
+
}): Promise<Realtimev1UpdateUserResponse>;
|
|
8
|
+
|
|
9
|
+
export declare function checkNicknameDuplicate(_nickname: string): Promise<boolean>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { StreamingAudioPlayer } from './StreamingAudioPlayer';
|
|
2
|
+
export declare class AnimationPlayer {
|
|
3
|
+
private audio;
|
|
4
|
+
private streamingPlayer;
|
|
5
|
+
private _isPlaying;
|
|
6
|
+
private fps;
|
|
7
|
+
private onEndedCallback?;
|
|
8
|
+
private static audioUnlocked;
|
|
9
|
+
private useStreaming;
|
|
10
|
+
private playHandler?;
|
|
11
|
+
private endedHandler?;
|
|
12
|
+
static unlockAudioContext(): Promise<void>;
|
|
13
|
+
initialize(audioUrl: string, onEnded?: () => void): Promise<void>;
|
|
14
|
+
initializeStreaming(streamingPlayer: StreamingAudioPlayer, onEnded?: () => void): Promise<void>;
|
|
15
|
+
private setupEventListeners;
|
|
16
|
+
play(): Promise<void>;
|
|
17
|
+
stop(): void;
|
|
18
|
+
isPlaying(): boolean;
|
|
19
|
+
getCurrentFrameIndex(): number;
|
|
20
|
+
private getCurrentTime;
|
|
21
|
+
dispose(): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export interface StreamingAudioPlayerOptions {
|
|
2
|
+
sampleRate?: number;
|
|
3
|
+
channelCount?: number;
|
|
4
|
+
minBufferChunks?: number;
|
|
5
|
+
maxBufferedSeconds?: number;
|
|
6
|
+
debug?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare class StreamingAudioPlayer {
|
|
9
|
+
private audioContext;
|
|
10
|
+
private sampleRate;
|
|
11
|
+
private channelCount;
|
|
12
|
+
private minBufferChunks;
|
|
13
|
+
private maxBufferedSeconds;
|
|
14
|
+
private debug;
|
|
15
|
+
private sessionId;
|
|
16
|
+
private sessionStartTime;
|
|
17
|
+
private pausedTimeOffset;
|
|
18
|
+
private pausedAt;
|
|
19
|
+
private pausedAudioContextTime;
|
|
20
|
+
private pauseStartTime;
|
|
21
|
+
private scheduledTime;
|
|
22
|
+
private isPlaying;
|
|
23
|
+
private isPaused;
|
|
24
|
+
private autoStartEnabled;
|
|
25
|
+
private audioChunks;
|
|
26
|
+
private scheduledChunks;
|
|
27
|
+
private activeSources;
|
|
28
|
+
private onEndedCallback?;
|
|
29
|
+
constructor(options?: StreamingAudioPlayerOptions);
|
|
30
|
+
initialize(): Promise<void>;
|
|
31
|
+
addChunk(pcmData: Uint8Array, isLast?: boolean): void;
|
|
32
|
+
startNewSession(audioChunks: Array<{
|
|
33
|
+
data: Uint8Array;
|
|
34
|
+
isLast: boolean;
|
|
35
|
+
}>): Promise<void>;
|
|
36
|
+
private startPlayback;
|
|
37
|
+
private scheduleAllChunks;
|
|
38
|
+
private scheduleNextChunk;
|
|
39
|
+
private pcmToAudioBuffer;
|
|
40
|
+
getCurrentTime(): number;
|
|
41
|
+
pause(): void;
|
|
42
|
+
resume(): Promise<void>;
|
|
43
|
+
stop(): void;
|
|
44
|
+
markEnded(): void;
|
|
45
|
+
onEnded(callback: () => void): void;
|
|
46
|
+
isPlayingNow(): boolean;
|
|
47
|
+
setAutoStart(enabled: boolean): void;
|
|
48
|
+
play(): void;
|
|
49
|
+
getBufferedDuration(): number;
|
|
50
|
+
getRemainingDuration(): number;
|
|
51
|
+
private getUnscheduledDuration;
|
|
52
|
+
private trimUnscheduledBufferIfNeeded;
|
|
53
|
+
dispose(): void;
|
|
54
|
+
flush(options?: {
|
|
55
|
+
hard?: boolean;
|
|
56
|
+
}): void;
|
|
57
|
+
private log;
|
|
58
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type { Auth } from '../core/auth.gen';
|
|
2
|
+
export type { QuerySerializerOptions } from '../core/bodySerializer.gen';
|
|
3
|
+
export { formDataBodySerializer, jsonBodySerializer, urlSearchParamsBodySerializer, } from '../core/bodySerializer.gen';
|
|
4
|
+
export { buildClientParams } from '../core/params.gen';
|
|
5
|
+
export { serializeQueryKeyValue } from '../core/queryKeySerializer.gen';
|
|
6
|
+
export { createClient } from './client.gen';
|
|
7
|
+
export type { Client, ClientOptions, Config, CreateClientConfig, Options, RequestOptions, RequestResult, ResolvedRequestOptions, ResponseStyle, TDataShape, } from './types.gen';
|
|
8
|
+
export { createConfig, mergeHeaders } from './utils.gen';
|