@nimiplatform/sdk 0.15.0 → 0.22.0
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 +500 -1
- package/README.md +181 -346
- package/dist/core/ai/capability-configuration.d.ts +15 -0
- package/dist/core/ai/capability-configuration.d.ts.map +1 -1
- package/dist/core/ai/capability-configuration.js +36 -0
- package/dist/core/ai/capability-configuration.js.map +1 -1
- package/dist/core/ai/embeddings.d.ts +6 -0
- package/dist/core/ai/embeddings.d.ts.map +1 -1
- package/dist/core/ai/embeddings.js +33 -4
- package/dist/core/ai/embeddings.js.map +1 -1
- package/dist/core/ai/index.d.ts +4 -0
- package/dist/core/ai/index.d.ts.map +1 -1
- package/dist/core/ai/index.js +3 -0
- package/dist/core/ai/index.js.map +1 -1
- package/dist/core/ai/local-app-model.d.ts +15 -4
- package/dist/core/ai/local-app-model.d.ts.map +1 -1
- package/dist/core/ai/local-app-model.js +57 -18
- package/dist/core/ai/local-app-model.js.map +1 -1
- package/dist/core/ai/music-input-wire.d.ts +4 -0
- package/dist/core/ai/music-input-wire.d.ts.map +1 -0
- package/dist/core/ai/music-input-wire.js +9 -0
- package/dist/core/ai/music-input-wire.js.map +1 -0
- package/dist/core/ai/music-input.d.ts +44 -0
- package/dist/core/ai/music-input.d.ts.map +1 -0
- package/dist/core/ai/music-input.js +69 -0
- package/dist/core/ai/music-input.js.map +1 -0
- package/dist/core/ai/reasoning.d.ts +32 -0
- package/dist/core/ai/reasoning.d.ts.map +1 -0
- package/dist/core/ai/reasoning.js +74 -0
- package/dist/core/ai/reasoning.js.map +1 -0
- package/dist/core/ai/runtime-model.d.ts +2 -19
- package/dist/core/ai/runtime-model.d.ts.map +1 -1
- package/dist/core/ai/runtime-model.js +3 -47
- package/dist/core/ai/runtime-model.js.map +1 -1
- package/dist/core/ai/speech-input.d.ts +9 -0
- package/dist/core/ai/speech-input.d.ts.map +1 -0
- package/dist/core/ai/speech-input.js +16 -0
- package/dist/core/ai/speech-input.js.map +1 -0
- package/dist/core/ai/text-runner.js +11 -4
- package/dist/core/ai/text-runner.js.map +1 -1
- package/dist/core/app/desktop-open.d.ts +11 -5
- package/dist/core/app/desktop-open.d.ts.map +1 -1
- package/dist/core/app/desktop-open.js +24 -16
- package/dist/core/app/desktop-open.js.map +1 -1
- package/dist/core/app/index.d.ts +32 -5
- package/dist/core/app/index.d.ts.map +1 -1
- package/dist/core/app/index.js +19 -1
- package/dist/core/app/index.js.map +1 -1
- package/dist/core/app/local-app-agent-introduction.d.ts +33 -0
- package/dist/core/app/local-app-agent-introduction.d.ts.map +1 -0
- package/dist/core/app/local-app-agent-introduction.js +94 -0
- package/dist/core/app/local-app-agent-introduction.js.map +1 -0
- package/dist/core/app/local-app-agent-work-input.d.ts +24 -0
- package/dist/core/app/local-app-agent-work-input.d.ts.map +1 -0
- package/dist/core/app/local-app-agent-work-input.js +50 -0
- package/dist/core/app/local-app-agent-work-input.js.map +1 -0
- package/dist/core/app/local-app-audio-separation.d.ts +9 -0
- package/dist/core/app/local-app-audio-separation.d.ts.map +1 -1
- package/dist/core/app/local-app-audio-separation.js +64 -3
- package/dist/core/app/local-app-audio-separation.js.map +1 -1
- package/dist/core/app/local-app-bytes.d.ts +10 -0
- package/dist/core/app/local-app-bytes.d.ts.map +1 -0
- package/dist/core/app/local-app-bytes.js +27 -0
- package/dist/core/app/local-app-bytes.js.map +1 -0
- package/dist/core/app/local-app-music-transcription.d.ts +43 -0
- package/dist/core/app/local-app-music-transcription.d.ts.map +1 -0
- package/dist/core/app/local-app-music-transcription.js +94 -0
- package/dist/core/app/local-app-music-transcription.js.map +1 -0
- package/dist/core/app/local-app-music.d.ts +50 -0
- package/dist/core/app/local-app-music.d.ts.map +1 -0
- package/dist/core/app/local-app-music.js +135 -0
- package/dist/core/app/local-app-music.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-activity-view.d.ts +59 -0
- package/dist/core/app/local-app-runtime-platform-activity-view.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-activity-view.js +285 -0
- package/dist/core/app/local-app-runtime-platform-activity-view.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-activity.d.ts +219 -0
- package/dist/core/app/local-app-runtime-platform-activity.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-activity.js +753 -0
- package/dist/core/app/local-app-runtime-platform-activity.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-agent-references.d.ts +4 -0
- package/dist/core/app/local-app-runtime-platform-agent-references.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-agent-references.js +21 -9
- package/dist/core/app/local-app-runtime-platform-agent-references.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-agent-work.d.ts +88 -0
- package/dist/core/app/local-app-runtime-platform-agent-work.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-agent-work.js +165 -0
- package/dist/core/app/local-app-runtime-platform-agent-work.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-ai-config.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai-config.js +55 -1
- package/dist/core/app/local-app-runtime-platform-ai-config.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.d.ts +154 -36
- package/dist/core/app/local-app-runtime-platform-ai.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-ai.js +738 -121
- package/dist/core/app/local-app-runtime-platform-ai.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-assets.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-assets.js +37 -12
- package/dist/core/app/local-app-runtime-platform-assets.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-configure.d.ts +38 -4
- package/dist/core/app/local-app-runtime-platform-configure.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-configure.js +130 -28
- package/dist/core/app/local-app-runtime-platform-configure.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-conversation.d.ts +74 -10
- package/dist/core/app/local-app-runtime-platform-conversation.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-conversation.js +176 -29
- package/dist/core/app/local-app-runtime-platform-conversation.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.d.ts +5 -0
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.js +38 -0
- package/dist/core/app/local-app-runtime-platform-direct-agent-work.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-direct-conversation.d.ts +4 -1
- package/dist/core/app/local-app-runtime-platform-direct-conversation.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-conversation.js +64 -11
- package/dist/core/app/local-app-runtime-platform-direct-conversation.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-realm-realtime.d.ts +2 -0
- package/dist/core/app/local-app-runtime-platform-direct-realm-realtime.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-direct-realm-realtime.js +10 -2
- package/dist/core/app/local-app-runtime-platform-direct-realm-realtime.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-integration.d.ts +128 -0
- package/dist/core/app/local-app-runtime-platform-integration.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-integration.js +263 -0
- package/dist/core/app/local-app-runtime-platform-integration.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-life.d.ts +33 -0
- package/dist/core/app/local-app-runtime-platform-life.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-life.js +59 -0
- package/dist/core/app/local-app-runtime-platform-life.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-proactive.d.ts +28 -0
- package/dist/core/app/local-app-runtime-platform-proactive.d.ts.map +1 -0
- package/dist/core/app/local-app-runtime-platform-proactive.js +42 -0
- package/dist/core/app/local-app-runtime-platform-proactive.js.map +1 -0
- package/dist/core/app/local-app-runtime-platform-realm-realtime.d.ts +6 -2
- package/dist/core/app/local-app-runtime-platform-realm-realtime.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-realm-realtime.js +15 -4
- package/dist/core/app/local-app-runtime-platform-realm-realtime.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-validation.d.ts +2 -0
- package/dist/core/app/local-app-runtime-platform-validation.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-validation.js +42 -3
- package/dist/core/app/local-app-runtime-platform-validation.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform-vision.d.ts +1 -1
- package/dist/core/app/local-app-runtime-platform-vision.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform-vision.js +5 -5
- package/dist/core/app/local-app-runtime-platform-vision.js.map +1 -1
- package/dist/core/app/local-app-runtime-platform.d.ts +22 -17
- package/dist/core/app/local-app-runtime-platform.d.ts.map +1 -1
- package/dist/core/app/local-app-runtime-platform.js +22 -8
- package/dist/core/app/local-app-runtime-platform.js.map +1 -1
- package/dist/core/app/local-app-speaker-embedding.d.ts +6 -0
- package/dist/core/app/local-app-speaker-embedding.d.ts.map +1 -0
- package/dist/core/app/local-app-speaker-embedding.js +14 -0
- package/dist/core/app/local-app-speaker-embedding.js.map +1 -0
- package/dist/core/app/local-app-text-decision.d.ts +114 -0
- package/dist/core/app/local-app-text-decision.d.ts.map +1 -0
- package/dist/core/app/local-app-text-decision.js +444 -0
- package/dist/core/app/local-app-text-decision.js.map +1 -0
- package/dist/core/app/local-app-text.d.ts +7 -1
- package/dist/core/app/local-app-text.d.ts.map +1 -1
- package/dist/core/app/local-app-text.js +16 -15
- package/dist/core/app/local-app-text.js.map +1 -1
- package/dist/core/app/local-app-transcription.d.ts +11 -0
- package/dist/core/app/local-app-transcription.d.ts.map +1 -1
- package/dist/core/app/local-app-transcription.js +22 -2
- package/dist/core/app/local-app-transcription.js.map +1 -1
- package/dist/core/app/local-app-voice-convert.d.ts +61 -0
- package/dist/core/app/local-app-voice-convert.d.ts.map +1 -0
- package/dist/core/app/local-app-voice-convert.js +133 -0
- package/dist/core/app/local-app-voice-convert.js.map +1 -0
- package/dist/core/app/runtime-account-realm-source-readiness.generated.d.ts +2 -2
- package/dist/core/app/runtime-account-realm-source-readiness.generated.d.ts.map +1 -1
- package/dist/core/app/runtime-account-realm-source-readiness.generated.js +17 -12
- package/dist/core/app/runtime-account-realm-source-readiness.generated.js.map +1 -1
- package/dist/core/text-stream-cleanup.d.ts +3 -0
- package/dist/core/text-stream-cleanup.d.ts.map +1 -0
- package/dist/core/text-stream-cleanup.js +19 -0
- package/dist/core/text-stream-cleanup.js.map +1 -0
- package/dist/core-generated/realm-client.d.ts.map +1 -1
- package/dist/core-generated/realm-client.js +43 -103
- package/dist/core-generated/realm-client.js.map +1 -1
- package/dist/core-generated/realm-typed-client.d.ts +339 -457
- package/dist/core-generated/realm-typed-client.d.ts.map +1 -1
- package/dist/core-generated/realm-typed-client.js +72 -208
- package/dist/core-generated/realm-typed-client.js.map +1 -1
- package/dist/core-generated/runtime-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-client.js +388 -12
- package/dist/core-generated/runtime-client.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/google/protobuf/field_mask.d.ts +16 -18
- package/dist/core-generated/runtime-protobuf/google/protobuf/field_mask.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/google/protobuf/field_mask.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/google/protobuf/struct.d.ts +33 -22
- package/dist/core-generated/runtime-protobuf/google/protobuf/struct.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/google/protobuf/struct.js +8 -3
- package/dist/core-generated/runtime-protobuf/google/protobuf/struct.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/google/protobuf/timestamp.d.ts +3 -3
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.d.ts +31 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.js +49 -5
- package/dist/core-generated/runtime-protobuf/runtime/v1/account.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_configure.d.ts +147 -4
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_configure.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_configure.js +327 -14
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_configure.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_life.d.ts +167 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_life.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_life.js +312 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_life.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts +606 -148
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js +1631 -722
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_service.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.d.ts +9 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.js +8 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_source_materialization.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.d.ts +625 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.js +1369 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/agent_work.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts +1872 -106
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js +4718 -1513
- package/dist/core-generated/runtime-protobuf/runtime/v1/ai.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts +40 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js +72 -3
- package/dist/core-generated/runtime-protobuf/runtime/v1/app.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.d.ts +859 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.js +1663 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/app_activity.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/audit.d.ts +712 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/audit.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/audit.js +1461 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/audit.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.d.ts +20 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.js +38 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/auth.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts +548 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js +1309 -242
- package/dist/core-generated/runtime-protobuf/runtime/v1/capability_configuration.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/cognition_memory.d.ts +67 -4
- package/dist/core-generated/runtime-protobuf/runtime/v1/cognition_memory.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/cognition_memory.js +101 -10
- package/dist/core-generated/runtime-protobuf/runtime/v1/cognition_memory.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts +150 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.js +149 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/common.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.d.ts +81 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.js +166 -5
- package/dist/core-generated/runtime-protobuf/runtime/v1/connector.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/development.d.ts +53 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/development.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/development.js +118 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/development.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.d.ts +1293 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.d.ts.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.js +2898 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/integration.js.map +1 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts +166 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js +217 -4
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.d.ts +8 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.js +9 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/local_runtime_recommendation.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/realm_realtime.d.ts +181 -8
- package/dist/core-generated/runtime-protobuf/runtime/v1/realm_realtime.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/realm_realtime.js +402 -18
- package/dist/core-generated/runtime-protobuf/runtime/v1/realm_realtime.js.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.d.ts +110 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.d.ts.map +1 -1
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.js +213 -0
- package/dist/core-generated/runtime-protobuf/runtime/v1/runtime_service_control.js.map +1 -1
- package/dist/core-generated/runtime-public-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-client.js +364 -20
- package/dist/core-generated/runtime-public-client.js.map +1 -1
- package/dist/core-generated/runtime-public-rpc-auth-posture.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-rpc-auth-posture.js +46 -3
- package/dist/core-generated/runtime-public-rpc-auth-posture.js.map +1 -1
- package/dist/core-generated/runtime-public-wire-codecs.d.ts +56 -10
- package/dist/core-generated/runtime-public-wire-codecs.d.ts.map +1 -1
- package/dist/core-generated/runtime-public-wire-codecs.js +56 -10
- package/dist/core-generated/runtime-public-wire-codecs.js.map +1 -1
- package/dist/core-generated/runtime-rpc-auth-posture.d.ts.map +1 -1
- package/dist/core-generated/runtime-rpc-auth-posture.js +49 -2
- package/dist/core-generated/runtime-rpc-auth-posture.js.map +1 -1
- package/dist/core-generated/runtime-typed-client.d.ts +86 -26
- package/dist/core-generated/runtime-typed-client.d.ts.map +1 -1
- package/dist/core-generated/runtime-typed-client.js +487 -11
- package/dist/core-generated/runtime-typed-client.js.map +1 -1
- package/dist/core-generated/runtime-wire-codecs.d.ts +60 -10
- package/dist/core-generated/runtime-wire-codecs.d.ts.map +1 -1
- package/dist/core-generated/runtime-wire-codecs.js +61 -11
- package/dist/core-generated/runtime-wire-codecs.js.map +1 -1
- package/dist/features/generation/index.d.ts +14 -2
- package/dist/features/generation/index.d.ts.map +1 -1
- package/dist/features/generation/index.js +14 -1
- package/dist/features/generation/index.js.map +1 -1
- package/dist/features/generation/media-params.d.ts +0 -3
- package/dist/features/generation/media-params.d.ts.map +1 -1
- package/dist/features/generation/media-params.js +8 -6
- package/dist/features/generation/media-params.js.map +1 -1
- package/dist/features/generation/runtime-generation-build.d.ts +0 -1
- package/dist/features/generation/runtime-generation-build.d.ts.map +1 -1
- package/dist/features/generation/runtime-generation-build.js +6 -1
- package/dist/features/generation/runtime-generation-build.js.map +1 -1
- package/dist/features/generation/runtime-image-generation.d.ts +5 -1
- package/dist/features/generation/runtime-image-generation.d.ts.map +1 -1
- package/dist/features/generation/runtime-image-generation.js +4 -0
- package/dist/features/generation/runtime-image-generation.js.map +1 -1
- package/dist/features/generation/runtime-job-builders.d.ts +0 -1
- package/dist/features/generation/runtime-job-builders.d.ts.map +1 -1
- package/dist/features/generation/runtime-job-builders.js +8 -10
- package/dist/features/generation/runtime-job-builders.js.map +1 -1
- package/dist/realm/account-settings.d.ts +5 -3
- package/dist/realm/account-settings.d.ts.map +1 -1
- package/dist/realm/account-settings.js +3 -3
- package/dist/realm/account-settings.js.map +1 -1
- package/dist/realm/generated.d.ts +1 -1
- package/dist/realm/generated.d.ts.map +1 -1
- package/dist/realm/generated.js.map +1 -1
- package/dist/realm/index.d.ts +4 -4
- package/dist/realm/index.d.ts.map +1 -1
- package/dist/realm/index.js +8 -17
- package/dist/realm/index.js.map +1 -1
- package/dist/realm/media-delivery.d.ts +4 -0
- package/dist/realm/media-delivery.d.ts.map +1 -0
- package/dist/realm/media-delivery.js +65 -0
- package/dist/realm/media-delivery.js.map +1 -0
- package/dist/realm/resource-upload.d.ts +12 -3
- package/dist/realm/resource-upload.d.ts.map +1 -1
- package/dist/realm/resource-upload.js +93 -241
- package/dist/realm/resource-upload.js.map +1 -1
- package/dist/realm/social-types.d.ts +1 -15
- package/dist/realm/social-types.d.ts.map +1 -1
- package/dist/realm/social.d.ts +3 -17
- package/dist/realm/social.d.ts.map +1 -1
- package/dist/realm/social.js +0 -175
- package/dist/realm/social.js.map +1 -1
- package/dist/runtime/chatgpt-plan.d.ts +7 -0
- package/dist/runtime/chatgpt-plan.d.ts.map +1 -0
- package/dist/runtime/chatgpt-plan.js +15 -0
- package/dist/runtime/chatgpt-plan.js.map +1 -0
- package/dist/runtime/config-projections.d.ts +12 -0
- package/dist/runtime/config-projections.d.ts.map +1 -1
- package/dist/runtime/config-projections.js +11 -3
- package/dist/runtime/config-projections.js.map +1 -1
- package/dist/runtime/connector-auth-acquisition-client.d.ts +3 -6
- package/dist/runtime/connector-auth-acquisition-client.d.ts.map +1 -1
- package/dist/runtime/connector-auth-acquisition-client.js +18 -11
- package/dist/runtime/connector-auth-acquisition-client.js.map +1 -1
- package/dist/runtime/connector-auth-acquisition-profiles.generated.d.ts +10 -11
- package/dist/runtime/connector-auth-acquisition-profiles.generated.d.ts.map +1 -1
- package/dist/runtime/connector-auth-acquisition-profiles.generated.js +13 -14
- package/dist/runtime/connector-auth-acquisition-profiles.generated.js.map +1 -1
- package/dist/runtime/connector-auth-acquisition.d.ts +26 -19
- package/dist/runtime/connector-auth-acquisition.d.ts.map +1 -1
- package/dist/runtime/connector-auth-acquisition.js +352 -269
- package/dist/runtime/connector-auth-acquisition.js.map +1 -1
- package/dist/runtime/connector-auth-profiles.generated.d.ts +1 -1
- package/dist/runtime/connector-auth-profiles.generated.d.ts.map +1 -1
- package/dist/runtime/connector-auth-profiles.generated.js +4 -4
- package/dist/runtime/connector-auth-profiles.generated.js.map +1 -1
- package/dist/runtime/connector-inventory.d.ts +19 -3
- package/dist/runtime/connector-inventory.d.ts.map +1 -1
- package/dist/runtime/connector-inventory.js +77 -25
- package/dist/runtime/connector-inventory.js.map +1 -1
- package/dist/runtime/desktop-audit.js +4 -1
- package/dist/runtime/desktop-audit.js.map +1 -1
- package/dist/runtime/desktop-first-party-runtime.d.ts +8 -1
- package/dist/runtime/desktop-first-party-runtime.d.ts.map +1 -1
- package/dist/runtime/desktop-first-party-runtime.js +80 -2
- package/dist/runtime/desktop-first-party-runtime.js.map +1 -1
- package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts +174 -10
- package/dist/runtime/first-party-protected-runtime-profiles.generated.d.ts.map +1 -1
- package/dist/runtime/first-party-protected-runtime-profiles.generated.js +45 -4
- package/dist/runtime/first-party-protected-runtime-profiles.generated.js.map +1 -1
- package/dist/runtime/generated.d.ts +2 -2
- package/dist/runtime/generated.d.ts.map +1 -1
- package/dist/runtime/generated.js +1 -1
- package/dist/runtime/generated.js.map +1 -1
- package/dist/runtime/host.d.ts +3 -0
- package/dist/runtime/host.d.ts.map +1 -1
- package/dist/runtime/host.js +4 -0
- package/dist/runtime/host.js.map +1 -1
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +12 -10
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/machine-loadouts.d.ts +18 -0
- package/dist/runtime/machine-loadouts.d.ts.map +1 -1
- package/dist/runtime/machine-loadouts.js +26 -0
- package/dist/runtime/machine-loadouts.js.map +1 -1
- package/dist/runtime/node-grpc-errors.js +3 -3
- package/dist/runtime/node-grpc-errors.js.map +1 -1
- package/dist/runtime/node-grpc.d.ts.map +1 -1
- package/dist/runtime/node-grpc.js +24 -4
- package/dist/runtime/node-grpc.js.map +1 -1
- package/dist/runtime/product-control-projection.d.ts.map +1 -1
- package/dist/runtime/product-control-projection.js +11 -2
- package/dist/runtime/product-control-projection.js.map +1 -1
- package/dist/runtime/product-control-types.d.ts +13 -2
- package/dist/runtime/product-control-types.d.ts.map +1 -1
- package/dist/runtime/product-control-types.js.map +1 -1
- package/dist/runtime/reason-messages.d.ts +6 -0
- package/dist/runtime/reason-messages.d.ts.map +1 -1
- package/dist/runtime/reason-messages.js +17 -2
- package/dist/runtime/reason-messages.js.map +1 -1
- package/dist/runtime/runtime-agent-inspect-projection.d.ts +2 -3
- package/dist/runtime/runtime-agent-inspect-projection.d.ts.map +1 -1
- package/dist/runtime/runtime-agent-inspect-projection.js +2 -27
- package/dist/runtime/runtime-agent-inspect-projection.js.map +1 -1
- package/dist/runtime/runtime-agent-inspect-types.d.ts +4 -32
- package/dist/runtime/runtime-agent-inspect-types.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client-projections.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client-projections.js +19 -19
- package/dist/runtime/runtime-local-environment-client-projections.js.map +1 -1
- package/dist/runtime/runtime-local-environment-client-types.d.ts +48 -21
- package/dist/runtime/runtime-local-environment-client-types.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client-values.d.ts +3 -1
- package/dist/runtime/runtime-local-environment-client-values.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client-values.js +43 -0
- package/dist/runtime/runtime-local-environment-client-values.js.map +1 -1
- package/dist/runtime/runtime-local-environment-client.d.ts.map +1 -1
- package/dist/runtime/runtime-local-environment-client.js +27 -4
- package/dist/runtime/runtime-local-environment-client.js.map +1 -1
- package/dist/runtime/runtime-local-recommendation-types.d.ts +3 -0
- package/dist/runtime/runtime-local-recommendation-types.d.ts.map +1 -1
- package/dist/runtime/runtime-local-recommendation.d.ts.map +1 -1
- package/dist/runtime/runtime-local-recommendation.js +1 -0
- package/dist/runtime/runtime-local-recommendation.js.map +1 -1
- package/dist/runtime/runtime-method-modules.d.ts +1 -1
- package/dist/runtime/runtime-method-modules.d.ts.map +1 -1
- package/dist/runtime/runtime-method-modules.js +4 -2
- package/dist/runtime/runtime-method-modules.js.map +1 -1
- package/dist/runtime/scenario-jobs.d.ts +23 -1
- package/dist/runtime/scenario-jobs.d.ts.map +1 -1
- package/dist/runtime/scenario-jobs.js +227 -264
- package/dist/runtime/scenario-jobs.js.map +1 -1
- package/dist/runtime/shared-local-agent-ai-config.d.ts.map +1 -1
- package/dist/runtime/shared-local-agent-ai-config.js +3 -0
- package/dist/runtime/shared-local-agent-ai-config.js.map +1 -1
- package/dist/runtime/wire-types/agent-participation-enums.d.ts +3 -1
- package/dist/runtime/wire-types/agent-participation-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/agent-participation-enums.js +3 -1
- package/dist/runtime/wire-types/agent-participation-enums.js.map +1 -1
- package/dist/runtime/wire-types/agent-participation-types.d.ts +8 -4
- package/dist/runtime/wire-types/agent-participation-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts +130 -3
- package/dist/runtime/wire-types/ai-scenario-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-enums.js +149 -0
- package/dist/runtime/wire-types/ai-scenario-enums.js.map +1 -1
- package/dist/runtime/wire-types/ai-scenario-types.d.ts +10 -8
- package/dist/runtime/wire-types/ai-scenario-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/identity-app-enums.d.ts +47 -0
- package/dist/runtime/wire-types/identity-app-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/identity-app-enums.js +55 -0
- package/dist/runtime/wire-types/identity-app-enums.js.map +1 -1
- package/dist/runtime/wire-types/identity-app-types.d.ts +8 -6
- package/dist/runtime/wire-types/identity-app-types.d.ts.map +1 -1
- package/dist/runtime/wire-types/local-memory-enums.d.ts +40 -1
- package/dist/runtime/wire-types/local-memory-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/local-memory-enums.js +44 -0
- package/dist/runtime/wire-types/local-memory-enums.js.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.d.ts +29 -1
- package/dist/runtime/wire-types/reason-code-enums.d.ts.map +1 -1
- package/dist/runtime/wire-types/reason-code-enums.js +28 -0
- package/dist/runtime/wire-types/reason-code-enums.js.map +1 -1
- package/dist/types/errors.d.ts +1 -1
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +2 -2
- package/dist/types/errors.js.map +1 -1
- package/dist/types/reason-code.d.ts +2 -0
- package/dist/types/reason-code.d.ts.map +1 -1
- package/dist/types/reason-code.js +2 -0
- package/dist/types/reason-code.js.map +1 -1
- package/dist/types/sha256.d.ts +6 -1
- package/dist/types/sha256.d.ts.map +1 -1
- package/dist/types/sha256.js +60 -25
- package/dist/types/sha256.js.map +1 -1
- package/package.json +5 -5
- package/dist/realm/feed.d.ts +0 -4
- package/dist/realm/feed.d.ts.map +0 -1
- package/dist/realm/feed.js +0 -10
- package/dist/realm/feed.js.map +0 -1
|
@@ -0,0 +1,1663 @@
|
|
|
1
|
+
import { WireType } from "@protobuf-ts/runtime";
|
|
2
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
3
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
4
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
5
|
+
import { Timestamp } from "../../google/protobuf/timestamp.js";
|
|
6
|
+
// App activity records are the account-scoped public projection of activity
|
|
7
|
+
// and todos published by Registered App Subjects or the fixed Runtime Agent
|
|
8
|
+
// publisher. They are not App-private business truth, a notification store, a
|
|
9
|
+
// task engine, a command channel, or a generic App-to-App message bus.
|
|
10
|
+
/**
|
|
11
|
+
* @generated from protobuf enum nimi.runtime.v1.AppActivityKind
|
|
12
|
+
*/
|
|
13
|
+
export var AppActivityKind;
|
|
14
|
+
(function (AppActivityKind) {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from protobuf enum value: APP_ACTIVITY_KIND_UNSPECIFIED = 0;
|
|
17
|
+
*/
|
|
18
|
+
AppActivityKind[AppActivityKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
19
|
+
/**
|
|
20
|
+
* @generated from protobuf enum value: APP_ACTIVITY_KIND_ACTIVITY = 1;
|
|
21
|
+
*/
|
|
22
|
+
AppActivityKind[AppActivityKind["ACTIVITY"] = 1] = "ACTIVITY";
|
|
23
|
+
/**
|
|
24
|
+
* @generated from protobuf enum value: APP_ACTIVITY_KIND_TODO = 2;
|
|
25
|
+
*/
|
|
26
|
+
AppActivityKind[AppActivityKind["TODO"] = 2] = "TODO";
|
|
27
|
+
})(AppActivityKind || (AppActivityKind = {}));
|
|
28
|
+
/**
|
|
29
|
+
* @generated from protobuf enum nimi.runtime.v1.AppActivityTodoState
|
|
30
|
+
*/
|
|
31
|
+
export var AppActivityTodoState;
|
|
32
|
+
(function (AppActivityTodoState) {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from protobuf enum value: APP_ACTIVITY_TODO_STATE_UNSPECIFIED = 0;
|
|
35
|
+
*/
|
|
36
|
+
AppActivityTodoState[AppActivityTodoState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
37
|
+
/**
|
|
38
|
+
* @generated from protobuf enum value: APP_ACTIVITY_TODO_STATE_OPEN = 1;
|
|
39
|
+
*/
|
|
40
|
+
AppActivityTodoState[AppActivityTodoState["OPEN"] = 1] = "OPEN";
|
|
41
|
+
/**
|
|
42
|
+
* @generated from protobuf enum value: APP_ACTIVITY_TODO_STATE_COMPLETED = 2;
|
|
43
|
+
*/
|
|
44
|
+
AppActivityTodoState[AppActivityTodoState["COMPLETED"] = 2] = "COMPLETED";
|
|
45
|
+
/**
|
|
46
|
+
* @generated from protobuf enum value: APP_ACTIVITY_TODO_STATE_CANCELLED = 3;
|
|
47
|
+
*/
|
|
48
|
+
AppActivityTodoState[AppActivityTodoState["CANCELLED"] = 3] = "CANCELLED";
|
|
49
|
+
})(AppActivityTodoState || (AppActivityTodoState = {}));
|
|
50
|
+
/**
|
|
51
|
+
* @generated from protobuf enum nimi.runtime.v1.AppActivitySourceKind
|
|
52
|
+
*/
|
|
53
|
+
export var AppActivitySourceKind;
|
|
54
|
+
(function (AppActivitySourceKind) {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from protobuf enum value: APP_ACTIVITY_SOURCE_KIND_UNSPECIFIED = 0;
|
|
57
|
+
*/
|
|
58
|
+
AppActivitySourceKind[AppActivitySourceKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
59
|
+
/**
|
|
60
|
+
* @generated from protobuf enum value: APP_ACTIVITY_SOURCE_KIND_APP = 1;
|
|
61
|
+
*/
|
|
62
|
+
AppActivitySourceKind[AppActivitySourceKind["APP"] = 1] = "APP";
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf enum value: APP_ACTIVITY_SOURCE_KIND_RUNTIME_AGENT = 2;
|
|
65
|
+
*/
|
|
66
|
+
AppActivitySourceKind[AppActivitySourceKind["RUNTIME_AGENT"] = 2] = "RUNTIME_AGENT";
|
|
67
|
+
})(AppActivitySourceKind || (AppActivitySourceKind = {}));
|
|
68
|
+
/**
|
|
69
|
+
* @generated from protobuf enum nimi.runtime.v1.AppActivityChangeKind
|
|
70
|
+
*/
|
|
71
|
+
export var AppActivityChangeKind;
|
|
72
|
+
(function (AppActivityChangeKind) {
|
|
73
|
+
/**
|
|
74
|
+
* @generated from protobuf enum value: APP_ACTIVITY_CHANGE_KIND_UNSPECIFIED = 0;
|
|
75
|
+
*/
|
|
76
|
+
AppActivityChangeKind[AppActivityChangeKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
77
|
+
/**
|
|
78
|
+
* @generated from protobuf enum value: APP_ACTIVITY_CHANGE_KIND_UPSERT = 1;
|
|
79
|
+
*/
|
|
80
|
+
AppActivityChangeKind[AppActivityChangeKind["UPSERT"] = 1] = "UPSERT";
|
|
81
|
+
/**
|
|
82
|
+
* @generated from protobuf enum value: APP_ACTIVITY_CHANGE_KIND_REMOVE = 2;
|
|
83
|
+
*/
|
|
84
|
+
AppActivityChangeKind[AppActivityChangeKind["REMOVE"] = 2] = "REMOVE";
|
|
85
|
+
})(AppActivityChangeKind || (AppActivityChangeKind = {}));
|
|
86
|
+
/**
|
|
87
|
+
* @generated from protobuf enum nimi.runtime.v1.AppActivityOpenOutcome
|
|
88
|
+
*/
|
|
89
|
+
export var AppActivityOpenOutcome;
|
|
90
|
+
(function (AppActivityOpenOutcome) {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_OUTCOME_UNSPECIFIED = 0;
|
|
93
|
+
*/
|
|
94
|
+
AppActivityOpenOutcome[AppActivityOpenOutcome["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
95
|
+
/**
|
|
96
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_OUTCOME_OPENED = 1;
|
|
97
|
+
*/
|
|
98
|
+
AppActivityOpenOutcome[AppActivityOpenOutcome["OPENED"] = 1] = "OPENED";
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_OUTCOME_UNAVAILABLE = 2;
|
|
101
|
+
*/
|
|
102
|
+
AppActivityOpenOutcome[AppActivityOpenOutcome["UNAVAILABLE"] = 2] = "UNAVAILABLE";
|
|
103
|
+
/**
|
|
104
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_OUTCOME_FAILED = 3;
|
|
105
|
+
*/
|
|
106
|
+
AppActivityOpenOutcome[AppActivityOpenOutcome["FAILED"] = 3] = "FAILED";
|
|
107
|
+
})(AppActivityOpenOutcome || (AppActivityOpenOutcome = {}));
|
|
108
|
+
/**
|
|
109
|
+
* @generated from protobuf enum nimi.runtime.v1.AppActivityOpenReason
|
|
110
|
+
*/
|
|
111
|
+
export var AppActivityOpenReason;
|
|
112
|
+
(function (AppActivityOpenReason) {
|
|
113
|
+
/**
|
|
114
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_REASON_UNSPECIFIED = 0;
|
|
115
|
+
*/
|
|
116
|
+
AppActivityOpenReason[AppActivityOpenReason["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
117
|
+
/**
|
|
118
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_REASON_OPENED = 1;
|
|
119
|
+
*/
|
|
120
|
+
AppActivityOpenReason[AppActivityOpenReason["OPENED"] = 1] = "OPENED";
|
|
121
|
+
/**
|
|
122
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_REASON_NOT_OPENABLE = 2;
|
|
123
|
+
*/
|
|
124
|
+
AppActivityOpenReason[AppActivityOpenReason["NOT_OPENABLE"] = 2] = "NOT_OPENABLE";
|
|
125
|
+
/**
|
|
126
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_REASON_SOURCE_UNAVAILABLE = 3;
|
|
127
|
+
*/
|
|
128
|
+
AppActivityOpenReason[AppActivityOpenReason["SOURCE_UNAVAILABLE"] = 3] = "SOURCE_UNAVAILABLE";
|
|
129
|
+
/**
|
|
130
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_REASON_OBJECT_UNAVAILABLE = 4;
|
|
131
|
+
*/
|
|
132
|
+
AppActivityOpenReason[AppActivityOpenReason["OBJECT_UNAVAILABLE"] = 4] = "OBJECT_UNAVAILABLE";
|
|
133
|
+
/**
|
|
134
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_REASON_SOURCE_NOT_READY = 5;
|
|
135
|
+
*/
|
|
136
|
+
AppActivityOpenReason[AppActivityOpenReason["SOURCE_NOT_READY"] = 5] = "SOURCE_NOT_READY";
|
|
137
|
+
/**
|
|
138
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_REASON_CANCELED = 6;
|
|
139
|
+
*/
|
|
140
|
+
AppActivityOpenReason[AppActivityOpenReason["CANCELED"] = 6] = "CANCELED";
|
|
141
|
+
/**
|
|
142
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_REASON_ACTIVITY_UNAVAILABLE = 7;
|
|
143
|
+
*/
|
|
144
|
+
AppActivityOpenReason[AppActivityOpenReason["ACTIVITY_UNAVAILABLE"] = 7] = "ACTIVITY_UNAVAILABLE";
|
|
145
|
+
})(AppActivityOpenReason || (AppActivityOpenReason = {}));
|
|
146
|
+
/**
|
|
147
|
+
* @generated from protobuf enum nimi.runtime.v1.AppActivityOpenCompletion
|
|
148
|
+
*/
|
|
149
|
+
export var AppActivityOpenCompletion;
|
|
150
|
+
(function (AppActivityOpenCompletion) {
|
|
151
|
+
/**
|
|
152
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_COMPLETION_UNSPECIFIED = 0;
|
|
153
|
+
*/
|
|
154
|
+
AppActivityOpenCompletion[AppActivityOpenCompletion["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
155
|
+
/**
|
|
156
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_COMPLETION_OPENED = 1;
|
|
157
|
+
*/
|
|
158
|
+
AppActivityOpenCompletion[AppActivityOpenCompletion["OPENED"] = 1] = "OPENED";
|
|
159
|
+
/**
|
|
160
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_COMPLETION_OBJECT_UNAVAILABLE = 2;
|
|
161
|
+
*/
|
|
162
|
+
AppActivityOpenCompletion[AppActivityOpenCompletion["OBJECT_UNAVAILABLE"] = 2] = "OBJECT_UNAVAILABLE";
|
|
163
|
+
})(AppActivityOpenCompletion || (AppActivityOpenCompletion = {}));
|
|
164
|
+
/**
|
|
165
|
+
* @generated from protobuf enum nimi.runtime.v1.AppActivityOpenLaunchSourceClass
|
|
166
|
+
*/
|
|
167
|
+
export var AppActivityOpenLaunchSourceClass;
|
|
168
|
+
(function (AppActivityOpenLaunchSourceClass) {
|
|
169
|
+
/**
|
|
170
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_LAUNCH_SOURCE_CLASS_UNSPECIFIED = 0;
|
|
171
|
+
*/
|
|
172
|
+
AppActivityOpenLaunchSourceClass[AppActivityOpenLaunchSourceClass["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
173
|
+
/**
|
|
174
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_LAUNCH_SOURCE_CLASS_INSTALLED = 1;
|
|
175
|
+
*/
|
|
176
|
+
AppActivityOpenLaunchSourceClass[AppActivityOpenLaunchSourceClass["INSTALLED"] = 1] = "INSTALLED";
|
|
177
|
+
/**
|
|
178
|
+
* @generated from protobuf enum value: APP_ACTIVITY_OPEN_LAUNCH_SOURCE_CLASS_LOCAL_DEVELOPMENT = 2;
|
|
179
|
+
*/
|
|
180
|
+
AppActivityOpenLaunchSourceClass[AppActivityOpenLaunchSourceClass["LOCAL_DEVELOPMENT"] = 2] = "LOCAL_DEVELOPMENT";
|
|
181
|
+
})(AppActivityOpenLaunchSourceClass || (AppActivityOpenLaunchSourceClass = {}));
|
|
182
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
183
|
+
class AppActivitySource$Type extends MessageType {
|
|
184
|
+
constructor() {
|
|
185
|
+
super("nimi.runtime.v1.AppActivitySource", [
|
|
186
|
+
{ no: 1, name: "kind", kind: "enum", T: () => ["nimi.runtime.v1.AppActivitySourceKind", AppActivitySourceKind, "APP_ACTIVITY_SOURCE_KIND_"] },
|
|
187
|
+
{ no: 2, name: "source_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
188
|
+
{ no: 3, name: "app_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
189
|
+
{ no: 4, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
190
|
+
{ no: 5, name: "available", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
191
|
+
]);
|
|
192
|
+
}
|
|
193
|
+
create(value) {
|
|
194
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
195
|
+
message.kind = 0;
|
|
196
|
+
message.sourceRef = "";
|
|
197
|
+
message.appId = "";
|
|
198
|
+
message.displayName = "";
|
|
199
|
+
message.available = false;
|
|
200
|
+
if (value !== undefined)
|
|
201
|
+
reflectionMergePartial(this, message, value);
|
|
202
|
+
return message;
|
|
203
|
+
}
|
|
204
|
+
internalBinaryRead(reader, length, options, target) {
|
|
205
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
206
|
+
while (reader.pos < end) {
|
|
207
|
+
let [fieldNo, wireType] = reader.tag();
|
|
208
|
+
switch (fieldNo) {
|
|
209
|
+
case /* nimi.runtime.v1.AppActivitySourceKind kind */ 1:
|
|
210
|
+
message.kind = reader.int32();
|
|
211
|
+
break;
|
|
212
|
+
case /* string source_ref */ 2:
|
|
213
|
+
message.sourceRef = reader.string();
|
|
214
|
+
break;
|
|
215
|
+
case /* string app_id */ 3:
|
|
216
|
+
message.appId = reader.string();
|
|
217
|
+
break;
|
|
218
|
+
case /* string display_name */ 4:
|
|
219
|
+
message.displayName = reader.string();
|
|
220
|
+
break;
|
|
221
|
+
case /* bool available */ 5:
|
|
222
|
+
message.available = reader.bool();
|
|
223
|
+
break;
|
|
224
|
+
default:
|
|
225
|
+
let u = options.readUnknownField;
|
|
226
|
+
if (u === "throw")
|
|
227
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
228
|
+
let d = reader.skip(wireType);
|
|
229
|
+
if (u !== false)
|
|
230
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
return message;
|
|
234
|
+
}
|
|
235
|
+
internalBinaryWrite(message, writer, options) {
|
|
236
|
+
/* nimi.runtime.v1.AppActivitySourceKind kind = 1; */
|
|
237
|
+
if (message.kind !== 0)
|
|
238
|
+
writer.tag(1, WireType.Varint).int32(message.kind);
|
|
239
|
+
/* string source_ref = 2; */
|
|
240
|
+
if (message.sourceRef !== "")
|
|
241
|
+
writer.tag(2, WireType.LengthDelimited).string(message.sourceRef);
|
|
242
|
+
/* string app_id = 3; */
|
|
243
|
+
if (message.appId !== "")
|
|
244
|
+
writer.tag(3, WireType.LengthDelimited).string(message.appId);
|
|
245
|
+
/* string display_name = 4; */
|
|
246
|
+
if (message.displayName !== "")
|
|
247
|
+
writer.tag(4, WireType.LengthDelimited).string(message.displayName);
|
|
248
|
+
/* bool available = 5; */
|
|
249
|
+
if (message.available !== false)
|
|
250
|
+
writer.tag(5, WireType.Varint).bool(message.available);
|
|
251
|
+
let u = options.writeUnknownFields;
|
|
252
|
+
if (u !== false)
|
|
253
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
254
|
+
return writer;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppActivitySource
|
|
259
|
+
*/
|
|
260
|
+
export const AppActivitySource = new AppActivitySource$Type();
|
|
261
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
262
|
+
class AppActivityAgentAssociation$Type extends MessageType {
|
|
263
|
+
constructor() {
|
|
264
|
+
super("nimi.runtime.v1.AppActivityAgentAssociation", [
|
|
265
|
+
{ no: 1, name: "agent_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
266
|
+
{ no: 2, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
267
|
+
]);
|
|
268
|
+
}
|
|
269
|
+
create(value) {
|
|
270
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
271
|
+
message.agentRef = "";
|
|
272
|
+
message.displayName = "";
|
|
273
|
+
if (value !== undefined)
|
|
274
|
+
reflectionMergePartial(this, message, value);
|
|
275
|
+
return message;
|
|
276
|
+
}
|
|
277
|
+
internalBinaryRead(reader, length, options, target) {
|
|
278
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
279
|
+
while (reader.pos < end) {
|
|
280
|
+
let [fieldNo, wireType] = reader.tag();
|
|
281
|
+
switch (fieldNo) {
|
|
282
|
+
case /* string agent_ref */ 1:
|
|
283
|
+
message.agentRef = reader.string();
|
|
284
|
+
break;
|
|
285
|
+
case /* string display_name */ 2:
|
|
286
|
+
message.displayName = reader.string();
|
|
287
|
+
break;
|
|
288
|
+
default:
|
|
289
|
+
let u = options.readUnknownField;
|
|
290
|
+
if (u === "throw")
|
|
291
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
292
|
+
let d = reader.skip(wireType);
|
|
293
|
+
if (u !== false)
|
|
294
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
return message;
|
|
298
|
+
}
|
|
299
|
+
internalBinaryWrite(message, writer, options) {
|
|
300
|
+
/* string agent_ref = 1; */
|
|
301
|
+
if (message.agentRef !== "")
|
|
302
|
+
writer.tag(1, WireType.LengthDelimited).string(message.agentRef);
|
|
303
|
+
/* string display_name = 2; */
|
|
304
|
+
if (message.displayName !== "")
|
|
305
|
+
writer.tag(2, WireType.LengthDelimited).string(message.displayName);
|
|
306
|
+
let u = options.writeUnknownFields;
|
|
307
|
+
if (u !== false)
|
|
308
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
309
|
+
return writer;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppActivityAgentAssociation
|
|
314
|
+
*/
|
|
315
|
+
export const AppActivityAgentAssociation = new AppActivityAgentAssociation$Type();
|
|
316
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
317
|
+
class AppActivityUserView$Type extends MessageType {
|
|
318
|
+
constructor() {
|
|
319
|
+
super("nimi.runtime.v1.AppActivityUserView", [
|
|
320
|
+
{ no: 1, name: "read_through_revision", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
321
|
+
{ no: 2, name: "unread", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
322
|
+
{ no: 3, name: "needs_attention", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
323
|
+
]);
|
|
324
|
+
}
|
|
325
|
+
create(value) {
|
|
326
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
327
|
+
message.readThroughRevision = "0";
|
|
328
|
+
message.unread = false;
|
|
329
|
+
message.needsAttention = false;
|
|
330
|
+
if (value !== undefined)
|
|
331
|
+
reflectionMergePartial(this, message, value);
|
|
332
|
+
return message;
|
|
333
|
+
}
|
|
334
|
+
internalBinaryRead(reader, length, options, target) {
|
|
335
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
336
|
+
while (reader.pos < end) {
|
|
337
|
+
let [fieldNo, wireType] = reader.tag();
|
|
338
|
+
switch (fieldNo) {
|
|
339
|
+
case /* uint64 read_through_revision */ 1:
|
|
340
|
+
message.readThroughRevision = reader.uint64().toString();
|
|
341
|
+
break;
|
|
342
|
+
case /* bool unread */ 2:
|
|
343
|
+
message.unread = reader.bool();
|
|
344
|
+
break;
|
|
345
|
+
case /* bool needs_attention */ 3:
|
|
346
|
+
message.needsAttention = reader.bool();
|
|
347
|
+
break;
|
|
348
|
+
default:
|
|
349
|
+
let u = options.readUnknownField;
|
|
350
|
+
if (u === "throw")
|
|
351
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
352
|
+
let d = reader.skip(wireType);
|
|
353
|
+
if (u !== false)
|
|
354
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
return message;
|
|
358
|
+
}
|
|
359
|
+
internalBinaryWrite(message, writer, options) {
|
|
360
|
+
/* uint64 read_through_revision = 1; */
|
|
361
|
+
if (message.readThroughRevision !== "0")
|
|
362
|
+
writer.tag(1, WireType.Varint).uint64(message.readThroughRevision);
|
|
363
|
+
/* bool unread = 2; */
|
|
364
|
+
if (message.unread !== false)
|
|
365
|
+
writer.tag(2, WireType.Varint).bool(message.unread);
|
|
366
|
+
/* bool needs_attention = 3; */
|
|
367
|
+
if (message.needsAttention !== false)
|
|
368
|
+
writer.tag(3, WireType.Varint).bool(message.needsAttention);
|
|
369
|
+
let u = options.writeUnknownFields;
|
|
370
|
+
if (u !== false)
|
|
371
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
372
|
+
return writer;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppActivityUserView
|
|
377
|
+
*/
|
|
378
|
+
export const AppActivityUserView = new AppActivityUserView$Type();
|
|
379
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
380
|
+
class AppActivityRecord$Type extends MessageType {
|
|
381
|
+
constructor() {
|
|
382
|
+
super("nimi.runtime.v1.AppActivityRecord", [
|
|
383
|
+
{ no: 1, name: "activity_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
384
|
+
{ no: 2, name: "source", kind: "message", T: () => AppActivitySource },
|
|
385
|
+
{ no: 3, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
386
|
+
{ no: 4, name: "revision", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
387
|
+
{ no: 5, name: "kind", kind: "enum", T: () => ["nimi.runtime.v1.AppActivityKind", AppActivityKind, "APP_ACTIVITY_KIND_"] },
|
|
388
|
+
{ no: 6, name: "todo_state", kind: "enum", T: () => ["nimi.runtime.v1.AppActivityTodoState", AppActivityTodoState, "APP_ACTIVITY_TODO_STATE_"] },
|
|
389
|
+
{ no: 7, name: "attention", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
390
|
+
{ no: 8, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
391
|
+
{ no: 9, name: "summary", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
392
|
+
{ no: 10, name: "object_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
393
|
+
{ no: 11, name: "activity_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
394
|
+
{ no: 12, name: "data_json", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
395
|
+
{ no: 13, name: "agent", kind: "message", T: () => AppActivityAgentAssociation },
|
|
396
|
+
{ no: 14, name: "occurred_at", kind: "message", T: () => Timestamp },
|
|
397
|
+
{ no: 15, name: "published_at", kind: "message", T: () => Timestamp },
|
|
398
|
+
{ no: 16, name: "updated_at", kind: "message", T: () => Timestamp },
|
|
399
|
+
{ no: 17, name: "change_seq", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
400
|
+
{ no: 18, name: "user_view", kind: "message", T: () => AppActivityUserView }
|
|
401
|
+
]);
|
|
402
|
+
}
|
|
403
|
+
create(value) {
|
|
404
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
405
|
+
message.activityId = "";
|
|
406
|
+
message.key = "";
|
|
407
|
+
message.revision = "0";
|
|
408
|
+
message.kind = 0;
|
|
409
|
+
message.todoState = 0;
|
|
410
|
+
message.attention = false;
|
|
411
|
+
message.title = "";
|
|
412
|
+
message.summary = "";
|
|
413
|
+
message.objectRef = "";
|
|
414
|
+
message.activityType = "";
|
|
415
|
+
message.dataJson = "";
|
|
416
|
+
message.changeSeq = "0";
|
|
417
|
+
if (value !== undefined)
|
|
418
|
+
reflectionMergePartial(this, message, value);
|
|
419
|
+
return message;
|
|
420
|
+
}
|
|
421
|
+
internalBinaryRead(reader, length, options, target) {
|
|
422
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
423
|
+
while (reader.pos < end) {
|
|
424
|
+
let [fieldNo, wireType] = reader.tag();
|
|
425
|
+
switch (fieldNo) {
|
|
426
|
+
case /* string activity_id */ 1:
|
|
427
|
+
message.activityId = reader.string();
|
|
428
|
+
break;
|
|
429
|
+
case /* nimi.runtime.v1.AppActivitySource source */ 2:
|
|
430
|
+
message.source = AppActivitySource.internalBinaryRead(reader, reader.uint32(), options, message.source);
|
|
431
|
+
break;
|
|
432
|
+
case /* string key */ 3:
|
|
433
|
+
message.key = reader.string();
|
|
434
|
+
break;
|
|
435
|
+
case /* uint64 revision */ 4:
|
|
436
|
+
message.revision = reader.uint64().toString();
|
|
437
|
+
break;
|
|
438
|
+
case /* nimi.runtime.v1.AppActivityKind kind */ 5:
|
|
439
|
+
message.kind = reader.int32();
|
|
440
|
+
break;
|
|
441
|
+
case /* nimi.runtime.v1.AppActivityTodoState todo_state */ 6:
|
|
442
|
+
message.todoState = reader.int32();
|
|
443
|
+
break;
|
|
444
|
+
case /* bool attention */ 7:
|
|
445
|
+
message.attention = reader.bool();
|
|
446
|
+
break;
|
|
447
|
+
case /* string title */ 8:
|
|
448
|
+
message.title = reader.string();
|
|
449
|
+
break;
|
|
450
|
+
case /* string summary */ 9:
|
|
451
|
+
message.summary = reader.string();
|
|
452
|
+
break;
|
|
453
|
+
case /* string object_ref */ 10:
|
|
454
|
+
message.objectRef = reader.string();
|
|
455
|
+
break;
|
|
456
|
+
case /* string activity_type */ 11:
|
|
457
|
+
message.activityType = reader.string();
|
|
458
|
+
break;
|
|
459
|
+
case /* string data_json */ 12:
|
|
460
|
+
message.dataJson = reader.string();
|
|
461
|
+
break;
|
|
462
|
+
case /* nimi.runtime.v1.AppActivityAgentAssociation agent */ 13:
|
|
463
|
+
message.agent = AppActivityAgentAssociation.internalBinaryRead(reader, reader.uint32(), options, message.agent);
|
|
464
|
+
break;
|
|
465
|
+
case /* google.protobuf.Timestamp occurred_at */ 14:
|
|
466
|
+
message.occurredAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.occurredAt);
|
|
467
|
+
break;
|
|
468
|
+
case /* google.protobuf.Timestamp published_at */ 15:
|
|
469
|
+
message.publishedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.publishedAt);
|
|
470
|
+
break;
|
|
471
|
+
case /* google.protobuf.Timestamp updated_at */ 16:
|
|
472
|
+
message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);
|
|
473
|
+
break;
|
|
474
|
+
case /* uint64 change_seq */ 17:
|
|
475
|
+
message.changeSeq = reader.uint64().toString();
|
|
476
|
+
break;
|
|
477
|
+
case /* nimi.runtime.v1.AppActivityUserView user_view */ 18:
|
|
478
|
+
message.userView = AppActivityUserView.internalBinaryRead(reader, reader.uint32(), options, message.userView);
|
|
479
|
+
break;
|
|
480
|
+
default:
|
|
481
|
+
let u = options.readUnknownField;
|
|
482
|
+
if (u === "throw")
|
|
483
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
484
|
+
let d = reader.skip(wireType);
|
|
485
|
+
if (u !== false)
|
|
486
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
return message;
|
|
490
|
+
}
|
|
491
|
+
internalBinaryWrite(message, writer, options) {
|
|
492
|
+
/* string activity_id = 1; */
|
|
493
|
+
if (message.activityId !== "")
|
|
494
|
+
writer.tag(1, WireType.LengthDelimited).string(message.activityId);
|
|
495
|
+
/* nimi.runtime.v1.AppActivitySource source = 2; */
|
|
496
|
+
if (message.source)
|
|
497
|
+
AppActivitySource.internalBinaryWrite(message.source, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
498
|
+
/* string key = 3; */
|
|
499
|
+
if (message.key !== "")
|
|
500
|
+
writer.tag(3, WireType.LengthDelimited).string(message.key);
|
|
501
|
+
/* uint64 revision = 4; */
|
|
502
|
+
if (message.revision !== "0")
|
|
503
|
+
writer.tag(4, WireType.Varint).uint64(message.revision);
|
|
504
|
+
/* nimi.runtime.v1.AppActivityKind kind = 5; */
|
|
505
|
+
if (message.kind !== 0)
|
|
506
|
+
writer.tag(5, WireType.Varint).int32(message.kind);
|
|
507
|
+
/* nimi.runtime.v1.AppActivityTodoState todo_state = 6; */
|
|
508
|
+
if (message.todoState !== 0)
|
|
509
|
+
writer.tag(6, WireType.Varint).int32(message.todoState);
|
|
510
|
+
/* bool attention = 7; */
|
|
511
|
+
if (message.attention !== false)
|
|
512
|
+
writer.tag(7, WireType.Varint).bool(message.attention);
|
|
513
|
+
/* string title = 8; */
|
|
514
|
+
if (message.title !== "")
|
|
515
|
+
writer.tag(8, WireType.LengthDelimited).string(message.title);
|
|
516
|
+
/* string summary = 9; */
|
|
517
|
+
if (message.summary !== "")
|
|
518
|
+
writer.tag(9, WireType.LengthDelimited).string(message.summary);
|
|
519
|
+
/* string object_ref = 10; */
|
|
520
|
+
if (message.objectRef !== "")
|
|
521
|
+
writer.tag(10, WireType.LengthDelimited).string(message.objectRef);
|
|
522
|
+
/* string activity_type = 11; */
|
|
523
|
+
if (message.activityType !== "")
|
|
524
|
+
writer.tag(11, WireType.LengthDelimited).string(message.activityType);
|
|
525
|
+
/* string data_json = 12; */
|
|
526
|
+
if (message.dataJson !== "")
|
|
527
|
+
writer.tag(12, WireType.LengthDelimited).string(message.dataJson);
|
|
528
|
+
/* nimi.runtime.v1.AppActivityAgentAssociation agent = 13; */
|
|
529
|
+
if (message.agent)
|
|
530
|
+
AppActivityAgentAssociation.internalBinaryWrite(message.agent, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
|
|
531
|
+
/* google.protobuf.Timestamp occurred_at = 14; */
|
|
532
|
+
if (message.occurredAt)
|
|
533
|
+
Timestamp.internalBinaryWrite(message.occurredAt, writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
|
534
|
+
/* google.protobuf.Timestamp published_at = 15; */
|
|
535
|
+
if (message.publishedAt)
|
|
536
|
+
Timestamp.internalBinaryWrite(message.publishedAt, writer.tag(15, WireType.LengthDelimited).fork(), options).join();
|
|
537
|
+
/* google.protobuf.Timestamp updated_at = 16; */
|
|
538
|
+
if (message.updatedAt)
|
|
539
|
+
Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
|
540
|
+
/* uint64 change_seq = 17; */
|
|
541
|
+
if (message.changeSeq !== "0")
|
|
542
|
+
writer.tag(17, WireType.Varint).uint64(message.changeSeq);
|
|
543
|
+
/* nimi.runtime.v1.AppActivityUserView user_view = 18; */
|
|
544
|
+
if (message.userView)
|
|
545
|
+
AppActivityUserView.internalBinaryWrite(message.userView, writer.tag(18, WireType.LengthDelimited).fork(), options).join();
|
|
546
|
+
let u = options.writeUnknownFields;
|
|
547
|
+
if (u !== false)
|
|
548
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
549
|
+
return writer;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppActivityRecord
|
|
554
|
+
*/
|
|
555
|
+
export const AppActivityRecord = new AppActivityRecord$Type();
|
|
556
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
557
|
+
class PutAppActivityRequest$Type extends MessageType {
|
|
558
|
+
constructor() {
|
|
559
|
+
super("nimi.runtime.v1.PutAppActivityRequest", [
|
|
560
|
+
{ no: 1, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
561
|
+
{ no: 2, name: "revision", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
562
|
+
{ no: 3, name: "kind", kind: "enum", T: () => ["nimi.runtime.v1.AppActivityKind", AppActivityKind, "APP_ACTIVITY_KIND_"] },
|
|
563
|
+
{ no: 4, name: "todo_state", kind: "enum", T: () => ["nimi.runtime.v1.AppActivityTodoState", AppActivityTodoState, "APP_ACTIVITY_TODO_STATE_"] },
|
|
564
|
+
{ no: 5, name: "attention", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
565
|
+
{ no: 6, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
566
|
+
{ no: 7, name: "summary", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
567
|
+
{ no: 8, name: "object_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
568
|
+
{ no: 9, name: "activity_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
569
|
+
{ no: 10, name: "data_json", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
570
|
+
{ no: 11, name: "occurred_at", kind: "message", T: () => Timestamp },
|
|
571
|
+
{ no: 12, name: "agent_handle", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
572
|
+
]);
|
|
573
|
+
}
|
|
574
|
+
create(value) {
|
|
575
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
576
|
+
message.key = "";
|
|
577
|
+
message.revision = "0";
|
|
578
|
+
message.kind = 0;
|
|
579
|
+
message.todoState = 0;
|
|
580
|
+
message.attention = false;
|
|
581
|
+
message.title = "";
|
|
582
|
+
message.summary = "";
|
|
583
|
+
message.objectRef = "";
|
|
584
|
+
message.activityType = "";
|
|
585
|
+
message.dataJson = "";
|
|
586
|
+
message.agentHandle = "";
|
|
587
|
+
if (value !== undefined)
|
|
588
|
+
reflectionMergePartial(this, message, value);
|
|
589
|
+
return message;
|
|
590
|
+
}
|
|
591
|
+
internalBinaryRead(reader, length, options, target) {
|
|
592
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
593
|
+
while (reader.pos < end) {
|
|
594
|
+
let [fieldNo, wireType] = reader.tag();
|
|
595
|
+
switch (fieldNo) {
|
|
596
|
+
case /* string key */ 1:
|
|
597
|
+
message.key = reader.string();
|
|
598
|
+
break;
|
|
599
|
+
case /* uint64 revision */ 2:
|
|
600
|
+
message.revision = reader.uint64().toString();
|
|
601
|
+
break;
|
|
602
|
+
case /* nimi.runtime.v1.AppActivityKind kind */ 3:
|
|
603
|
+
message.kind = reader.int32();
|
|
604
|
+
break;
|
|
605
|
+
case /* nimi.runtime.v1.AppActivityTodoState todo_state */ 4:
|
|
606
|
+
message.todoState = reader.int32();
|
|
607
|
+
break;
|
|
608
|
+
case /* bool attention */ 5:
|
|
609
|
+
message.attention = reader.bool();
|
|
610
|
+
break;
|
|
611
|
+
case /* string title */ 6:
|
|
612
|
+
message.title = reader.string();
|
|
613
|
+
break;
|
|
614
|
+
case /* string summary */ 7:
|
|
615
|
+
message.summary = reader.string();
|
|
616
|
+
break;
|
|
617
|
+
case /* string object_ref */ 8:
|
|
618
|
+
message.objectRef = reader.string();
|
|
619
|
+
break;
|
|
620
|
+
case /* string activity_type */ 9:
|
|
621
|
+
message.activityType = reader.string();
|
|
622
|
+
break;
|
|
623
|
+
case /* string data_json */ 10:
|
|
624
|
+
message.dataJson = reader.string();
|
|
625
|
+
break;
|
|
626
|
+
case /* google.protobuf.Timestamp occurred_at */ 11:
|
|
627
|
+
message.occurredAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.occurredAt);
|
|
628
|
+
break;
|
|
629
|
+
case /* string agent_handle */ 12:
|
|
630
|
+
message.agentHandle = reader.string();
|
|
631
|
+
break;
|
|
632
|
+
default:
|
|
633
|
+
let u = options.readUnknownField;
|
|
634
|
+
if (u === "throw")
|
|
635
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
636
|
+
let d = reader.skip(wireType);
|
|
637
|
+
if (u !== false)
|
|
638
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
return message;
|
|
642
|
+
}
|
|
643
|
+
internalBinaryWrite(message, writer, options) {
|
|
644
|
+
/* string key = 1; */
|
|
645
|
+
if (message.key !== "")
|
|
646
|
+
writer.tag(1, WireType.LengthDelimited).string(message.key);
|
|
647
|
+
/* uint64 revision = 2; */
|
|
648
|
+
if (message.revision !== "0")
|
|
649
|
+
writer.tag(2, WireType.Varint).uint64(message.revision);
|
|
650
|
+
/* nimi.runtime.v1.AppActivityKind kind = 3; */
|
|
651
|
+
if (message.kind !== 0)
|
|
652
|
+
writer.tag(3, WireType.Varint).int32(message.kind);
|
|
653
|
+
/* nimi.runtime.v1.AppActivityTodoState todo_state = 4; */
|
|
654
|
+
if (message.todoState !== 0)
|
|
655
|
+
writer.tag(4, WireType.Varint).int32(message.todoState);
|
|
656
|
+
/* bool attention = 5; */
|
|
657
|
+
if (message.attention !== false)
|
|
658
|
+
writer.tag(5, WireType.Varint).bool(message.attention);
|
|
659
|
+
/* string title = 6; */
|
|
660
|
+
if (message.title !== "")
|
|
661
|
+
writer.tag(6, WireType.LengthDelimited).string(message.title);
|
|
662
|
+
/* string summary = 7; */
|
|
663
|
+
if (message.summary !== "")
|
|
664
|
+
writer.tag(7, WireType.LengthDelimited).string(message.summary);
|
|
665
|
+
/* string object_ref = 8; */
|
|
666
|
+
if (message.objectRef !== "")
|
|
667
|
+
writer.tag(8, WireType.LengthDelimited).string(message.objectRef);
|
|
668
|
+
/* string activity_type = 9; */
|
|
669
|
+
if (message.activityType !== "")
|
|
670
|
+
writer.tag(9, WireType.LengthDelimited).string(message.activityType);
|
|
671
|
+
/* string data_json = 10; */
|
|
672
|
+
if (message.dataJson !== "")
|
|
673
|
+
writer.tag(10, WireType.LengthDelimited).string(message.dataJson);
|
|
674
|
+
/* google.protobuf.Timestamp occurred_at = 11; */
|
|
675
|
+
if (message.occurredAt)
|
|
676
|
+
Timestamp.internalBinaryWrite(message.occurredAt, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
|
677
|
+
/* string agent_handle = 12; */
|
|
678
|
+
if (message.agentHandle !== "")
|
|
679
|
+
writer.tag(12, WireType.LengthDelimited).string(message.agentHandle);
|
|
680
|
+
let u = options.writeUnknownFields;
|
|
681
|
+
if (u !== false)
|
|
682
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
683
|
+
return writer;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.PutAppActivityRequest
|
|
688
|
+
*/
|
|
689
|
+
export const PutAppActivityRequest = new PutAppActivityRequest$Type();
|
|
690
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
691
|
+
class PutAppActivityResponse$Type extends MessageType {
|
|
692
|
+
constructor() {
|
|
693
|
+
super("nimi.runtime.v1.PutAppActivityResponse", [
|
|
694
|
+
{ no: 1, name: "record", kind: "message", T: () => AppActivityRecord },
|
|
695
|
+
{ no: 2, name: "changed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
696
|
+
]);
|
|
697
|
+
}
|
|
698
|
+
create(value) {
|
|
699
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
700
|
+
message.changed = false;
|
|
701
|
+
if (value !== undefined)
|
|
702
|
+
reflectionMergePartial(this, message, value);
|
|
703
|
+
return message;
|
|
704
|
+
}
|
|
705
|
+
internalBinaryRead(reader, length, options, target) {
|
|
706
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
707
|
+
while (reader.pos < end) {
|
|
708
|
+
let [fieldNo, wireType] = reader.tag();
|
|
709
|
+
switch (fieldNo) {
|
|
710
|
+
case /* nimi.runtime.v1.AppActivityRecord record */ 1:
|
|
711
|
+
message.record = AppActivityRecord.internalBinaryRead(reader, reader.uint32(), options, message.record);
|
|
712
|
+
break;
|
|
713
|
+
case /* bool changed */ 2:
|
|
714
|
+
message.changed = reader.bool();
|
|
715
|
+
break;
|
|
716
|
+
default:
|
|
717
|
+
let u = options.readUnknownField;
|
|
718
|
+
if (u === "throw")
|
|
719
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
720
|
+
let d = reader.skip(wireType);
|
|
721
|
+
if (u !== false)
|
|
722
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
return message;
|
|
726
|
+
}
|
|
727
|
+
internalBinaryWrite(message, writer, options) {
|
|
728
|
+
/* nimi.runtime.v1.AppActivityRecord record = 1; */
|
|
729
|
+
if (message.record)
|
|
730
|
+
AppActivityRecord.internalBinaryWrite(message.record, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
731
|
+
/* bool changed = 2; */
|
|
732
|
+
if (message.changed !== false)
|
|
733
|
+
writer.tag(2, WireType.Varint).bool(message.changed);
|
|
734
|
+
let u = options.writeUnknownFields;
|
|
735
|
+
if (u !== false)
|
|
736
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
737
|
+
return writer;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.PutAppActivityResponse
|
|
742
|
+
*/
|
|
743
|
+
export const PutAppActivityResponse = new PutAppActivityResponse$Type();
|
|
744
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
745
|
+
class AppActivityFilter$Type extends MessageType {
|
|
746
|
+
constructor() {
|
|
747
|
+
super("nimi.runtime.v1.AppActivityFilter", [
|
|
748
|
+
{ no: 1, name: "source_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
749
|
+
{ no: 2, name: "kind", kind: "enum", T: () => ["nimi.runtime.v1.AppActivityKind", AppActivityKind, "APP_ACTIVITY_KIND_"] },
|
|
750
|
+
{ no: 3, name: "todo_states", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["nimi.runtime.v1.AppActivityTodoState", AppActivityTodoState, "APP_ACTIVITY_TODO_STATE_"] },
|
|
751
|
+
{ no: 4, name: "agent_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
752
|
+
{ no: 5, name: "occurred_after", kind: "message", T: () => Timestamp },
|
|
753
|
+
{ no: 6, name: "occurred_before", kind: "message", T: () => Timestamp }
|
|
754
|
+
]);
|
|
755
|
+
}
|
|
756
|
+
create(value) {
|
|
757
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
758
|
+
message.sourceRef = "";
|
|
759
|
+
message.kind = 0;
|
|
760
|
+
message.todoStates = [];
|
|
761
|
+
message.agentRef = "";
|
|
762
|
+
if (value !== undefined)
|
|
763
|
+
reflectionMergePartial(this, message, value);
|
|
764
|
+
return message;
|
|
765
|
+
}
|
|
766
|
+
internalBinaryRead(reader, length, options, target) {
|
|
767
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
768
|
+
while (reader.pos < end) {
|
|
769
|
+
let [fieldNo, wireType] = reader.tag();
|
|
770
|
+
switch (fieldNo) {
|
|
771
|
+
case /* string source_ref */ 1:
|
|
772
|
+
message.sourceRef = reader.string();
|
|
773
|
+
break;
|
|
774
|
+
case /* nimi.runtime.v1.AppActivityKind kind */ 2:
|
|
775
|
+
message.kind = reader.int32();
|
|
776
|
+
break;
|
|
777
|
+
case /* repeated nimi.runtime.v1.AppActivityTodoState todo_states */ 3:
|
|
778
|
+
if (wireType === WireType.LengthDelimited)
|
|
779
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
780
|
+
message.todoStates.push(reader.int32());
|
|
781
|
+
else
|
|
782
|
+
message.todoStates.push(reader.int32());
|
|
783
|
+
break;
|
|
784
|
+
case /* string agent_ref */ 4:
|
|
785
|
+
message.agentRef = reader.string();
|
|
786
|
+
break;
|
|
787
|
+
case /* google.protobuf.Timestamp occurred_after */ 5:
|
|
788
|
+
message.occurredAfter = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.occurredAfter);
|
|
789
|
+
break;
|
|
790
|
+
case /* google.protobuf.Timestamp occurred_before */ 6:
|
|
791
|
+
message.occurredBefore = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.occurredBefore);
|
|
792
|
+
break;
|
|
793
|
+
default:
|
|
794
|
+
let u = options.readUnknownField;
|
|
795
|
+
if (u === "throw")
|
|
796
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
797
|
+
let d = reader.skip(wireType);
|
|
798
|
+
if (u !== false)
|
|
799
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
return message;
|
|
803
|
+
}
|
|
804
|
+
internalBinaryWrite(message, writer, options) {
|
|
805
|
+
/* string source_ref = 1; */
|
|
806
|
+
if (message.sourceRef !== "")
|
|
807
|
+
writer.tag(1, WireType.LengthDelimited).string(message.sourceRef);
|
|
808
|
+
/* nimi.runtime.v1.AppActivityKind kind = 2; */
|
|
809
|
+
if (message.kind !== 0)
|
|
810
|
+
writer.tag(2, WireType.Varint).int32(message.kind);
|
|
811
|
+
/* repeated nimi.runtime.v1.AppActivityTodoState todo_states = 3; */
|
|
812
|
+
if (message.todoStates.length) {
|
|
813
|
+
writer.tag(3, WireType.LengthDelimited).fork();
|
|
814
|
+
for (let i = 0; i < message.todoStates.length; i++)
|
|
815
|
+
writer.int32(message.todoStates[i]);
|
|
816
|
+
writer.join();
|
|
817
|
+
}
|
|
818
|
+
/* string agent_ref = 4; */
|
|
819
|
+
if (message.agentRef !== "")
|
|
820
|
+
writer.tag(4, WireType.LengthDelimited).string(message.agentRef);
|
|
821
|
+
/* google.protobuf.Timestamp occurred_after = 5; */
|
|
822
|
+
if (message.occurredAfter)
|
|
823
|
+
Timestamp.internalBinaryWrite(message.occurredAfter, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
824
|
+
/* google.protobuf.Timestamp occurred_before = 6; */
|
|
825
|
+
if (message.occurredBefore)
|
|
826
|
+
Timestamp.internalBinaryWrite(message.occurredBefore, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
827
|
+
let u = options.writeUnknownFields;
|
|
828
|
+
if (u !== false)
|
|
829
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
830
|
+
return writer;
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppActivityFilter
|
|
835
|
+
*/
|
|
836
|
+
export const AppActivityFilter = new AppActivityFilter$Type();
|
|
837
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
838
|
+
class ListAppActivitiesRequest$Type extends MessageType {
|
|
839
|
+
constructor() {
|
|
840
|
+
super("nimi.runtime.v1.ListAppActivitiesRequest", [
|
|
841
|
+
{ no: 1, name: "filter", kind: "message", T: () => AppActivityFilter },
|
|
842
|
+
{ no: 2, name: "page_size", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
843
|
+
{ no: 3, name: "page_token", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
844
|
+
]);
|
|
845
|
+
}
|
|
846
|
+
create(value) {
|
|
847
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
848
|
+
message.pageSize = 0;
|
|
849
|
+
message.pageToken = "";
|
|
850
|
+
if (value !== undefined)
|
|
851
|
+
reflectionMergePartial(this, message, value);
|
|
852
|
+
return message;
|
|
853
|
+
}
|
|
854
|
+
internalBinaryRead(reader, length, options, target) {
|
|
855
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
856
|
+
while (reader.pos < end) {
|
|
857
|
+
let [fieldNo, wireType] = reader.tag();
|
|
858
|
+
switch (fieldNo) {
|
|
859
|
+
case /* nimi.runtime.v1.AppActivityFilter filter */ 1:
|
|
860
|
+
message.filter = AppActivityFilter.internalBinaryRead(reader, reader.uint32(), options, message.filter);
|
|
861
|
+
break;
|
|
862
|
+
case /* uint32 page_size */ 2:
|
|
863
|
+
message.pageSize = reader.uint32();
|
|
864
|
+
break;
|
|
865
|
+
case /* string page_token */ 3:
|
|
866
|
+
message.pageToken = reader.string();
|
|
867
|
+
break;
|
|
868
|
+
default:
|
|
869
|
+
let u = options.readUnknownField;
|
|
870
|
+
if (u === "throw")
|
|
871
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
872
|
+
let d = reader.skip(wireType);
|
|
873
|
+
if (u !== false)
|
|
874
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
return message;
|
|
878
|
+
}
|
|
879
|
+
internalBinaryWrite(message, writer, options) {
|
|
880
|
+
/* nimi.runtime.v1.AppActivityFilter filter = 1; */
|
|
881
|
+
if (message.filter)
|
|
882
|
+
AppActivityFilter.internalBinaryWrite(message.filter, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
883
|
+
/* uint32 page_size = 2; */
|
|
884
|
+
if (message.pageSize !== 0)
|
|
885
|
+
writer.tag(2, WireType.Varint).uint32(message.pageSize);
|
|
886
|
+
/* string page_token = 3; */
|
|
887
|
+
if (message.pageToken !== "")
|
|
888
|
+
writer.tag(3, WireType.LengthDelimited).string(message.pageToken);
|
|
889
|
+
let u = options.writeUnknownFields;
|
|
890
|
+
if (u !== false)
|
|
891
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
892
|
+
return writer;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.ListAppActivitiesRequest
|
|
897
|
+
*/
|
|
898
|
+
export const ListAppActivitiesRequest = new ListAppActivitiesRequest$Type();
|
|
899
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
900
|
+
class ListAppActivitiesResponse$Type extends MessageType {
|
|
901
|
+
constructor() {
|
|
902
|
+
super("nimi.runtime.v1.ListAppActivitiesResponse", [
|
|
903
|
+
{ no: 1, name: "records", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppActivityRecord },
|
|
904
|
+
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
905
|
+
{ no: 3, name: "baseline_change_seq", kind: "scalar", T: 4 /*ScalarType.UINT64*/ }
|
|
906
|
+
]);
|
|
907
|
+
}
|
|
908
|
+
create(value) {
|
|
909
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
910
|
+
message.records = [];
|
|
911
|
+
message.nextPageToken = "";
|
|
912
|
+
message.baselineChangeSeq = "0";
|
|
913
|
+
if (value !== undefined)
|
|
914
|
+
reflectionMergePartial(this, message, value);
|
|
915
|
+
return message;
|
|
916
|
+
}
|
|
917
|
+
internalBinaryRead(reader, length, options, target) {
|
|
918
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
919
|
+
while (reader.pos < end) {
|
|
920
|
+
let [fieldNo, wireType] = reader.tag();
|
|
921
|
+
switch (fieldNo) {
|
|
922
|
+
case /* repeated nimi.runtime.v1.AppActivityRecord records */ 1:
|
|
923
|
+
message.records.push(AppActivityRecord.internalBinaryRead(reader, reader.uint32(), options));
|
|
924
|
+
break;
|
|
925
|
+
case /* string next_page_token */ 2:
|
|
926
|
+
message.nextPageToken = reader.string();
|
|
927
|
+
break;
|
|
928
|
+
case /* uint64 baseline_change_seq */ 3:
|
|
929
|
+
message.baselineChangeSeq = reader.uint64().toString();
|
|
930
|
+
break;
|
|
931
|
+
default:
|
|
932
|
+
let u = options.readUnknownField;
|
|
933
|
+
if (u === "throw")
|
|
934
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
935
|
+
let d = reader.skip(wireType);
|
|
936
|
+
if (u !== false)
|
|
937
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
return message;
|
|
941
|
+
}
|
|
942
|
+
internalBinaryWrite(message, writer, options) {
|
|
943
|
+
/* repeated nimi.runtime.v1.AppActivityRecord records = 1; */
|
|
944
|
+
for (let i = 0; i < message.records.length; i++)
|
|
945
|
+
AppActivityRecord.internalBinaryWrite(message.records[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
946
|
+
/* string next_page_token = 2; */
|
|
947
|
+
if (message.nextPageToken !== "")
|
|
948
|
+
writer.tag(2, WireType.LengthDelimited).string(message.nextPageToken);
|
|
949
|
+
/* uint64 baseline_change_seq = 3; */
|
|
950
|
+
if (message.baselineChangeSeq !== "0")
|
|
951
|
+
writer.tag(3, WireType.Varint).uint64(message.baselineChangeSeq);
|
|
952
|
+
let u = options.writeUnknownFields;
|
|
953
|
+
if (u !== false)
|
|
954
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
955
|
+
return writer;
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
/**
|
|
959
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.ListAppActivitiesResponse
|
|
960
|
+
*/
|
|
961
|
+
export const ListAppActivitiesResponse = new ListAppActivitiesResponse$Type();
|
|
962
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
963
|
+
class SubscribeAppActivityChangesRequest$Type extends MessageType {
|
|
964
|
+
constructor() {
|
|
965
|
+
super("nimi.runtime.v1.SubscribeAppActivityChangesRequest", [
|
|
966
|
+
{ no: 1, name: "after_change_seq", kind: "scalar", T: 4 /*ScalarType.UINT64*/ }
|
|
967
|
+
]);
|
|
968
|
+
}
|
|
969
|
+
create(value) {
|
|
970
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
971
|
+
message.afterChangeSeq = "0";
|
|
972
|
+
if (value !== undefined)
|
|
973
|
+
reflectionMergePartial(this, message, value);
|
|
974
|
+
return message;
|
|
975
|
+
}
|
|
976
|
+
internalBinaryRead(reader, length, options, target) {
|
|
977
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
978
|
+
while (reader.pos < end) {
|
|
979
|
+
let [fieldNo, wireType] = reader.tag();
|
|
980
|
+
switch (fieldNo) {
|
|
981
|
+
case /* uint64 after_change_seq */ 1:
|
|
982
|
+
message.afterChangeSeq = reader.uint64().toString();
|
|
983
|
+
break;
|
|
984
|
+
default:
|
|
985
|
+
let u = options.readUnknownField;
|
|
986
|
+
if (u === "throw")
|
|
987
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
988
|
+
let d = reader.skip(wireType);
|
|
989
|
+
if (u !== false)
|
|
990
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
return message;
|
|
994
|
+
}
|
|
995
|
+
internalBinaryWrite(message, writer, options) {
|
|
996
|
+
/* uint64 after_change_seq = 1; */
|
|
997
|
+
if (message.afterChangeSeq !== "0")
|
|
998
|
+
writer.tag(1, WireType.Varint).uint64(message.afterChangeSeq);
|
|
999
|
+
let u = options.writeUnknownFields;
|
|
1000
|
+
if (u !== false)
|
|
1001
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1002
|
+
return writer;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.SubscribeAppActivityChangesRequest
|
|
1007
|
+
*/
|
|
1008
|
+
export const SubscribeAppActivityChangesRequest = new SubscribeAppActivityChangesRequest$Type();
|
|
1009
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1010
|
+
class SubscribeAppActivityChangesResponse$Type extends MessageType {
|
|
1011
|
+
constructor() {
|
|
1012
|
+
super("nimi.runtime.v1.SubscribeAppActivityChangesResponse", [
|
|
1013
|
+
{ no: 1, name: "change_seq", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
1014
|
+
{ no: 2, name: "kind", kind: "enum", T: () => ["nimi.runtime.v1.AppActivityChangeKind", AppActivityChangeKind, "APP_ACTIVITY_CHANGE_KIND_"] },
|
|
1015
|
+
{ no: 3, name: "activity_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1016
|
+
{ no: 4, name: "record", kind: "message", T: () => AppActivityRecord }
|
|
1017
|
+
]);
|
|
1018
|
+
}
|
|
1019
|
+
create(value) {
|
|
1020
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1021
|
+
message.changeSeq = "0";
|
|
1022
|
+
message.kind = 0;
|
|
1023
|
+
message.activityId = "";
|
|
1024
|
+
if (value !== undefined)
|
|
1025
|
+
reflectionMergePartial(this, message, value);
|
|
1026
|
+
return message;
|
|
1027
|
+
}
|
|
1028
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1029
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1030
|
+
while (reader.pos < end) {
|
|
1031
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1032
|
+
switch (fieldNo) {
|
|
1033
|
+
case /* uint64 change_seq */ 1:
|
|
1034
|
+
message.changeSeq = reader.uint64().toString();
|
|
1035
|
+
break;
|
|
1036
|
+
case /* nimi.runtime.v1.AppActivityChangeKind kind */ 2:
|
|
1037
|
+
message.kind = reader.int32();
|
|
1038
|
+
break;
|
|
1039
|
+
case /* string activity_id */ 3:
|
|
1040
|
+
message.activityId = reader.string();
|
|
1041
|
+
break;
|
|
1042
|
+
case /* nimi.runtime.v1.AppActivityRecord record */ 4:
|
|
1043
|
+
message.record = AppActivityRecord.internalBinaryRead(reader, reader.uint32(), options, message.record);
|
|
1044
|
+
break;
|
|
1045
|
+
default:
|
|
1046
|
+
let u = options.readUnknownField;
|
|
1047
|
+
if (u === "throw")
|
|
1048
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1049
|
+
let d = reader.skip(wireType);
|
|
1050
|
+
if (u !== false)
|
|
1051
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
return message;
|
|
1055
|
+
}
|
|
1056
|
+
internalBinaryWrite(message, writer, options) {
|
|
1057
|
+
/* uint64 change_seq = 1; */
|
|
1058
|
+
if (message.changeSeq !== "0")
|
|
1059
|
+
writer.tag(1, WireType.Varint).uint64(message.changeSeq);
|
|
1060
|
+
/* nimi.runtime.v1.AppActivityChangeKind kind = 2; */
|
|
1061
|
+
if (message.kind !== 0)
|
|
1062
|
+
writer.tag(2, WireType.Varint).int32(message.kind);
|
|
1063
|
+
/* string activity_id = 3; */
|
|
1064
|
+
if (message.activityId !== "")
|
|
1065
|
+
writer.tag(3, WireType.LengthDelimited).string(message.activityId);
|
|
1066
|
+
/* nimi.runtime.v1.AppActivityRecord record = 4; */
|
|
1067
|
+
if (message.record)
|
|
1068
|
+
AppActivityRecord.internalBinaryWrite(message.record, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
1069
|
+
let u = options.writeUnknownFields;
|
|
1070
|
+
if (u !== false)
|
|
1071
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1072
|
+
return writer;
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
/**
|
|
1076
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.SubscribeAppActivityChangesResponse
|
|
1077
|
+
*/
|
|
1078
|
+
export const SubscribeAppActivityChangesResponse = new SubscribeAppActivityChangesResponse$Type();
|
|
1079
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1080
|
+
class MarkAppActivityReadRequest$Type extends MessageType {
|
|
1081
|
+
constructor() {
|
|
1082
|
+
super("nimi.runtime.v1.MarkAppActivityReadRequest", [
|
|
1083
|
+
{ no: 1, name: "activity_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1084
|
+
{ no: 2, name: "displayed_revision", kind: "scalar", T: 4 /*ScalarType.UINT64*/ }
|
|
1085
|
+
]);
|
|
1086
|
+
}
|
|
1087
|
+
create(value) {
|
|
1088
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1089
|
+
message.activityId = "";
|
|
1090
|
+
message.displayedRevision = "0";
|
|
1091
|
+
if (value !== undefined)
|
|
1092
|
+
reflectionMergePartial(this, message, value);
|
|
1093
|
+
return message;
|
|
1094
|
+
}
|
|
1095
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1096
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1097
|
+
while (reader.pos < end) {
|
|
1098
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1099
|
+
switch (fieldNo) {
|
|
1100
|
+
case /* string activity_id */ 1:
|
|
1101
|
+
message.activityId = reader.string();
|
|
1102
|
+
break;
|
|
1103
|
+
case /* uint64 displayed_revision */ 2:
|
|
1104
|
+
message.displayedRevision = reader.uint64().toString();
|
|
1105
|
+
break;
|
|
1106
|
+
default:
|
|
1107
|
+
let u = options.readUnknownField;
|
|
1108
|
+
if (u === "throw")
|
|
1109
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1110
|
+
let d = reader.skip(wireType);
|
|
1111
|
+
if (u !== false)
|
|
1112
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
return message;
|
|
1116
|
+
}
|
|
1117
|
+
internalBinaryWrite(message, writer, options) {
|
|
1118
|
+
/* string activity_id = 1; */
|
|
1119
|
+
if (message.activityId !== "")
|
|
1120
|
+
writer.tag(1, WireType.LengthDelimited).string(message.activityId);
|
|
1121
|
+
/* uint64 displayed_revision = 2; */
|
|
1122
|
+
if (message.displayedRevision !== "0")
|
|
1123
|
+
writer.tag(2, WireType.Varint).uint64(message.displayedRevision);
|
|
1124
|
+
let u = options.writeUnknownFields;
|
|
1125
|
+
if (u !== false)
|
|
1126
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1127
|
+
return writer;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
/**
|
|
1131
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.MarkAppActivityReadRequest
|
|
1132
|
+
*/
|
|
1133
|
+
export const MarkAppActivityReadRequest = new MarkAppActivityReadRequest$Type();
|
|
1134
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1135
|
+
class MarkAppActivityReadResponse$Type extends MessageType {
|
|
1136
|
+
constructor() {
|
|
1137
|
+
super("nimi.runtime.v1.MarkAppActivityReadResponse", [
|
|
1138
|
+
{ no: 1, name: "record", kind: "message", T: () => AppActivityRecord }
|
|
1139
|
+
]);
|
|
1140
|
+
}
|
|
1141
|
+
create(value) {
|
|
1142
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1143
|
+
if (value !== undefined)
|
|
1144
|
+
reflectionMergePartial(this, message, value);
|
|
1145
|
+
return message;
|
|
1146
|
+
}
|
|
1147
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1148
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1149
|
+
while (reader.pos < end) {
|
|
1150
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1151
|
+
switch (fieldNo) {
|
|
1152
|
+
case /* nimi.runtime.v1.AppActivityRecord record */ 1:
|
|
1153
|
+
message.record = AppActivityRecord.internalBinaryRead(reader, reader.uint32(), options, message.record);
|
|
1154
|
+
break;
|
|
1155
|
+
default:
|
|
1156
|
+
let u = options.readUnknownField;
|
|
1157
|
+
if (u === "throw")
|
|
1158
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1159
|
+
let d = reader.skip(wireType);
|
|
1160
|
+
if (u !== false)
|
|
1161
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
return message;
|
|
1165
|
+
}
|
|
1166
|
+
internalBinaryWrite(message, writer, options) {
|
|
1167
|
+
/* nimi.runtime.v1.AppActivityRecord record = 1; */
|
|
1168
|
+
if (message.record)
|
|
1169
|
+
AppActivityRecord.internalBinaryWrite(message.record, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
1170
|
+
let u = options.writeUnknownFields;
|
|
1171
|
+
if (u !== false)
|
|
1172
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1173
|
+
return writer;
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
/**
|
|
1177
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.MarkAppActivityReadResponse
|
|
1178
|
+
*/
|
|
1179
|
+
export const MarkAppActivityReadResponse = new MarkAppActivityReadResponse$Type();
|
|
1180
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1181
|
+
class OpenAppActivityRequest$Type extends MessageType {
|
|
1182
|
+
constructor() {
|
|
1183
|
+
super("nimi.runtime.v1.OpenAppActivityRequest", [
|
|
1184
|
+
{ no: 1, name: "activity_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1185
|
+
]);
|
|
1186
|
+
}
|
|
1187
|
+
create(value) {
|
|
1188
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1189
|
+
message.activityId = "";
|
|
1190
|
+
if (value !== undefined)
|
|
1191
|
+
reflectionMergePartial(this, message, value);
|
|
1192
|
+
return message;
|
|
1193
|
+
}
|
|
1194
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1195
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1196
|
+
while (reader.pos < end) {
|
|
1197
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1198
|
+
switch (fieldNo) {
|
|
1199
|
+
case /* string activity_id */ 1:
|
|
1200
|
+
message.activityId = reader.string();
|
|
1201
|
+
break;
|
|
1202
|
+
default:
|
|
1203
|
+
let u = options.readUnknownField;
|
|
1204
|
+
if (u === "throw")
|
|
1205
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1206
|
+
let d = reader.skip(wireType);
|
|
1207
|
+
if (u !== false)
|
|
1208
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
return message;
|
|
1212
|
+
}
|
|
1213
|
+
internalBinaryWrite(message, writer, options) {
|
|
1214
|
+
/* string activity_id = 1; */
|
|
1215
|
+
if (message.activityId !== "")
|
|
1216
|
+
writer.tag(1, WireType.LengthDelimited).string(message.activityId);
|
|
1217
|
+
let u = options.writeUnknownFields;
|
|
1218
|
+
if (u !== false)
|
|
1219
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1220
|
+
return writer;
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
/**
|
|
1224
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.OpenAppActivityRequest
|
|
1225
|
+
*/
|
|
1226
|
+
export const OpenAppActivityRequest = new OpenAppActivityRequest$Type();
|
|
1227
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1228
|
+
class OpenAppActivityResponse$Type extends MessageType {
|
|
1229
|
+
constructor() {
|
|
1230
|
+
super("nimi.runtime.v1.OpenAppActivityResponse", [
|
|
1231
|
+
{ no: 1, name: "open_request_id", kind: "scalar", oneof: "event", T: 9 /*ScalarType.STRING*/ },
|
|
1232
|
+
{ no: 2, name: "result", kind: "message", oneof: "event", T: () => AppActivityOpenResult }
|
|
1233
|
+
]);
|
|
1234
|
+
}
|
|
1235
|
+
create(value) {
|
|
1236
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1237
|
+
message.event = { oneofKind: undefined };
|
|
1238
|
+
if (value !== undefined)
|
|
1239
|
+
reflectionMergePartial(this, message, value);
|
|
1240
|
+
return message;
|
|
1241
|
+
}
|
|
1242
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1243
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1244
|
+
while (reader.pos < end) {
|
|
1245
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1246
|
+
switch (fieldNo) {
|
|
1247
|
+
case /* string open_request_id */ 1:
|
|
1248
|
+
message.event = {
|
|
1249
|
+
oneofKind: "openRequestId",
|
|
1250
|
+
openRequestId: reader.string()
|
|
1251
|
+
};
|
|
1252
|
+
break;
|
|
1253
|
+
case /* nimi.runtime.v1.AppActivityOpenResult result */ 2:
|
|
1254
|
+
message.event = {
|
|
1255
|
+
oneofKind: "result",
|
|
1256
|
+
result: AppActivityOpenResult.internalBinaryRead(reader, reader.uint32(), options, message.event.result)
|
|
1257
|
+
};
|
|
1258
|
+
break;
|
|
1259
|
+
default:
|
|
1260
|
+
let u = options.readUnknownField;
|
|
1261
|
+
if (u === "throw")
|
|
1262
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1263
|
+
let d = reader.skip(wireType);
|
|
1264
|
+
if (u !== false)
|
|
1265
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
return message;
|
|
1269
|
+
}
|
|
1270
|
+
internalBinaryWrite(message, writer, options) {
|
|
1271
|
+
/* string open_request_id = 1; */
|
|
1272
|
+
if (message.event.oneofKind === "openRequestId")
|
|
1273
|
+
writer.tag(1, WireType.LengthDelimited).string(message.event.openRequestId);
|
|
1274
|
+
/* nimi.runtime.v1.AppActivityOpenResult result = 2; */
|
|
1275
|
+
if (message.event.oneofKind === "result")
|
|
1276
|
+
AppActivityOpenResult.internalBinaryWrite(message.event.result, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
1277
|
+
let u = options.writeUnknownFields;
|
|
1278
|
+
if (u !== false)
|
|
1279
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1280
|
+
return writer;
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
/**
|
|
1284
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.OpenAppActivityResponse
|
|
1285
|
+
*/
|
|
1286
|
+
export const OpenAppActivityResponse = new OpenAppActivityResponse$Type();
|
|
1287
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1288
|
+
class AppActivityOpenResult$Type extends MessageType {
|
|
1289
|
+
constructor() {
|
|
1290
|
+
super("nimi.runtime.v1.AppActivityOpenResult", [
|
|
1291
|
+
{ no: 1, name: "outcome", kind: "enum", T: () => ["nimi.runtime.v1.AppActivityOpenOutcome", AppActivityOpenOutcome, "APP_ACTIVITY_OPEN_OUTCOME_"] },
|
|
1292
|
+
{ no: 2, name: "reason", kind: "enum", T: () => ["nimi.runtime.v1.AppActivityOpenReason", AppActivityOpenReason, "APP_ACTIVITY_OPEN_REASON_"] }
|
|
1293
|
+
]);
|
|
1294
|
+
}
|
|
1295
|
+
create(value) {
|
|
1296
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1297
|
+
message.outcome = 0;
|
|
1298
|
+
message.reason = 0;
|
|
1299
|
+
if (value !== undefined)
|
|
1300
|
+
reflectionMergePartial(this, message, value);
|
|
1301
|
+
return message;
|
|
1302
|
+
}
|
|
1303
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1304
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1305
|
+
while (reader.pos < end) {
|
|
1306
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1307
|
+
switch (fieldNo) {
|
|
1308
|
+
case /* nimi.runtime.v1.AppActivityOpenOutcome outcome */ 1:
|
|
1309
|
+
message.outcome = reader.int32();
|
|
1310
|
+
break;
|
|
1311
|
+
case /* nimi.runtime.v1.AppActivityOpenReason reason */ 2:
|
|
1312
|
+
message.reason = reader.int32();
|
|
1313
|
+
break;
|
|
1314
|
+
default:
|
|
1315
|
+
let u = options.readUnknownField;
|
|
1316
|
+
if (u === "throw")
|
|
1317
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1318
|
+
let d = reader.skip(wireType);
|
|
1319
|
+
if (u !== false)
|
|
1320
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
return message;
|
|
1324
|
+
}
|
|
1325
|
+
internalBinaryWrite(message, writer, options) {
|
|
1326
|
+
/* nimi.runtime.v1.AppActivityOpenOutcome outcome = 1; */
|
|
1327
|
+
if (message.outcome !== 0)
|
|
1328
|
+
writer.tag(1, WireType.Varint).int32(message.outcome);
|
|
1329
|
+
/* nimi.runtime.v1.AppActivityOpenReason reason = 2; */
|
|
1330
|
+
if (message.reason !== 0)
|
|
1331
|
+
writer.tag(2, WireType.Varint).int32(message.reason);
|
|
1332
|
+
let u = options.writeUnknownFields;
|
|
1333
|
+
if (u !== false)
|
|
1334
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1335
|
+
return writer;
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.AppActivityOpenResult
|
|
1340
|
+
*/
|
|
1341
|
+
export const AppActivityOpenResult = new AppActivityOpenResult$Type();
|
|
1342
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1343
|
+
class SubscribeAppActivityOpenRequestsRequest$Type extends MessageType {
|
|
1344
|
+
constructor() {
|
|
1345
|
+
super("nimi.runtime.v1.SubscribeAppActivityOpenRequestsRequest", []);
|
|
1346
|
+
}
|
|
1347
|
+
create(value) {
|
|
1348
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1349
|
+
if (value !== undefined)
|
|
1350
|
+
reflectionMergePartial(this, message, value);
|
|
1351
|
+
return message;
|
|
1352
|
+
}
|
|
1353
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1354
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1355
|
+
while (reader.pos < end) {
|
|
1356
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1357
|
+
switch (fieldNo) {
|
|
1358
|
+
default:
|
|
1359
|
+
let u = options.readUnknownField;
|
|
1360
|
+
if (u === "throw")
|
|
1361
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1362
|
+
let d = reader.skip(wireType);
|
|
1363
|
+
if (u !== false)
|
|
1364
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
return message;
|
|
1368
|
+
}
|
|
1369
|
+
internalBinaryWrite(message, writer, options) {
|
|
1370
|
+
let u = options.writeUnknownFields;
|
|
1371
|
+
if (u !== false)
|
|
1372
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1373
|
+
return writer;
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
/**
|
|
1377
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.SubscribeAppActivityOpenRequestsRequest
|
|
1378
|
+
*/
|
|
1379
|
+
export const SubscribeAppActivityOpenRequestsRequest = new SubscribeAppActivityOpenRequestsRequest$Type();
|
|
1380
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1381
|
+
class SubscribeAppActivityOpenRequestsResponse$Type extends MessageType {
|
|
1382
|
+
constructor() {
|
|
1383
|
+
super("nimi.runtime.v1.SubscribeAppActivityOpenRequestsResponse", [
|
|
1384
|
+
{ no: 1, name: "delivery_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1385
|
+
{ no: 2, name: "activity_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1386
|
+
{ no: 3, name: "object_ref", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1387
|
+
{ no: 4, name: "activity_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1388
|
+
]);
|
|
1389
|
+
}
|
|
1390
|
+
create(value) {
|
|
1391
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1392
|
+
message.deliveryId = "";
|
|
1393
|
+
message.activityId = "";
|
|
1394
|
+
message.objectRef = "";
|
|
1395
|
+
message.activityType = "";
|
|
1396
|
+
if (value !== undefined)
|
|
1397
|
+
reflectionMergePartial(this, message, value);
|
|
1398
|
+
return message;
|
|
1399
|
+
}
|
|
1400
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1401
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1402
|
+
while (reader.pos < end) {
|
|
1403
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1404
|
+
switch (fieldNo) {
|
|
1405
|
+
case /* string delivery_id */ 1:
|
|
1406
|
+
message.deliveryId = reader.string();
|
|
1407
|
+
break;
|
|
1408
|
+
case /* string activity_id */ 2:
|
|
1409
|
+
message.activityId = reader.string();
|
|
1410
|
+
break;
|
|
1411
|
+
case /* string object_ref */ 3:
|
|
1412
|
+
message.objectRef = reader.string();
|
|
1413
|
+
break;
|
|
1414
|
+
case /* string activity_type */ 4:
|
|
1415
|
+
message.activityType = reader.string();
|
|
1416
|
+
break;
|
|
1417
|
+
default:
|
|
1418
|
+
let u = options.readUnknownField;
|
|
1419
|
+
if (u === "throw")
|
|
1420
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1421
|
+
let d = reader.skip(wireType);
|
|
1422
|
+
if (u !== false)
|
|
1423
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
return message;
|
|
1427
|
+
}
|
|
1428
|
+
internalBinaryWrite(message, writer, options) {
|
|
1429
|
+
/* string delivery_id = 1; */
|
|
1430
|
+
if (message.deliveryId !== "")
|
|
1431
|
+
writer.tag(1, WireType.LengthDelimited).string(message.deliveryId);
|
|
1432
|
+
/* string activity_id = 2; */
|
|
1433
|
+
if (message.activityId !== "")
|
|
1434
|
+
writer.tag(2, WireType.LengthDelimited).string(message.activityId);
|
|
1435
|
+
/* string object_ref = 3; */
|
|
1436
|
+
if (message.objectRef !== "")
|
|
1437
|
+
writer.tag(3, WireType.LengthDelimited).string(message.objectRef);
|
|
1438
|
+
/* string activity_type = 4; */
|
|
1439
|
+
if (message.activityType !== "")
|
|
1440
|
+
writer.tag(4, WireType.LengthDelimited).string(message.activityType);
|
|
1441
|
+
let u = options.writeUnknownFields;
|
|
1442
|
+
if (u !== false)
|
|
1443
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1444
|
+
return writer;
|
|
1445
|
+
}
|
|
1446
|
+
}
|
|
1447
|
+
/**
|
|
1448
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.SubscribeAppActivityOpenRequestsResponse
|
|
1449
|
+
*/
|
|
1450
|
+
export const SubscribeAppActivityOpenRequestsResponse = new SubscribeAppActivityOpenRequestsResponse$Type();
|
|
1451
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1452
|
+
class CompleteAppActivityOpenRequestRequest$Type extends MessageType {
|
|
1453
|
+
constructor() {
|
|
1454
|
+
super("nimi.runtime.v1.CompleteAppActivityOpenRequestRequest", [
|
|
1455
|
+
{ no: 1, name: "delivery_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
1456
|
+
{ no: 2, name: "completion", kind: "enum", T: () => ["nimi.runtime.v1.AppActivityOpenCompletion", AppActivityOpenCompletion, "APP_ACTIVITY_OPEN_COMPLETION_"] }
|
|
1457
|
+
]);
|
|
1458
|
+
}
|
|
1459
|
+
create(value) {
|
|
1460
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1461
|
+
message.deliveryId = "";
|
|
1462
|
+
message.completion = 0;
|
|
1463
|
+
if (value !== undefined)
|
|
1464
|
+
reflectionMergePartial(this, message, value);
|
|
1465
|
+
return message;
|
|
1466
|
+
}
|
|
1467
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1468
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1469
|
+
while (reader.pos < end) {
|
|
1470
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1471
|
+
switch (fieldNo) {
|
|
1472
|
+
case /* string delivery_id */ 1:
|
|
1473
|
+
message.deliveryId = reader.string();
|
|
1474
|
+
break;
|
|
1475
|
+
case /* nimi.runtime.v1.AppActivityOpenCompletion completion */ 2:
|
|
1476
|
+
message.completion = reader.int32();
|
|
1477
|
+
break;
|
|
1478
|
+
default:
|
|
1479
|
+
let u = options.readUnknownField;
|
|
1480
|
+
if (u === "throw")
|
|
1481
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1482
|
+
let d = reader.skip(wireType);
|
|
1483
|
+
if (u !== false)
|
|
1484
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
return message;
|
|
1488
|
+
}
|
|
1489
|
+
internalBinaryWrite(message, writer, options) {
|
|
1490
|
+
/* string delivery_id = 1; */
|
|
1491
|
+
if (message.deliveryId !== "")
|
|
1492
|
+
writer.tag(1, WireType.LengthDelimited).string(message.deliveryId);
|
|
1493
|
+
/* nimi.runtime.v1.AppActivityOpenCompletion completion = 2; */
|
|
1494
|
+
if (message.completion !== 0)
|
|
1495
|
+
writer.tag(2, WireType.Varint).int32(message.completion);
|
|
1496
|
+
let u = options.writeUnknownFields;
|
|
1497
|
+
if (u !== false)
|
|
1498
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1499
|
+
return writer;
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
/**
|
|
1503
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.CompleteAppActivityOpenRequestRequest
|
|
1504
|
+
*/
|
|
1505
|
+
export const CompleteAppActivityOpenRequestRequest = new CompleteAppActivityOpenRequestRequest$Type();
|
|
1506
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1507
|
+
class CompleteAppActivityOpenRequestResponse$Type extends MessageType {
|
|
1508
|
+
constructor() {
|
|
1509
|
+
super("nimi.runtime.v1.CompleteAppActivityOpenRequestResponse", [
|
|
1510
|
+
{ no: 1, name: "accepted", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1511
|
+
]);
|
|
1512
|
+
}
|
|
1513
|
+
create(value) {
|
|
1514
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1515
|
+
message.accepted = false;
|
|
1516
|
+
if (value !== undefined)
|
|
1517
|
+
reflectionMergePartial(this, message, value);
|
|
1518
|
+
return message;
|
|
1519
|
+
}
|
|
1520
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1521
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1522
|
+
while (reader.pos < end) {
|
|
1523
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1524
|
+
switch (fieldNo) {
|
|
1525
|
+
case /* bool accepted */ 1:
|
|
1526
|
+
message.accepted = reader.bool();
|
|
1527
|
+
break;
|
|
1528
|
+
default:
|
|
1529
|
+
let u = options.readUnknownField;
|
|
1530
|
+
if (u === "throw")
|
|
1531
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1532
|
+
let d = reader.skip(wireType);
|
|
1533
|
+
if (u !== false)
|
|
1534
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
return message;
|
|
1538
|
+
}
|
|
1539
|
+
internalBinaryWrite(message, writer, options) {
|
|
1540
|
+
/* bool accepted = 1; */
|
|
1541
|
+
if (message.accepted !== false)
|
|
1542
|
+
writer.tag(1, WireType.Varint).bool(message.accepted);
|
|
1543
|
+
let u = options.writeUnknownFields;
|
|
1544
|
+
if (u !== false)
|
|
1545
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1546
|
+
return writer;
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.CompleteAppActivityOpenRequestResponse
|
|
1551
|
+
*/
|
|
1552
|
+
export const CompleteAppActivityOpenRequestResponse = new CompleteAppActivityOpenRequestResponse$Type();
|
|
1553
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1554
|
+
class ResolveAppActivityOpenLaunchRequest$Type extends MessageType {
|
|
1555
|
+
constructor() {
|
|
1556
|
+
super("nimi.runtime.v1.ResolveAppActivityOpenLaunchRequest", [
|
|
1557
|
+
{ no: 1, name: "open_request_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1558
|
+
]);
|
|
1559
|
+
}
|
|
1560
|
+
create(value) {
|
|
1561
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1562
|
+
message.openRequestId = "";
|
|
1563
|
+
if (value !== undefined)
|
|
1564
|
+
reflectionMergePartial(this, message, value);
|
|
1565
|
+
return message;
|
|
1566
|
+
}
|
|
1567
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1568
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1569
|
+
while (reader.pos < end) {
|
|
1570
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1571
|
+
switch (fieldNo) {
|
|
1572
|
+
case /* string open_request_id */ 1:
|
|
1573
|
+
message.openRequestId = reader.string();
|
|
1574
|
+
break;
|
|
1575
|
+
default:
|
|
1576
|
+
let u = options.readUnknownField;
|
|
1577
|
+
if (u === "throw")
|
|
1578
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1579
|
+
let d = reader.skip(wireType);
|
|
1580
|
+
if (u !== false)
|
|
1581
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
return message;
|
|
1585
|
+
}
|
|
1586
|
+
internalBinaryWrite(message, writer, options) {
|
|
1587
|
+
/* string open_request_id = 1; */
|
|
1588
|
+
if (message.openRequestId !== "")
|
|
1589
|
+
writer.tag(1, WireType.LengthDelimited).string(message.openRequestId);
|
|
1590
|
+
let u = options.writeUnknownFields;
|
|
1591
|
+
if (u !== false)
|
|
1592
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1593
|
+
return writer;
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
/**
|
|
1597
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.ResolveAppActivityOpenLaunchRequest
|
|
1598
|
+
*/
|
|
1599
|
+
export const ResolveAppActivityOpenLaunchRequest = new ResolveAppActivityOpenLaunchRequest$Type();
|
|
1600
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1601
|
+
class ResolveAppActivityOpenLaunchResponse$Type extends MessageType {
|
|
1602
|
+
constructor() {
|
|
1603
|
+
super("nimi.runtime.v1.ResolveAppActivityOpenLaunchResponse", [
|
|
1604
|
+
{ no: 1, name: "source_class", kind: "enum", T: () => ["nimi.runtime.v1.AppActivityOpenLaunchSourceClass", AppActivityOpenLaunchSourceClass, "APP_ACTIVITY_OPEN_LAUNCH_SOURCE_CLASS_"] },
|
|
1605
|
+
{ no: 2, name: "launch_selector", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
1606
|
+
{ no: 3, name: "app_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1607
|
+
]);
|
|
1608
|
+
}
|
|
1609
|
+
create(value) {
|
|
1610
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
1611
|
+
message.sourceClass = 0;
|
|
1612
|
+
message.launchSelector = new Uint8Array(0);
|
|
1613
|
+
message.appId = "";
|
|
1614
|
+
if (value !== undefined)
|
|
1615
|
+
reflectionMergePartial(this, message, value);
|
|
1616
|
+
return message;
|
|
1617
|
+
}
|
|
1618
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1619
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1620
|
+
while (reader.pos < end) {
|
|
1621
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1622
|
+
switch (fieldNo) {
|
|
1623
|
+
case /* nimi.runtime.v1.AppActivityOpenLaunchSourceClass source_class */ 1:
|
|
1624
|
+
message.sourceClass = reader.int32();
|
|
1625
|
+
break;
|
|
1626
|
+
case /* bytes launch_selector */ 2:
|
|
1627
|
+
message.launchSelector = reader.bytes();
|
|
1628
|
+
break;
|
|
1629
|
+
case /* string app_id */ 3:
|
|
1630
|
+
message.appId = reader.string();
|
|
1631
|
+
break;
|
|
1632
|
+
default:
|
|
1633
|
+
let u = options.readUnknownField;
|
|
1634
|
+
if (u === "throw")
|
|
1635
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1636
|
+
let d = reader.skip(wireType);
|
|
1637
|
+
if (u !== false)
|
|
1638
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
return message;
|
|
1642
|
+
}
|
|
1643
|
+
internalBinaryWrite(message, writer, options) {
|
|
1644
|
+
/* nimi.runtime.v1.AppActivityOpenLaunchSourceClass source_class = 1; */
|
|
1645
|
+
if (message.sourceClass !== 0)
|
|
1646
|
+
writer.tag(1, WireType.Varint).int32(message.sourceClass);
|
|
1647
|
+
/* bytes launch_selector = 2; */
|
|
1648
|
+
if (message.launchSelector.length)
|
|
1649
|
+
writer.tag(2, WireType.LengthDelimited).bytes(message.launchSelector);
|
|
1650
|
+
/* string app_id = 3; */
|
|
1651
|
+
if (message.appId !== "")
|
|
1652
|
+
writer.tag(3, WireType.LengthDelimited).string(message.appId);
|
|
1653
|
+
let u = options.writeUnknownFields;
|
|
1654
|
+
if (u !== false)
|
|
1655
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1656
|
+
return writer;
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
/**
|
|
1660
|
+
* @generated MessageType for protobuf message nimi.runtime.v1.ResolveAppActivityOpenLaunchResponse
|
|
1661
|
+
*/
|
|
1662
|
+
export const ResolveAppActivityOpenLaunchResponse = new ResolveAppActivityOpenLaunchResponse$Type();
|
|
1663
|
+
//# sourceMappingURL=app_activity.js.map
|