@spatialwalk/avatarkit 1.0.0-beta.40 → 1.0.0-beta.42
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 +17 -0
- package/README.md +3 -0
- package/dist/{StreamingAudioPlayer-hJgaKVC3.js → StreamingAudioPlayer-C2x7CaOj.js} +1 -1
- package/dist/config/constants.d.ts +1 -0
- package/dist/core/AvatarView.d.ts +0 -4
- package/dist/{index-BxhQDfJ7.js → index-Bgw-52f-.js} +28 -68
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/playground/apps/web/src/api/auth.d.ts +0 -3
- package/dist/playground/apps/web/src/api/character.d.ts +0 -13
- package/dist/playground/apps/web/src/api/index.d.ts +0 -3
- package/dist/playground/apps/web/src/api/redeem.d.ts +0 -3
- package/dist/playground/apps/web/src/composables/useDebugDataCollector.d.ts +0 -377
- package/dist/playground/apps/web/src/composables/useRealtimeAvatar.d.ts +0 -452
- package/dist/playground/apps/web/src/composables/useSubtitle.d.ts +0 -19
- package/dist/playground/apps/web/src/composables/useVAD.d.ts +0 -49
- package/dist/playground/apps/web/src/composables/useVideoCapture.d.ts +0 -57
- package/dist/playground/apps/web/src/config/app-config.d.ts +0 -29
- package/dist/playground/apps/web/src/config/realtime-config.d.ts +0 -47
- package/dist/playground/apps/web/src/config/region-config.d.ts +0 -13
- package/dist/playground/apps/web/src/constants.d.ts +0 -14
- package/dist/playground/apps/web/src/libs/vad/manager.d.ts +0 -37
- package/dist/playground/apps/web/src/libs/vad/process.worklet.d.ts +0 -22
- package/dist/playground/apps/web/src/libs/vad/simpleVad.d.ts +0 -35
- package/dist/playground/apps/web/src/libs/vad/vad.d.ts +0 -56
- package/dist/playground/apps/web/src/libs/vad/wav.d.ts +0 -1
- package/dist/playground/apps/web/src/locales/index.d.ts +0 -2
- package/dist/playground/apps/web/src/main.d.ts +0 -0
- package/dist/playground/apps/web/src/modules/i18n.d.ts +0 -3
- package/dist/playground/apps/web/src/modules/pwa.d.ts +0 -1
- package/dist/playground/apps/web/src/realtime/RealtimeWebSocketClient.d.ts +0 -18
- package/dist/playground/apps/web/src/realtime/index.d.ts +0 -1
- package/dist/playground/apps/web/src/realtime/utils/eventEmitter.d.ts +0 -9
- package/dist/playground/apps/web/src/stores/call.d.ts +0 -173
- package/dist/playground/apps/web/src/stores/character.d.ts +0 -188
- package/dist/playground/apps/web/src/stores/pwa.d.ts +0 -7
- package/dist/playground/apps/web/src/stores/region.d.ts +0 -14
- package/dist/playground/apps/web/src/stores/user.d.ts +0 -22
- package/dist/playground/apps/web/src/stores/vad.d.ts +0 -73
- package/dist/playground/apps/web/src/types/avatar.d.ts +0 -17
- package/dist/playground/apps/web/src/types/character-settings.d.ts +0 -18
- package/dist/playground/apps/web/src/types/character.d.ts +0 -34
- package/dist/playground/apps/web/src/utils/animation-interpolation.d.ts +0 -7
- package/dist/playground/apps/web/src/utils/api-client.d.ts +0 -7
- package/dist/playground/apps/web/src/utils/api-error.d.ts +0 -13
- package/dist/playground/apps/web/src/utils/dynamic-resource-loader.d.ts +0 -43
- package/dist/playground/apps/web/src/utils/error-utils.d.ts +0 -7
- package/dist/playground/apps/web/src/utils/image-optimizer.d.ts +0 -17
- package/dist/playground/apps/web/src/utils/logger.d.ts +0 -1
- package/dist/playground/apps/web/src/utils/memory-tracker.d.ts +0 -23
- package/dist/playground/apps/web/src/utils/nanoid.d.ts +0 -1
- package/dist/playground/apps/web/src/utils/posthog-tracker.d.ts +0 -74
- package/dist/playground/apps/web/src/utils/resource-cache.d.ts +0 -25
- package/dist/playground/apps/web/src/utils/sdk-preinit.d.ts +0 -3
- package/dist/playground/apps/web/src/utils/toast.d.ts +0 -31
- package/dist/playground/apps/web/vite.config.d.ts +0 -2
- package/dist/playground/bump.config.d.ts +0 -2
- package/dist/playground/eslint.config.d.ts +0 -2
- package/dist/playground/generated/buf/validate/validate.d.ts +0 -397
- package/dist/playground/generated/console/v1/collection_task.d.ts +0 -183
- package/dist/playground/generated/console/v1/console.d.ts +0 -162
- package/dist/playground/generated/console/v1/instance_management.d.ts +0 -131
- package/dist/playground/generated/console/v1/material.d.ts +0 -163
- package/dist/playground/generated/console/v1/pipetemplate.d.ts +0 -106
- package/dist/playground/generated/console/v1/task.d.ts +0 -280
- package/dist/playground/generated/driveningress/v1/driveningress.d.ts +0 -69
- package/dist/playground/generated/driveningress/v2/driveningress.d.ts +0 -78
- package/dist/playground/generated/google/api/annotations.d.ts +0 -1
- package/dist/playground/generated/google/api/http.d.ts +0 -47
- package/dist/playground/generated/google/protobuf/any.d.ts +0 -27
- package/dist/playground/generated/google/protobuf/descriptor.d.ts +0 -513
- package/dist/playground/generated/google/protobuf/duration.d.ts +0 -27
- package/dist/playground/generated/google/protobuf/struct.d.ts +0 -74
- package/dist/playground/generated/google/protobuf/timestamp.d.ts +0 -27
- package/dist/playground/generated/jsonapi/v1/base.d.ts +0 -108
- package/dist/playground/generated/platform/v1/asset_groups.d.ts +0 -199
- package/dist/playground/generated/platform/v1/assets.d.ts +0 -141
- package/dist/playground/generated/platform/v1/auth.d.ts +0 -79
- package/dist/playground/generated/platform/v1/character.d.ts +0 -378
- package/dist/playground/generated/platform/v1/character_template.d.ts +0 -124
- package/dist/playground/generated/platform/v1/collection_task.d.ts +0 -60
- package/dist/playground/generated/platform/v1/configkv.d.ts +0 -101
- package/dist/playground/generated/platform/v1/console.d.ts +0 -29
- package/dist/playground/generated/platform/v1/instance_management.d.ts +0 -131
- package/dist/playground/generated/platform/v1/material.d.ts +0 -27
- package/dist/playground/generated/platform/v1/oss.d.ts +0 -53
- package/dist/playground/generated/platform/v1/pipetemplate.d.ts +0 -106
- package/dist/playground/generated/platform/v1/provider.d.ts +0 -141
- package/dist/playground/generated/platform/v1/redeem.d.ts +0 -83
- package/dist/playground/generated/platform/v1/task.d.ts +0 -39
- package/dist/playground/generated/platform/v1/user.d.ts +0 -142
- package/dist/playground/generated/platform/v1/voice.d.ts +0 -141
- package/dist/playground/generated/realtime/v1/auth.d.ts +0 -77
- package/dist/playground/generated/realtime/v1/customized.d.ts +0 -60
- package/dist/playground/generated/realtime/v1/messages.d.ts +0 -156
- package/dist/playground/generated/realtime/v1/realtime.d.ts +0 -67
- package/dist/playground/generated/realtime/v1/redeem.d.ts +0 -44
- package/dist/playground/generated/realtime/v1/user.d.ts +0 -150
- package/dist/playground/generated/realtime/v2/realtime.d.ts +0 -70
- package/dist/playground/packages/sdk/src/index.d.ts +0 -1
- package/dist/playground/packages/sdk/tsdown.config.d.ts +0 -2
- package/dist/playground/unocss.config.d.ts +0 -3
- package/dist/withJoi/admin/eslint.config.d.ts +0 -2
- package/dist/withJoi/admin/generated/buf/validate/validate.d.ts +0 -397
- package/dist/withJoi/admin/generated/common/v1/models.d.ts +0 -29
- package/dist/withJoi/admin/generated/console/v1/admin_app.d.ts +0 -77
- package/dist/withJoi/admin/generated/console/v1/admin_auth.d.ts +0 -69
- package/dist/withJoi/admin/generated/console/v1/admin_config.d.ts +0 -157
- package/dist/withJoi/admin/generated/console/v1/admin_user.d.ts +0 -84
- package/dist/withJoi/admin/generated/console/v1/admin_user_character.d.ts +0 -107
- package/dist/withJoi/admin/generated/console/v1/app.d.ts +0 -116
- package/dist/withJoi/admin/generated/console/v1/auth.d.ts +0 -199
- package/dist/withJoi/admin/generated/console/v1/character.d.ts +0 -74
- package/dist/withJoi/admin/generated/console/v1/collection_task.d.ts +0 -183
- package/dist/withJoi/admin/generated/console/v1/console.d.ts +0 -163
- package/dist/withJoi/admin/generated/console/v1/instance_management.d.ts +0 -156
- package/dist/withJoi/admin/generated/console/v1/material.d.ts +0 -180
- package/dist/withJoi/admin/generated/console/v1/pipetemplate.d.ts +0 -106
- package/dist/withJoi/admin/generated/console/v1/task.d.ts +0 -292
- package/dist/withJoi/admin/generated/console/v2/async_processing.d.ts +0 -85
- package/dist/withJoi/admin/generated/google/api/annotations.d.ts +0 -1
- package/dist/withJoi/admin/generated/google/api/http.d.ts +0 -47
- package/dist/withJoi/admin/generated/google/protobuf/any.d.ts +0 -27
- package/dist/withJoi/admin/generated/google/protobuf/descriptor.d.ts +0 -552
- package/dist/withJoi/admin/generated/google/protobuf/duration.d.ts +0 -27
- package/dist/withJoi/admin/generated/google/protobuf/empty.d.ts +0 -25
- package/dist/withJoi/admin/generated/google/protobuf/struct.d.ts +0 -74
- package/dist/withJoi/admin/generated/google/protobuf/timestamp.d.ts +0 -27
- package/dist/withJoi/admin/generated/jsonapi/v1/base.d.ts +0 -108
- package/dist/withJoi/admin/generated/platform/v1/asset_groups.d.ts +0 -204
- package/dist/withJoi/admin/generated/platform/v1/assets.d.ts +0 -141
- package/dist/withJoi/admin/generated/platform/v1/auth.d.ts +0 -79
- package/dist/withJoi/admin/generated/platform/v1/character.d.ts +0 -382
- package/dist/withJoi/admin/generated/platform/v1/character_template.d.ts +0 -124
- package/dist/withJoi/admin/generated/platform/v1/christmas_characters.d.ts +0 -118
- package/dist/withJoi/admin/generated/platform/v1/collection_task.d.ts +0 -60
- package/dist/withJoi/admin/generated/platform/v1/config.d.ts +0 -130
- package/dist/withJoi/admin/generated/platform/v1/configkv.d.ts +0 -105
- package/dist/withJoi/admin/generated/platform/v1/console.d.ts +0 -29
- package/dist/withJoi/admin/generated/platform/v1/instance_management.d.ts +0 -156
- package/dist/withJoi/admin/generated/platform/v1/joi_model_apply.d.ts +0 -100
- package/dist/withJoi/admin/generated/platform/v1/material.d.ts +0 -29
- package/dist/withJoi/admin/generated/platform/v1/model_evaluation.d.ts +0 -57
- package/dist/withJoi/admin/generated/platform/v1/oss.d.ts +0 -53
- package/dist/withJoi/admin/generated/platform/v1/pipetemplate.d.ts +0 -106
- package/dist/withJoi/admin/generated/platform/v1/provider.d.ts +0 -141
- package/dist/withJoi/admin/generated/platform/v1/redeem.d.ts +0 -83
- package/dist/withJoi/admin/generated/platform/v1/sms_send_log.d.ts +0 -95
- package/dist/withJoi/admin/generated/platform/v1/task.d.ts +0 -39
- package/dist/withJoi/admin/generated/platform/v1/user.d.ts +0 -142
- package/dist/withJoi/admin/generated/platform/v1/voice.d.ts +0 -141
- package/dist/withJoi/admin/generated/realtime/v1/auth.d.ts +0 -77
- package/dist/withJoi/admin/generated/realtime/v1/customized.d.ts +0 -60
- package/dist/withJoi/admin/generated/realtime/v1/messages.d.ts +0 -156
- package/dist/withJoi/admin/generated/realtime/v1/realtime.d.ts +0 -67
- package/dist/withJoi/admin/generated/realtime/v1/redeem.d.ts +0 -44
- package/dist/withJoi/admin/generated/realtime/v1/user.d.ts +0 -150
- package/dist/withJoi/admin/generated/realtime/v2/auth.d.ts +0 -68
- package/dist/withJoi/admin/generated/realtime/v2/callback.d.ts +0 -56
- package/dist/withJoi/admin/generated/realtime/v2/joi_avatar.d.ts +0 -204
- package/dist/withJoi/admin/generated/realtime/v2/model_apply.d.ts +0 -138
- package/dist/withJoi/admin/generated/realtime/v2/realtime.d.ts +0 -70
- package/dist/withJoi/admin/generated/realtime/v2/user.d.ts +0 -96
- package/dist/withJoi/admin/openapi-ts.config.d.ts +0 -8
- package/dist/withJoi/admin/src/apis/useAssetApi.d.ts +0 -17
- package/dist/withJoi/admin/src/apis/useAssetGroupApi.d.ts +0 -26
- package/dist/withJoi/admin/src/apis/useCharacterApi.d.ts +0 -21
- package/dist/withJoi/admin/src/apis/useCharacterTemplateApi.d.ts +0 -20
- package/dist/withJoi/admin/src/apis/useChristmasCharactersApi.d.ts +0 -40
- package/dist/withJoi/admin/src/apis/useCollectionTaskApi.d.ts +0 -64
- package/dist/withJoi/admin/src/apis/useConfigApi.d.ts +0 -16
- package/dist/withJoi/admin/src/apis/useConsoleApi.d.ts +0 -24
- package/dist/withJoi/admin/src/apis/useInstanceManagementApi.d.ts +0 -19
- package/dist/withJoi/admin/src/apis/useJoiModelApplyApi.d.ts +0 -11
- package/dist/withJoi/admin/src/apis/useMaterialApi.d.ts +0 -1
- package/dist/withJoi/admin/src/apis/useOssApi.d.ts +0 -15
- package/dist/withJoi/admin/src/apis/usePipelineTemplateApi.d.ts +0 -8
- package/dist/withJoi/admin/src/apis/useProviderApi.d.ts +0 -16
- package/dist/withJoi/admin/src/apis/useRedeemApi.d.ts +0 -5
- package/dist/withJoi/admin/src/apis/useSmsSendLogApi.d.ts +0 -14
- package/dist/withJoi/admin/src/apis/useTaskApi.d.ts +0 -66
- package/dist/withJoi/admin/src/apis/useUserApi.d.ts +0 -17
- package/dist/withJoi/admin/src/apis/useVoiceApi.d.ts +0 -15
- package/dist/withJoi/admin/src/client/client/client.gen.d.ts +0 -2
- package/dist/withJoi/admin/src/client/client/index.d.ts +0 -8
- package/dist/withJoi/admin/src/client/client/types.gen.d.ts +0 -70
- package/dist/withJoi/admin/src/client/client/utils.gen.d.ts +0 -31
- package/dist/withJoi/admin/src/client/client.gen.d.ts +0 -5
- package/dist/withJoi/admin/src/client/core/auth.gen.d.ts +0 -8
- package/dist/withJoi/admin/src/client/core/bodySerializer.gen.d.ts +0 -21
- package/dist/withJoi/admin/src/client/core/params.gen.d.ts +0 -27
- package/dist/withJoi/admin/src/client/core/pathSerializer.gen.d.ts +0 -30
- package/dist/withJoi/admin/src/client/core/queryKeySerializer.gen.d.ts +0 -9
- package/dist/withJoi/admin/src/client/core/serverSentEvents.gen.d.ts +0 -23
- package/dist/withJoi/admin/src/client/core/types.gen.d.ts +0 -32
- package/dist/withJoi/admin/src/client/core/utils.gen.d.ts +0 -19
- package/dist/withJoi/admin/src/client/index.d.ts +0 -2
- package/dist/withJoi/admin/src/client/sdk.gen.d.ts +0 -245
- package/dist/withJoi/admin/src/client/types.gen.d.ts +0 -4009
- package/dist/withJoi/admin/src/client/valibot.gen.d.ts +0 -7814
- package/dist/withJoi/admin/src/components/ui/alert/index.d.ts +0 -8
- package/dist/withJoi/admin/src/components/ui/alert-dialog/index.d.ts +0 -9
- package/dist/withJoi/admin/src/components/ui/avatar/index.d.ts +0 -9
- package/dist/withJoi/admin/src/components/ui/badge/index.d.ts +0 -6
- package/dist/withJoi/admin/src/components/ui/breadcrumb/index.d.ts +0 -7
- package/dist/withJoi/admin/src/components/ui/button/index.d.ts +0 -7
- package/dist/withJoi/admin/src/components/ui/card/index.d.ts +0 -6
- package/dist/withJoi/admin/src/components/ui/checkbox/index.d.ts +0 -1
- package/dist/withJoi/admin/src/components/ui/collapsible/index.d.ts +0 -3
- package/dist/withJoi/admin/src/components/ui/combobox/index.d.ts +0 -9
- package/dist/withJoi/admin/src/components/ui/dialog/index.d.ts +0 -9
- package/dist/withJoi/admin/src/components/ui/dropdown-menu/index.d.ts +0 -15
- package/dist/withJoi/admin/src/components/ui/filter-popover/index.d.ts +0 -1
- package/dist/withJoi/admin/src/components/ui/form/index.d.ts +0 -7
- package/dist/withJoi/admin/src/components/ui/form/injectionKeys.d.ts +0 -2
- package/dist/withJoi/admin/src/components/ui/form/useFormField.d.ts +0 -11
- package/dist/withJoi/admin/src/components/ui/input/index.d.ts +0 -1
- package/dist/withJoi/admin/src/components/ui/label/index.d.ts +0 -1
- package/dist/withJoi/admin/src/components/ui/popover/index.d.ts +0 -4
- package/dist/withJoi/admin/src/components/ui/progress/index.d.ts +0 -1
- package/dist/withJoi/admin/src/components/ui/select/index.d.ts +0 -11
- package/dist/withJoi/admin/src/components/ui/separator/index.d.ts +0 -1
- package/dist/withJoi/admin/src/components/ui/sheet/index.d.ts +0 -13
- package/dist/withJoi/admin/src/components/ui/sidebar/index.d.ts +0 -37
- package/dist/withJoi/admin/src/components/ui/sidebar/utils.d.ts +0 -54
- package/dist/withJoi/admin/src/components/ui/skeleton/index.d.ts +0 -1
- package/dist/withJoi/admin/src/components/ui/slider/index.d.ts +0 -1
- package/dist/withJoi/admin/src/components/ui/switch/index.d.ts +0 -1
- package/dist/withJoi/admin/src/components/ui/tabs/index.d.ts +0 -4
- package/dist/withJoi/admin/src/components/ui/tags-input/index.d.ts +0 -5
- package/dist/withJoi/admin/src/components/ui/textarea/index.d.ts +0 -1
- package/dist/withJoi/admin/src/components/ui/tooltip/index.d.ts +0 -4
- package/dist/withJoi/admin/src/composables/useApi.d.ts +0 -21
- package/dist/withJoi/admin/src/composables/useAppStorage.d.ts +0 -9
- package/dist/withJoi/admin/src/composables/useAssetUpload.d.ts +0 -31
- package/dist/withJoi/admin/src/composables/useCharacterForm.d.ts +0 -139
- package/dist/withJoi/admin/src/composables/useCharacterSettings.d.ts +0 -27
- package/dist/withJoi/admin/src/composables/useCharacterTemplateForm.d.ts +0 -47
- package/dist/withJoi/admin/src/composables/useCollectionTaskFilters.d.ts +0 -12
- package/dist/withJoi/admin/src/composables/useFileUpload.d.ts +0 -26
- package/dist/withJoi/admin/src/composables/useMaterialFilters.d.ts +0 -14
- package/dist/withJoi/admin/src/composables/useModelEvaluation.d.ts +0 -11
- package/dist/withJoi/admin/src/composables/useModelEvaluationWebSocket.d.ts +0 -111
- package/dist/withJoi/admin/src/composables/useModelSettings.d.ts +0 -12
- package/dist/withJoi/admin/src/composables/usePageScrollLock.d.ts +0 -6
- package/dist/withJoi/admin/src/composables/useTaskFilters.d.ts +0 -11
- package/dist/withJoi/admin/src/constants/character.d.ts +0 -4
- package/dist/withJoi/admin/src/constants/collection-task.d.ts +0 -5
- package/dist/withJoi/admin/src/constants/config-previews.d.ts +0 -8
- package/dist/withJoi/admin/src/constants/container.d.ts +0 -1
- package/dist/withJoi/admin/src/constants/links.d.ts +0 -5
- package/dist/withJoi/admin/src/constants/nav.d.ts +0 -17
- package/dist/withJoi/admin/src/constants/providers.d.ts +0 -17
- package/dist/withJoi/admin/src/constants/regions.d.ts +0 -10
- package/dist/withJoi/admin/src/constants/test-ground-voices.d.ts +0 -19
- package/dist/withJoi/admin/src/constants/ui.d.ts +0 -4
- package/dist/withJoi/admin/src/constants/voice.d.ts +0 -12
- package/dist/withJoi/admin/src/constants/volc.d.ts +0 -135
- package/dist/withJoi/admin/src/lib/cos/constants.d.ts +0 -6
- package/dist/withJoi/admin/src/lib/cos/useCosDownload.d.ts +0 -39
- package/dist/withJoi/admin/src/lib/cos/useCosUpload.d.ts +0 -47
- package/dist/withJoi/admin/src/lib/cos/useVideoInfoExtractor.d.ts +0 -12
- package/dist/withJoi/admin/src/lib/cos/utils.d.ts +0 -4
- package/dist/withJoi/admin/src/lib/utils.d.ts +0 -49
- package/dist/withJoi/admin/src/main.d.ts +0 -0
- package/dist/withJoi/admin/src/renderSystem/animation/utils/eventEmitter.d.ts +0 -9
- package/dist/withJoi/admin/src/renderSystem/animation/utils/flameConverter.d.ts +0 -18
- package/dist/withJoi/admin/src/renderSystem/audio/AnimationPlayer.d.ts +0 -29
- package/dist/withJoi/admin/src/renderSystem/audio/StreamingAudioPlayer.d.ts +0 -57
- package/dist/withJoi/admin/src/renderSystem/config/app-config.d.ts +0 -39
- package/dist/withJoi/admin/src/renderSystem/config/constants.d.ts +0 -3
- package/dist/withJoi/admin/src/renderSystem/config/sdk-config-loader.d.ts +0 -5
- package/dist/withJoi/admin/src/renderSystem/core/Avatar.d.ts +0 -8
- package/dist/withJoi/admin/src/renderSystem/core/AvatarController.d.ts +0 -60
- package/dist/withJoi/admin/src/renderSystem/core/AvatarDownloader.d.ts +0 -38
- package/dist/withJoi/admin/src/renderSystem/core/AvatarKit.d.ts +0 -9
- package/dist/withJoi/admin/src/renderSystem/core/AvatarView.d.ts +0 -64
- package/dist/withJoi/admin/src/renderSystem/generated/driveningress/v1/driveningress.d.ts +0 -68
- package/dist/withJoi/admin/src/renderSystem/generated/driveningress/v2/driveningress.d.ts +0 -3
- package/dist/withJoi/admin/src/renderSystem/generated/google/protobuf/struct.d.ts +0 -74
- package/dist/withJoi/admin/src/renderSystem/generated/google/protobuf/timestamp.d.ts +0 -27
- package/dist/withJoi/admin/src/renderSystem/renderer/RenderSystem.d.ts +0 -1
- package/dist/withJoi/admin/src/renderSystem/renderer/covariance.d.ts +0 -1
- package/dist/withJoi/admin/src/renderSystem/renderer/renderer.d.ts +0 -7
- package/dist/withJoi/admin/src/renderSystem/renderer/sortSplats.d.ts +0 -1
- package/dist/withJoi/admin/src/renderSystem/renderer/webgl/reorderData.d.ts +0 -1
- package/dist/withJoi/admin/src/renderSystem/renderer/webgl/webglRenderer.d.ts +0 -27
- package/dist/withJoi/admin/src/renderSystem/renderer/webgpu/webgpuRenderer.d.ts +0 -27
- package/dist/withJoi/admin/src/renderSystem/types/character-settings.d.ts +0 -18
- package/dist/withJoi/admin/src/renderSystem/types/character.d.ts +0 -22
- package/dist/withJoi/admin/src/renderSystem/types/index.d.ts +0 -62
- package/dist/withJoi/admin/src/renderSystem/utils/animation-interpolation.d.ts +0 -7
- package/dist/withJoi/admin/src/renderSystem/utils/conversationId.d.ts +0 -1
- package/dist/withJoi/admin/src/renderSystem/utils/error-utils.d.ts +0 -3
- package/dist/withJoi/admin/src/renderSystem/utils/id-manager.d.ts +0 -12
- package/dist/withJoi/admin/src/renderSystem/utils/logger.d.ts +0 -14
- package/dist/withJoi/admin/src/renderSystem/wasm/avatarCoreAdapter.d.ts +0 -101
- package/dist/withJoi/admin/src/renderSystem/wasm/avatarCoreMemory.d.ts +0 -92
- package/dist/withJoi/admin/src/stores/providers.d.ts +0 -336
- package/dist/withJoi/admin/src/stores/region.d.ts +0 -19
- package/dist/withJoi/admin/src/stores/user.d.ts +0 -112
- package/dist/withJoi/admin/src/types/character-settings.d.ts +0 -18
- package/dist/withJoi/admin/src/types/character.d.ts +0 -117
- package/dist/withJoi/admin/src/types/collection-task.d.ts +0 -11
- package/dist/withJoi/admin/src/types/config.d.ts +0 -36
- package/dist/withJoi/admin/src/types/doubao-voice.d.ts +0 -42
- package/dist/withJoi/admin/src/types/error.d.ts +0 -5
- package/dist/withJoi/admin/src/types/model-settings.d.ts +0 -41
- package/dist/withJoi/admin/src/types/task.d.ts +0 -45
- package/dist/withJoi/admin/src/types/test-ground.d.ts +0 -36
- package/dist/withJoi/admin/src/types/video-material.d.ts +0 -130
- package/dist/withJoi/admin/src/types/voice.d.ts +0 -58
- package/dist/withJoi/admin/src/utils/collection-task.d.ts +0 -3
- package/dist/withJoi/admin/src/utils/error.d.ts +0 -1
- package/dist/withJoi/admin/src/utils/hash.d.ts +0 -20
- package/dist/withJoi/admin/src/utils/model-settings.d.ts +0 -9
- package/dist/withJoi/admin/src/utils/monad.d.ts +0 -13
- package/dist/withJoi/admin/src/utils/task.d.ts +0 -8
- package/dist/withJoi/admin/unocss.config.d.ts +0 -2
- package/dist/withJoi/admin/vite.config.d.ts +0 -2
- package/dist/withJoi/admin/vue-macros.config.d.ts +0 -2
- package/dist/withJoi/bump.config.d.ts +0 -2
- package/dist/withJoi/eslint.config.d.ts +0 -2
- package/dist/withJoi/generated/buf/validate/validate.d.ts +0 -397
- package/dist/withJoi/generated/common/v1/models.d.ts +0 -29
- package/dist/withJoi/generated/console/v1/admin_app.d.ts +0 -77
- package/dist/withJoi/generated/console/v1/admin_auth.d.ts +0 -69
- package/dist/withJoi/generated/console/v1/admin_config.d.ts +0 -157
- package/dist/withJoi/generated/console/v1/admin_user.d.ts +0 -84
- package/dist/withJoi/generated/console/v1/admin_user_character.d.ts +0 -107
- package/dist/withJoi/generated/console/v1/app.d.ts +0 -116
- package/dist/withJoi/generated/console/v1/auth.d.ts +0 -199
- package/dist/withJoi/generated/console/v1/character.d.ts +0 -74
- package/dist/withJoi/generated/console/v1/collection_task.d.ts +0 -183
- package/dist/withJoi/generated/console/v1/console.d.ts +0 -163
- package/dist/withJoi/generated/console/v1/instance_management.d.ts +0 -156
- package/dist/withJoi/generated/console/v1/material.d.ts +0 -180
- package/dist/withJoi/generated/console/v1/pipetemplate.d.ts +0 -106
- package/dist/withJoi/generated/console/v1/task.d.ts +0 -292
- package/dist/withJoi/generated/console/v2/async_processing.d.ts +0 -85
- package/dist/withJoi/generated/driveningress/v1/driveningress.d.ts +0 -69
- package/dist/withJoi/generated/driveningress/v2/driveningress.d.ts +0 -159
- package/dist/withJoi/generated/google/api/annotations.d.ts +0 -1
- package/dist/withJoi/generated/google/api/http.d.ts +0 -47
- package/dist/withJoi/generated/google/protobuf/any.d.ts +0 -27
- package/dist/withJoi/generated/google/protobuf/descriptor.d.ts +0 -552
- package/dist/withJoi/generated/google/protobuf/duration.d.ts +0 -27
- package/dist/withJoi/generated/google/protobuf/empty.d.ts +0 -25
- package/dist/withJoi/generated/google/protobuf/struct.d.ts +0 -74
- package/dist/withJoi/generated/google/protobuf/timestamp.d.ts +0 -27
- package/dist/withJoi/generated/jsonapi/v1/base.d.ts +0 -108
- package/dist/withJoi/generated/platform/v1/asset_groups.d.ts +0 -204
- package/dist/withJoi/generated/platform/v1/assets.d.ts +0 -141
- package/dist/withJoi/generated/platform/v1/auth.d.ts +0 -79
- package/dist/withJoi/generated/platform/v1/character.d.ts +0 -382
- package/dist/withJoi/generated/platform/v1/character_template.d.ts +0 -124
- package/dist/withJoi/generated/platform/v1/christmas_characters.d.ts +0 -118
- package/dist/withJoi/generated/platform/v1/collection_task.d.ts +0 -60
- package/dist/withJoi/generated/platform/v1/configkv.d.ts +0 -105
- package/dist/withJoi/generated/platform/v1/console.d.ts +0 -29
- package/dist/withJoi/generated/platform/v1/instance_management.d.ts +0 -156
- package/dist/withJoi/generated/platform/v1/joi_model_apply.d.ts +0 -100
- package/dist/withJoi/generated/platform/v1/material.d.ts +0 -29
- package/dist/withJoi/generated/platform/v1/model_evaluation.d.ts +0 -100
- package/dist/withJoi/generated/platform/v1/oss.d.ts +0 -53
- package/dist/withJoi/generated/platform/v1/pipetemplate.d.ts +0 -106
- package/dist/withJoi/generated/platform/v1/provider.d.ts +0 -141
- package/dist/withJoi/generated/platform/v1/redeem.d.ts +0 -83
- package/dist/withJoi/generated/platform/v1/sms_send_log.d.ts +0 -95
- package/dist/withJoi/generated/platform/v1/task.d.ts +0 -39
- package/dist/withJoi/generated/platform/v1/user.d.ts +0 -142
- package/dist/withJoi/generated/platform/v1/voice.d.ts +0 -141
- package/dist/withJoi/generated/realtime/v1/auth.d.ts +0 -77
- package/dist/withJoi/generated/realtime/v1/customized.d.ts +0 -60
- package/dist/withJoi/generated/realtime/v1/messages.d.ts +0 -156
- package/dist/withJoi/generated/realtime/v1/realtime.d.ts +0 -67
- package/dist/withJoi/generated/realtime/v1/redeem.d.ts +0 -44
- package/dist/withJoi/generated/realtime/v1/user.d.ts +0 -151
- package/dist/withJoi/generated/realtime/v2/auth.d.ts +0 -84
- package/dist/withJoi/generated/realtime/v2/callback.d.ts +0 -56
- package/dist/withJoi/generated/realtime/v2/christmas.d.ts +0 -146
- package/dist/withJoi/generated/realtime/v2/joi_avatar.d.ts +0 -198
- package/dist/withJoi/generated/realtime/v2/model_apply.d.ts +0 -194
- package/dist/withJoi/generated/realtime/v2/realtime.d.ts +0 -140
- package/dist/withJoi/generated/realtime/v2/user.d.ts +0 -96
- package/dist/withJoi/generated/shared-proto/syncdb/v1/syncdb.d.ts +0 -54
- package/dist/withJoi/generated/syncdb/v1/syncdb.d.ts +0 -54
- package/dist/withJoi/legacy/unocss.shared.d.ts +0 -3
- package/dist/withJoi/openapi-ts.config.d.ts +0 -8
- package/dist/withJoi/packages/sdk/src/index.d.ts +0 -1
- package/dist/withJoi/packages/sdk/tsdown.config.d.ts +0 -2
- package/dist/withJoi/src/api/appearance.d.ts +0 -5
- package/dist/withJoi/src/api/auth.d.ts +0 -7
- package/dist/withJoi/src/api/character.d.ts +0 -20
- package/dist/withJoi/src/api/index.d.ts +0 -8
- package/dist/withJoi/src/api/joi-avatar.d.ts +0 -26
- package/dist/withJoi/src/api/model-apply.d.ts +0 -21
- package/dist/withJoi/src/api/oss.d.ts +0 -13
- package/dist/withJoi/src/api/provider.d.ts +0 -11
- package/dist/withJoi/src/api/redeem.d.ts +0 -3
- package/dist/withJoi/src/api/user.d.ts +0 -9
- package/dist/withJoi/src/audio/AnimationPlayer.d.ts +0 -22
- package/dist/withJoi/src/audio/StreamingAudioPlayer.d.ts +0 -58
- package/dist/withJoi/src/client/client/client.gen.d.ts +0 -2
- package/dist/withJoi/src/client/client/index.d.ts +0 -8
- package/dist/withJoi/src/client/client/types.gen.d.ts +0 -70
- package/dist/withJoi/src/client/client/utils.gen.d.ts +0 -31
- package/dist/withJoi/src/client/client.gen.d.ts +0 -5
- package/dist/withJoi/src/client/core/auth.gen.d.ts +0 -8
- package/dist/withJoi/src/client/core/bodySerializer.gen.d.ts +0 -21
- package/dist/withJoi/src/client/core/params.gen.d.ts +0 -27
- package/dist/withJoi/src/client/core/pathSerializer.gen.d.ts +0 -30
- package/dist/withJoi/src/client/core/queryKeySerializer.gen.d.ts +0 -9
- package/dist/withJoi/src/client/core/serverSentEvents.gen.d.ts +0 -23
- package/dist/withJoi/src/client/core/types.gen.d.ts +0 -32
- package/dist/withJoi/src/client/core/utils.gen.d.ts +0 -19
- package/dist/withJoi/src/client/index.d.ts +0 -2
- package/dist/withJoi/src/client/sdk.gen.d.ts +0 -303
- package/dist/withJoi/src/client/types.gen.d.ts +0 -4988
- package/dist/withJoi/src/client/valibot.gen.d.ts +0 -10015
- package/dist/withJoi/src/components/ui/avatar/index.d.ts +0 -9
- package/dist/withJoi/src/components/ui/badge/index.d.ts +0 -6
- package/dist/withJoi/src/components/ui/button/index.d.ts +0 -7
- package/dist/withJoi/src/components/ui/popover/index.d.ts +0 -4
- package/dist/withJoi/src/components/ui/select/index.d.ts +0 -11
- package/dist/withJoi/src/composables/useCameraConfig.d.ts +0 -48
- package/dist/withJoi/src/composables/useDebugDataCollector.d.ts +0 -377
- package/dist/withJoi/src/composables/usePreviewWebSocketManager.d.ts +0 -25
- package/dist/withJoi/src/composables/useRealtimeAvatar.d.ts +0 -462
- package/dist/withJoi/src/composables/useSubtitle.d.ts +0 -19
- package/dist/withJoi/src/composables/useVAD.d.ts +0 -49
- package/dist/withJoi/src/composables/useVideoCapture.d.ts +0 -57
- package/dist/withJoi/src/config/app-config.d.ts +0 -29
- package/dist/withJoi/src/config/realtime-config.d.ts +0 -46
- package/dist/withJoi/src/config/region-config.d.ts +0 -15
- package/dist/withJoi/src/constants.d.ts +0 -22
- package/dist/withJoi/src/lib/utils.d.ts +0 -2
- package/dist/withJoi/src/libs/vad/manager.d.ts +0 -37
- package/dist/withJoi/src/libs/vad/process.worklet.d.ts +0 -22
- package/dist/withJoi/src/libs/vad/simpleVad.d.ts +0 -35
- package/dist/withJoi/src/libs/vad/vad.d.ts +0 -56
- package/dist/withJoi/src/libs/vad/wav.d.ts +0 -1
- package/dist/withJoi/src/locales/index.d.ts +0 -2
- package/dist/withJoi/src/main.d.ts +0 -0
- package/dist/withJoi/src/modules/i18n.d.ts +0 -3
- package/dist/withJoi/src/modules/pwa.d.ts +0 -1
- package/dist/withJoi/src/realtime/PreviewWebSocketClient.d.ts +0 -18
- package/dist/withJoi/src/realtime/RealtimeSyncManager.d.ts +0 -34
- package/dist/withJoi/src/realtime/RealtimeWebSocketClient.d.ts +0 -18
- package/dist/withJoi/src/realtime/index.d.ts +0 -3
- package/dist/withJoi/src/realtime/types.d.ts +0 -29
- package/dist/withJoi/src/realtime/utils/audioDebug.d.ts +0 -3
- package/dist/withJoi/src/realtime/utils/audioUtils.d.ts +0 -11
- package/dist/withJoi/src/realtime/utils/eventEmitter.d.ts +0 -9
- package/dist/withJoi/src/renderer/RenderSystem.d.ts +0 -34
- package/dist/withJoi/src/renderer/covariance.d.ts +0 -1
- package/dist/withJoi/src/renderer/renderer.d.ts +0 -7
- package/dist/withJoi/src/renderer/sortSplats.d.ts +0 -1
- package/dist/withJoi/src/renderer/webgl/reorderData.d.ts +0 -1
- package/dist/withJoi/src/renderer/webgl/webglRenderer.d.ts +0 -27
- package/dist/withJoi/src/renderer/webgpu/webgpuRenderer.d.ts +0 -26
- package/dist/withJoi/src/stores/call.d.ts +0 -176
- package/dist/withJoi/src/stores/character.d.ts +0 -188
- package/dist/withJoi/src/stores/config.d.ts +0 -59
- package/dist/withJoi/src/stores/pwa.d.ts +0 -7
- package/dist/withJoi/src/stores/region.d.ts +0 -14
- package/dist/withJoi/src/stores/user.d.ts +0 -52
- package/dist/withJoi/src/stores/vad.d.ts +0 -73
- package/dist/withJoi/src/types/appearance.d.ts +0 -30
- package/dist/withJoi/src/types/avatar.d.ts +0 -17
- package/dist/withJoi/src/types/character-settings.d.ts +0 -18
- package/dist/withJoi/src/types/character.d.ts +0 -34
- package/dist/withJoi/src/types/doubao-voice.d.ts +0 -42
- package/dist/withJoi/src/utils/animation-interpolation.d.ts +0 -7
- package/dist/withJoi/src/utils/api-client.d.ts +0 -7
- package/dist/withJoi/src/utils/api-error.d.ts +0 -13
- package/dist/withJoi/src/utils/avatar-converter.d.ts +0 -1
- package/dist/withJoi/src/utils/error-utils.d.ts +0 -3
- package/dist/withJoi/src/utils/hash.d.ts +0 -5
- package/dist/withJoi/src/utils/helpers.d.ts +0 -15
- package/dist/withJoi/src/utils/image-optimizer.d.ts +0 -17
- package/dist/withJoi/src/utils/logger.d.ts +0 -1
- package/dist/withJoi/src/utils/memory-tracker.d.ts +0 -23
- package/dist/withJoi/src/utils/model-settings-utils.d.ts +0 -29
- package/dist/withJoi/src/utils/nanoid.d.ts +0 -1
- package/dist/withJoi/src/utils/posthog-tracker.d.ts +0 -74
- package/dist/withJoi/src/utils/postprocess-sdk-converter.d.ts +0 -4
- package/dist/withJoi/src/utils/postprocess-transform.d.ts +0 -25
- package/dist/withJoi/src/utils/r2-upload.d.ts +0 -8
- package/dist/withJoi/src/utils/resource-cache.d.ts +0 -25
- package/dist/withJoi/src/utils/sdk-preinit.d.ts +0 -3
- package/dist/withJoi/src/utils/toast.d.ts +0 -30
- package/dist/withJoi/src/wasm/avatarCoreAdapter.d.ts +0 -101
- package/dist/withJoi/src/wasm/avatarCoreMemory.d.ts +0 -72
- package/dist/withJoi/unocss.config.d.ts +0 -2
- package/dist/withJoi/vite.config.d.ts +0 -2
|
@@ -1,141 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import { Gender, Language, RealtimeUser } from './user';
|
|
3
|
-
export declare const protobufPackage = "realtime.v1";
|
|
4
|
-
export interface LoginRequest {
|
|
5
|
-
username: string;
|
|
6
|
-
password?: string | undefined;
|
|
7
|
-
}
|
|
8
|
-
export interface LoginResponse {
|
|
9
|
-
token: string;
|
|
10
|
-
}
|
|
11
|
-
export interface LogoutRequest {
|
|
12
|
-
}
|
|
13
|
-
export interface LogoutResponse {
|
|
14
|
-
}
|
|
15
|
-
export interface MeRequest {
|
|
16
|
-
}
|
|
17
|
-
export interface MeResponse {
|
|
18
|
-
user?: RealtimeUser | undefined;
|
|
19
|
-
}
|
|
20
|
-
export interface RegisterRequest {
|
|
21
|
-
email: string;
|
|
22
|
-
username: string;
|
|
23
|
-
password: string;
|
|
24
|
-
gender: Gender;
|
|
25
|
-
language: Language;
|
|
26
|
-
}
|
|
27
|
-
export interface RegisterResponse {
|
|
28
|
-
user?: RealtimeUser | undefined;
|
|
29
|
-
}
|
|
30
|
-
export declare const LoginRequest: MessageFns<LoginRequest>;
|
|
31
|
-
export declare const LoginResponse: MessageFns<LoginResponse>;
|
|
32
|
-
export declare const LogoutRequest: MessageFns<LogoutRequest>;
|
|
33
|
-
export declare const LogoutResponse: MessageFns<LogoutResponse>;
|
|
34
|
-
export declare const MeRequest: MessageFns<MeRequest>;
|
|
35
|
-
export declare const MeResponse: MessageFns<MeResponse>;
|
|
36
|
-
export declare const RegisterRequest: MessageFns<RegisterRequest>;
|
|
37
|
-
export declare const RegisterResponse: MessageFns<RegisterResponse>;
|
|
38
|
-
export interface RealtimeAuthService {
|
|
39
|
-
Login(request: LoginRequest): Promise<LoginResponse>;
|
|
40
|
-
Me(request: MeRequest): Promise<MeResponse>;
|
|
41
|
-
Logout(request: LogoutRequest): Promise<LogoutResponse>;
|
|
42
|
-
Register(request: RegisterRequest): Promise<RegisterResponse>;
|
|
43
|
-
}
|
|
44
|
-
export declare const RealtimeAuthServiceServiceName = "realtime.v1.RealtimeAuthService";
|
|
45
|
-
export declare class RealtimeAuthServiceClientImpl implements RealtimeAuthService {
|
|
46
|
-
private readonly rpc;
|
|
47
|
-
private readonly service;
|
|
48
|
-
constructor(rpc: Rpc, opts?: {
|
|
49
|
-
service?: string;
|
|
50
|
-
});
|
|
51
|
-
Login(request: LoginRequest): Promise<LoginResponse>;
|
|
52
|
-
Me(request: MeRequest): Promise<MeResponse>;
|
|
53
|
-
Logout(request: LogoutRequest): Promise<LogoutResponse>;
|
|
54
|
-
Register(request: RegisterRequest): Promise<RegisterResponse>;
|
|
55
|
-
}
|
|
56
|
-
interface Rpc {
|
|
57
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
58
|
-
}
|
|
59
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
60
|
-
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 {} ? {
|
|
61
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
62
|
-
} : Partial<T>;
|
|
63
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
64
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
65
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
66
|
-
} & {
|
|
67
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
68
|
-
};
|
|
69
|
-
export interface MessageFns<T> {
|
|
70
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
71
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
72
|
-
fromJSON(object: any): T;
|
|
73
|
-
toJSON(message: T): unknown;
|
|
74
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
75
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
76
|
-
}
|
|
77
|
-
export {};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
export declare const protobufPackage = "realtime.v1";
|
|
3
|
-
export interface Customized {
|
|
4
|
-
characterId: string;
|
|
5
|
-
prompt: string;
|
|
6
|
-
}
|
|
7
|
-
export interface GetCustomizedRequest {
|
|
8
|
-
characterId: string;
|
|
9
|
-
}
|
|
10
|
-
export interface GetCustomizedResponse {
|
|
11
|
-
customized?: Customized | undefined;
|
|
12
|
-
}
|
|
13
|
-
export interface UpsertCustomizedRequest {
|
|
14
|
-
characterId: string;
|
|
15
|
-
prompt: string;
|
|
16
|
-
}
|
|
17
|
-
export interface UpsertCustomizedResponse {
|
|
18
|
-
customized?: Customized | undefined;
|
|
19
|
-
}
|
|
20
|
-
export declare const Customized: MessageFns<Customized>;
|
|
21
|
-
export declare const GetCustomizedRequest: MessageFns<GetCustomizedRequest>;
|
|
22
|
-
export declare const GetCustomizedResponse: MessageFns<GetCustomizedResponse>;
|
|
23
|
-
export declare const UpsertCustomizedRequest: MessageFns<UpsertCustomizedRequest>;
|
|
24
|
-
export declare const UpsertCustomizedResponse: MessageFns<UpsertCustomizedResponse>;
|
|
25
|
-
export interface CustomizedService {
|
|
26
|
-
GetCustomized(request: GetCustomizedRequest): Promise<GetCustomizedResponse>;
|
|
27
|
-
UpsertCustomized(request: UpsertCustomizedRequest): Promise<UpsertCustomizedResponse>;
|
|
28
|
-
}
|
|
29
|
-
export declare const CustomizedServiceServiceName = "realtime.v1.CustomizedService";
|
|
30
|
-
export declare class CustomizedServiceClientImpl implements CustomizedService {
|
|
31
|
-
private readonly rpc;
|
|
32
|
-
private readonly service;
|
|
33
|
-
constructor(rpc: Rpc, opts?: {
|
|
34
|
-
service?: string;
|
|
35
|
-
});
|
|
36
|
-
GetCustomized(request: GetCustomizedRequest): Promise<GetCustomizedResponse>;
|
|
37
|
-
UpsertCustomized(request: UpsertCustomizedRequest): Promise<UpsertCustomizedResponse>;
|
|
38
|
-
}
|
|
39
|
-
interface Rpc {
|
|
40
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
41
|
-
}
|
|
42
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
43
|
-
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 {} ? {
|
|
44
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
45
|
-
} : Partial<T>;
|
|
46
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
47
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
48
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
49
|
-
} & {
|
|
50
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
51
|
-
};
|
|
52
|
-
export interface MessageFns<T> {
|
|
53
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
54
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
55
|
-
fromJSON(object: any): T;
|
|
56
|
-
toJSON(message: T): unknown;
|
|
57
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
58
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
59
|
-
}
|
|
60
|
-
export {};
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
export declare const protobufPackage = "realtime.v1";
|
|
3
|
-
export declare enum MessageType {
|
|
4
|
-
MESSAGE_UNSPECIFIED = 0,
|
|
5
|
-
|
|
6
|
-
MESSAGE_PROGRESS = 1,
|
|
7
|
-
|
|
8
|
-
MESSAGE_ERROR = 2,
|
|
9
|
-
|
|
10
|
-
MESSAGE_SERVER_RESPONSE_START = 1000,
|
|
11
|
-
MESSAGE_SERVER_RESPONSE_END = 1001,
|
|
12
|
-
MESSAGE_SERVER_RESPONSE_TEXT = 1002,
|
|
13
|
-
MESSAGE_SERVER_RESPONSE_AUDIO = 1003,
|
|
14
|
-
MESSAGE_SERVER_RESPONSE_ANIMATION = 1004,
|
|
15
|
-
MESSAGE_SERVER_RESPONSE_ASR_RESULT = 1005,
|
|
16
|
-
|
|
17
|
-
MESSAGE_CLIENT_USER_SPEECH_START = 2000,
|
|
18
|
-
MESSAGE_CLIENT_USER_SPEECH_END = 2001,
|
|
19
|
-
MESSAGE_CLIENT_TEXT_INPUT = 2004,
|
|
20
|
-
MESSAGE_CLIENT_SESSION_START = 2005,
|
|
21
|
-
MESSAGE_CLIENT_SESSION_END = 2006,
|
|
22
|
-
UNRECOGNIZED = -1
|
|
23
|
-
}
|
|
24
|
-
export declare function messageTypeFromJSON(object: any): MessageType;
|
|
25
|
-
export declare function messageTypeToJSON(object: MessageType): string;
|
|
26
|
-
export interface Flame {
|
|
27
|
-
translation: number[];
|
|
28
|
-
rotation: number[];
|
|
29
|
-
neckPose: number[];
|
|
30
|
-
jawPose: number[];
|
|
31
|
-
eyePose: number[];
|
|
32
|
-
eyeLid: number[];
|
|
33
|
-
expression: number[];
|
|
34
|
-
}
|
|
35
|
-
export interface FlameAnimation {
|
|
36
|
-
keyframes: Flame[];
|
|
37
|
-
}
|
|
38
|
-
export interface ServerResponseStartData {
|
|
39
|
-
reqId: string;
|
|
40
|
-
text: string;
|
|
41
|
-
}
|
|
42
|
-
export interface ServerResponseEndData {
|
|
43
|
-
reqId: string;
|
|
44
|
-
text: string;
|
|
45
|
-
}
|
|
46
|
-
export interface ServerResponseTextData {
|
|
47
|
-
reqId: string;
|
|
48
|
-
text: string;
|
|
49
|
-
}
|
|
50
|
-
export interface ServerResponseAudioData {
|
|
51
|
-
reqId: string;
|
|
52
|
-
audio: Uint8Array;
|
|
53
|
-
isLast: boolean;
|
|
54
|
-
}
|
|
55
|
-
export interface ServerResponseConnectData {
|
|
56
|
-
reqId: string;
|
|
57
|
-
}
|
|
58
|
-
export interface ServerResponseAnimationData {
|
|
59
|
-
reqId: string;
|
|
60
|
-
animation?: FlameAnimation | undefined;
|
|
61
|
-
}
|
|
62
|
-
export interface ServerResponseASRResultData {
|
|
63
|
-
reqId: string;
|
|
64
|
-
asrText: string;
|
|
65
|
-
}
|
|
66
|
-
export interface ClientSpeechStartData {
|
|
67
|
-
reqId: string;
|
|
68
|
-
imageData?: Uint8Array | undefined;
|
|
69
|
-
}
|
|
70
|
-
export interface ClientSpeechEndData {
|
|
71
|
-
reqId: string;
|
|
72
|
-
audio: Uint8Array;
|
|
73
|
-
}
|
|
74
|
-
export interface ClientTextInputData {
|
|
75
|
-
reqId: string;
|
|
76
|
-
text: string;
|
|
77
|
-
imageData?: Uint8Array | undefined;
|
|
78
|
-
}
|
|
79
|
-
export interface ClientConnectData {
|
|
80
|
-
reqId: string;
|
|
81
|
-
characterId: string;
|
|
82
|
-
}
|
|
83
|
-
export interface ErrorInfo {
|
|
84
|
-
reqId: string;
|
|
85
|
-
code: number;
|
|
86
|
-
reason: string;
|
|
87
|
-
}
|
|
88
|
-
export interface ProgressInfo {
|
|
89
|
-
reqId: string;
|
|
90
|
-
message: string;
|
|
91
|
-
}
|
|
92
|
-
export interface ClientSessionStartData {
|
|
93
|
-
reqId: string;
|
|
94
|
-
characterId: string;
|
|
95
|
-
clientTimezone?: string | undefined;
|
|
96
|
-
clientUserAgent?: string | undefined;
|
|
97
|
-
clientLanguage?: string | undefined;
|
|
98
|
-
imageData?: Uint8Array | undefined;
|
|
99
|
-
}
|
|
100
|
-
export interface ClientSessionEndData {
|
|
101
|
-
}
|
|
102
|
-
export interface Message {
|
|
103
|
-
type: MessageType;
|
|
104
|
-
serverResponseStart?: ServerResponseStartData | undefined;
|
|
105
|
-
serverResponseEnd?: ServerResponseEndData | undefined;
|
|
106
|
-
serverResponseText?: ServerResponseTextData | undefined;
|
|
107
|
-
serverResponseAudio?: ServerResponseAudioData | undefined;
|
|
108
|
-
serverResponseAnimation?: ServerResponseAnimationData | undefined;
|
|
109
|
-
serverResponseConnect?: ServerResponseConnectData | undefined;
|
|
110
|
-
serverResponseAsrResult?: ServerResponseASRResultData | undefined;
|
|
111
|
-
clientSpeechStart?: ClientSpeechStartData | undefined;
|
|
112
|
-
clientSpeechEnd?: ClientSpeechEndData | undefined;
|
|
113
|
-
clientConnect?: ClientConnectData | undefined;
|
|
114
|
-
clientTextInput?: ClientTextInputData | undefined;
|
|
115
|
-
clientSessionStart?: ClientSessionStartData | undefined;
|
|
116
|
-
clientSessionEnd?: ClientSessionEndData | undefined;
|
|
117
|
-
progress?: ProgressInfo | undefined;
|
|
118
|
-
error?: ErrorInfo | undefined;
|
|
119
|
-
}
|
|
120
|
-
export declare const Flame: MessageFns<Flame>;
|
|
121
|
-
export declare const FlameAnimation: MessageFns<FlameAnimation>;
|
|
122
|
-
export declare const ServerResponseStartData: MessageFns<ServerResponseStartData>;
|
|
123
|
-
export declare const ServerResponseEndData: MessageFns<ServerResponseEndData>;
|
|
124
|
-
export declare const ServerResponseTextData: MessageFns<ServerResponseTextData>;
|
|
125
|
-
export declare const ServerResponseAudioData: MessageFns<ServerResponseAudioData>;
|
|
126
|
-
export declare const ServerResponseConnectData: MessageFns<ServerResponseConnectData>;
|
|
127
|
-
export declare const ServerResponseAnimationData: MessageFns<ServerResponseAnimationData>;
|
|
128
|
-
export declare const ServerResponseASRResultData: MessageFns<ServerResponseASRResultData>;
|
|
129
|
-
export declare const ClientSpeechStartData: MessageFns<ClientSpeechStartData>;
|
|
130
|
-
export declare const ClientSpeechEndData: MessageFns<ClientSpeechEndData>;
|
|
131
|
-
export declare const ClientTextInputData: MessageFns<ClientTextInputData>;
|
|
132
|
-
export declare const ClientConnectData: MessageFns<ClientConnectData>;
|
|
133
|
-
export declare const ErrorInfo: MessageFns<ErrorInfo>;
|
|
134
|
-
export declare const ProgressInfo: MessageFns<ProgressInfo>;
|
|
135
|
-
export declare const ClientSessionStartData: MessageFns<ClientSessionStartData>;
|
|
136
|
-
export declare const ClientSessionEndData: MessageFns<ClientSessionEndData>;
|
|
137
|
-
export declare const Message: MessageFns<Message>;
|
|
138
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
139
|
-
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 {} ? {
|
|
140
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
141
|
-
} : Partial<T>;
|
|
142
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
143
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
144
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
145
|
-
} & {
|
|
146
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
147
|
-
};
|
|
148
|
-
export interface MessageFns<T> {
|
|
149
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
150
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
151
|
-
fromJSON(object: any): T;
|
|
152
|
-
toJSON(message: T): unknown;
|
|
153
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
154
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
155
|
-
}
|
|
156
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import { Timestamp } from '../../google/protobuf/timestamp';
|
|
3
|
-
import { PaginationRequest, PaginationResponse } from '../../jsonapi/v1/base';
|
|
4
|
-
import { CharacterAssetGroup } from '../../platform/v1/asset_groups';
|
|
5
|
-
export declare const protobufPackage = "realtime.v1";
|
|
6
|
-
export interface RealtimeCharacter {
|
|
7
|
-
id: string;
|
|
8
|
-
scene: string[];
|
|
9
|
-
version: string;
|
|
10
|
-
name: string;
|
|
11
|
-
description: string;
|
|
12
|
-
status: string;
|
|
13
|
-
modelSettings?: {
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
} | undefined;
|
|
16
|
-
modelInfo: string;
|
|
17
|
-
characterSettings?: {
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
} | undefined;
|
|
20
|
-
assetGroups: CharacterAssetGroup[];
|
|
21
|
-
updatedAt?: Timestamp | undefined;
|
|
22
|
-
}
|
|
23
|
-
export interface RealtimeListCharactersRequest {
|
|
24
|
-
pagination?: PaginationRequest | undefined;
|
|
25
|
-
characterStatus: string[];
|
|
26
|
-
}
|
|
27
|
-
export interface RealtimeListCharactersResponse {
|
|
28
|
-
characters: RealtimeCharacter[];
|
|
29
|
-
pagination?: PaginationResponse | undefined;
|
|
30
|
-
}
|
|
31
|
-
export declare const RealtimeCharacter: MessageFns<RealtimeCharacter>;
|
|
32
|
-
export declare const RealtimeListCharactersRequest: MessageFns<RealtimeListCharactersRequest>;
|
|
33
|
-
export declare const RealtimeListCharactersResponse: MessageFns<RealtimeListCharactersResponse>;
|
|
34
|
-
export interface RealtimeService {
|
|
35
|
-
RealtimeListCharacters(request: RealtimeListCharactersRequest): Promise<RealtimeListCharactersResponse>;
|
|
36
|
-
}
|
|
37
|
-
export declare const RealtimeServiceServiceName = "realtime.v1.RealtimeService";
|
|
38
|
-
export declare class RealtimeServiceClientImpl implements RealtimeService {
|
|
39
|
-
private readonly rpc;
|
|
40
|
-
private readonly service;
|
|
41
|
-
constructor(rpc: Rpc, opts?: {
|
|
42
|
-
service?: string;
|
|
43
|
-
});
|
|
44
|
-
RealtimeListCharacters(request: RealtimeListCharactersRequest): Promise<RealtimeListCharactersResponse>;
|
|
45
|
-
}
|
|
46
|
-
interface Rpc {
|
|
47
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
48
|
-
}
|
|
49
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
50
|
-
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 {} ? {
|
|
51
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
52
|
-
} : Partial<T>;
|
|
53
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
54
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
55
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
56
|
-
} & {
|
|
57
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
58
|
-
};
|
|
59
|
-
export interface MessageFns<T> {
|
|
60
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
61
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
62
|
-
fromJSON(object: any): T;
|
|
63
|
-
toJSON(message: T): unknown;
|
|
64
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
65
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
66
|
-
}
|
|
67
|
-
export {};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
export declare const protobufPackage = "realtime.v1";
|
|
3
|
-
export interface RedeemCharacterRequest {
|
|
4
|
-
code: string;
|
|
5
|
-
}
|
|
6
|
-
export interface RedeemCharacterResponse {
|
|
7
|
-
characterId: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const RedeemCharacterRequest: MessageFns<RedeemCharacterRequest>;
|
|
10
|
-
export declare const RedeemCharacterResponse: MessageFns<RedeemCharacterResponse>;
|
|
11
|
-
export interface RedeemService {
|
|
12
|
-
RedeemCharacter(request: RedeemCharacterRequest): Promise<RedeemCharacterResponse>;
|
|
13
|
-
}
|
|
14
|
-
export declare const RedeemServiceServiceName = "realtime.v1.RedeemService";
|
|
15
|
-
export declare class RedeemServiceClientImpl implements RedeemService {
|
|
16
|
-
private readonly rpc;
|
|
17
|
-
private readonly service;
|
|
18
|
-
constructor(rpc: Rpc, opts?: {
|
|
19
|
-
service?: string;
|
|
20
|
-
});
|
|
21
|
-
RedeemCharacter(request: RedeemCharacterRequest): Promise<RedeemCharacterResponse>;
|
|
22
|
-
}
|
|
23
|
-
interface Rpc {
|
|
24
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
25
|
-
}
|
|
26
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
-
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 {} ? {
|
|
28
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
-
} : Partial<T>;
|
|
30
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
-
} & {
|
|
34
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
-
};
|
|
36
|
-
export interface MessageFns<T> {
|
|
37
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
38
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
39
|
-
fromJSON(object: any): T;
|
|
40
|
-
toJSON(message: T): unknown;
|
|
41
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
42
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
43
|
-
}
|
|
44
|
-
export {};
|