@spatialwalk/avatarkit 1.0.0-beta.40 → 1.0.0-beta.41
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 +9 -0
- package/dist/{StreamingAudioPlayer-hJgaKVC3.js → StreamingAudioPlayer-BXytpr5T.js} +1 -1
- package/dist/config/constants.d.ts +2 -9
- package/dist/core/AvatarView.d.ts +0 -4
- package/dist/{index-BxhQDfJ7.js → index-CRKYjlwp.js} +127 -200
- 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,378 +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 { Redeem } from './redeem';
|
|
5
|
-
export declare const protobufPackage = "platform.v1";
|
|
6
|
-
export declare enum CharacterType {
|
|
7
|
-
CHARACTER_TYPE_UNSPECIFIED = 0,
|
|
8
|
-
CHARACTER_TYPE_TEMPLATE = 1,
|
|
9
|
-
CHARACTER_TYPE_CUSTOM = 2,
|
|
10
|
-
UNRECOGNIZED = -1
|
|
11
|
-
}
|
|
12
|
-
export declare function characterTypeFromJSON(object: any): CharacterType;
|
|
13
|
-
export declare function characterTypeToJSON(object: CharacterType): string;
|
|
14
|
-
export declare enum CharacterStatus {
|
|
15
|
-
CHARACTER_STATUS_UNSPECIFIED = 0,
|
|
16
|
-
CHARACTER_STATUS_ONLINE = 1,
|
|
17
|
-
CHARACTER_STATUS_OFFLINE = 2,
|
|
18
|
-
UNRECOGNIZED = -1
|
|
19
|
-
}
|
|
20
|
-
export declare function characterStatusFromJSON(object: any): CharacterStatus;
|
|
21
|
-
export declare function characterStatusToJSON(object: CharacterStatus): string;
|
|
22
|
-
export declare enum CharacterScene {
|
|
23
|
-
CHARACTER_SCENE_UNSPECIFIED = 0,
|
|
24
|
-
CHARACTER_SCENE_MONOLOGUE = 1,
|
|
25
|
-
CHARACTER_SCENE_DIALOGUE = 2,
|
|
26
|
-
CHARACTER_SCENE_VIDEO = 3,
|
|
27
|
-
UNRECOGNIZED = -1
|
|
28
|
-
}
|
|
29
|
-
export declare function characterSceneFromJSON(object: any): CharacterScene;
|
|
30
|
-
export declare function characterSceneToJSON(object: CharacterScene): string;
|
|
31
|
-
export declare enum CharacterVersion {
|
|
32
|
-
CHARACTER_VERSION_UNSPECIFIED = 0,
|
|
33
|
-
|
|
34
|
-
CHARACTER_VERSION_0_9 = 1,
|
|
35
|
-
|
|
36
|
-
CHARACTER_VERSION_1_0 = 2,
|
|
37
|
-
|
|
38
|
-
CHARACTER_VERSION_1_1 = 3,
|
|
39
|
-
UNRECOGNIZED = -1
|
|
40
|
-
}
|
|
41
|
-
export declare function characterVersionFromJSON(object: any): CharacterVersion;
|
|
42
|
-
export declare function characterVersionToJSON(object: CharacterVersion): string;
|
|
43
|
-
export declare enum CharacterMode {
|
|
44
|
-
REALTIME = 0,
|
|
45
|
-
CASCADE = 1,
|
|
46
|
-
UNRECOGNIZED = -1
|
|
47
|
-
}
|
|
48
|
-
export declare function characterModeFromJSON(object: any): CharacterMode;
|
|
49
|
-
export declare function characterModeToJSON(object: CharacterMode): string;
|
|
50
|
-
export declare enum CharacterSortField {
|
|
51
|
-
CHARACTER_SORT_FIELD_UNSPECIFIED = 0,
|
|
52
|
-
CHARACTER_SORT_FIELD_PRIORITY = 1,
|
|
53
|
-
CHARACTER_SORT_FIELD_UPDATED_AT = 2,
|
|
54
|
-
UNRECOGNIZED = -1
|
|
55
|
-
}
|
|
56
|
-
export declare function characterSortFieldFromJSON(object: any): CharacterSortField;
|
|
57
|
-
export declare function characterSortFieldToJSON(object: CharacterSortField): string;
|
|
58
|
-
export declare enum SortOrder {
|
|
59
|
-
SORT_ORDER_UNSPECIFIED = 0,
|
|
60
|
-
SORT_ORDER_ASC = 1,
|
|
61
|
-
SORT_ORDER_DESC = 2,
|
|
62
|
-
UNRECOGNIZED = -1
|
|
63
|
-
}
|
|
64
|
-
export declare function sortOrderFromJSON(object: any): SortOrder;
|
|
65
|
-
export declare function sortOrderToJSON(object: SortOrder): string;
|
|
66
|
-
export interface BrainProviderSettings {
|
|
67
|
-
model: string;
|
|
68
|
-
}
|
|
69
|
-
export interface BrainSettings {
|
|
70
|
-
platform: string;
|
|
71
|
-
settings?: BrainProviderSettings | undefined;
|
|
72
|
-
}
|
|
73
|
-
export interface VoiceProviderSettings {
|
|
74
|
-
speaker: string;
|
|
75
|
-
pitchRate: number;
|
|
76
|
-
speechRate: number;
|
|
77
|
-
cartesiaSpeed: string;
|
|
78
|
-
fishaudioSpeed: number;
|
|
79
|
-
fishaudioVolume: number;
|
|
80
|
-
}
|
|
81
|
-
export interface VoiceSettings {
|
|
82
|
-
platform: string;
|
|
83
|
-
settings?: VoiceProviderSettings | undefined;
|
|
84
|
-
}
|
|
85
|
-
export interface RealtimeSettings {
|
|
86
|
-
platform: string;
|
|
87
|
-
settings?: RealtimeProviderSettings | undefined;
|
|
88
|
-
}
|
|
89
|
-
export interface RealtimeProviderSettings {
|
|
90
|
-
voiceId: string;
|
|
91
|
-
}
|
|
92
|
-
export interface EarProviderSettings {
|
|
93
|
-
language: string;
|
|
94
|
-
prompt: string;
|
|
95
|
-
}
|
|
96
|
-
export interface EarSettings {
|
|
97
|
-
platform: string;
|
|
98
|
-
settings?: EarProviderSettings | undefined;
|
|
99
|
-
}
|
|
100
|
-
export interface Character {
|
|
101
|
-
id: string;
|
|
102
|
-
name: string;
|
|
103
|
-
description: string;
|
|
104
|
-
status: string;
|
|
105
|
-
updatedAt?: Timestamp | undefined;
|
|
106
|
-
priority: number;
|
|
107
|
-
coverUrl: string;
|
|
108
|
-
backgroundUrl: string;
|
|
109
|
-
createdBy: string;
|
|
110
|
-
redeem?: Redeem | undefined;
|
|
111
|
-
encoderStartFrame: number;
|
|
112
|
-
characterTemplateId?: string | undefined;
|
|
113
|
-
listNames: string[];
|
|
114
|
-
}
|
|
115
|
-
export interface FullCharacter {
|
|
116
|
-
id: string;
|
|
117
|
-
scene: string[];
|
|
118
|
-
version: string;
|
|
119
|
-
brain?: BrainSettings | undefined;
|
|
120
|
-
voice?: VoiceSettings | undefined;
|
|
121
|
-
ear?: EarSettings | undefined;
|
|
122
|
-
realtime?: RealtimeSettings | undefined;
|
|
123
|
-
mode: string;
|
|
124
|
-
name: string;
|
|
125
|
-
description: string;
|
|
126
|
-
systemPrompt: string;
|
|
127
|
-
status: string;
|
|
128
|
-
drivenBaseUrl: string;
|
|
129
|
-
shapeNpy: Uint8Array;
|
|
130
|
-
styleNpy: Uint8Array;
|
|
131
|
-
modelSettings?: {
|
|
132
|
-
[key: string]: any;
|
|
133
|
-
} | undefined;
|
|
134
|
-
characterSettings?: {
|
|
135
|
-
[key: string]: any;
|
|
136
|
-
} | undefined;
|
|
137
|
-
modelInfo?: {
|
|
138
|
-
[key: string]: any;
|
|
139
|
-
} | undefined;
|
|
140
|
-
updatedAt?: Timestamp | undefined;
|
|
141
|
-
priority: number;
|
|
142
|
-
coverUrl: string;
|
|
143
|
-
backgroundUrl: string;
|
|
144
|
-
redeem?: Redeem | undefined;
|
|
145
|
-
assetGroupIds: string[];
|
|
146
|
-
encoderStartFrame: number;
|
|
147
|
-
characterTemplateId?: string | undefined;
|
|
148
|
-
}
|
|
149
|
-
export interface CreateCharacterRequest {
|
|
150
|
-
templateId: string;
|
|
151
|
-
scene: string[];
|
|
152
|
-
version: string;
|
|
153
|
-
priority: number;
|
|
154
|
-
characterCard: {
|
|
155
|
-
[key: string]: string;
|
|
156
|
-
};
|
|
157
|
-
brain?: BrainSettings | undefined;
|
|
158
|
-
voice?: VoiceSettings | undefined;
|
|
159
|
-
ear?: EarSettings | undefined;
|
|
160
|
-
realtime?: RealtimeSettings | undefined;
|
|
161
|
-
mode: string;
|
|
162
|
-
name: string;
|
|
163
|
-
description: string;
|
|
164
|
-
systemPrompt: string;
|
|
165
|
-
status: string;
|
|
166
|
-
drivenBaseUrl: string;
|
|
167
|
-
shapeNpy: Uint8Array;
|
|
168
|
-
styleNpy: Uint8Array;
|
|
169
|
-
modelSettings?: {
|
|
170
|
-
[key: string]: any;
|
|
171
|
-
} | undefined;
|
|
172
|
-
modelInfo?: {
|
|
173
|
-
[key: string]: any;
|
|
174
|
-
} | undefined;
|
|
175
|
-
characterSettings?: {
|
|
176
|
-
[key: string]: any;
|
|
177
|
-
} | undefined;
|
|
178
|
-
coverUrl: string;
|
|
179
|
-
backgroundUrl: string;
|
|
180
|
-
assetGroupIds: string[];
|
|
181
|
-
encoderStartFrame: number;
|
|
182
|
-
characterTemplateId?: string | undefined;
|
|
183
|
-
}
|
|
184
|
-
export interface CreateCharacterRequest_CharacterCardEntry {
|
|
185
|
-
key: string;
|
|
186
|
-
value: string;
|
|
187
|
-
}
|
|
188
|
-
export interface CreateCharacterResponse {
|
|
189
|
-
character?: Character | undefined;
|
|
190
|
-
}
|
|
191
|
-
export interface GetCharacterRequest {
|
|
192
|
-
id: string;
|
|
193
|
-
}
|
|
194
|
-
export interface GetCharacterResponse {
|
|
195
|
-
character?: FullCharacter | undefined;
|
|
196
|
-
}
|
|
197
|
-
export interface UpdateCharacterRequest {
|
|
198
|
-
id: string;
|
|
199
|
-
scene: string[];
|
|
200
|
-
version?: string | undefined;
|
|
201
|
-
priority: number;
|
|
202
|
-
characterCard: {
|
|
203
|
-
[key: string]: string;
|
|
204
|
-
};
|
|
205
|
-
brain?: BrainSettings | undefined;
|
|
206
|
-
voice?: VoiceSettings | undefined;
|
|
207
|
-
ear?: EarSettings | undefined;
|
|
208
|
-
realtime?: RealtimeSettings | undefined;
|
|
209
|
-
mode: string;
|
|
210
|
-
name?: string | undefined;
|
|
211
|
-
description?: string | undefined;
|
|
212
|
-
systemPrompt?: string | undefined;
|
|
213
|
-
status?: string | undefined;
|
|
214
|
-
drivenBaseUrl?: string | undefined;
|
|
215
|
-
shapeNpy?: Uint8Array | undefined;
|
|
216
|
-
styleNpy?: Uint8Array | undefined;
|
|
217
|
-
modelSettings?: {
|
|
218
|
-
[key: string]: any;
|
|
219
|
-
} | undefined;
|
|
220
|
-
modelInfo?: {
|
|
221
|
-
[key: string]: any;
|
|
222
|
-
} | undefined;
|
|
223
|
-
characterSettings?: {
|
|
224
|
-
[key: string]: any;
|
|
225
|
-
} | undefined;
|
|
226
|
-
coverUrl?: string | undefined;
|
|
227
|
-
backgroundUrl?: string | undefined;
|
|
228
|
-
assetGroupIds: string[];
|
|
229
|
-
encoderStartFrame?: number | undefined;
|
|
230
|
-
}
|
|
231
|
-
export interface UpdateCharacterRequest_CharacterCardEntry {
|
|
232
|
-
key: string;
|
|
233
|
-
value: string;
|
|
234
|
-
}
|
|
235
|
-
export interface UpdateCharacterResponse {
|
|
236
|
-
character?: Character | undefined;
|
|
237
|
-
}
|
|
238
|
-
export interface CopyCharacterRequest {
|
|
239
|
-
id: string;
|
|
240
|
-
}
|
|
241
|
-
export interface CopyCharacterResponse {
|
|
242
|
-
character?: Character | undefined;
|
|
243
|
-
}
|
|
244
|
-
export interface DeleteCharacterRequest {
|
|
245
|
-
id: string;
|
|
246
|
-
}
|
|
247
|
-
export interface DeleteCharacterResponse {
|
|
248
|
-
}
|
|
249
|
-
export interface ListCharactersRequest {
|
|
250
|
-
pagination?: PaginationRequest | undefined;
|
|
251
|
-
characterStatus: string[];
|
|
252
|
-
name?: string | undefined;
|
|
253
|
-
id?: string | undefined;
|
|
254
|
-
createdBy?: string | undefined;
|
|
255
|
-
drivenProviderId?: string | undefined;
|
|
256
|
-
llmProviderId?: string | undefined;
|
|
257
|
-
ttsProviderId?: string | undefined;
|
|
258
|
-
asrProviderId?: string | undefined;
|
|
259
|
-
assetGroupId?: string | undefined;
|
|
260
|
-
characterTemplateId?: string | undefined;
|
|
261
|
-
listName?: string | undefined;
|
|
262
|
-
sortBy?: CharacterSortField | undefined;
|
|
263
|
-
sortOrder?: SortOrder | undefined;
|
|
264
|
-
}
|
|
265
|
-
export interface ListCharactersResponse {
|
|
266
|
-
characters: Character[];
|
|
267
|
-
pagination?: PaginationResponse | undefined;
|
|
268
|
-
}
|
|
269
|
-
export interface SyncCharacterRequest {
|
|
270
|
-
id: string;
|
|
271
|
-
targetRegion: string;
|
|
272
|
-
}
|
|
273
|
-
export interface SyncCharacterResponse {
|
|
274
|
-
character?: Character | undefined;
|
|
275
|
-
}
|
|
276
|
-
export interface ProcessCoefRequest {
|
|
277
|
-
startFrame?: number | undefined;
|
|
278
|
-
coefNpz: Uint8Array;
|
|
279
|
-
version: string;
|
|
280
|
-
}
|
|
281
|
-
export interface ProcessCoefResponse {
|
|
282
|
-
styleNpy: Uint8Array;
|
|
283
|
-
}
|
|
284
|
-
export interface SetCharacterListsRequest {
|
|
285
|
-
characterId: string;
|
|
286
|
-
listNames: string[];
|
|
287
|
-
}
|
|
288
|
-
export interface SetCharacterListsResponse {
|
|
289
|
-
}
|
|
290
|
-
export interface ListCharacterListsRequest {
|
|
291
|
-
}
|
|
292
|
-
export interface ListCharacterListsResponse {
|
|
293
|
-
listNames: string[];
|
|
294
|
-
}
|
|
295
|
-
export declare const BrainProviderSettings: MessageFns<BrainProviderSettings>;
|
|
296
|
-
export declare const BrainSettings: MessageFns<BrainSettings>;
|
|
297
|
-
export declare const VoiceProviderSettings: MessageFns<VoiceProviderSettings>;
|
|
298
|
-
export declare const VoiceSettings: MessageFns<VoiceSettings>;
|
|
299
|
-
export declare const RealtimeSettings: MessageFns<RealtimeSettings>;
|
|
300
|
-
export declare const RealtimeProviderSettings: MessageFns<RealtimeProviderSettings>;
|
|
301
|
-
export declare const EarProviderSettings: MessageFns<EarProviderSettings>;
|
|
302
|
-
export declare const EarSettings: MessageFns<EarSettings>;
|
|
303
|
-
export declare const Character: MessageFns<Character>;
|
|
304
|
-
export declare const FullCharacter: MessageFns<FullCharacter>;
|
|
305
|
-
export declare const CreateCharacterRequest: MessageFns<CreateCharacterRequest>;
|
|
306
|
-
export declare const CreateCharacterRequest_CharacterCardEntry: MessageFns<CreateCharacterRequest_CharacterCardEntry>;
|
|
307
|
-
export declare const CreateCharacterResponse: MessageFns<CreateCharacterResponse>;
|
|
308
|
-
export declare const GetCharacterRequest: MessageFns<GetCharacterRequest>;
|
|
309
|
-
export declare const GetCharacterResponse: MessageFns<GetCharacterResponse>;
|
|
310
|
-
export declare const UpdateCharacterRequest: MessageFns<UpdateCharacterRequest>;
|
|
311
|
-
export declare const UpdateCharacterRequest_CharacterCardEntry: MessageFns<UpdateCharacterRequest_CharacterCardEntry>;
|
|
312
|
-
export declare const UpdateCharacterResponse: MessageFns<UpdateCharacterResponse>;
|
|
313
|
-
export declare const CopyCharacterRequest: MessageFns<CopyCharacterRequest>;
|
|
314
|
-
export declare const CopyCharacterResponse: MessageFns<CopyCharacterResponse>;
|
|
315
|
-
export declare const DeleteCharacterRequest: MessageFns<DeleteCharacterRequest>;
|
|
316
|
-
export declare const DeleteCharacterResponse: MessageFns<DeleteCharacterResponse>;
|
|
317
|
-
export declare const ListCharactersRequest: MessageFns<ListCharactersRequest>;
|
|
318
|
-
export declare const ListCharactersResponse: MessageFns<ListCharactersResponse>;
|
|
319
|
-
export declare const SyncCharacterRequest: MessageFns<SyncCharacterRequest>;
|
|
320
|
-
export declare const SyncCharacterResponse: MessageFns<SyncCharacterResponse>;
|
|
321
|
-
export declare const ProcessCoefRequest: MessageFns<ProcessCoefRequest>;
|
|
322
|
-
export declare const ProcessCoefResponse: MessageFns<ProcessCoefResponse>;
|
|
323
|
-
export declare const SetCharacterListsRequest: MessageFns<SetCharacterListsRequest>;
|
|
324
|
-
export declare const SetCharacterListsResponse: MessageFns<SetCharacterListsResponse>;
|
|
325
|
-
export declare const ListCharacterListsRequest: MessageFns<ListCharacterListsRequest>;
|
|
326
|
-
export declare const ListCharacterListsResponse: MessageFns<ListCharacterListsResponse>;
|
|
327
|
-
export interface CharacterService {
|
|
328
|
-
CreateCharacter(request: CreateCharacterRequest): Promise<CreateCharacterResponse>;
|
|
329
|
-
GetCharacter(request: GetCharacterRequest): Promise<GetCharacterResponse>;
|
|
330
|
-
UpdateCharacter(request: UpdateCharacterRequest): Promise<UpdateCharacterResponse>;
|
|
331
|
-
CopyCharacter(request: CopyCharacterRequest): Promise<CopyCharacterResponse>;
|
|
332
|
-
DeleteCharacter(request: DeleteCharacterRequest): Promise<DeleteCharacterResponse>;
|
|
333
|
-
ListCharacters(request: ListCharactersRequest): Promise<ListCharactersResponse>;
|
|
334
|
-
SyncCharacter(request: SyncCharacterRequest): Promise<SyncCharacterResponse>;
|
|
335
|
-
ProcessCoef(request: ProcessCoefRequest): Promise<ProcessCoefResponse>;
|
|
336
|
-
SetCharacterLists(request: SetCharacterListsRequest): Promise<SetCharacterListsResponse>;
|
|
337
|
-
ListCharacterLists(request: ListCharacterListsRequest): Promise<ListCharacterListsResponse>;
|
|
338
|
-
}
|
|
339
|
-
export declare const CharacterServiceServiceName = "platform.v1.CharacterService";
|
|
340
|
-
export declare class CharacterServiceClientImpl implements CharacterService {
|
|
341
|
-
private readonly rpc;
|
|
342
|
-
private readonly service;
|
|
343
|
-
constructor(rpc: Rpc, opts?: {
|
|
344
|
-
service?: string;
|
|
345
|
-
});
|
|
346
|
-
CreateCharacter(request: CreateCharacterRequest): Promise<CreateCharacterResponse>;
|
|
347
|
-
GetCharacter(request: GetCharacterRequest): Promise<GetCharacterResponse>;
|
|
348
|
-
UpdateCharacter(request: UpdateCharacterRequest): Promise<UpdateCharacterResponse>;
|
|
349
|
-
CopyCharacter(request: CopyCharacterRequest): Promise<CopyCharacterResponse>;
|
|
350
|
-
DeleteCharacter(request: DeleteCharacterRequest): Promise<DeleteCharacterResponse>;
|
|
351
|
-
ListCharacters(request: ListCharactersRequest): Promise<ListCharactersResponse>;
|
|
352
|
-
SyncCharacter(request: SyncCharacterRequest): Promise<SyncCharacterResponse>;
|
|
353
|
-
ProcessCoef(request: ProcessCoefRequest): Promise<ProcessCoefResponse>;
|
|
354
|
-
SetCharacterLists(request: SetCharacterListsRequest): Promise<SetCharacterListsResponse>;
|
|
355
|
-
ListCharacterLists(request: ListCharacterListsRequest): Promise<ListCharacterListsResponse>;
|
|
356
|
-
}
|
|
357
|
-
interface Rpc {
|
|
358
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
359
|
-
}
|
|
360
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
361
|
-
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 {} ? {
|
|
362
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
363
|
-
} : Partial<T>;
|
|
364
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
365
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
366
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
367
|
-
} & {
|
|
368
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
369
|
-
};
|
|
370
|
-
export interface MessageFns<T> {
|
|
371
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
372
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
373
|
-
fromJSON(object: any): T;
|
|
374
|
-
toJSON(message: T): unknown;
|
|
375
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
376
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
377
|
-
}
|
|
378
|
-
export {};
|
|
@@ -1,124 +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 { BrainSettings, CharacterSortField, EarSettings, SortOrder, VoiceSettings } from './character';
|
|
5
|
-
export declare const protobufPackage = "platform.v1";
|
|
6
|
-
|
|
7
|
-
export interface CharacterTemplate {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
description: string;
|
|
11
|
-
systemPrompt: string;
|
|
12
|
-
brain?: BrainSettings | undefined;
|
|
13
|
-
voice?: VoiceSettings | undefined;
|
|
14
|
-
ear?: EarSettings | undefined;
|
|
15
|
-
updatedAt?: Timestamp | undefined;
|
|
16
|
-
priority: number;
|
|
17
|
-
createdBy: string;
|
|
18
|
-
drivenProviderId?: string | undefined;
|
|
19
|
-
characterCount: number;
|
|
20
|
-
}
|
|
21
|
-
export interface CreateCharacterTemplateRequest {
|
|
22
|
-
name: string;
|
|
23
|
-
description: string;
|
|
24
|
-
systemPrompt: string;
|
|
25
|
-
brain?: BrainSettings | undefined;
|
|
26
|
-
voice?: VoiceSettings | undefined;
|
|
27
|
-
ear?: EarSettings | undefined;
|
|
28
|
-
priority: number;
|
|
29
|
-
drivenProviderId?: string | undefined;
|
|
30
|
-
}
|
|
31
|
-
export interface CreateCharacterTemplateResponse {
|
|
32
|
-
characterTemplate?: CharacterTemplate | undefined;
|
|
33
|
-
}
|
|
34
|
-
export interface GetCharacterTemplateRequest {
|
|
35
|
-
id: string;
|
|
36
|
-
}
|
|
37
|
-
export interface GetCharacterTemplateResponse {
|
|
38
|
-
characterTemplate?: CharacterTemplate | undefined;
|
|
39
|
-
}
|
|
40
|
-
export interface UpdateCharacterTemplateRequest {
|
|
41
|
-
id: string;
|
|
42
|
-
name?: string | undefined;
|
|
43
|
-
description?: string | undefined;
|
|
44
|
-
systemPrompt?: string | undefined;
|
|
45
|
-
brain?: BrainSettings | undefined;
|
|
46
|
-
voice?: VoiceSettings | undefined;
|
|
47
|
-
ear?: EarSettings | undefined;
|
|
48
|
-
priority: number;
|
|
49
|
-
drivenProviderId?: string | undefined;
|
|
50
|
-
}
|
|
51
|
-
export interface UpdateCharacterTemplateResponse {
|
|
52
|
-
characterTemplate?: CharacterTemplate | undefined;
|
|
53
|
-
}
|
|
54
|
-
export interface DeleteCharacterTemplateRequest {
|
|
55
|
-
id: string;
|
|
56
|
-
}
|
|
57
|
-
export interface DeleteCharacterTemplateResponse {
|
|
58
|
-
}
|
|
59
|
-
export interface ListCharacterTemplatesRequest {
|
|
60
|
-
pagination?: PaginationRequest | undefined;
|
|
61
|
-
name?: string | undefined;
|
|
62
|
-
id?: string | undefined;
|
|
63
|
-
createdBy?: string | undefined;
|
|
64
|
-
drivenProviderId?: string | undefined;
|
|
65
|
-
sortBy?: CharacterSortField | undefined;
|
|
66
|
-
sortOrder?: SortOrder | undefined;
|
|
67
|
-
}
|
|
68
|
-
export interface ListCharacterTemplatesResponse {
|
|
69
|
-
characterTemplates: CharacterTemplate[];
|
|
70
|
-
pagination?: PaginationResponse | undefined;
|
|
71
|
-
}
|
|
72
|
-
export declare const CharacterTemplate: MessageFns<CharacterTemplate>;
|
|
73
|
-
export declare const CreateCharacterTemplateRequest: MessageFns<CreateCharacterTemplateRequest>;
|
|
74
|
-
export declare const CreateCharacterTemplateResponse: MessageFns<CreateCharacterTemplateResponse>;
|
|
75
|
-
export declare const GetCharacterTemplateRequest: MessageFns<GetCharacterTemplateRequest>;
|
|
76
|
-
export declare const GetCharacterTemplateResponse: MessageFns<GetCharacterTemplateResponse>;
|
|
77
|
-
export declare const UpdateCharacterTemplateRequest: MessageFns<UpdateCharacterTemplateRequest>;
|
|
78
|
-
export declare const UpdateCharacterTemplateResponse: MessageFns<UpdateCharacterTemplateResponse>;
|
|
79
|
-
export declare const DeleteCharacterTemplateRequest: MessageFns<DeleteCharacterTemplateRequest>;
|
|
80
|
-
export declare const DeleteCharacterTemplateResponse: MessageFns<DeleteCharacterTemplateResponse>;
|
|
81
|
-
export declare const ListCharacterTemplatesRequest: MessageFns<ListCharacterTemplatesRequest>;
|
|
82
|
-
export declare const ListCharacterTemplatesResponse: MessageFns<ListCharacterTemplatesResponse>;
|
|
83
|
-
export interface CharacterTemplateService {
|
|
84
|
-
CreateCharacterTemplate(request: CreateCharacterTemplateRequest): Promise<CreateCharacterTemplateResponse>;
|
|
85
|
-
GetCharacterTemplate(request: GetCharacterTemplateRequest): Promise<GetCharacterTemplateResponse>;
|
|
86
|
-
UpdateCharacterTemplate(request: UpdateCharacterTemplateRequest): Promise<UpdateCharacterTemplateResponse>;
|
|
87
|
-
DeleteCharacterTemplate(request: DeleteCharacterTemplateRequest): Promise<DeleteCharacterTemplateResponse>;
|
|
88
|
-
ListCharacterTemplates(request: ListCharacterTemplatesRequest): Promise<ListCharacterTemplatesResponse>;
|
|
89
|
-
}
|
|
90
|
-
export declare const CharacterTemplateServiceServiceName = "platform.v1.CharacterTemplateService";
|
|
91
|
-
export declare class CharacterTemplateServiceClientImpl implements CharacterTemplateService {
|
|
92
|
-
private readonly rpc;
|
|
93
|
-
private readonly service;
|
|
94
|
-
constructor(rpc: Rpc, opts?: {
|
|
95
|
-
service?: string;
|
|
96
|
-
});
|
|
97
|
-
CreateCharacterTemplate(request: CreateCharacterTemplateRequest): Promise<CreateCharacterTemplateResponse>;
|
|
98
|
-
GetCharacterTemplate(request: GetCharacterTemplateRequest): Promise<GetCharacterTemplateResponse>;
|
|
99
|
-
UpdateCharacterTemplate(request: UpdateCharacterTemplateRequest): Promise<UpdateCharacterTemplateResponse>;
|
|
100
|
-
DeleteCharacterTemplate(request: DeleteCharacterTemplateRequest): Promise<DeleteCharacterTemplateResponse>;
|
|
101
|
-
ListCharacterTemplates(request: ListCharacterTemplatesRequest): Promise<ListCharacterTemplatesResponse>;
|
|
102
|
-
}
|
|
103
|
-
interface Rpc {
|
|
104
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
105
|
-
}
|
|
106
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
107
|
-
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 {} ? {
|
|
108
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
109
|
-
} : Partial<T>;
|
|
110
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
111
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
112
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
113
|
-
} & {
|
|
114
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
115
|
-
};
|
|
116
|
-
export interface MessageFns<T> {
|
|
117
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
118
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
119
|
-
fromJSON(object: any): T;
|
|
120
|
-
toJSON(message: T): unknown;
|
|
121
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
122
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
123
|
-
}
|
|
124
|
-
export {};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { BinaryReader, BinaryWriter } from '@bufbuild/protobuf/wire';
|
|
2
|
-
import { CreateCollectionTaskResponse, DeleteCollectionTaskRequest, DeleteCollectionTaskResponse, GetCollectionTaskByTokenRequest, GetCollectionTaskByTokenResponse, GetCollectionTaskOSSCredentialsRequest, GetCollectionTaskOSSCredentialsResponse, GetCollectionTaskRequest, GetCollectionTaskResponse, ListCollectionTasksRequest, ListCollectionTasksResponse, SubmitCollectionFileRequest, SubmitCollectionFileResponse, UpdateCollectionTaskRequest, UpdateCollectionTaskResponse } from '../../console/v1/collection_task';
|
|
3
|
-
import { Timestamp } from '../../google/protobuf/timestamp';
|
|
4
|
-
export declare const protobufPackage = "platform.v1";
|
|
5
|
-
|
|
6
|
-
export interface CreateCollectionTaskRequest {
|
|
7
|
-
name: string;
|
|
8
|
-
description: string;
|
|
9
|
-
expiresAt?: Timestamp | undefined;
|
|
10
|
-
}
|
|
11
|
-
export declare const CreateCollectionTaskRequest: MessageFns<CreateCollectionTaskRequest>;
|
|
12
|
-
|
|
13
|
-
export interface CollectionTaskService {
|
|
14
|
-
CreateCollectionTask(request: CreateCollectionTaskRequest): Promise<CreateCollectionTaskResponse>;
|
|
15
|
-
GetCollectionTask(request: GetCollectionTaskRequest): Promise<GetCollectionTaskResponse>;
|
|
16
|
-
ListCollectionTasks(request: ListCollectionTasksRequest): Promise<ListCollectionTasksResponse>;
|
|
17
|
-
UpdateCollectionTask(request: UpdateCollectionTaskRequest): Promise<UpdateCollectionTaskResponse>;
|
|
18
|
-
DeleteCollectionTask(request: DeleteCollectionTaskRequest): Promise<DeleteCollectionTaskResponse>;
|
|
19
|
-
GetCollectionTaskByToken(request: GetCollectionTaskByTokenRequest): Promise<GetCollectionTaskByTokenResponse>;
|
|
20
|
-
GetCollectionTaskOSSCredentials(request: GetCollectionTaskOSSCredentialsRequest): Promise<GetCollectionTaskOSSCredentialsResponse>;
|
|
21
|
-
SubmitCollectionFile(request: SubmitCollectionFileRequest): Promise<SubmitCollectionFileResponse>;
|
|
22
|
-
}
|
|
23
|
-
export declare const CollectionTaskServiceServiceName = "platform.v1.CollectionTaskService";
|
|
24
|
-
export declare class CollectionTaskServiceClientImpl implements CollectionTaskService {
|
|
25
|
-
private readonly rpc;
|
|
26
|
-
private readonly service;
|
|
27
|
-
constructor(rpc: Rpc, opts?: {
|
|
28
|
-
service?: string;
|
|
29
|
-
});
|
|
30
|
-
CreateCollectionTask(request: CreateCollectionTaskRequest): Promise<CreateCollectionTaskResponse>;
|
|
31
|
-
GetCollectionTask(request: GetCollectionTaskRequest): Promise<GetCollectionTaskResponse>;
|
|
32
|
-
ListCollectionTasks(request: ListCollectionTasksRequest): Promise<ListCollectionTasksResponse>;
|
|
33
|
-
UpdateCollectionTask(request: UpdateCollectionTaskRequest): Promise<UpdateCollectionTaskResponse>;
|
|
34
|
-
DeleteCollectionTask(request: DeleteCollectionTaskRequest): Promise<DeleteCollectionTaskResponse>;
|
|
35
|
-
GetCollectionTaskByToken(request: GetCollectionTaskByTokenRequest): Promise<GetCollectionTaskByTokenResponse>;
|
|
36
|
-
GetCollectionTaskOSSCredentials(request: GetCollectionTaskOSSCredentialsRequest): Promise<GetCollectionTaskOSSCredentialsResponse>;
|
|
37
|
-
SubmitCollectionFile(request: SubmitCollectionFileRequest): Promise<SubmitCollectionFileResponse>;
|
|
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,101 +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 interface ConfigKV {
|
|
6
|
-
id: string;
|
|
7
|
-
key: string;
|
|
8
|
-
value: string;
|
|
9
|
-
description: string;
|
|
10
|
-
createdAt?: Timestamp | undefined;
|
|
11
|
-
updatedAt?: Timestamp | undefined;
|
|
12
|
-
deletedAt?: Timestamp | undefined;
|
|
13
|
-
}
|
|
14
|
-
export interface CreateConfigKVRequest {
|
|
15
|
-
key: string;
|
|
16
|
-
value: string;
|
|
17
|
-
description: string;
|
|
18
|
-
}
|
|
19
|
-
export interface CreateConfigKVResponse {
|
|
20
|
-
config?: ConfigKV | undefined;
|
|
21
|
-
}
|
|
22
|
-
export interface GetConfigKVRequest {
|
|
23
|
-
id: string;
|
|
24
|
-
}
|
|
25
|
-
export interface GetConfigKVResponse {
|
|
26
|
-
config?: ConfigKV | undefined;
|
|
27
|
-
}
|
|
28
|
-
export interface UpdateConfigKVRequest {
|
|
29
|
-
id: string;
|
|
30
|
-
key?: string | undefined;
|
|
31
|
-
value?: string | undefined;
|
|
32
|
-
description?: string | undefined;
|
|
33
|
-
}
|
|
34
|
-
export interface UpdateConfigKVResponse {
|
|
35
|
-
config?: ConfigKV | undefined;
|
|
36
|
-
}
|
|
37
|
-
export interface DeleteConfigKVRequest {
|
|
38
|
-
id: string;
|
|
39
|
-
}
|
|
40
|
-
export interface DeleteConfigKVResponse {
|
|
41
|
-
}
|
|
42
|
-
export interface ListConfigKVsRequest {
|
|
43
|
-
pagination?: PaginationRequest | undefined;
|
|
44
|
-
}
|
|
45
|
-
export interface ListConfigKVsResponse {
|
|
46
|
-
configs: ConfigKV[];
|
|
47
|
-
pagination?: PaginationResponse | undefined;
|
|
48
|
-
}
|
|
49
|
-
export declare const ConfigKV: MessageFns<ConfigKV>;
|
|
50
|
-
export declare const CreateConfigKVRequest: MessageFns<CreateConfigKVRequest>;
|
|
51
|
-
export declare const CreateConfigKVResponse: MessageFns<CreateConfigKVResponse>;
|
|
52
|
-
export declare const GetConfigKVRequest: MessageFns<GetConfigKVRequest>;
|
|
53
|
-
export declare const GetConfigKVResponse: MessageFns<GetConfigKVResponse>;
|
|
54
|
-
export declare const UpdateConfigKVRequest: MessageFns<UpdateConfigKVRequest>;
|
|
55
|
-
export declare const UpdateConfigKVResponse: MessageFns<UpdateConfigKVResponse>;
|
|
56
|
-
export declare const DeleteConfigKVRequest: MessageFns<DeleteConfigKVRequest>;
|
|
57
|
-
export declare const DeleteConfigKVResponse: MessageFns<DeleteConfigKVResponse>;
|
|
58
|
-
export declare const ListConfigKVsRequest: MessageFns<ListConfigKVsRequest>;
|
|
59
|
-
export declare const ListConfigKVsResponse: MessageFns<ListConfigKVsResponse>;
|
|
60
|
-
export interface ConfigKVService {
|
|
61
|
-
CreateConfigKV(request: CreateConfigKVRequest): Promise<CreateConfigKVResponse>;
|
|
62
|
-
GetConfigKV(request: GetConfigKVRequest): Promise<GetConfigKVResponse>;
|
|
63
|
-
UpdateConfigKV(request: UpdateConfigKVRequest): Promise<UpdateConfigKVResponse>;
|
|
64
|
-
DeleteConfigKV(request: DeleteConfigKVRequest): Promise<DeleteConfigKVResponse>;
|
|
65
|
-
ListConfigKVs(request: ListConfigKVsRequest): Promise<ListConfigKVsResponse>;
|
|
66
|
-
}
|
|
67
|
-
export declare const ConfigKVServiceServiceName = "platform.v1.ConfigKVService";
|
|
68
|
-
export declare class ConfigKVServiceClientImpl implements ConfigKVService {
|
|
69
|
-
private readonly rpc;
|
|
70
|
-
private readonly service;
|
|
71
|
-
constructor(rpc: Rpc, opts?: {
|
|
72
|
-
service?: string;
|
|
73
|
-
});
|
|
74
|
-
CreateConfigKV(request: CreateConfigKVRequest): Promise<CreateConfigKVResponse>;
|
|
75
|
-
GetConfigKV(request: GetConfigKVRequest): Promise<GetConfigKVResponse>;
|
|
76
|
-
UpdateConfigKV(request: UpdateConfigKVRequest): Promise<UpdateConfigKVResponse>;
|
|
77
|
-
DeleteConfigKV(request: DeleteConfigKVRequest): Promise<DeleteConfigKVResponse>;
|
|
78
|
-
ListConfigKVs(request: ListConfigKVsRequest): Promise<ListConfigKVsResponse>;
|
|
79
|
-
}
|
|
80
|
-
interface Rpc {
|
|
81
|
-
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
82
|
-
}
|
|
83
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
84
|
-
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 {} ? {
|
|
85
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
86
|
-
} : Partial<T>;
|
|
87
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
88
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
89
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
90
|
-
} & {
|
|
91
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
92
|
-
};
|
|
93
|
-
export interface MessageFns<T> {
|
|
94
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
95
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
96
|
-
fromJSON(object: any): T;
|
|
97
|
-
toJSON(message: T): unknown;
|
|
98
|
-
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
99
|
-
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
100
|
-
}
|
|
101
|
-
export {};
|