@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,106 @@
|
|
|
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 = "platform.v1";
|
|
5
|
+
export interface PipeTemplateMetadata {
|
|
6
|
+
launchTemplate: string;
|
|
7
|
+
image: string[];
|
|
8
|
+
}
|
|
9
|
+
export interface PipeTemplate {
|
|
10
|
+
id: string;
|
|
11
|
+
provider: string;
|
|
12
|
+
metadata?: PipeTemplateMetadata | undefined;
|
|
13
|
+
createdAt?: Timestamp | undefined;
|
|
14
|
+
updatedAt?: Timestamp | undefined;
|
|
15
|
+
name: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ListPipeTemplatesRequest {
|
|
18
|
+
provider?: string | undefined;
|
|
19
|
+
pagination?: PaginationRequest | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface ListPipeTemplatesResponse {
|
|
22
|
+
pipeTemplates: PipeTemplate[];
|
|
23
|
+
pagination?: PaginationResponse | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface GetPipeTemplateRequest {
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
export interface GetPipeTemplateResponse {
|
|
29
|
+
pipeTemplate?: PipeTemplate | undefined;
|
|
30
|
+
}
|
|
31
|
+
export interface CreatePipeTemplateRequest {
|
|
32
|
+
provider: string;
|
|
33
|
+
metadata?: PipeTemplateMetadata | undefined;
|
|
34
|
+
name: string;
|
|
35
|
+
}
|
|
36
|
+
export interface CreatePipeTemplateResponse {
|
|
37
|
+
pipeTemplate?: PipeTemplate | undefined;
|
|
38
|
+
}
|
|
39
|
+
export interface UpdatePipeTemplateRequest {
|
|
40
|
+
id: string;
|
|
41
|
+
provider?: string | undefined;
|
|
42
|
+
metadata?: PipeTemplateMetadata | undefined;
|
|
43
|
+
name?: string | undefined;
|
|
44
|
+
}
|
|
45
|
+
export interface UpdatePipeTemplateResponse {
|
|
46
|
+
pipeTemplate?: PipeTemplate | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface DeletePipeTemplateRequest {
|
|
49
|
+
id: string;
|
|
50
|
+
}
|
|
51
|
+
export interface DeletePipeTemplateResponse {
|
|
52
|
+
}
|
|
53
|
+
export declare const PipeTemplateMetadata: MessageFns<PipeTemplateMetadata>;
|
|
54
|
+
export declare const PipeTemplate: MessageFns<PipeTemplate>;
|
|
55
|
+
export declare const ListPipeTemplatesRequest: MessageFns<ListPipeTemplatesRequest>;
|
|
56
|
+
export declare const ListPipeTemplatesResponse: MessageFns<ListPipeTemplatesResponse>;
|
|
57
|
+
export declare const GetPipeTemplateRequest: MessageFns<GetPipeTemplateRequest>;
|
|
58
|
+
export declare const GetPipeTemplateResponse: MessageFns<GetPipeTemplateResponse>;
|
|
59
|
+
export declare const CreatePipeTemplateRequest: MessageFns<CreatePipeTemplateRequest>;
|
|
60
|
+
export declare const CreatePipeTemplateResponse: MessageFns<CreatePipeTemplateResponse>;
|
|
61
|
+
export declare const UpdatePipeTemplateRequest: MessageFns<UpdatePipeTemplateRequest>;
|
|
62
|
+
export declare const UpdatePipeTemplateResponse: MessageFns<UpdatePipeTemplateResponse>;
|
|
63
|
+
export declare const DeletePipeTemplateRequest: MessageFns<DeletePipeTemplateRequest>;
|
|
64
|
+
export declare const DeletePipeTemplateResponse: MessageFns<DeletePipeTemplateResponse>;
|
|
65
|
+
export interface PipeTemplateService {
|
|
66
|
+
ListPipeTemplates(request: ListPipeTemplatesRequest): Promise<ListPipeTemplatesResponse>;
|
|
67
|
+
GetPipeTemplate(request: GetPipeTemplateRequest): Promise<GetPipeTemplateResponse>;
|
|
68
|
+
CreatePipeTemplate(request: CreatePipeTemplateRequest): Promise<CreatePipeTemplateResponse>;
|
|
69
|
+
UpdatePipeTemplate(request: UpdatePipeTemplateRequest): Promise<UpdatePipeTemplateResponse>;
|
|
70
|
+
DeletePipeTemplate(request: DeletePipeTemplateRequest): Promise<DeletePipeTemplateResponse>;
|
|
71
|
+
}
|
|
72
|
+
export declare const PipeTemplateServiceServiceName = "platform.v1.PipeTemplateService";
|
|
73
|
+
export declare class PipeTemplateServiceClientImpl implements PipeTemplateService {
|
|
74
|
+
private readonly rpc;
|
|
75
|
+
private readonly service;
|
|
76
|
+
constructor(rpc: Rpc, opts?: {
|
|
77
|
+
service?: string;
|
|
78
|
+
});
|
|
79
|
+
ListPipeTemplates(request: ListPipeTemplatesRequest): Promise<ListPipeTemplatesResponse>;
|
|
80
|
+
GetPipeTemplate(request: GetPipeTemplateRequest): Promise<GetPipeTemplateResponse>;
|
|
81
|
+
CreatePipeTemplate(request: CreatePipeTemplateRequest): Promise<CreatePipeTemplateResponse>;
|
|
82
|
+
UpdatePipeTemplate(request: UpdatePipeTemplateRequest): Promise<UpdatePipeTemplateResponse>;
|
|
83
|
+
DeletePipeTemplate(request: DeletePipeTemplateRequest): Promise<DeletePipeTemplateResponse>;
|
|
84
|
+
}
|
|
85
|
+
interface Rpc {
|
|
86
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
87
|
+
}
|
|
88
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
89
|
+
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 {} ? {
|
|
90
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
91
|
+
} : Partial<T>;
|
|
92
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
93
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
94
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
95
|
+
} & {
|
|
96
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
97
|
+
};
|
|
98
|
+
export interface MessageFns<T> {
|
|
99
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
100
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
101
|
+
fromJSON(object: any): T;
|
|
102
|
+
toJSON(message: T): unknown;
|
|
103
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
104
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
105
|
+
}
|
|
106
|
+
export {};
|
|
@@ -0,0 +1,141 @@
|
|
|
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 = "platform.v1";
|
|
5
|
+
export declare enum ProviderType {
|
|
6
|
+
PROVIDER_TYPE_UNSPECIFIED = 0,
|
|
7
|
+
PROVIDER_TYPE_DRIVEN_BASE = 1,
|
|
8
|
+
PROVIDER_TYPE_VOICE_BASE = 2,
|
|
9
|
+
PROVIDER_TYPE_LLM_BASE = 3,
|
|
10
|
+
PROVIDER_TYPE_ASR_BASE = 4,
|
|
11
|
+
PROVIDER_TYPE_TTS_BASE = 5,
|
|
12
|
+
PROVIDER_TYPE_VLM_BASE = 6,
|
|
13
|
+
UNRECOGNIZED = -1
|
|
14
|
+
}
|
|
15
|
+
export declare function providerTypeFromJSON(object: any): ProviderType;
|
|
16
|
+
export declare function providerTypeToJSON(object: ProviderType): string;
|
|
17
|
+
export interface Provider {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
type: ProviderType;
|
|
21
|
+
apiUrl: string;
|
|
22
|
+
apiKey: string;
|
|
23
|
+
metadata: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
createdAt?: Timestamp | undefined;
|
|
27
|
+
updatedAt?: Timestamp | undefined;
|
|
28
|
+
deletedAt?: Timestamp | undefined;
|
|
29
|
+
}
|
|
30
|
+
export interface Provider_MetadataEntry {
|
|
31
|
+
key: string;
|
|
32
|
+
value: string;
|
|
33
|
+
}
|
|
34
|
+
export interface CreateProviderRequest {
|
|
35
|
+
name: string;
|
|
36
|
+
type: ProviderType;
|
|
37
|
+
apiUrl: string;
|
|
38
|
+
apiKey: string;
|
|
39
|
+
metadata: {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export interface CreateProviderRequest_MetadataEntry {
|
|
44
|
+
key: string;
|
|
45
|
+
value: string;
|
|
46
|
+
}
|
|
47
|
+
export interface CreateProviderResponse {
|
|
48
|
+
provider?: Provider | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface GetProviderRequest {
|
|
51
|
+
id: string;
|
|
52
|
+
}
|
|
53
|
+
export interface GetProviderResponse {
|
|
54
|
+
provider?: Provider | undefined;
|
|
55
|
+
}
|
|
56
|
+
export interface UpdateProviderRequest {
|
|
57
|
+
id: string;
|
|
58
|
+
name?: string | undefined;
|
|
59
|
+
type?: ProviderType | undefined;
|
|
60
|
+
apiUrl?: string | undefined;
|
|
61
|
+
apiKey?: string | undefined;
|
|
62
|
+
metadata: {
|
|
63
|
+
[key: string]: string;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export interface UpdateProviderRequest_MetadataEntry {
|
|
67
|
+
key: string;
|
|
68
|
+
value: string;
|
|
69
|
+
}
|
|
70
|
+
export interface UpdateProviderResponse {
|
|
71
|
+
provider?: Provider | undefined;
|
|
72
|
+
}
|
|
73
|
+
export interface DeleteProviderRequest {
|
|
74
|
+
id: string;
|
|
75
|
+
}
|
|
76
|
+
export interface DeleteProviderResponse {
|
|
77
|
+
}
|
|
78
|
+
export interface ListProvidersRequest {
|
|
79
|
+
type: ProviderType;
|
|
80
|
+
pagination?: PaginationRequest | undefined;
|
|
81
|
+
}
|
|
82
|
+
export interface ListProvidersResponse {
|
|
83
|
+
providers: Provider[];
|
|
84
|
+
pagination?: PaginationResponse | undefined;
|
|
85
|
+
}
|
|
86
|
+
export declare const Provider: MessageFns<Provider>;
|
|
87
|
+
export declare const Provider_MetadataEntry: MessageFns<Provider_MetadataEntry>;
|
|
88
|
+
export declare const CreateProviderRequest: MessageFns<CreateProviderRequest>;
|
|
89
|
+
export declare const CreateProviderRequest_MetadataEntry: MessageFns<CreateProviderRequest_MetadataEntry>;
|
|
90
|
+
export declare const CreateProviderResponse: MessageFns<CreateProviderResponse>;
|
|
91
|
+
export declare const GetProviderRequest: MessageFns<GetProviderRequest>;
|
|
92
|
+
export declare const GetProviderResponse: MessageFns<GetProviderResponse>;
|
|
93
|
+
export declare const UpdateProviderRequest: MessageFns<UpdateProviderRequest>;
|
|
94
|
+
export declare const UpdateProviderRequest_MetadataEntry: MessageFns<UpdateProviderRequest_MetadataEntry>;
|
|
95
|
+
export declare const UpdateProviderResponse: MessageFns<UpdateProviderResponse>;
|
|
96
|
+
export declare const DeleteProviderRequest: MessageFns<DeleteProviderRequest>;
|
|
97
|
+
export declare const DeleteProviderResponse: MessageFns<DeleteProviderResponse>;
|
|
98
|
+
export declare const ListProvidersRequest: MessageFns<ListProvidersRequest>;
|
|
99
|
+
export declare const ListProvidersResponse: MessageFns<ListProvidersResponse>;
|
|
100
|
+
export interface ProviderService {
|
|
101
|
+
CreateProvider(request: CreateProviderRequest): Promise<CreateProviderResponse>;
|
|
102
|
+
GetProvider(request: GetProviderRequest): Promise<GetProviderResponse>;
|
|
103
|
+
UpdateProvider(request: UpdateProviderRequest): Promise<UpdateProviderResponse>;
|
|
104
|
+
DeleteProvider(request: DeleteProviderRequest): Promise<DeleteProviderResponse>;
|
|
105
|
+
ListProviders(request: ListProvidersRequest): Promise<ListProvidersResponse>;
|
|
106
|
+
}
|
|
107
|
+
export declare const ProviderServiceServiceName = "platform.v1.ProviderService";
|
|
108
|
+
export declare class ProviderServiceClientImpl implements ProviderService {
|
|
109
|
+
private readonly rpc;
|
|
110
|
+
private readonly service;
|
|
111
|
+
constructor(rpc: Rpc, opts?: {
|
|
112
|
+
service?: string;
|
|
113
|
+
});
|
|
114
|
+
CreateProvider(request: CreateProviderRequest): Promise<CreateProviderResponse>;
|
|
115
|
+
GetProvider(request: GetProviderRequest): Promise<GetProviderResponse>;
|
|
116
|
+
UpdateProvider(request: UpdateProviderRequest): Promise<UpdateProviderResponse>;
|
|
117
|
+
DeleteProvider(request: DeleteProviderRequest): Promise<DeleteProviderResponse>;
|
|
118
|
+
ListProviders(request: ListProvidersRequest): Promise<ListProvidersResponse>;
|
|
119
|
+
}
|
|
120
|
+
interface Rpc {
|
|
121
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
122
|
+
}
|
|
123
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
124
|
+
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 {} ? {
|
|
125
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
126
|
+
} : Partial<T>;
|
|
127
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
128
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
129
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
130
|
+
} & {
|
|
131
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
132
|
+
};
|
|
133
|
+
export interface MessageFns<T> {
|
|
134
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
135
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
136
|
+
fromJSON(object: any): T;
|
|
137
|
+
toJSON(message: T): unknown;
|
|
138
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
139
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
140
|
+
}
|
|
141
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
+
import { PaginationRequest, PaginationResponse } from '../../jsonapi/v1/base';
|
|
3
|
+
export declare const protobufPackage = "platform.v1";
|
|
4
|
+
export interface Redeem {
|
|
5
|
+
characterId: string;
|
|
6
|
+
code: string;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface CreateRedeemRequest {
|
|
10
|
+
characterId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface CreateRedeemResponse {
|
|
13
|
+
redeem?: Redeem | undefined;
|
|
14
|
+
}
|
|
15
|
+
export interface GetRedeemRequest {
|
|
16
|
+
characterId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface GetRedeemResponse {
|
|
19
|
+
redeem?: Redeem | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface ListRedeemsRequest {
|
|
22
|
+
pagination?: PaginationRequest | undefined;
|
|
23
|
+
}
|
|
24
|
+
export interface ListRedeemsResponse {
|
|
25
|
+
redeems: Redeem[];
|
|
26
|
+
pagination?: PaginationResponse | undefined;
|
|
27
|
+
}
|
|
28
|
+
export interface UpdateRedeemRequest {
|
|
29
|
+
characterId: string;
|
|
30
|
+
enabled?: boolean | undefined;
|
|
31
|
+
}
|
|
32
|
+
export interface UpdateRedeemResponse {
|
|
33
|
+
redeem?: Redeem | undefined;
|
|
34
|
+
}
|
|
35
|
+
export declare const Redeem: MessageFns<Redeem>;
|
|
36
|
+
export declare const CreateRedeemRequest: MessageFns<CreateRedeemRequest>;
|
|
37
|
+
export declare const CreateRedeemResponse: MessageFns<CreateRedeemResponse>;
|
|
38
|
+
export declare const GetRedeemRequest: MessageFns<GetRedeemRequest>;
|
|
39
|
+
export declare const GetRedeemResponse: MessageFns<GetRedeemResponse>;
|
|
40
|
+
export declare const ListRedeemsRequest: MessageFns<ListRedeemsRequest>;
|
|
41
|
+
export declare const ListRedeemsResponse: MessageFns<ListRedeemsResponse>;
|
|
42
|
+
export declare const UpdateRedeemRequest: MessageFns<UpdateRedeemRequest>;
|
|
43
|
+
export declare const UpdateRedeemResponse: MessageFns<UpdateRedeemResponse>;
|
|
44
|
+
export interface RedeemService {
|
|
45
|
+
CreateRedeem(request: CreateRedeemRequest): Promise<CreateRedeemResponse>;
|
|
46
|
+
GetRedeem(request: GetRedeemRequest): Promise<GetRedeemResponse>;
|
|
47
|
+
ListRedeems(request: ListRedeemsRequest): Promise<ListRedeemsResponse>;
|
|
48
|
+
UpdateRedeem(request: UpdateRedeemRequest): Promise<UpdateRedeemResponse>;
|
|
49
|
+
}
|
|
50
|
+
export declare const RedeemServiceServiceName = "platform.v1.RedeemService";
|
|
51
|
+
export declare class RedeemServiceClientImpl implements RedeemService {
|
|
52
|
+
private readonly rpc;
|
|
53
|
+
private readonly service;
|
|
54
|
+
constructor(rpc: Rpc, opts?: {
|
|
55
|
+
service?: string;
|
|
56
|
+
});
|
|
57
|
+
CreateRedeem(request: CreateRedeemRequest): Promise<CreateRedeemResponse>;
|
|
58
|
+
GetRedeem(request: GetRedeemRequest): Promise<GetRedeemResponse>;
|
|
59
|
+
ListRedeems(request: ListRedeemsRequest): Promise<ListRedeemsResponse>;
|
|
60
|
+
UpdateRedeem(request: UpdateRedeemRequest): Promise<UpdateRedeemResponse>;
|
|
61
|
+
}
|
|
62
|
+
interface Rpc {
|
|
63
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
64
|
+
}
|
|
65
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
66
|
+
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 {} ? {
|
|
67
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
68
|
+
} : Partial<T>;
|
|
69
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
70
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
71
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
72
|
+
} & {
|
|
73
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
74
|
+
};
|
|
75
|
+
export interface MessageFns<T> {
|
|
76
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
77
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
78
|
+
fromJSON(object: any): T;
|
|
79
|
+
toJSON(message: T): unknown;
|
|
80
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
81
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
82
|
+
}
|
|
83
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CreateStatusRequest, CreateStatusResponse, CreateTaskRequest, CreateTaskResponse, DeleteStatusRequest, DeleteStatusResponse, DeleteTaskRequest, DeleteTaskResponse, GetStatusRequest, GetStatusResponse, GetTaskRequest, GetTaskResponse, ListStatusesRequest, ListStatusesResponse, ListTasksRequest, ListTasksResponse, TerminateTaskInstancesRequest, TerminateTaskInstancesResponse, UpdateStatusRequest, UpdateStatusResponse, UpdateTaskRequest, UpdateTaskResponse } from '../../console/v1/task';
|
|
2
|
+
export declare const protobufPackage = "platform.v1";
|
|
3
|
+
|
|
4
|
+
export interface TaskService {
|
|
5
|
+
CreateTask(request: CreateTaskRequest): Promise<CreateTaskResponse>;
|
|
6
|
+
GetTask(request: GetTaskRequest): Promise<GetTaskResponse>;
|
|
7
|
+
ListTasks(request: ListTasksRequest): Promise<ListTasksResponse>;
|
|
8
|
+
UpdateTask(request: UpdateTaskRequest): Promise<UpdateTaskResponse>;
|
|
9
|
+
DeleteTask(request: DeleteTaskRequest): Promise<DeleteTaskResponse>;
|
|
10
|
+
CreateStatus(request: CreateStatusRequest): Promise<CreateStatusResponse>;
|
|
11
|
+
GetStatus(request: GetStatusRequest): Promise<GetStatusResponse>;
|
|
12
|
+
ListStatuses(request: ListStatusesRequest): Promise<ListStatusesResponse>;
|
|
13
|
+
UpdateStatus(request: UpdateStatusRequest): Promise<UpdateStatusResponse>;
|
|
14
|
+
DeleteStatus(request: DeleteStatusRequest): Promise<DeleteStatusResponse>;
|
|
15
|
+
TerminateTaskInstances(request: TerminateTaskInstancesRequest): Promise<TerminateTaskInstancesResponse>;
|
|
16
|
+
}
|
|
17
|
+
export declare const TaskServiceServiceName = "platform.v1.TaskService";
|
|
18
|
+
export declare class TaskServiceClientImpl implements TaskService {
|
|
19
|
+
private readonly rpc;
|
|
20
|
+
private readonly service;
|
|
21
|
+
constructor(rpc: Rpc, opts?: {
|
|
22
|
+
service?: string;
|
|
23
|
+
});
|
|
24
|
+
CreateTask(request: CreateTaskRequest): Promise<CreateTaskResponse>;
|
|
25
|
+
GetTask(request: GetTaskRequest): Promise<GetTaskResponse>;
|
|
26
|
+
ListTasks(request: ListTasksRequest): Promise<ListTasksResponse>;
|
|
27
|
+
UpdateTask(request: UpdateTaskRequest): Promise<UpdateTaskResponse>;
|
|
28
|
+
DeleteTask(request: DeleteTaskRequest): Promise<DeleteTaskResponse>;
|
|
29
|
+
CreateStatus(request: CreateStatusRequest): Promise<CreateStatusResponse>;
|
|
30
|
+
GetStatus(request: GetStatusRequest): Promise<GetStatusResponse>;
|
|
31
|
+
ListStatuses(request: ListStatusesRequest): Promise<ListStatusesResponse>;
|
|
32
|
+
UpdateStatus(request: UpdateStatusRequest): Promise<UpdateStatusResponse>;
|
|
33
|
+
DeleteStatus(request: DeleteStatusRequest): Promise<DeleteStatusResponse>;
|
|
34
|
+
TerminateTaskInstances(request: TerminateTaskInstancesRequest): Promise<TerminateTaskInstancesResponse>;
|
|
35
|
+
}
|
|
36
|
+
interface Rpc {
|
|
37
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,142 @@
|
|
|
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 = "platform.v1";
|
|
5
|
+
export declare enum Language {
|
|
6
|
+
LANGUAGE_UNSPECIFIED = 0,
|
|
7
|
+
LANGUAGE_ZH_CN = 1,
|
|
8
|
+
LANGUAGE_EN_US = 2,
|
|
9
|
+
LANGUAGE_JA_JP = 3,
|
|
10
|
+
UNRECOGNIZED = -1
|
|
11
|
+
}
|
|
12
|
+
export declare function languageFromJSON(object: any): Language;
|
|
13
|
+
export declare function languageToJSON(object: Language): string;
|
|
14
|
+
export declare enum UserType {
|
|
15
|
+
USER_TYPE_UNSPECIFIED = 0,
|
|
16
|
+
USER_TYPE_NORMAL = 1,
|
|
17
|
+
USER_TYPE_ANONYMOUS = 2,
|
|
18
|
+
USER_TYPE_PAID = 3,
|
|
19
|
+
UNRECOGNIZED = -1
|
|
20
|
+
}
|
|
21
|
+
export declare function userTypeFromJSON(object: any): UserType;
|
|
22
|
+
export declare function userTypeToJSON(object: UserType): string;
|
|
23
|
+
export declare enum OAuthProvider {
|
|
24
|
+
OAUTH_PROVIDER_UNSPECIFIED = 0,
|
|
25
|
+
OAUTH_PROVIDER_APPLE = 1,
|
|
26
|
+
OAUTH_PROVIDER_WECHAT = 2,
|
|
27
|
+
OAUTH_PROVIDER_GOOGLE = 3,
|
|
28
|
+
OAUTH_PROVIDER_FACEBOOK = 4,
|
|
29
|
+
OAUTH_PROVIDER_TWITTER = 5,
|
|
30
|
+
OAUTH_PROVIDER_MICROSOFT = 6,
|
|
31
|
+
OAUTH_PROVIDER_GMAIL = 7,
|
|
32
|
+
UNRECOGNIZED = -1
|
|
33
|
+
}
|
|
34
|
+
export declare function oAuthProviderFromJSON(object: any): OAuthProvider;
|
|
35
|
+
export declare function oAuthProviderToJSON(object: OAuthProvider): string;
|
|
36
|
+
export interface CreateUserRequest {
|
|
37
|
+
email: string;
|
|
38
|
+
username: string;
|
|
39
|
+
language: Language;
|
|
40
|
+
type: UserType;
|
|
41
|
+
password: string;
|
|
42
|
+
phone: string;
|
|
43
|
+
}
|
|
44
|
+
export interface CreateUserResponse {
|
|
45
|
+
user?: User | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface User {
|
|
48
|
+
id: string;
|
|
49
|
+
email: string;
|
|
50
|
+
username: string;
|
|
51
|
+
language: Language;
|
|
52
|
+
type: UserType;
|
|
53
|
+
phone: string;
|
|
54
|
+
createdAt?: Timestamp | undefined;
|
|
55
|
+
updatedAt?: Timestamp | undefined;
|
|
56
|
+
deletedAt?: Timestamp | undefined;
|
|
57
|
+
}
|
|
58
|
+
export interface GetUserRequest {
|
|
59
|
+
id: string;
|
|
60
|
+
email?: string | undefined;
|
|
61
|
+
username?: string | undefined;
|
|
62
|
+
phone?: string | undefined;
|
|
63
|
+
}
|
|
64
|
+
export interface GetUserResponse {
|
|
65
|
+
user?: User | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface ListUsersRequest {
|
|
68
|
+
pagination?: PaginationRequest | undefined;
|
|
69
|
+
}
|
|
70
|
+
export interface ListUsersResponse {
|
|
71
|
+
users: User[];
|
|
72
|
+
pagination?: PaginationResponse | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface UpdateUserRequest {
|
|
75
|
+
id: string;
|
|
76
|
+
email?: string | undefined;
|
|
77
|
+
username?: string | undefined;
|
|
78
|
+
language?: Language | undefined;
|
|
79
|
+
type?: UserType | undefined;
|
|
80
|
+
phone?: string | undefined;
|
|
81
|
+
}
|
|
82
|
+
export interface UpdateUserResponse {
|
|
83
|
+
user?: User | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface DeleteUserRequest {
|
|
86
|
+
id: string;
|
|
87
|
+
}
|
|
88
|
+
export interface DeleteUserResponse {
|
|
89
|
+
}
|
|
90
|
+
export declare const CreateUserRequest: MessageFns<CreateUserRequest>;
|
|
91
|
+
export declare const CreateUserResponse: MessageFns<CreateUserResponse>;
|
|
92
|
+
export declare const User: MessageFns<User>;
|
|
93
|
+
export declare const GetUserRequest: MessageFns<GetUserRequest>;
|
|
94
|
+
export declare const GetUserResponse: MessageFns<GetUserResponse>;
|
|
95
|
+
export declare const ListUsersRequest: MessageFns<ListUsersRequest>;
|
|
96
|
+
export declare const ListUsersResponse: MessageFns<ListUsersResponse>;
|
|
97
|
+
export declare const UpdateUserRequest: MessageFns<UpdateUserRequest>;
|
|
98
|
+
export declare const UpdateUserResponse: MessageFns<UpdateUserResponse>;
|
|
99
|
+
export declare const DeleteUserRequest: MessageFns<DeleteUserRequest>;
|
|
100
|
+
export declare const DeleteUserResponse: MessageFns<DeleteUserResponse>;
|
|
101
|
+
export interface UserService {
|
|
102
|
+
CreateUser(request: CreateUserRequest): Promise<CreateUserResponse>;
|
|
103
|
+
GetUser(request: GetUserRequest): Promise<GetUserResponse>;
|
|
104
|
+
ListUsers(request: ListUsersRequest): Promise<ListUsersResponse>;
|
|
105
|
+
UpdateUser(request: UpdateUserRequest): Promise<UpdateUserResponse>;
|
|
106
|
+
DeleteUser(request: DeleteUserRequest): Promise<DeleteUserResponse>;
|
|
107
|
+
}
|
|
108
|
+
export declare const UserServiceServiceName = "platform.v1.UserService";
|
|
109
|
+
export declare class UserServiceClientImpl implements UserService {
|
|
110
|
+
private readonly rpc;
|
|
111
|
+
private readonly service;
|
|
112
|
+
constructor(rpc: Rpc, opts?: {
|
|
113
|
+
service?: string;
|
|
114
|
+
});
|
|
115
|
+
CreateUser(request: CreateUserRequest): Promise<CreateUserResponse>;
|
|
116
|
+
GetUser(request: GetUserRequest): Promise<GetUserResponse>;
|
|
117
|
+
ListUsers(request: ListUsersRequest): Promise<ListUsersResponse>;
|
|
118
|
+
UpdateUser(request: UpdateUserRequest): Promise<UpdateUserResponse>;
|
|
119
|
+
DeleteUser(request: DeleteUserRequest): Promise<DeleteUserResponse>;
|
|
120
|
+
}
|
|
121
|
+
interface Rpc {
|
|
122
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
123
|
+
}
|
|
124
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
125
|
+
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 {} ? {
|
|
126
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
127
|
+
} : Partial<T>;
|
|
128
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
129
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
130
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
131
|
+
} & {
|
|
132
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
133
|
+
};
|
|
134
|
+
export interface MessageFns<T> {
|
|
135
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
136
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
137
|
+
fromJSON(object: any): T;
|
|
138
|
+
toJSON(message: T): unknown;
|
|
139
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
140
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
141
|
+
}
|
|
142
|
+
export {};
|
|
@@ -0,0 +1,141 @@
|
|
|
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 = "platform.v1";
|
|
5
|
+
export declare enum VoiceStatus {
|
|
6
|
+
VOICE_STATUS_UNSPECIFIED = 0,
|
|
7
|
+
VOICE_STATUS_PENDING = 1,
|
|
8
|
+
VOICE_STATUS_TRAINING = 2,
|
|
9
|
+
VOICE_STATUS_COMPLETED = 3,
|
|
10
|
+
VOICE_STATUS_FAILED = 4,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare function voiceStatusFromJSON(object: any): VoiceStatus;
|
|
14
|
+
export declare function voiceStatusToJSON(object: VoiceStatus): string;
|
|
15
|
+
export declare enum VoiceLanguage {
|
|
16
|
+
VOICE_LANGUAGE_UNSPECIFIED = 0,
|
|
17
|
+
VOICE_LANGUAGE_ZH_CN = 1,
|
|
18
|
+
VOICE_LANGUAGE_EN_US = 2,
|
|
19
|
+
VOICE_LANGUAGE_JA_JP = 3,
|
|
20
|
+
UNRECOGNIZED = -1
|
|
21
|
+
}
|
|
22
|
+
export declare function voiceLanguageFromJSON(object: any): VoiceLanguage;
|
|
23
|
+
export declare function voiceLanguageToJSON(object: VoiceLanguage): string;
|
|
24
|
+
export interface AudioData {
|
|
25
|
+
audioBytes: Uint8Array;
|
|
26
|
+
audioFormat: string;
|
|
27
|
+
text: string;
|
|
28
|
+
}
|
|
29
|
+
export interface Voice {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
speakerId: string;
|
|
33
|
+
status: VoiceStatus;
|
|
34
|
+
language: VoiceLanguage;
|
|
35
|
+
lastErrorMessage: string;
|
|
36
|
+
metadata: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
providerId: string;
|
|
40
|
+
providerName: string;
|
|
41
|
+
createdAt?: Timestamp | undefined;
|
|
42
|
+
updatedAt?: Timestamp | undefined;
|
|
43
|
+
deletedAt?: Timestamp | undefined;
|
|
44
|
+
}
|
|
45
|
+
export interface Voice_MetadataEntry {
|
|
46
|
+
key: string;
|
|
47
|
+
value: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface TrainVoiceRequest {
|
|
51
|
+
name: string;
|
|
52
|
+
speakerId: string;
|
|
53
|
+
audio?: AudioData | undefined;
|
|
54
|
+
language: VoiceLanguage;
|
|
55
|
+
providerId: string;
|
|
56
|
+
metadata: {
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export interface TrainVoiceRequest_MetadataEntry {
|
|
61
|
+
key: string;
|
|
62
|
+
value: string;
|
|
63
|
+
}
|
|
64
|
+
export interface TrainVoiceResponse {
|
|
65
|
+
voice?: Voice | undefined;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface GetVoiceTrainingStatusRequest {
|
|
69
|
+
id: string;
|
|
70
|
+
}
|
|
71
|
+
export interface GetVoiceTrainingStatusResponse {
|
|
72
|
+
voice?: Voice | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface GetVoiceRequest {
|
|
75
|
+
id: string;
|
|
76
|
+
}
|
|
77
|
+
export interface GetVoiceResponse {
|
|
78
|
+
voice?: Voice | undefined;
|
|
79
|
+
}
|
|
80
|
+
export interface ListVoicesRequest {
|
|
81
|
+
status?: VoiceStatus | undefined;
|
|
82
|
+
language?: VoiceLanguage | undefined;
|
|
83
|
+
providerId?: string | undefined;
|
|
84
|
+
pagination?: PaginationRequest | undefined;
|
|
85
|
+
}
|
|
86
|
+
export interface ListVoicesResponse {
|
|
87
|
+
voices: Voice[];
|
|
88
|
+
pagination?: PaginationResponse | undefined;
|
|
89
|
+
}
|
|
90
|
+
export declare const AudioData: MessageFns<AudioData>;
|
|
91
|
+
export declare const Voice: MessageFns<Voice>;
|
|
92
|
+
export declare const Voice_MetadataEntry: MessageFns<Voice_MetadataEntry>;
|
|
93
|
+
export declare const TrainVoiceRequest: MessageFns<TrainVoiceRequest>;
|
|
94
|
+
export declare const TrainVoiceRequest_MetadataEntry: MessageFns<TrainVoiceRequest_MetadataEntry>;
|
|
95
|
+
export declare const TrainVoiceResponse: MessageFns<TrainVoiceResponse>;
|
|
96
|
+
export declare const GetVoiceTrainingStatusRequest: MessageFns<GetVoiceTrainingStatusRequest>;
|
|
97
|
+
export declare const GetVoiceTrainingStatusResponse: MessageFns<GetVoiceTrainingStatusResponse>;
|
|
98
|
+
export declare const GetVoiceRequest: MessageFns<GetVoiceRequest>;
|
|
99
|
+
export declare const GetVoiceResponse: MessageFns<GetVoiceResponse>;
|
|
100
|
+
export declare const ListVoicesRequest: MessageFns<ListVoicesRequest>;
|
|
101
|
+
export declare const ListVoicesResponse: MessageFns<ListVoicesResponse>;
|
|
102
|
+
export interface VoiceService {
|
|
103
|
+
TrainVoice(request: TrainVoiceRequest): Promise<TrainVoiceResponse>;
|
|
104
|
+
GetVoiceTrainingStatus(request: GetVoiceTrainingStatusRequest): Promise<GetVoiceTrainingStatusResponse>;
|
|
105
|
+
GetVoice(request: GetVoiceRequest): Promise<GetVoiceResponse>;
|
|
106
|
+
ListVoices(request: ListVoicesRequest): Promise<ListVoicesResponse>;
|
|
107
|
+
}
|
|
108
|
+
export declare const VoiceServiceServiceName = "platform.v1.VoiceService";
|
|
109
|
+
export declare class VoiceServiceClientImpl implements VoiceService {
|
|
110
|
+
private readonly rpc;
|
|
111
|
+
private readonly service;
|
|
112
|
+
constructor(rpc: Rpc, opts?: {
|
|
113
|
+
service?: string;
|
|
114
|
+
});
|
|
115
|
+
TrainVoice(request: TrainVoiceRequest): Promise<TrainVoiceResponse>;
|
|
116
|
+
GetVoiceTrainingStatus(request: GetVoiceTrainingStatusRequest): Promise<GetVoiceTrainingStatusResponse>;
|
|
117
|
+
GetVoice(request: GetVoiceRequest): Promise<GetVoiceResponse>;
|
|
118
|
+
ListVoices(request: ListVoicesRequest): Promise<ListVoicesResponse>;
|
|
119
|
+
}
|
|
120
|
+
interface Rpc {
|
|
121
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
122
|
+
}
|
|
123
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
124
|
+
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 {} ? {
|
|
125
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
126
|
+
} : Partial<T>;
|
|
127
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
128
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
129
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
130
|
+
} & {
|
|
131
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
132
|
+
};
|
|
133
|
+
export interface MessageFns<T> {
|
|
134
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
135
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
136
|
+
fromJSON(object: any): T;
|
|
137
|
+
toJSON(message: T): unknown;
|
|
138
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
139
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
140
|
+
}
|
|
141
|
+
export {};
|