@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,56 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
+
export declare const protobufPackage = "realtime.v2";
|
|
3
|
+
|
|
4
|
+
export interface ModelApplyCallbackRequest {
|
|
5
|
+
applyId: string;
|
|
6
|
+
stage: string;
|
|
7
|
+
status: string;
|
|
8
|
+
result?: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
} | undefined;
|
|
11
|
+
error?: string | undefined;
|
|
12
|
+
timestamp: string;
|
|
13
|
+
nonce: string;
|
|
14
|
+
signature: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ModelApplyCallbackResponse {
|
|
17
|
+
success: boolean;
|
|
18
|
+
message?: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
export declare const ModelApplyCallbackRequest: MessageFns<ModelApplyCallbackRequest>;
|
|
21
|
+
export declare const ModelApplyCallbackResponse: MessageFns<ModelApplyCallbackResponse>;
|
|
22
|
+
|
|
23
|
+
export interface ModelApplyCallbackService {
|
|
24
|
+
HandleModelApplyCallback(request: ModelApplyCallbackRequest): Promise<ModelApplyCallbackResponse>;
|
|
25
|
+
}
|
|
26
|
+
export declare const ModelApplyCallbackServiceServiceName = "realtime.v2.ModelApplyCallbackService";
|
|
27
|
+
export declare class ModelApplyCallbackServiceClientImpl implements ModelApplyCallbackService {
|
|
28
|
+
private readonly rpc;
|
|
29
|
+
private readonly service;
|
|
30
|
+
constructor(rpc: Rpc, opts?: {
|
|
31
|
+
service?: string;
|
|
32
|
+
});
|
|
33
|
+
HandleModelApplyCallback(request: ModelApplyCallbackRequest): Promise<ModelApplyCallbackResponse>;
|
|
34
|
+
}
|
|
35
|
+
interface Rpc {
|
|
36
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
37
|
+
}
|
|
38
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
39
|
+
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 {} ? {
|
|
40
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
41
|
+
} : Partial<T>;
|
|
42
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
43
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
44
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
45
|
+
} & {
|
|
46
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
47
|
+
};
|
|
48
|
+
export interface MessageFns<T> {
|
|
49
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
50
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
51
|
+
fromJSON(object: any): T;
|
|
52
|
+
toJSON(message: T): unknown;
|
|
53
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
54
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
55
|
+
}
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
+
import { Empty } from '../../google/protobuf/empty';
|
|
3
|
+
import { Struct } from '../../google/protobuf/struct';
|
|
4
|
+
import { Timestamp } from '../../google/protobuf/timestamp';
|
|
5
|
+
import { PaginationRequest } from '../../jsonapi/v1/base';
|
|
6
|
+
import { RealtimeCharacter } from './realtime';
|
|
7
|
+
export declare const protobufPackage = "realtime.v2";
|
|
8
|
+
|
|
9
|
+
export interface ChristmasCharacter {
|
|
10
|
+
character?: RealtimeCharacter | undefined;
|
|
11
|
+
startedAt?: Timestamp | undefined;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface ListChristmasCharactersRequest {
|
|
15
|
+
pagination?: PaginationRequest | undefined;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface ListChristmasCharactersResponse {
|
|
19
|
+
characters: ChristmasCharacter[];
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface UnlockChristmasCharacterRequest {
|
|
23
|
+
characterId: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface UnlockChristmasCharacterResponse {
|
|
27
|
+
character?: ChristmasCharacter | undefined;
|
|
28
|
+
message: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface UpgradeToVIPRequest {
|
|
32
|
+
couponCode?: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface UpgradeToVIPResponse {
|
|
36
|
+
success: boolean;
|
|
37
|
+
message: string;
|
|
38
|
+
clientSecret?: string | undefined;
|
|
39
|
+
orderId?: string | undefined;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface GetUserInfoResponse {
|
|
43
|
+
id: string;
|
|
44
|
+
username: string;
|
|
45
|
+
nickname?: string | undefined;
|
|
46
|
+
isVip: boolean;
|
|
47
|
+
unlockedCharacterIds: string[];
|
|
48
|
+
email: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface StripePaymentIntentMetadata {
|
|
52
|
+
userId: string;
|
|
53
|
+
orderId: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface StripePaymentIntent {
|
|
57
|
+
id: string;
|
|
58
|
+
object: string;
|
|
59
|
+
amount: string;
|
|
60
|
+
amountReceived: string;
|
|
61
|
+
currency: string;
|
|
62
|
+
status: string;
|
|
63
|
+
description: string;
|
|
64
|
+
metadata?: StripePaymentIntentMetadata | undefined;
|
|
65
|
+
clientSecret: string;
|
|
66
|
+
latestCharge: string;
|
|
67
|
+
paymentMethodTypes: string[];
|
|
68
|
+
livemode: boolean;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface StripeEventData {
|
|
72
|
+
paymentIntent?: StripePaymentIntent | undefined;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface StripeWebhookRequestInfo {
|
|
76
|
+
id: string;
|
|
77
|
+
idempotencyKey: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface HandleStripeWebhookRequest {
|
|
81
|
+
id: string;
|
|
82
|
+
object: string;
|
|
83
|
+
apiVersion: string;
|
|
84
|
+
created: string;
|
|
85
|
+
data?: StripeEventData | undefined;
|
|
86
|
+
livemode: boolean;
|
|
87
|
+
pendingWebhooks: number;
|
|
88
|
+
request?: StripeWebhookRequestInfo | undefined;
|
|
89
|
+
type: string;
|
|
90
|
+
}
|
|
91
|
+
export declare const ChristmasCharacter: MessageFns<ChristmasCharacter>;
|
|
92
|
+
export declare const ListChristmasCharactersRequest: MessageFns<ListChristmasCharactersRequest>;
|
|
93
|
+
export declare const ListChristmasCharactersResponse: MessageFns<ListChristmasCharactersResponse>;
|
|
94
|
+
export declare const UnlockChristmasCharacterRequest: MessageFns<UnlockChristmasCharacterRequest>;
|
|
95
|
+
export declare const UnlockChristmasCharacterResponse: MessageFns<UnlockChristmasCharacterResponse>;
|
|
96
|
+
export declare const UpgradeToVIPRequest: MessageFns<UpgradeToVIPRequest>;
|
|
97
|
+
export declare const UpgradeToVIPResponse: MessageFns<UpgradeToVIPResponse>;
|
|
98
|
+
export declare const GetUserInfoResponse: MessageFns<GetUserInfoResponse>;
|
|
99
|
+
export declare const StripePaymentIntentMetadata: MessageFns<StripePaymentIntentMetadata>;
|
|
100
|
+
export declare const StripePaymentIntent: MessageFns<StripePaymentIntent>;
|
|
101
|
+
export declare const StripeEventData: MessageFns<StripeEventData>;
|
|
102
|
+
export declare const StripeWebhookRequestInfo: MessageFns<StripeWebhookRequestInfo>;
|
|
103
|
+
export declare const HandleStripeWebhookRequest: MessageFns<HandleStripeWebhookRequest>;
|
|
104
|
+
|
|
105
|
+
export interface ChristmasService {
|
|
106
|
+
ListChristmasCharacters(request: ListChristmasCharactersRequest): Promise<ListChristmasCharactersResponse>;
|
|
107
|
+
UnlockChristmasCharacter(request: UnlockChristmasCharacterRequest): Promise<UnlockChristmasCharacterResponse>;
|
|
108
|
+
UpgradeToVIP(request: UpgradeToVIPRequest): Promise<UpgradeToVIPResponse>;
|
|
109
|
+
GetUserInfo(request: Empty): Promise<GetUserInfoResponse>;
|
|
110
|
+
HandleStripeWebhook(request: HandleStripeWebhookRequest): Promise<Struct>;
|
|
111
|
+
}
|
|
112
|
+
export declare const ChristmasServiceServiceName = "realtime.v2.ChristmasService";
|
|
113
|
+
export declare class ChristmasServiceClientImpl implements ChristmasService {
|
|
114
|
+
private readonly rpc;
|
|
115
|
+
private readonly service;
|
|
116
|
+
constructor(rpc: Rpc, opts?: {
|
|
117
|
+
service?: string;
|
|
118
|
+
});
|
|
119
|
+
ListChristmasCharacters(request: ListChristmasCharactersRequest): Promise<ListChristmasCharactersResponse>;
|
|
120
|
+
UnlockChristmasCharacter(request: UnlockChristmasCharacterRequest): Promise<UnlockChristmasCharacterResponse>;
|
|
121
|
+
UpgradeToVIP(request: UpgradeToVIPRequest): Promise<UpgradeToVIPResponse>;
|
|
122
|
+
GetUserInfo(request: Empty): Promise<GetUserInfoResponse>;
|
|
123
|
+
HandleStripeWebhook(request: HandleStripeWebhookRequest): Promise<Struct>;
|
|
124
|
+
}
|
|
125
|
+
interface Rpc {
|
|
126
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
127
|
+
}
|
|
128
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
129
|
+
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 {} ? {
|
|
130
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
131
|
+
} : Partial<T>;
|
|
132
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
133
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
134
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
135
|
+
} & {
|
|
136
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
137
|
+
};
|
|
138
|
+
export interface MessageFns<T> {
|
|
139
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
140
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
141
|
+
fromJSON(object: any): T;
|
|
142
|
+
toJSON(message: T): unknown;
|
|
143
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
144
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
145
|
+
}
|
|
146
|
+
export {};
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
+
import { CustomAnimation } from '../../common/v1/models';
|
|
3
|
+
import { Timestamp } from '../../google/protobuf/timestamp';
|
|
4
|
+
import { PaginationRequest, PaginationResponse } from '../../jsonapi/v1/base';
|
|
5
|
+
export declare const protobufPackage = "realtime.v2";
|
|
6
|
+
|
|
7
|
+
export interface JoiAvatarCreator {
|
|
8
|
+
id: string;
|
|
9
|
+
username: string;
|
|
10
|
+
nickname?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface JoiAvatarListItem {
|
|
14
|
+
id: string;
|
|
15
|
+
scene: string[];
|
|
16
|
+
name: string;
|
|
17
|
+
description: string;
|
|
18
|
+
status: string;
|
|
19
|
+
modelInfo: string;
|
|
20
|
+
coverUrl: string;
|
|
21
|
+
updatedAt?: Timestamp | undefined;
|
|
22
|
+
creator?: JoiAvatarCreator | undefined;
|
|
23
|
+
joiAvatarId: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface Resource {
|
|
27
|
+
type: string;
|
|
28
|
+
local: string;
|
|
29
|
+
remote: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ResourceHolder {
|
|
32
|
+
resource?: Resource | undefined;
|
|
33
|
+
}
|
|
34
|
+
export interface Models {
|
|
35
|
+
shape?: ResourceHolder | undefined;
|
|
36
|
+
gsStandard?: ResourceHolder | undefined;
|
|
37
|
+
gsHigh?: ResourceHolder | undefined;
|
|
38
|
+
gsUltra?: ResourceHolder | undefined;
|
|
39
|
+
}
|
|
40
|
+
export interface Animations {
|
|
41
|
+
frameIdle?: ResourceHolder | undefined;
|
|
42
|
+
frameMono?: ResourceHolder | undefined;
|
|
43
|
+
audioMono?: ResourceHolder | undefined;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface JoiAvatarAsset {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string;
|
|
49
|
+
description: string;
|
|
50
|
+
coverUrl: string;
|
|
51
|
+
version: string;
|
|
52
|
+
createdAt?: Timestamp | undefined;
|
|
53
|
+
updatedAt?: Timestamp | undefined;
|
|
54
|
+
camera?: ResourceHolder | undefined;
|
|
55
|
+
models?: Models | undefined;
|
|
56
|
+
animations?: Animations | undefined;
|
|
57
|
+
background?: ResourceHolder | undefined;
|
|
58
|
+
characterSettings?: {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
} | undefined;
|
|
61
|
+
customAnimations: CustomAnimation[];
|
|
62
|
+
systemPrompt?: {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
} | undefined;
|
|
65
|
+
voiceConfig?: {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
} | undefined;
|
|
68
|
+
providerId: string;
|
|
69
|
+
creator?: JoiAvatarCreator | undefined;
|
|
70
|
+
usageCount: number;
|
|
71
|
+
lastUsedAt?: Timestamp | undefined;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface JoiAvatar {
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
description: string;
|
|
78
|
+
coverUrl: string;
|
|
79
|
+
status: string;
|
|
80
|
+
modelInfo: string;
|
|
81
|
+
scene: string[];
|
|
82
|
+
createdAt?: Timestamp | undefined;
|
|
83
|
+
updatedAt?: Timestamp | undefined;
|
|
84
|
+
lastUsedAt?: Timestamp | undefined;
|
|
85
|
+
usageCount: number;
|
|
86
|
+
systemPrompt?: {
|
|
87
|
+
[key: string]: any;
|
|
88
|
+
} | undefined;
|
|
89
|
+
voiceConfig?: {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
} | undefined;
|
|
92
|
+
assetGroupId: string;
|
|
93
|
+
providerId: string;
|
|
94
|
+
creator?: JoiAvatarCreator | undefined;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface ListJoiAvatarsRequest {
|
|
98
|
+
pagination?: PaginationRequest | undefined;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface ListJoiAvatarsResponse {
|
|
102
|
+
avatars: JoiAvatarListItem[];
|
|
103
|
+
pagination?: PaginationResponse | undefined;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface UpdateJoiAvatarRequest {
|
|
107
|
+
id: string;
|
|
108
|
+
name?: string | undefined;
|
|
109
|
+
characterSettings?: {
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
} | undefined;
|
|
112
|
+
modelSettings?: {
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
} | undefined;
|
|
115
|
+
speaker?: string | undefined;
|
|
116
|
+
systemPrompt?: string | undefined;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export interface UpdateJoiAvatarResponse {
|
|
120
|
+
avatar?: JoiAvatar | undefined;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export interface DeleteJoiAvatarRequest {
|
|
124
|
+
id: string;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export interface DeleteJoiAvatarResponse {
|
|
128
|
+
message: string;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export interface CreateJoiAvatarRequest {
|
|
132
|
+
characterId: string;
|
|
133
|
+
avatarName: string;
|
|
134
|
+
prompt: string;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface CreateJoiAvatarResponse {
|
|
138
|
+
avatar?: JoiAvatar | undefined;
|
|
139
|
+
}
|
|
140
|
+
export declare const JoiAvatarCreator: MessageFns<JoiAvatarCreator>;
|
|
141
|
+
export declare const JoiAvatarListItem: MessageFns<JoiAvatarListItem>;
|
|
142
|
+
export declare const Resource: MessageFns<Resource>;
|
|
143
|
+
export declare const ResourceHolder: MessageFns<ResourceHolder>;
|
|
144
|
+
export declare const Models: MessageFns<Models>;
|
|
145
|
+
export declare const Animations: MessageFns<Animations>;
|
|
146
|
+
export declare const JoiAvatarAsset: MessageFns<JoiAvatarAsset>;
|
|
147
|
+
export declare const JoiAvatar: MessageFns<JoiAvatar>;
|
|
148
|
+
export declare const ListJoiAvatarsRequest: MessageFns<ListJoiAvatarsRequest>;
|
|
149
|
+
export declare const ListJoiAvatarsResponse: MessageFns<ListJoiAvatarsResponse>;
|
|
150
|
+
export declare const UpdateJoiAvatarRequest: MessageFns<UpdateJoiAvatarRequest>;
|
|
151
|
+
export declare const UpdateJoiAvatarResponse: MessageFns<UpdateJoiAvatarResponse>;
|
|
152
|
+
export declare const DeleteJoiAvatarRequest: MessageFns<DeleteJoiAvatarRequest>;
|
|
153
|
+
export declare const DeleteJoiAvatarResponse: MessageFns<DeleteJoiAvatarResponse>;
|
|
154
|
+
export declare const CreateJoiAvatarRequest: MessageFns<CreateJoiAvatarRequest>;
|
|
155
|
+
export declare const CreateJoiAvatarResponse: MessageFns<CreateJoiAvatarResponse>;
|
|
156
|
+
|
|
157
|
+
export interface JoiAvatarService {
|
|
158
|
+
ListJoiAvatars(request: ListJoiAvatarsRequest): Promise<ListJoiAvatarsResponse>;
|
|
159
|
+
ListMyJoiAvatars(request: ListJoiAvatarsRequest): Promise<ListJoiAvatarsResponse>;
|
|
160
|
+
CreateJoiAvatar(request: CreateJoiAvatarRequest): Promise<CreateJoiAvatarResponse>;
|
|
161
|
+
UpdateJoiAvatar(request: UpdateJoiAvatarRequest): Promise<UpdateJoiAvatarResponse>;
|
|
162
|
+
DeleteJoiAvatar(request: DeleteJoiAvatarRequest): Promise<DeleteJoiAvatarResponse>;
|
|
163
|
+
}
|
|
164
|
+
export declare const JoiAvatarServiceServiceName = "realtime.v2.JoiAvatarService";
|
|
165
|
+
export declare class JoiAvatarServiceClientImpl implements JoiAvatarService {
|
|
166
|
+
private readonly rpc;
|
|
167
|
+
private readonly service;
|
|
168
|
+
constructor(rpc: Rpc, opts?: {
|
|
169
|
+
service?: string;
|
|
170
|
+
});
|
|
171
|
+
ListJoiAvatars(request: ListJoiAvatarsRequest): Promise<ListJoiAvatarsResponse>;
|
|
172
|
+
ListMyJoiAvatars(request: ListJoiAvatarsRequest): Promise<ListJoiAvatarsResponse>;
|
|
173
|
+
CreateJoiAvatar(request: CreateJoiAvatarRequest): Promise<CreateJoiAvatarResponse>;
|
|
174
|
+
UpdateJoiAvatar(request: UpdateJoiAvatarRequest): Promise<UpdateJoiAvatarResponse>;
|
|
175
|
+
DeleteJoiAvatar(request: DeleteJoiAvatarRequest): Promise<DeleteJoiAvatarResponse>;
|
|
176
|
+
}
|
|
177
|
+
interface Rpc {
|
|
178
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
179
|
+
}
|
|
180
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
181
|
+
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 {} ? {
|
|
182
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
183
|
+
} : Partial<T>;
|
|
184
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
185
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
186
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
187
|
+
} & {
|
|
188
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
189
|
+
};
|
|
190
|
+
export interface MessageFns<T> {
|
|
191
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
192
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
193
|
+
fromJSON(object: any): T;
|
|
194
|
+
toJSON(message: T): unknown;
|
|
195
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
196
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
197
|
+
}
|
|
198
|
+
export {};
|
|
@@ -0,0 +1,194 @@
|
|
|
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
|
+
|
|
6
|
+
export interface SubmitModelApplyRequest {
|
|
7
|
+
imagePath: string;
|
|
8
|
+
avatarName: string;
|
|
9
|
+
systemPrompt: string;
|
|
10
|
+
skipAiAvatarGeneration?: boolean | undefined;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface SubmitModelApplyResponse {
|
|
14
|
+
applyId: string;
|
|
15
|
+
message: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface GetModelApplyRequest {
|
|
19
|
+
id: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface GetModelApplyResponse {
|
|
23
|
+
apply?: ModelApply | undefined;
|
|
24
|
+
progress?: ModelApplyProgress | undefined;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface ListUserModelAppliesRequest {
|
|
28
|
+
pagination?: PaginationRequest | undefined;
|
|
29
|
+
statuses: string[];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface ListUserModelAppliesResponse {
|
|
33
|
+
applies: ModelApply[];
|
|
34
|
+
pagination?: PaginationResponse | undefined;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface ListModelAppliesRequest {
|
|
38
|
+
pagination?: PaginationRequest | undefined;
|
|
39
|
+
statuses: string[];
|
|
40
|
+
appUserId?: string | undefined;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface ListModelAppliesResponse {
|
|
44
|
+
applies: ModelApply[];
|
|
45
|
+
pagination?: PaginationResponse | undefined;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface ModelApply {
|
|
49
|
+
id: string;
|
|
50
|
+
status: string;
|
|
51
|
+
currentStage: string;
|
|
52
|
+
failureReason: string;
|
|
53
|
+
resolution: string;
|
|
54
|
+
createdAt?: Timestamp | undefined;
|
|
55
|
+
updatedAt?: Timestamp | undefined;
|
|
56
|
+
sourceMaterialId: string;
|
|
57
|
+
generationTaskId: string;
|
|
58
|
+
reconstructionTaskId: string;
|
|
59
|
+
assetGroupId: string;
|
|
60
|
+
joiAvatarId: string;
|
|
61
|
+
originalImageUrl: string;
|
|
62
|
+
avatarName: string;
|
|
63
|
+
characterId: string;
|
|
64
|
+
creator?: ModelApplyCreator | undefined;
|
|
65
|
+
avatarInfo?: JoiAvatarInfo | undefined;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface ModelApplyCreator {
|
|
69
|
+
id: string;
|
|
70
|
+
username: string;
|
|
71
|
+
nickname?: string | undefined;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface JoiAvatarInfo {
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
coverUrl: string;
|
|
78
|
+
status: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface ModelApplyProgress {
|
|
82
|
+
totalSteps: number;
|
|
83
|
+
currentStep: number;
|
|
84
|
+
currentStage: string;
|
|
85
|
+
percentage: number;
|
|
86
|
+
videos: VideoGenerationProgress[];
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface VideoGenerationProgress {
|
|
90
|
+
name: string;
|
|
91
|
+
status: string;
|
|
92
|
+
url: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface GetR2PresignedPutURLRequest {
|
|
96
|
+
objectKey?: string | undefined;
|
|
97
|
+
contentType: string;
|
|
98
|
+
durationSeconds?: string | undefined;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface GetR2PresignedPutURLResponse {
|
|
102
|
+
presignedUrl: string;
|
|
103
|
+
objectKey: string;
|
|
104
|
+
expiration: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export interface ListOfficialAvatarsRequest {
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export interface ListOfficialAvatarsResponse {
|
|
111
|
+
avatars: JoiAvatarInfo[];
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface ConfigureModelApplyRequest {
|
|
115
|
+
applyId: string;
|
|
116
|
+
characterSettings?: {
|
|
117
|
+
[key: string]: any;
|
|
118
|
+
} | undefined;
|
|
119
|
+
modelSettings?: {
|
|
120
|
+
[key: string]: any;
|
|
121
|
+
} | undefined;
|
|
122
|
+
dptProviderId: string;
|
|
123
|
+
speaker: string;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export interface ConfigureModelApplyResponse {
|
|
127
|
+
apply?: ModelApply | undefined;
|
|
128
|
+
}
|
|
129
|
+
export declare const SubmitModelApplyRequest: MessageFns<SubmitModelApplyRequest>;
|
|
130
|
+
export declare const SubmitModelApplyResponse: MessageFns<SubmitModelApplyResponse>;
|
|
131
|
+
export declare const GetModelApplyRequest: MessageFns<GetModelApplyRequest>;
|
|
132
|
+
export declare const GetModelApplyResponse: MessageFns<GetModelApplyResponse>;
|
|
133
|
+
export declare const ListUserModelAppliesRequest: MessageFns<ListUserModelAppliesRequest>;
|
|
134
|
+
export declare const ListUserModelAppliesResponse: MessageFns<ListUserModelAppliesResponse>;
|
|
135
|
+
export declare const ListModelAppliesRequest: MessageFns<ListModelAppliesRequest>;
|
|
136
|
+
export declare const ListModelAppliesResponse: MessageFns<ListModelAppliesResponse>;
|
|
137
|
+
export declare const ModelApply: MessageFns<ModelApply>;
|
|
138
|
+
export declare const ModelApplyCreator: MessageFns<ModelApplyCreator>;
|
|
139
|
+
export declare const JoiAvatarInfo: MessageFns<JoiAvatarInfo>;
|
|
140
|
+
export declare const ModelApplyProgress: MessageFns<ModelApplyProgress>;
|
|
141
|
+
export declare const VideoGenerationProgress: MessageFns<VideoGenerationProgress>;
|
|
142
|
+
export declare const GetR2PresignedPutURLRequest: MessageFns<GetR2PresignedPutURLRequest>;
|
|
143
|
+
export declare const GetR2PresignedPutURLResponse: MessageFns<GetR2PresignedPutURLResponse>;
|
|
144
|
+
export declare const ListOfficialAvatarsRequest: MessageFns<ListOfficialAvatarsRequest>;
|
|
145
|
+
export declare const ListOfficialAvatarsResponse: MessageFns<ListOfficialAvatarsResponse>;
|
|
146
|
+
export declare const ConfigureModelApplyRequest: MessageFns<ConfigureModelApplyRequest>;
|
|
147
|
+
export declare const ConfigureModelApplyResponse: MessageFns<ConfigureModelApplyResponse>;
|
|
148
|
+
|
|
149
|
+
export interface ModelApplyService {
|
|
150
|
+
SubmitModelApply(request: SubmitModelApplyRequest): Promise<SubmitModelApplyResponse>;
|
|
151
|
+
GetModelApply(request: GetModelApplyRequest): Promise<GetModelApplyResponse>;
|
|
152
|
+
ListUserModelApplies(request: ListUserModelAppliesRequest): Promise<ListUserModelAppliesResponse>;
|
|
153
|
+
GetR2PresignedPutURL(request: GetR2PresignedPutURLRequest): Promise<GetR2PresignedPutURLResponse>;
|
|
154
|
+
ListOfficialAvatars(request: ListOfficialAvatarsRequest): Promise<ListOfficialAvatarsResponse>;
|
|
155
|
+
ListModelApplies(request: ListModelAppliesRequest): Promise<ListModelAppliesResponse>;
|
|
156
|
+
ConfigureModelApply(request: ConfigureModelApplyRequest): Promise<ConfigureModelApplyResponse>;
|
|
157
|
+
}
|
|
158
|
+
export declare const ModelApplyServiceServiceName = "realtime.v2.ModelApplyService";
|
|
159
|
+
export declare class ModelApplyServiceClientImpl implements ModelApplyService {
|
|
160
|
+
private readonly rpc;
|
|
161
|
+
private readonly service;
|
|
162
|
+
constructor(rpc: Rpc, opts?: {
|
|
163
|
+
service?: string;
|
|
164
|
+
});
|
|
165
|
+
SubmitModelApply(request: SubmitModelApplyRequest): Promise<SubmitModelApplyResponse>;
|
|
166
|
+
GetModelApply(request: GetModelApplyRequest): Promise<GetModelApplyResponse>;
|
|
167
|
+
ListUserModelApplies(request: ListUserModelAppliesRequest): Promise<ListUserModelAppliesResponse>;
|
|
168
|
+
GetR2PresignedPutURL(request: GetR2PresignedPutURLRequest): Promise<GetR2PresignedPutURLResponse>;
|
|
169
|
+
ListOfficialAvatars(request: ListOfficialAvatarsRequest): Promise<ListOfficialAvatarsResponse>;
|
|
170
|
+
ListModelApplies(request: ListModelAppliesRequest): Promise<ListModelAppliesResponse>;
|
|
171
|
+
ConfigureModelApply(request: ConfigureModelApplyRequest): Promise<ConfigureModelApplyResponse>;
|
|
172
|
+
}
|
|
173
|
+
interface Rpc {
|
|
174
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
175
|
+
}
|
|
176
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
177
|
+
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 {} ? {
|
|
178
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
179
|
+
} : Partial<T>;
|
|
180
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
181
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
182
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
183
|
+
} & {
|
|
184
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
185
|
+
};
|
|
186
|
+
export interface MessageFns<T> {
|
|
187
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
188
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
189
|
+
fromJSON(object: any): T;
|
|
190
|
+
toJSON(message: T): unknown;
|
|
191
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
192
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
193
|
+
}
|
|
194
|
+
export {};
|