@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,199 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import { Timestamp } from '../../google/protobuf/timestamp';
|
|
3
|
-
export declare const protobufPackage = "console.v1";
|
|
4
|
-
|
|
5
|
-
export declare enum OAuthProvider {
|
|
6
|
-
OAUTH_PROVIDER_UNSPECIFIED = 0,
|
|
7
|
-
OAUTH_PROVIDER_GITHUB = 1,
|
|
8
|
-
OAUTH_PROVIDER_GOOGLE = 2,
|
|
9
|
-
UNRECOGNIZED = -1
|
|
10
|
-
}
|
|
11
|
-
export declare function oAuthProviderFromJSON(object: any): OAuthProvider;
|
|
12
|
-
export declare function oAuthProviderToJSON(object: OAuthProvider): string;
|
|
13
|
-
|
|
14
|
-
export declare enum VerificationCodeType {
|
|
15
|
-
VERIFICATION_CODE_TYPE_UNSPECIFIED = 0,
|
|
16
|
-
|
|
17
|
-
VERIFICATION_CODE_TYPE_REGISTER = 1,
|
|
18
|
-
|
|
19
|
-
VERIFICATION_CODE_TYPE_RESET_PASSWORD = 2,
|
|
20
|
-
UNRECOGNIZED = -1
|
|
21
|
-
}
|
|
22
|
-
export declare function verificationCodeTypeFromJSON(object: any): VerificationCodeType;
|
|
23
|
-
export declare function verificationCodeTypeToJSON(object: VerificationCodeType): string;
|
|
24
|
-
|
|
25
|
-
export interface ConsoleUser {
|
|
26
|
-
id: string;
|
|
27
|
-
email?: string | undefined;
|
|
28
|
-
username?: string | undefined;
|
|
29
|
-
nickname?: string | undefined;
|
|
30
|
-
avatarUrl?: string | undefined;
|
|
31
|
-
oauthProvider?: OAuthProvider | undefined;
|
|
32
|
-
oauthId?: string | undefined;
|
|
33
|
-
oauthEmail?: string | undefined;
|
|
34
|
-
createdAt?: Timestamp | undefined;
|
|
35
|
-
updatedAt?: Timestamp | undefined;
|
|
36
|
-
lastLoginAt?: Timestamp | undefined;
|
|
37
|
-
emailVerified: boolean;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface RegisterRequest {
|
|
41
|
-
email: string;
|
|
42
|
-
password: string;
|
|
43
|
-
username?: string | undefined;
|
|
44
|
-
nickname?: string | undefined;
|
|
45
|
-
turnstileToken: string;
|
|
46
|
-
}
|
|
47
|
-
export interface RegisterResponse {
|
|
48
|
-
user?: ConsoleUser | undefined;
|
|
49
|
-
token: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export interface LoginRequest {
|
|
53
|
-
email: string;
|
|
54
|
-
password: string;
|
|
55
|
-
}
|
|
56
|
-
export interface LoginResponse {
|
|
57
|
-
user?: ConsoleUser | undefined;
|
|
58
|
-
token: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export interface OAuthLoginRequest {
|
|
62
|
-
provider: OAuthProvider;
|
|
63
|
-
code: string;
|
|
64
|
-
redirectUri?: string | undefined;
|
|
65
|
-
}
|
|
66
|
-
export interface OAuthLoginResponse {
|
|
67
|
-
user?: ConsoleUser | undefined;
|
|
68
|
-
token: string;
|
|
69
|
-
isNewUser: boolean;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export interface GetMeRequest {
|
|
73
|
-
}
|
|
74
|
-
export interface GetMeResponse {
|
|
75
|
-
user?: ConsoleUser | undefined;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export interface UpdateProfileRequest {
|
|
79
|
-
username?: string | undefined;
|
|
80
|
-
nickname?: string | undefined;
|
|
81
|
-
avatarUrl?: string | undefined;
|
|
82
|
-
}
|
|
83
|
-
export interface UpdateProfileResponse {
|
|
84
|
-
user?: ConsoleUser | undefined;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export interface ChangePasswordRequest {
|
|
88
|
-
oldPassword: string;
|
|
89
|
-
newPassword: string;
|
|
90
|
-
}
|
|
91
|
-
export interface ChangePasswordResponse {
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export interface LogoutRequest {
|
|
95
|
-
}
|
|
96
|
-
export interface LogoutResponse {
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export interface SendVerificationCodeRequest {
|
|
100
|
-
type: VerificationCodeType;
|
|
101
|
-
email: string;
|
|
102
|
-
}
|
|
103
|
-
export interface SendVerificationCodeResponse {
|
|
104
|
-
message: string;
|
|
105
|
-
expiresIn: number;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export interface VerifyVerificationCodeRequest {
|
|
109
|
-
type: VerificationCodeType;
|
|
110
|
-
email: string;
|
|
111
|
-
code: string;
|
|
112
|
-
}
|
|
113
|
-
export interface VerifyVerificationCodeResponse {
|
|
114
|
-
verified: boolean;
|
|
115
|
-
message: string;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export interface ResetPasswordRequest {
|
|
119
|
-
email: string;
|
|
120
|
-
code: string;
|
|
121
|
-
newPassword: string;
|
|
122
|
-
}
|
|
123
|
-
export interface ResetPasswordResponse {
|
|
124
|
-
message: string;
|
|
125
|
-
}
|
|
126
|
-
export declare const ConsoleUser: MessageFns<ConsoleUser>;
|
|
127
|
-
export declare const RegisterRequest: MessageFns<RegisterRequest>;
|
|
128
|
-
export declare const RegisterResponse: MessageFns<RegisterResponse>;
|
|
129
|
-
export declare const LoginRequest: MessageFns<LoginRequest>;
|
|
130
|
-
export declare const LoginResponse: MessageFns<LoginResponse>;
|
|
131
|
-
export declare const OAuthLoginRequest: MessageFns<OAuthLoginRequest>;
|
|
132
|
-
export declare const OAuthLoginResponse: MessageFns<OAuthLoginResponse>;
|
|
133
|
-
export declare const GetMeRequest: MessageFns<GetMeRequest>;
|
|
134
|
-
export declare const GetMeResponse: MessageFns<GetMeResponse>;
|
|
135
|
-
export declare const UpdateProfileRequest: MessageFns<UpdateProfileRequest>;
|
|
136
|
-
export declare const UpdateProfileResponse: MessageFns<UpdateProfileResponse>;
|
|
137
|
-
export declare const ChangePasswordRequest: MessageFns<ChangePasswordRequest>;
|
|
138
|
-
export declare const ChangePasswordResponse: MessageFns<ChangePasswordResponse>;
|
|
139
|
-
export declare const LogoutRequest: MessageFns<LogoutRequest>;
|
|
140
|
-
export declare const LogoutResponse: MessageFns<LogoutResponse>;
|
|
141
|
-
export declare const SendVerificationCodeRequest: MessageFns<SendVerificationCodeRequest>;
|
|
142
|
-
export declare const SendVerificationCodeResponse: MessageFns<SendVerificationCodeResponse>;
|
|
143
|
-
export declare const VerifyVerificationCodeRequest: MessageFns<VerifyVerificationCodeRequest>;
|
|
144
|
-
export declare const VerifyVerificationCodeResponse: MessageFns<VerifyVerificationCodeResponse>;
|
|
145
|
-
export declare const ResetPasswordRequest: MessageFns<ResetPasswordRequest>;
|
|
146
|
-
export declare const ResetPasswordResponse: MessageFns<ResetPasswordResponse>;
|
|
147
|
-
|
|
148
|
-
export interface AuthService {
|
|
149
|
-
Register(request: RegisterRequest): Promise<RegisterResponse>;
|
|
150
|
-
Login(request: LoginRequest): Promise<LoginResponse>;
|
|
151
|
-
OAuthLogin(request: OAuthLoginRequest): Promise<OAuthLoginResponse>;
|
|
152
|
-
GetMe(request: GetMeRequest): Promise<GetMeResponse>;
|
|
153
|
-
UpdateProfile(request: UpdateProfileRequest): Promise<UpdateProfileResponse>;
|
|
154
|
-
ChangePassword(request: ChangePasswordRequest): Promise<ChangePasswordResponse>;
|
|
155
|
-
Logout(request: LogoutRequest): Promise<LogoutResponse>;
|
|
156
|
-
SendVerificationCode(request: SendVerificationCodeRequest): Promise<SendVerificationCodeResponse>;
|
|
157
|
-
VerifyVerificationCode(request: VerifyVerificationCodeRequest): Promise<VerifyVerificationCodeResponse>;
|
|
158
|
-
ResetPassword(request: ResetPasswordRequest): Promise<ResetPasswordResponse>;
|
|
159
|
-
}
|
|
160
|
-
export declare const AuthServiceServiceName = "console.v1.AuthService";
|
|
161
|
-
export declare class AuthServiceClientImpl implements AuthService {
|
|
162
|
-
private readonly rpc;
|
|
163
|
-
private readonly service;
|
|
164
|
-
constructor(rpc: Rpc, opts?: {
|
|
165
|
-
service?: string;
|
|
166
|
-
});
|
|
167
|
-
Register(request: RegisterRequest): Promise<RegisterResponse>;
|
|
168
|
-
Login(request: LoginRequest): Promise<LoginResponse>;
|
|
169
|
-
OAuthLogin(request: OAuthLoginRequest): Promise<OAuthLoginResponse>;
|
|
170
|
-
GetMe(request: GetMeRequest): Promise<GetMeResponse>;
|
|
171
|
-
UpdateProfile(request: UpdateProfileRequest): Promise<UpdateProfileResponse>;
|
|
172
|
-
ChangePassword(request: ChangePasswordRequest): Promise<ChangePasswordResponse>;
|
|
173
|
-
Logout(request: LogoutRequest): Promise<LogoutResponse>;
|
|
174
|
-
SendVerificationCode(request: SendVerificationCodeRequest): Promise<SendVerificationCodeResponse>;
|
|
175
|
-
VerifyVerificationCode(request: VerifyVerificationCodeRequest): Promise<VerifyVerificationCodeResponse>;
|
|
176
|
-
ResetPassword(request: ResetPasswordRequest): Promise<ResetPasswordResponse>;
|
|
177
|
-
}
|
|
178
|
-
interface Rpc {
|
|
179
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
180
|
-
}
|
|
181
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
182
|
-
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 {} ? {
|
|
183
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
184
|
-
} : Partial<T>;
|
|
185
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
186
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
187
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
188
|
-
} & {
|
|
189
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
190
|
-
};
|
|
191
|
-
export interface MessageFns<T> {
|
|
192
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
193
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
194
|
-
fromJSON(object: any): T;
|
|
195
|
-
toJSON(message: T): unknown;
|
|
196
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
197
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
198
|
-
}
|
|
199
|
-
export {};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
export declare const protobufPackage = "console.v1";
|
|
3
|
-
|
|
4
|
-
export interface GetCharacterRequest {
|
|
5
|
-
characterId: string;
|
|
6
|
-
userId?: string | undefined;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface CharacterData {
|
|
10
|
-
id: string;
|
|
11
|
-
drivenBaseUrl: string;
|
|
12
|
-
shapeNpy: Uint8Array;
|
|
13
|
-
styleNpy: Uint8Array;
|
|
14
|
-
modelSettings?: {
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
} | undefined;
|
|
17
|
-
backgroundUrl: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface AssetData {
|
|
21
|
-
id: string;
|
|
22
|
-
type: string;
|
|
23
|
-
url: string;
|
|
24
|
-
filename: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface AssetGroupData {
|
|
28
|
-
id: string;
|
|
29
|
-
shapeNpy: Uint8Array;
|
|
30
|
-
assets: AssetData[];
|
|
31
|
-
}
|
|
32
|
-
export interface GetCharacterResponse {
|
|
33
|
-
character?: CharacterData | undefined;
|
|
34
|
-
assetGroup?: AssetGroupData | undefined;
|
|
35
|
-
}
|
|
36
|
-
export declare const GetCharacterRequest: MessageFns<GetCharacterRequest>;
|
|
37
|
-
export declare const CharacterData: MessageFns<CharacterData>;
|
|
38
|
-
export declare const AssetData: MessageFns<AssetData>;
|
|
39
|
-
export declare const AssetGroupData: MessageFns<AssetGroupData>;
|
|
40
|
-
export declare const GetCharacterResponse: MessageFns<GetCharacterResponse>;
|
|
41
|
-
export interface CharacterService {
|
|
42
|
-
GetCharacter(request: GetCharacterRequest): Promise<GetCharacterResponse>;
|
|
43
|
-
}
|
|
44
|
-
export declare const CharacterServiceServiceName = "console.v1.CharacterService";
|
|
45
|
-
export declare class CharacterServiceClientImpl implements CharacterService {
|
|
46
|
-
private readonly rpc;
|
|
47
|
-
private readonly service;
|
|
48
|
-
constructor(rpc: Rpc, opts?: {
|
|
49
|
-
service?: string;
|
|
50
|
-
});
|
|
51
|
-
GetCharacter(request: GetCharacterRequest): Promise<GetCharacterResponse>;
|
|
52
|
-
}
|
|
53
|
-
interface Rpc {
|
|
54
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
55
|
-
}
|
|
56
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
57
|
-
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 {} ? {
|
|
58
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
59
|
-
} : Partial<T>;
|
|
60
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
61
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
62
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
63
|
-
} & {
|
|
64
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
65
|
-
};
|
|
66
|
-
export interface MessageFns<T> {
|
|
67
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
68
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
69
|
-
fromJSON(object: any): T;
|
|
70
|
-
toJSON(message: T): unknown;
|
|
71
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
72
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
73
|
-
}
|
|
74
|
-
export {};
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import { Timestamp } from '../../google/protobuf/timestamp';
|
|
3
|
-
import { PaginationRequest, PaginationResponse, TimeRange } from '../../jsonapi/v1/base';
|
|
4
|
-
export declare const protobufPackage = "console.v1";
|
|
5
|
-
|
|
6
|
-
export declare enum CollectionTaskStatus {
|
|
7
|
-
COLLECTION_TASK_STATUS_UNSPECIFIED = 0,
|
|
8
|
-
COLLECTION_TASK_STATUS_PENDING = 1,
|
|
9
|
-
COLLECTION_TASK_STATUS_COMPLETED = 2,
|
|
10
|
-
COLLECTION_TASK_STATUS_FAILED = 3,
|
|
11
|
-
UNRECOGNIZED = -1
|
|
12
|
-
}
|
|
13
|
-
export declare function collectionTaskStatusFromJSON(object: any): CollectionTaskStatus;
|
|
14
|
-
export declare function collectionTaskStatusToJSON(object: CollectionTaskStatus): string;
|
|
15
|
-
|
|
16
|
-
export interface CollectionTask {
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
description: string;
|
|
20
|
-
shareToken: string;
|
|
21
|
-
expiresAt?: Timestamp | undefined;
|
|
22
|
-
isUsed: boolean;
|
|
23
|
-
creatorId: string;
|
|
24
|
-
status: CollectionTaskStatus;
|
|
25
|
-
materialId?: string | undefined;
|
|
26
|
-
failureReason?: string | undefined;
|
|
27
|
-
createdAt?: Timestamp | undefined;
|
|
28
|
-
updatedAt?: Timestamp | undefined;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface CreateCollectionTaskRequest {
|
|
32
|
-
name: string;
|
|
33
|
-
description: string;
|
|
34
|
-
expiresAt?: Timestamp | undefined;
|
|
35
|
-
creatorId?: string | undefined;
|
|
36
|
-
userPhone?: string | undefined;
|
|
37
|
-
}
|
|
38
|
-
export interface CreateCollectionTaskResponse {
|
|
39
|
-
collectionTask?: CollectionTask | undefined;
|
|
40
|
-
shareUrl: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface GetCollectionTaskRequest {
|
|
44
|
-
id: string;
|
|
45
|
-
}
|
|
46
|
-
export interface GetCollectionTaskResponse {
|
|
47
|
-
collectionTask?: CollectionTask | undefined;
|
|
48
|
-
shareUrl: string;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export interface ListCollectionTasksRequest {
|
|
52
|
-
pagination?: PaginationRequest | undefined;
|
|
53
|
-
collectionTaskStatuses: CollectionTaskStatus[];
|
|
54
|
-
nameSearch?: string | undefined;
|
|
55
|
-
creatorIds: string[];
|
|
56
|
-
timeRange?: TimeRange | undefined;
|
|
57
|
-
expiresTimeRange?: TimeRange | undefined;
|
|
58
|
-
}
|
|
59
|
-
export interface ListCollectionTasksResponse {
|
|
60
|
-
collectionTasks: CollectionTask[];
|
|
61
|
-
pagination?: PaginationResponse | undefined;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export interface UpdateCollectionTaskRequest {
|
|
65
|
-
id: string;
|
|
66
|
-
name?: string | undefined;
|
|
67
|
-
description?: string | undefined;
|
|
68
|
-
}
|
|
69
|
-
export interface UpdateCollectionTaskResponse {
|
|
70
|
-
collectionTask?: CollectionTask | undefined;
|
|
71
|
-
shareUrl: string;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export interface DeleteCollectionTaskRequest {
|
|
75
|
-
id: string;
|
|
76
|
-
}
|
|
77
|
-
export interface DeleteCollectionTaskResponse {
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface GetCollectionTaskByTokenRequest {
|
|
81
|
-
token: string;
|
|
82
|
-
}
|
|
83
|
-
export interface GetCollectionTaskByTokenResponse {
|
|
84
|
-
collectionTask?: CollectionTask | undefined;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export interface GetCollectionTaskOSSCredentialsRequest {
|
|
88
|
-
token: string;
|
|
89
|
-
resourcePath: string;
|
|
90
|
-
durationSeconds?: string | undefined;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export interface GetCollectionTaskOSSCredentialsResponse {
|
|
94
|
-
accessKeyId: string;
|
|
95
|
-
secretAccessKey: string;
|
|
96
|
-
sessionToken: string;
|
|
97
|
-
expiration: string;
|
|
98
|
-
region: string;
|
|
99
|
-
bucketName: string;
|
|
100
|
-
provider: string;
|
|
101
|
-
baseUrl: string;
|
|
102
|
-
accountId: string;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export interface SubmitCollectionFileRequest {
|
|
106
|
-
token: string;
|
|
107
|
-
fileUrl: string;
|
|
108
|
-
fileType: string;
|
|
109
|
-
r2Key: string;
|
|
110
|
-
duration?: number | undefined;
|
|
111
|
-
resolution?: string | undefined;
|
|
112
|
-
fileSize?: string | undefined;
|
|
113
|
-
}
|
|
114
|
-
export interface SubmitCollectionFileResponse {
|
|
115
|
-
materialId: string;
|
|
116
|
-
message: string;
|
|
117
|
-
}
|
|
118
|
-
export declare const CollectionTask: MessageFns<CollectionTask>;
|
|
119
|
-
export declare const CreateCollectionTaskRequest: MessageFns<CreateCollectionTaskRequest>;
|
|
120
|
-
export declare const CreateCollectionTaskResponse: MessageFns<CreateCollectionTaskResponse>;
|
|
121
|
-
export declare const GetCollectionTaskRequest: MessageFns<GetCollectionTaskRequest>;
|
|
122
|
-
export declare const GetCollectionTaskResponse: MessageFns<GetCollectionTaskResponse>;
|
|
123
|
-
export declare const ListCollectionTasksRequest: MessageFns<ListCollectionTasksRequest>;
|
|
124
|
-
export declare const ListCollectionTasksResponse: MessageFns<ListCollectionTasksResponse>;
|
|
125
|
-
export declare const UpdateCollectionTaskRequest: MessageFns<UpdateCollectionTaskRequest>;
|
|
126
|
-
export declare const UpdateCollectionTaskResponse: MessageFns<UpdateCollectionTaskResponse>;
|
|
127
|
-
export declare const DeleteCollectionTaskRequest: MessageFns<DeleteCollectionTaskRequest>;
|
|
128
|
-
export declare const DeleteCollectionTaskResponse: MessageFns<DeleteCollectionTaskResponse>;
|
|
129
|
-
export declare const GetCollectionTaskByTokenRequest: MessageFns<GetCollectionTaskByTokenRequest>;
|
|
130
|
-
export declare const GetCollectionTaskByTokenResponse: MessageFns<GetCollectionTaskByTokenResponse>;
|
|
131
|
-
export declare const GetCollectionTaskOSSCredentialsRequest: MessageFns<GetCollectionTaskOSSCredentialsRequest>;
|
|
132
|
-
export declare const GetCollectionTaskOSSCredentialsResponse: MessageFns<GetCollectionTaskOSSCredentialsResponse>;
|
|
133
|
-
export declare const SubmitCollectionFileRequest: MessageFns<SubmitCollectionFileRequest>;
|
|
134
|
-
export declare const SubmitCollectionFileResponse: MessageFns<SubmitCollectionFileResponse>;
|
|
135
|
-
|
|
136
|
-
export interface CollectionTaskService {
|
|
137
|
-
CreateCollectionTask(request: CreateCollectionTaskRequest): Promise<CreateCollectionTaskResponse>;
|
|
138
|
-
GetCollectionTask(request: GetCollectionTaskRequest): Promise<GetCollectionTaskResponse>;
|
|
139
|
-
ListCollectionTasks(request: ListCollectionTasksRequest): Promise<ListCollectionTasksResponse>;
|
|
140
|
-
UpdateCollectionTask(request: UpdateCollectionTaskRequest): Promise<UpdateCollectionTaskResponse>;
|
|
141
|
-
DeleteCollectionTask(request: DeleteCollectionTaskRequest): Promise<DeleteCollectionTaskResponse>;
|
|
142
|
-
GetCollectionTaskByToken(request: GetCollectionTaskByTokenRequest): Promise<GetCollectionTaskByTokenResponse>;
|
|
143
|
-
GetCollectionTaskOSSCredentials(request: GetCollectionTaskOSSCredentialsRequest): Promise<GetCollectionTaskOSSCredentialsResponse>;
|
|
144
|
-
SubmitCollectionFile(request: SubmitCollectionFileRequest): Promise<SubmitCollectionFileResponse>;
|
|
145
|
-
}
|
|
146
|
-
export declare const CollectionTaskServiceServiceName = "console.v1.CollectionTaskService";
|
|
147
|
-
export declare class CollectionTaskServiceClientImpl implements CollectionTaskService {
|
|
148
|
-
private readonly rpc;
|
|
149
|
-
private readonly service;
|
|
150
|
-
constructor(rpc: Rpc, opts?: {
|
|
151
|
-
service?: string;
|
|
152
|
-
});
|
|
153
|
-
CreateCollectionTask(request: CreateCollectionTaskRequest): Promise<CreateCollectionTaskResponse>;
|
|
154
|
-
GetCollectionTask(request: GetCollectionTaskRequest): Promise<GetCollectionTaskResponse>;
|
|
155
|
-
ListCollectionTasks(request: ListCollectionTasksRequest): Promise<ListCollectionTasksResponse>;
|
|
156
|
-
UpdateCollectionTask(request: UpdateCollectionTaskRequest): Promise<UpdateCollectionTaskResponse>;
|
|
157
|
-
DeleteCollectionTask(request: DeleteCollectionTaskRequest): Promise<DeleteCollectionTaskResponse>;
|
|
158
|
-
GetCollectionTaskByToken(request: GetCollectionTaskByTokenRequest): Promise<GetCollectionTaskByTokenResponse>;
|
|
159
|
-
GetCollectionTaskOSSCredentials(request: GetCollectionTaskOSSCredentialsRequest): Promise<GetCollectionTaskOSSCredentialsResponse>;
|
|
160
|
-
SubmitCollectionFile(request: SubmitCollectionFileRequest): Promise<SubmitCollectionFileResponse>;
|
|
161
|
-
}
|
|
162
|
-
interface Rpc {
|
|
163
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
164
|
-
}
|
|
165
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
166
|
-
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 {} ? {
|
|
167
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
168
|
-
} : Partial<T>;
|
|
169
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
170
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
171
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
172
|
-
} & {
|
|
173
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
174
|
-
};
|
|
175
|
-
export interface MessageFns<T> {
|
|
176
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
177
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
178
|
-
fromJSON(object: any): T;
|
|
179
|
-
toJSON(message: T): unknown;
|
|
180
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
181
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
182
|
-
}
|
|
183
|
-
export {};
|
|
@@ -1,163 +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 = "console.v1";
|
|
5
|
-
export interface CreateAppRequest {
|
|
6
|
-
name: string;
|
|
7
|
-
createdBy?: string | undefined;
|
|
8
|
-
}
|
|
9
|
-
export interface CreateAppResponse {
|
|
10
|
-
appId: string;
|
|
11
|
-
}
|
|
12
|
-
export interface CreateAPIKeyRequest {
|
|
13
|
-
appId: string;
|
|
14
|
-
createdBy?: string | undefined;
|
|
15
|
-
}
|
|
16
|
-
export interface CreateAPIKeyResponse {
|
|
17
|
-
apiKey?: APIKey | undefined;
|
|
18
|
-
}
|
|
19
|
-
export interface CreateSessionTokenRequest {
|
|
20
|
-
expireAt: string;
|
|
21
|
-
modelVersion: string;
|
|
22
|
-
}
|
|
23
|
-
export interface CreateSessionTokenResponse {
|
|
24
|
-
sessionToken: string;
|
|
25
|
-
}
|
|
26
|
-
export interface ValidateSessionTokenRequest {
|
|
27
|
-
sessionToken: string;
|
|
28
|
-
}
|
|
29
|
-
export interface ValidateSessionTokenResponse {
|
|
30
|
-
appId: string;
|
|
31
|
-
version: string;
|
|
32
|
-
code: number;
|
|
33
|
-
message: string;
|
|
34
|
-
userId: string;
|
|
35
|
-
}
|
|
36
|
-
export interface GetOSSCredentialsRequest {
|
|
37
|
-
resourcePath: string;
|
|
38
|
-
durationSeconds: string;
|
|
39
|
-
}
|
|
40
|
-
export interface GetOSSCredentialsResponse {
|
|
41
|
-
accessKeyId: string;
|
|
42
|
-
secretAccessKey: string;
|
|
43
|
-
sessionToken: string;
|
|
44
|
-
expiration: string;
|
|
45
|
-
region: string;
|
|
46
|
-
bucketName: string;
|
|
47
|
-
provider: string;
|
|
48
|
-
baseUrl: string;
|
|
49
|
-
accountId: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export interface APIKey {
|
|
53
|
-
apiKey: string;
|
|
54
|
-
createdAt?: Timestamp | undefined;
|
|
55
|
-
createdBy?: string | undefined;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface App {
|
|
59
|
-
appId: string;
|
|
60
|
-
name: string;
|
|
61
|
-
apiKeys: APIKey[];
|
|
62
|
-
createdAt?: Timestamp | undefined;
|
|
63
|
-
updatedAt?: Timestamp | undefined;
|
|
64
|
-
createdBy?: string | undefined;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export interface ListAppsRequest {
|
|
68
|
-
pagination?: PaginationRequest | undefined;
|
|
69
|
-
}
|
|
70
|
-
export interface ListAppsResponse {
|
|
71
|
-
apps: App[];
|
|
72
|
-
pagination?: PaginationResponse | undefined;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export interface GetAppRequest {
|
|
76
|
-
appId: string;
|
|
77
|
-
}
|
|
78
|
-
export interface GetAppResponse {
|
|
79
|
-
app?: App | undefined;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export interface DeleteAppRequest {
|
|
83
|
-
appId: string;
|
|
84
|
-
}
|
|
85
|
-
export interface DeleteAppResponse {
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface DeleteAppKeyRequest {
|
|
89
|
-
appId: string;
|
|
90
|
-
apiKey: string;
|
|
91
|
-
}
|
|
92
|
-
export interface DeleteAppKeyResponse {
|
|
93
|
-
}
|
|
94
|
-
export declare const CreateAppRequest: MessageFns<CreateAppRequest>;
|
|
95
|
-
export declare const CreateAppResponse: MessageFns<CreateAppResponse>;
|
|
96
|
-
export declare const CreateAPIKeyRequest: MessageFns<CreateAPIKeyRequest>;
|
|
97
|
-
export declare const CreateAPIKeyResponse: MessageFns<CreateAPIKeyResponse>;
|
|
98
|
-
export declare const CreateSessionTokenRequest: MessageFns<CreateSessionTokenRequest>;
|
|
99
|
-
export declare const CreateSessionTokenResponse: MessageFns<CreateSessionTokenResponse>;
|
|
100
|
-
export declare const ValidateSessionTokenRequest: MessageFns<ValidateSessionTokenRequest>;
|
|
101
|
-
export declare const ValidateSessionTokenResponse: MessageFns<ValidateSessionTokenResponse>;
|
|
102
|
-
export declare const GetOSSCredentialsRequest: MessageFns<GetOSSCredentialsRequest>;
|
|
103
|
-
export declare const GetOSSCredentialsResponse: MessageFns<GetOSSCredentialsResponse>;
|
|
104
|
-
export declare const APIKey: MessageFns<APIKey>;
|
|
105
|
-
export declare const App: MessageFns<App>;
|
|
106
|
-
export declare const ListAppsRequest: MessageFns<ListAppsRequest>;
|
|
107
|
-
export declare const ListAppsResponse: MessageFns<ListAppsResponse>;
|
|
108
|
-
export declare const GetAppRequest: MessageFns<GetAppRequest>;
|
|
109
|
-
export declare const GetAppResponse: MessageFns<GetAppResponse>;
|
|
110
|
-
export declare const DeleteAppRequest: MessageFns<DeleteAppRequest>;
|
|
111
|
-
export declare const DeleteAppResponse: MessageFns<DeleteAppResponse>;
|
|
112
|
-
export declare const DeleteAppKeyRequest: MessageFns<DeleteAppKeyRequest>;
|
|
113
|
-
export declare const DeleteAppKeyResponse: MessageFns<DeleteAppKeyResponse>;
|
|
114
|
-
export interface ConsoleService {
|
|
115
|
-
CreateApp(request: CreateAppRequest): Promise<CreateAppResponse>;
|
|
116
|
-
ListApps(request: ListAppsRequest): Promise<ListAppsResponse>;
|
|
117
|
-
GetApp(request: GetAppRequest): Promise<GetAppResponse>;
|
|
118
|
-
DeleteApp(request: DeleteAppRequest): Promise<DeleteAppResponse>;
|
|
119
|
-
CreateAPIKey(request: CreateAPIKeyRequest): Promise<CreateAPIKeyResponse>;
|
|
120
|
-
DeleteAppKey(request: DeleteAppKeyRequest): Promise<DeleteAppKeyResponse>;
|
|
121
|
-
CreateSessionToken(request: CreateSessionTokenRequest): Promise<CreateSessionTokenResponse>;
|
|
122
|
-
ValidateSessionToken(request: ValidateSessionTokenRequest): Promise<ValidateSessionTokenResponse>;
|
|
123
|
-
GetOSSCredentials(request: GetOSSCredentialsRequest): Promise<GetOSSCredentialsResponse>;
|
|
124
|
-
}
|
|
125
|
-
export declare const ConsoleServiceServiceName = "console.v1.ConsoleService";
|
|
126
|
-
export declare class ConsoleServiceClientImpl implements ConsoleService {
|
|
127
|
-
private readonly rpc;
|
|
128
|
-
private readonly service;
|
|
129
|
-
constructor(rpc: Rpc, opts?: {
|
|
130
|
-
service?: string;
|
|
131
|
-
});
|
|
132
|
-
CreateApp(request: CreateAppRequest): Promise<CreateAppResponse>;
|
|
133
|
-
ListApps(request: ListAppsRequest): Promise<ListAppsResponse>;
|
|
134
|
-
GetApp(request: GetAppRequest): Promise<GetAppResponse>;
|
|
135
|
-
DeleteApp(request: DeleteAppRequest): Promise<DeleteAppResponse>;
|
|
136
|
-
CreateAPIKey(request: CreateAPIKeyRequest): Promise<CreateAPIKeyResponse>;
|
|
137
|
-
DeleteAppKey(request: DeleteAppKeyRequest): Promise<DeleteAppKeyResponse>;
|
|
138
|
-
CreateSessionToken(request: CreateSessionTokenRequest): Promise<CreateSessionTokenResponse>;
|
|
139
|
-
ValidateSessionToken(request: ValidateSessionTokenRequest): Promise<ValidateSessionTokenResponse>;
|
|
140
|
-
GetOSSCredentials(request: GetOSSCredentialsRequest): Promise<GetOSSCredentialsResponse>;
|
|
141
|
-
}
|
|
142
|
-
interface Rpc {
|
|
143
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
144
|
-
}
|
|
145
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
146
|
-
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 {} ? {
|
|
147
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
148
|
-
} : Partial<T>;
|
|
149
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
150
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
151
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
152
|
-
} & {
|
|
153
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
154
|
-
};
|
|
155
|
-
export interface MessageFns<T> {
|
|
156
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
157
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
158
|
-
fromJSON(object: any): T;
|
|
159
|
-
toJSON(message: T): unknown;
|
|
160
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
161
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
162
|
-
}
|
|
163
|
-
export {};
|