mcp-lp-server 0.1.0__py3-none-any.whl
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.
- codegens/gravi/cms/cms_content_pb2.py +110 -0
- codegens/gravi/cms/cms_content_pb2.pyi +231 -0
- codegens/gravi/common/gravi_common_pb2.py +44 -0
- codegens/gravi/common/gravi_common_pb2.pyi +51 -0
- codegens/gravi/gsfile/asset/persistence/asset_pb2.py +40 -0
- codegens/gravi/gsfile/asset/persistence/asset_pb2.pyi +16 -0
- codegens/gravi/gsfile/layergroup/persistence/layer_group_pb2.py +40 -0
- codegens/gravi/gsfile/layergroup/persistence/layer_group_pb2.pyi +16 -0
- codegens/gravi/gsfile/legacy/legacy_gsfile_pb2.py +53 -0
- codegens/gravi/gsfile/legacy/legacy_gsfile_pb2.pyi +58 -0
- codegens/gravi/gsfile/metadata/persistence/metadata_pb2.py +45 -0
- codegens/gravi/gsfile/metadata/persistence/metadata_pb2.pyi +32 -0
- codegens/gravi/gsfile/sketch_gsfile_pb2.py +160 -0
- codegens/gravi/gsfile/sketch_gsfile_pb2.pyi +546 -0
- codegens/gravi/gsfile/strokelayer/persistence/layer_pb2.py +41 -0
- codegens/gravi/gsfile/strokelayer/persistence/layer_pb2.pyi +25 -0
- codegens/gravi/library/material_library_pb2.py +38 -0
- codegens/gravi/library/material_library_pb2.pyi +16 -0
- codegens/gravi/localization/localization_pb2.py +51 -0
- codegens/gravi/localization/localization_pb2.pyi +71 -0
- codegens/gravi/models/bot_export_pb2.py +54 -0
- codegens/gravi/models/bot_export_pb2.pyi +77 -0
- codegens/gravi/models/gravi_model_pb2.py +322 -0
- codegens/gravi/models/gravi_model_pb2.pyi +1450 -0
- codegens/gravi/models/notifications_pb2.py +105 -0
- codegens/gravi/models/notifications_pb2.pyi +169 -0
- codegens/gravi/models/preferences_pb2.py +193 -0
- codegens/gravi/models/preferences_pb2.pyi +839 -0
- codegens/gravi/models/rhino_compute_pb2.py +54 -0
- codegens/gravi/models/rhino_compute_pb2.pyi +57 -0
- codegens/gravi/proxy/control_pb2.py +44 -0
- codegens/gravi/proxy/control_pb2.pyi +23 -0
- codegens/gravi/release/release_pb2.py +45 -0
- codegens/gravi/release/release_pb2.pyi +50 -0
- codegens/gravi/rest/ai/ask_pb2.py +60 -0
- codegens/gravi/rest/ai/ask_pb2.pyi +54 -0
- codegens/gravi/rest/ai/image_pb2.py +69 -0
- codegens/gravi/rest/ai/image_pb2.pyi +92 -0
- codegens/gravi/rest/auth/auth_pb2.py +281 -0
- codegens/gravi/rest/auth/auth_pb2.pyi +717 -0
- codegens/gravi/rest/common/async_pb2.py +40 -0
- codegens/gravi/rest/common/async_pb2.pyi +12 -0
- codegens/gravi/rest/doc/comment_pb2.py +92 -0
- codegens/gravi/rest/doc/comment_pb2.pyi +172 -0
- codegens/gravi/rest/doc/doc_rest_pb2.py +385 -0
- codegens/gravi/rest/doc/doc_rest_pb2.pyi +1005 -0
- codegens/gravi/rest/doc/export_pb2.py +127 -0
- codegens/gravi/rest/doc/export_pb2.pyi +278 -0
- codegens/gravi/rest/doc/revision_pb2.py +51 -0
- codegens/gravi/rest/doc/revision_pb2.pyi +41 -0
- codegens/gravi/rest/doc/room_pb2.py +207 -0
- codegens/gravi/rest/doc/room_pb2.pyi +443 -0
- codegens/gravi/rest/model/achievement_pb2.py +46 -0
- codegens/gravi/rest/model/achievement_pb2.pyi +119 -0
- codegens/gravi/rest/model/activate_code_pb2.py +51 -0
- codegens/gravi/rest/model/activate_code_pb2.pyi +119 -0
- codegens/gravi/rest/model/collab_pb2.py +57 -0
- codegens/gravi/rest/model/collab_pb2.pyi +72 -0
- codegens/gravi/rest/model/login_pb2.py +49 -0
- codegens/gravi/rest/model/login_pb2.pyi +115 -0
- codegens/gravi/rest/model/online_sketch_pb2.py +104 -0
- codegens/gravi/rest/model/online_sketch_pb2.pyi +208 -0
- codegens/gravi/rest/model/organisation_pb2.py +45 -0
- codegens/gravi/rest/model/organisation_pb2.pyi +29 -0
- codegens/gravi/rest/model/pair_device_pb2.py +81 -0
- codegens/gravi/rest/model/pair_device_pb2.pyi +108 -0
- codegens/gravi/rest/model/platform_rest_pb2.py +568 -0
- codegens/gravi/rest/model/platform_rest_pb2.pyi +2442 -0
- codegens/gravi/rest/model/signup_pb2.py +88 -0
- codegens/gravi/rest/model/signup_pb2.pyi +177 -0
- codegens/gravi/rest/org/invitation_pb2.py +86 -0
- codegens/gravi/rest/org/invitation_pb2.pyi +123 -0
- codegens/gravi/rest/org/management_pb2.py +68 -0
- codegens/gravi/rest/org/management_pb2.pyi +136 -0
- codegens/gravi/rest/org/team_member_pb2.py +76 -0
- codegens/gravi/rest/org/team_member_pb2.pyi +99 -0
- codegens/gravi/rest/org/team_pb2.py +255 -0
- codegens/gravi/rest/org/team_pb2.pyi +625 -0
- codegens/gravi/rest/sketch/sketch_pb2.py +83 -0
- codegens/gravi/rest/sketch/sketch_pb2.pyi +114 -0
- codegens/gravi/rest/user/account_pb2.py +47 -0
- codegens/gravi/rest/user/account_pb2.pyi +28 -0
- codegens/gravi/rest/user/connections_pb2.py +115 -0
- codegens/gravi/rest/user/connections_pb2.pyi +199 -0
- codegens/gravi/rest/user/profile_pb2.py +98 -0
- codegens/gravi/rest/user/profile_pb2.pyi +194 -0
- codegens/gravi/rest/user/update_check_pb2.py +46 -0
- codegens/gravi/rest/user/update_check_pb2.pyi +64 -0
- codegens/gravi/rest/voicechat/transcribe_pb2.py +53 -0
- codegens/gravi/rest/voicechat/transcribe_pb2.pyi +36 -0
- codegens/gravi/rest/voicechat/voice_pb2.py +69 -0
- codegens/gravi/rest/voicechat/voice_pb2.pyi +77 -0
- codegens/gravi/rpc/cosketch_rpc_pb2.py +354 -0
- codegens/gravi/rpc/cosketch_rpc_pb2.pyi +1518 -0
- codegens/gravi/rpc/cosketch_serverpush_pb2.py +54 -0
- codegens/gravi/rpc/cosketch_serverpush_pb2.pyi +68 -0
- codegens/gravi/rpc/files/file_upload_pb2.py +43 -0
- codegens/gravi/rpc/files/file_upload_pb2.pyi +68 -0
- codegens/gravi/rpc/model/collab_tools_pb2.py +111 -0
- codegens/gravi/rpc/model/collab_tools_pb2.pyi +199 -0
- codegens/gravi/rpc/model/common/sketch_common_pb2.py +161 -0
- codegens/gravi/rpc/model/common/sketch_common_pb2.pyi +647 -0
- codegens/gravi/rpc/model/common/sketch_configurable_ui_pb2.py +54 -0
- codegens/gravi/rpc/model/common/sketch_configurable_ui_pb2.pyi +244 -0
- codegens/gravi/rpc/model/common/sketch_interactions_pb2.py +79 -0
- codegens/gravi/rpc/model/common/sketch_interactions_pb2.pyi +294 -0
- codegens/gravi/rpc/model/deprecated/deprecated_sketch_model_pb2.py +40 -0
- codegens/gravi/rpc/model/deprecated/deprecated_sketch_model_pb2.pyi +33 -0
- codegens/gravi/rpc/model/extra/sketch_extra_pb2.py +121 -0
- codegens/gravi/rpc/model/extra/sketch_extra_pb2.pyi +315 -0
- codegens/gravi/rpc/model/incremental/sketch_incremental_pb2.py +56 -0
- codegens/gravi/rpc/model/incremental/sketch_incremental_pb2.pyi +76 -0
- codegens/gravi/rpc/model/inputs/sketch_inputs_pb2.py +79 -0
- codegens/gravi/rpc/model/inputs/sketch_inputs_pb2.pyi +179 -0
- codegens/gravi/rpc/model/sketch_model_pb2.py +163 -0
- codegens/gravi/rpc/model/sketch_model_pb2.pyi +472 -0
- codegens/gravi/runtime/config/runtime_config_pb2.py +84 -0
- codegens/gravi/runtime/config/runtime_config_pb2.pyi +203 -0
- codegens/gravi/ui/model/ui_event_pb2.py +46 -0
- codegens/gravi/ui/model/ui_event_pb2.pyi +35 -0
- codegens/gravi/ui/model/ui_model_pb2.py +284 -0
- codegens/gravi/ui/model/ui_model_pb2.pyi +901 -0
- codegens/gravi/unity/analytics/analytics_pb2.py +325 -0
- codegens/gravi/unity/analytics/analytics_pb2.pyi +1688 -0
- codegens/gravi/unity/gravi_unity_pb2.py +48 -0
- codegens/gravi/unity/gravi_unity_pb2.pyi +59 -0
- codegens/gravi/unity/unity_log_pb2.py +42 -0
- codegens/gravi/unity/unity_log_pb2.pyi +62 -0
- codegens/gravi/webanalytics/web_pb2.py +590 -0
- codegens/gravi/webanalytics/web_pb2.pyi +1165 -0
- codegens/gravi/wrapper/wrappers_pb2.py +72 -0
- codegens/gravi/wrapper/wrappers_pb2.pyi +78 -0
- codegens/gs_options_pb2.py +60 -0
- codegens/gs_options_pb2.pyi +165 -0
- gravi/cms/cms_content_pb2.py +110 -0
- gravi/cms/cms_content_pb2.pyi +231 -0
- gravi/common/gravi_common_pb2.py +44 -0
- gravi/common/gravi_common_pb2.pyi +51 -0
- gravi/gsfile/asset/persistence/asset_pb2.py +40 -0
- gravi/gsfile/asset/persistence/asset_pb2.pyi +16 -0
- gravi/gsfile/layergroup/persistence/layer_group_pb2.py +40 -0
- gravi/gsfile/layergroup/persistence/layer_group_pb2.pyi +16 -0
- gravi/gsfile/legacy/legacy_gsfile_pb2.py +53 -0
- gravi/gsfile/legacy/legacy_gsfile_pb2.pyi +58 -0
- gravi/gsfile/metadata/persistence/metadata_pb2.py +45 -0
- gravi/gsfile/metadata/persistence/metadata_pb2.pyi +32 -0
- gravi/gsfile/sketch_gsfile_pb2.py +160 -0
- gravi/gsfile/sketch_gsfile_pb2.pyi +546 -0
- gravi/gsfile/strokelayer/persistence/layer_pb2.py +41 -0
- gravi/gsfile/strokelayer/persistence/layer_pb2.pyi +25 -0
- gravi/library/material_library_pb2.py +38 -0
- gravi/library/material_library_pb2.pyi +16 -0
- gravi/localization/localization_pb2.py +51 -0
- gravi/localization/localization_pb2.pyi +71 -0
- gravi/models/bot_export_pb2.py +54 -0
- gravi/models/bot_export_pb2.pyi +77 -0
- gravi/models/gravi_model_pb2.py +322 -0
- gravi/models/gravi_model_pb2.pyi +1450 -0
- gravi/models/notifications_pb2.py +105 -0
- gravi/models/notifications_pb2.pyi +169 -0
- gravi/models/preferences_pb2.py +193 -0
- gravi/models/preferences_pb2.pyi +839 -0
- gravi/models/rhino_compute_pb2.py +54 -0
- gravi/models/rhino_compute_pb2.pyi +57 -0
- gravi/proxy/control_pb2.py +44 -0
- gravi/proxy/control_pb2.pyi +23 -0
- gravi/release/release_pb2.py +45 -0
- gravi/release/release_pb2.pyi +50 -0
- gravi/rest/ai/ask_pb2.py +60 -0
- gravi/rest/ai/ask_pb2.pyi +54 -0
- gravi/rest/ai/image_pb2.py +69 -0
- gravi/rest/ai/image_pb2.pyi +92 -0
- gravi/rest/auth/auth_pb2.py +281 -0
- gravi/rest/auth/auth_pb2.pyi +717 -0
- gravi/rest/common/async_pb2.py +40 -0
- gravi/rest/common/async_pb2.pyi +12 -0
- gravi/rest/doc/comment_pb2.py +92 -0
- gravi/rest/doc/comment_pb2.pyi +172 -0
- gravi/rest/doc/doc_rest_pb2.py +385 -0
- gravi/rest/doc/doc_rest_pb2.pyi +1005 -0
- gravi/rest/doc/export_pb2.py +127 -0
- gravi/rest/doc/export_pb2.pyi +278 -0
- gravi/rest/doc/revision_pb2.py +51 -0
- gravi/rest/doc/revision_pb2.pyi +41 -0
- gravi/rest/doc/room_pb2.py +207 -0
- gravi/rest/doc/room_pb2.pyi +443 -0
- gravi/rest/model/achievement_pb2.py +46 -0
- gravi/rest/model/achievement_pb2.pyi +119 -0
- gravi/rest/model/activate_code_pb2.py +51 -0
- gravi/rest/model/activate_code_pb2.pyi +119 -0
- gravi/rest/model/collab_pb2.py +57 -0
- gravi/rest/model/collab_pb2.pyi +72 -0
- gravi/rest/model/login_pb2.py +49 -0
- gravi/rest/model/login_pb2.pyi +115 -0
- gravi/rest/model/online_sketch_pb2.py +104 -0
- gravi/rest/model/online_sketch_pb2.pyi +208 -0
- gravi/rest/model/organisation_pb2.py +45 -0
- gravi/rest/model/organisation_pb2.pyi +29 -0
- gravi/rest/model/pair_device_pb2.py +81 -0
- gravi/rest/model/pair_device_pb2.pyi +108 -0
- gravi/rest/model/platform_rest_pb2.py +568 -0
- gravi/rest/model/platform_rest_pb2.pyi +2442 -0
- gravi/rest/model/signup_pb2.py +88 -0
- gravi/rest/model/signup_pb2.pyi +177 -0
- gravi/rest/org/invitation_pb2.py +86 -0
- gravi/rest/org/invitation_pb2.pyi +123 -0
- gravi/rest/org/management_pb2.py +68 -0
- gravi/rest/org/management_pb2.pyi +136 -0
- gravi/rest/org/team_member_pb2.py +76 -0
- gravi/rest/org/team_member_pb2.pyi +99 -0
- gravi/rest/org/team_pb2.py +255 -0
- gravi/rest/org/team_pb2.pyi +625 -0
- gravi/rest/sketch/sketch_pb2.py +83 -0
- gravi/rest/sketch/sketch_pb2.pyi +114 -0
- gravi/rest/user/account_pb2.py +47 -0
- gravi/rest/user/account_pb2.pyi +28 -0
- gravi/rest/user/connections_pb2.py +115 -0
- gravi/rest/user/connections_pb2.pyi +199 -0
- gravi/rest/user/profile_pb2.py +98 -0
- gravi/rest/user/profile_pb2.pyi +194 -0
- gravi/rest/user/update_check_pb2.py +46 -0
- gravi/rest/user/update_check_pb2.pyi +64 -0
- gravi/rest/voicechat/transcribe_pb2.py +53 -0
- gravi/rest/voicechat/transcribe_pb2.pyi +36 -0
- gravi/rest/voicechat/voice_pb2.py +69 -0
- gravi/rest/voicechat/voice_pb2.pyi +77 -0
- gravi/rpc/cosketch_rpc_pb2.py +354 -0
- gravi/rpc/cosketch_rpc_pb2.pyi +1518 -0
- gravi/rpc/cosketch_serverpush_pb2.py +54 -0
- gravi/rpc/cosketch_serverpush_pb2.pyi +68 -0
- gravi/rpc/files/file_upload_pb2.py +43 -0
- gravi/rpc/files/file_upload_pb2.pyi +68 -0
- gravi/rpc/model/collab_tools_pb2.py +111 -0
- gravi/rpc/model/collab_tools_pb2.pyi +199 -0
- gravi/rpc/model/common/sketch_common_pb2.py +161 -0
- gravi/rpc/model/common/sketch_common_pb2.pyi +647 -0
- gravi/rpc/model/common/sketch_configurable_ui_pb2.py +54 -0
- gravi/rpc/model/common/sketch_configurable_ui_pb2.pyi +244 -0
- gravi/rpc/model/common/sketch_interactions_pb2.py +79 -0
- gravi/rpc/model/common/sketch_interactions_pb2.pyi +294 -0
- gravi/rpc/model/deprecated/deprecated_sketch_model_pb2.py +40 -0
- gravi/rpc/model/deprecated/deprecated_sketch_model_pb2.pyi +33 -0
- gravi/rpc/model/extra/sketch_extra_pb2.py +121 -0
- gravi/rpc/model/extra/sketch_extra_pb2.pyi +315 -0
- gravi/rpc/model/incremental/sketch_incremental_pb2.py +56 -0
- gravi/rpc/model/incremental/sketch_incremental_pb2.pyi +76 -0
- gravi/rpc/model/inputs/sketch_inputs_pb2.py +79 -0
- gravi/rpc/model/inputs/sketch_inputs_pb2.pyi +179 -0
- gravi/rpc/model/sketch_model_pb2.py +163 -0
- gravi/rpc/model/sketch_model_pb2.pyi +472 -0
- gravi/runtime/config/runtime_config_pb2.py +84 -0
- gravi/runtime/config/runtime_config_pb2.pyi +203 -0
- gravi/ui/model/ui_event_pb2.py +46 -0
- gravi/ui/model/ui_event_pb2.pyi +35 -0
- gravi/ui/model/ui_model_pb2.py +284 -0
- gravi/ui/model/ui_model_pb2.pyi +901 -0
- gravi/unity/analytics/analytics_pb2.py +325 -0
- gravi/unity/analytics/analytics_pb2.pyi +1688 -0
- gravi/unity/gravi_unity_pb2.py +48 -0
- gravi/unity/gravi_unity_pb2.pyi +59 -0
- gravi/unity/unity_log_pb2.py +42 -0
- gravi/unity/unity_log_pb2.pyi +62 -0
- gravi/webanalytics/web_pb2.py +590 -0
- gravi/webanalytics/web_pb2.pyi +1165 -0
- gravi/wrapper/wrappers_pb2.py +72 -0
- gravi/wrapper/wrappers_pb2.pyi +78 -0
- mcp_lp_server-0.1.0.dist-info/METADATA +42 -0
- mcp_lp_server-0.1.0.dist-info/RECORD +271 -0
- mcp_lp_server-0.1.0.dist-info/WHEEL +5 -0
- mcp_lp_server-0.1.0.dist-info/entry_points.txt +2 -0
- mcp_lp_server-0.1.0.dist-info/top_level.txt +2 -0
@@ -0,0 +1,98 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: gravi/rest/user/profile.proto
|
5
|
+
# Protobuf Python Version: 6.30.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
6,
|
15
|
+
30,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'gravi/rest/user/profile.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
import gs_options_pb2 as gs__options__pb2
|
26
|
+
from gravi.models import gravi_model_pb2 as gravi_dot_models_dot_gravi__model__pb2
|
27
|
+
from gravi.wrapper import wrappers_pb2 as gravi_dot_wrapper_dot_wrappers__pb2
|
28
|
+
|
29
|
+
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dgravi/rest/user/profile.proto\x12\x0fgravi.rest.user\x1a\x10gs-options.proto\x1a\x1egravi/models/gravi-model.proto\x1a\x1cgravi/wrapper/wrappers.proto\"\xf6\x02\n\x15UpdateUserInfoRequest\x12\x0e\n\x06userId\x18\x01 \x01(\t\x12\x33\n\x0cnewFirstName\x18\x02 \x01(\x0b\x32\x1d.gravi.wrapper.OptionalString\x12\x32\n\x0bnewLastName\x18\x03 \x01(\x0b\x32\x1d.gravi.wrapper.OptionalString\x12\x35\n\x0enewCompanyName\x18\x04 \x01(\x0b\x32\x1d.gravi.wrapper.OptionalString\x12\x35\n\x0enewDisplayName\x18\x05 \x01(\x0b\x32\x1d.gravi.wrapper.OptionalString\x12-\n\x06newBio\x18\x06 \x01(\x0b\x32\x1d.gravi.wrapper.OptionalString\x12\x41\n\x16newPublicProfileStatus\x18\x07 \x01(\x0e\x32!.gravi.models.PublicProfileStatus:\x04\x88\xb5\x18\x01\"v\n\x16UpdateUserInfoResponse\x12\"\n\x04user\x18\x01 \x01(\x0b\x32\x14.gravi.models.UserTO\x12\x32\n\x0euserPublicInfo\x18\x02 \x01(\x0b\x32\x1a.gravi.models.UserPublicTO:\x04\x88\xb5\x18\x01\"P\n\x17\x43reateUserSurveyRequest\x12/\n\nuserSurvey\x18\x01 \x01(\x0b\x32\x1b.gravi.rest.user.UserSurvey:\x04\x88\xb5\x18\x01\" \n\x18\x43reateUserSurveyResponse:\x04\x88\xb5\x18\x01\"\xba\x01\n\nUserSurvey\x12\x10\n\x08industry\x18\x01 \x01(\t\x12\x13\n\x0b\x63ompanyName\x18\x02 \x01(\t\x12\x0c\n\x04role\x18\x03 \x01(\t\x12/\n\x08jobTitle\x18\x04 \x01(\x0b\x32\x1d.gravi.wrapper.OptionalString\x12\x0f\n\x07useCase\x18\x05 \x01(\t\x12\x17\n\x0f\x64iscoverySource\x18\x06 \x01(\t\x12\x16\n\x0eisFromDeeplink\x18\x07 \x01(\x08:\x04\x88\xb5\x18\x01\"\x9b\x02\n\x08UserInfo\x12\x0e\n\x06userId\x18\x01 \x01(\t\x12\x10\n\x08userName\x18\x02 \x01(\t\x12\x12\n\njoinedDate\x18\x03 \x01(\x03\x12\x1b\n\x13lastLoggedInEpochMs\x18\x04 \x01(\x03\x12\x14\n\x0cisOrgAccount\x18\x05 \x01(\x08\x12)\n\x04role\x18\x06 \x01(\x0e\x32\x1b.gravi.models.OrgMemberRole\x12-\n\x06status\x18\x07 \x01(\x0e\x32\x1d.gravi.models.OrgMemberStatus\x12\r\n\x05\x65mail\x18\x08 \x01(\t\x12\x16\n\x0epairedDeviceId\x18\t \x01(\t\x12\x1f\n\x17isDevicePairingEnforced\x18\n \x01(\x08:\x04\x88\xb5\x18\x01\"\xe6\x01\n\x19\x43reateSubscriptionRequest\x12M\n\x19subscriptionBillingPeriod\x18\x01 \x01(\x0e\x32*.gravi.rest.user.SubscriptionBillingPeriod\x12;\n\x10subscriptionPlan\x18\x02 \x01(\x0e\x32!.gravi.rest.user.SubscriptionPlan\x12\x1b\n\x13successRedirectLink\x18\x03 \x01(\t\x12\x1a\n\x12\x63\x61ncelRedirectLink\x18\x04 \x01(\t:\x04\x88\xb5\x18\x01\"\x97\x01\n\x1a\x43reateSubscriptionResponse\x12\x1a\n\x12stripeCheckoutLink\x18\x01 \x01(\t\x12W\n\x1e\x63reateSubscriptionResponseCode\x18\x02 \x01(\x0e\x32/.gravi.rest.user.CreateSubscriptionResponseCode:\x04\x88\xb5\x18\x01\"@\n\"GetStripeCustomerPortalLinkRequest\x12\x14\n\x0credirectLink\x18\x01 \x01(\t:\x04\x88\xb5\x18\x01\"\xb8\x01\n#GetStripeCustomerPortalLinkResponse\x12 \n\x18stripeCustomerPortalLink\x18\x01 \x01(\t\x12i\n\'getStripeCustomerPortalLinkResponseCode\x18\x02 \x01(\x0e\x32\x38.gravi.rest.user.GetStripeCustomerPortalLinkResponseCode:\x04\x88\xb5\x18\x01\"\xaf\x01\n\x1bGetSubscriptionPriceRequest\x12M\n\x19subscriptionBillingPeriod\x18\x01 \x01(\x0e\x32*.gravi.rest.user.SubscriptionBillingPeriod\x12;\n\x10subscriptionPlan\x18\x02 \x01(\x0e\x32!.gravi.rest.user.SubscriptionPlan:\x04\x88\xb5\x18\x01\"\xbd\x01\n\x1cGetSubscriptionPriceResponse\x12\r\n\x05price\x18\x01 \x01(\x03\x12+\n\x08\x63urrency\x18\x02 \x01(\x0e\x32\x19.gravi.rest.user.Currency\x12[\n getSubscriptionPriceResponseCode\x18\x03 \x01(\x0e\x32\x31.gravi.rest.user.GetSubscriptionPriceResponseCode:\x04\x88\xb5\x18\x01*\x93\x02\n\x1e\x43reateSubscriptionResponseCode\x12)\n%CreateSubscriptionResponseCodeUnknown\x10\x00\x12)\n%CreateSubscriptionResponseCodeSuccess\x10\x01\x12/\n+CreateSubscriptionResponseCodeInternalError\x10\x02\x12\x34\n0CreateSubscriptionResponseCodeUnsupportedCountry\x10\x03\x12\x34\n0CreateSubscriptionResponseCodeUserAlreadyProTier\x10\x04*f\n\x19SubscriptionBillingPeriod\x12$\n SubscriptionBillingPeriodMonthly\x10\x00\x12#\n\x1fSubscriptionBillingPeriodYearly\x10\x01*+\n\x10SubscriptionPlan\x12\x17\n\x13SubscriptionPlanPro\x10\x00*\x88\x02\n\'GetStripeCustomerPortalLinkResponseCode\x12\x32\n.GetStripeCustomerPortalLinkResponseCodeUnknown\x10\x00\x12\x32\n.GetStripeCustomerPortalLinkResponseCodeSuccess\x10\x01\x12\x38\n4GetStripeCustomerPortalLinkResponseCodeInternalError\x10\x02\x12;\n7GetStripeCustomerPortalLinkResponseCodeCustomerNotFound\x10\x03*\xaf\x01\n GetSubscriptionPriceResponseCode\x12+\n\'GetSubscriptionPriceResponseCodeUnknown\x10\x00\x12+\n\'GetSubscriptionPriceResponseCodeSuccess\x10\x01\x12\x31\n-GetSubscriptionPriceResponseCodeInternalError\x10\x02*%\n\x08\x43urrency\x12\x07\n\x03USD\x10\x00\x12\x07\n\x03GBP\x10\x01\x12\x07\n\x03\x45UR\x10\x02\x42I\n\x0e\x63om.gs.pb.userP\x01Z5gravitysketch.com/platform/go/vrproto/gravi/rest/userb\x06proto3')
|
31
|
+
|
32
|
+
_globals = globals()
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gravi.rest.user.profile_pb2', _globals)
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\016com.gs.pb.userP\001Z5gravitysketch.com/platform/go/vrproto/gravi/rest/user'
|
38
|
+
_globals['_UPDATEUSERINFOREQUEST']._loaded_options = None
|
39
|
+
_globals['_UPDATEUSERINFOREQUEST']._serialized_options = b'\210\265\030\001'
|
40
|
+
_globals['_UPDATEUSERINFORESPONSE']._loaded_options = None
|
41
|
+
_globals['_UPDATEUSERINFORESPONSE']._serialized_options = b'\210\265\030\001'
|
42
|
+
_globals['_CREATEUSERSURVEYREQUEST']._loaded_options = None
|
43
|
+
_globals['_CREATEUSERSURVEYREQUEST']._serialized_options = b'\210\265\030\001'
|
44
|
+
_globals['_CREATEUSERSURVEYRESPONSE']._loaded_options = None
|
45
|
+
_globals['_CREATEUSERSURVEYRESPONSE']._serialized_options = b'\210\265\030\001'
|
46
|
+
_globals['_USERSURVEY']._loaded_options = None
|
47
|
+
_globals['_USERSURVEY']._serialized_options = b'\210\265\030\001'
|
48
|
+
_globals['_USERINFO']._loaded_options = None
|
49
|
+
_globals['_USERINFO']._serialized_options = b'\210\265\030\001'
|
50
|
+
_globals['_CREATESUBSCRIPTIONREQUEST']._loaded_options = None
|
51
|
+
_globals['_CREATESUBSCRIPTIONREQUEST']._serialized_options = b'\210\265\030\001'
|
52
|
+
_globals['_CREATESUBSCRIPTIONRESPONSE']._loaded_options = None
|
53
|
+
_globals['_CREATESUBSCRIPTIONRESPONSE']._serialized_options = b'\210\265\030\001'
|
54
|
+
_globals['_GETSTRIPECUSTOMERPORTALLINKREQUEST']._loaded_options = None
|
55
|
+
_globals['_GETSTRIPECUSTOMERPORTALLINKREQUEST']._serialized_options = b'\210\265\030\001'
|
56
|
+
_globals['_GETSTRIPECUSTOMERPORTALLINKRESPONSE']._loaded_options = None
|
57
|
+
_globals['_GETSTRIPECUSTOMERPORTALLINKRESPONSE']._serialized_options = b'\210\265\030\001'
|
58
|
+
_globals['_GETSUBSCRIPTIONPRICEREQUEST']._loaded_options = None
|
59
|
+
_globals['_GETSUBSCRIPTIONPRICEREQUEST']._serialized_options = b'\210\265\030\001'
|
60
|
+
_globals['_GETSUBSCRIPTIONPRICERESPONSE']._loaded_options = None
|
61
|
+
_globals['_GETSUBSCRIPTIONPRICERESPONSE']._serialized_options = b'\210\265\030\001'
|
62
|
+
_globals['_CREATESUBSCRIPTIONRESPONSECODE']._serialized_start=2229
|
63
|
+
_globals['_CREATESUBSCRIPTIONRESPONSECODE']._serialized_end=2504
|
64
|
+
_globals['_SUBSCRIPTIONBILLINGPERIOD']._serialized_start=2506
|
65
|
+
_globals['_SUBSCRIPTIONBILLINGPERIOD']._serialized_end=2608
|
66
|
+
_globals['_SUBSCRIPTIONPLAN']._serialized_start=2610
|
67
|
+
_globals['_SUBSCRIPTIONPLAN']._serialized_end=2653
|
68
|
+
_globals['_GETSTRIPECUSTOMERPORTALLINKRESPONSECODE']._serialized_start=2656
|
69
|
+
_globals['_GETSTRIPECUSTOMERPORTALLINKRESPONSECODE']._serialized_end=2920
|
70
|
+
_globals['_GETSUBSCRIPTIONPRICERESPONSECODE']._serialized_start=2923
|
71
|
+
_globals['_GETSUBSCRIPTIONPRICERESPONSECODE']._serialized_end=3098
|
72
|
+
_globals['_CURRENCY']._serialized_start=3100
|
73
|
+
_globals['_CURRENCY']._serialized_end=3137
|
74
|
+
_globals['_UPDATEUSERINFOREQUEST']._serialized_start=131
|
75
|
+
_globals['_UPDATEUSERINFOREQUEST']._serialized_end=505
|
76
|
+
_globals['_UPDATEUSERINFORESPONSE']._serialized_start=507
|
77
|
+
_globals['_UPDATEUSERINFORESPONSE']._serialized_end=625
|
78
|
+
_globals['_CREATEUSERSURVEYREQUEST']._serialized_start=627
|
79
|
+
_globals['_CREATEUSERSURVEYREQUEST']._serialized_end=707
|
80
|
+
_globals['_CREATEUSERSURVEYRESPONSE']._serialized_start=709
|
81
|
+
_globals['_CREATEUSERSURVEYRESPONSE']._serialized_end=741
|
82
|
+
_globals['_USERSURVEY']._serialized_start=744
|
83
|
+
_globals['_USERSURVEY']._serialized_end=930
|
84
|
+
_globals['_USERINFO']._serialized_start=933
|
85
|
+
_globals['_USERINFO']._serialized_end=1216
|
86
|
+
_globals['_CREATESUBSCRIPTIONREQUEST']._serialized_start=1219
|
87
|
+
_globals['_CREATESUBSCRIPTIONREQUEST']._serialized_end=1449
|
88
|
+
_globals['_CREATESUBSCRIPTIONRESPONSE']._serialized_start=1452
|
89
|
+
_globals['_CREATESUBSCRIPTIONRESPONSE']._serialized_end=1603
|
90
|
+
_globals['_GETSTRIPECUSTOMERPORTALLINKREQUEST']._serialized_start=1605
|
91
|
+
_globals['_GETSTRIPECUSTOMERPORTALLINKREQUEST']._serialized_end=1669
|
92
|
+
_globals['_GETSTRIPECUSTOMERPORTALLINKRESPONSE']._serialized_start=1672
|
93
|
+
_globals['_GETSTRIPECUSTOMERPORTALLINKRESPONSE']._serialized_end=1856
|
94
|
+
_globals['_GETSUBSCRIPTIONPRICEREQUEST']._serialized_start=1859
|
95
|
+
_globals['_GETSUBSCRIPTIONPRICEREQUEST']._serialized_end=2034
|
96
|
+
_globals['_GETSUBSCRIPTIONPRICERESPONSE']._serialized_start=2037
|
97
|
+
_globals['_GETSUBSCRIPTIONPRICERESPONSE']._serialized_end=2226
|
98
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,194 @@
|
|
1
|
+
import gs_options_pb2 as _gs_options_pb2
|
2
|
+
from gravi.models import gravi_model_pb2 as _gravi_model_pb2
|
3
|
+
from gravi.wrapper import wrappers_pb2 as _wrappers_pb2
|
4
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
6
|
+
from google.protobuf import message as _message
|
7
|
+
from collections.abc import Mapping as _Mapping
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
9
|
+
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
11
|
+
|
12
|
+
class CreateSubscriptionResponseCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
13
|
+
__slots__ = ()
|
14
|
+
CreateSubscriptionResponseCodeUnknown: _ClassVar[CreateSubscriptionResponseCode]
|
15
|
+
CreateSubscriptionResponseCodeSuccess: _ClassVar[CreateSubscriptionResponseCode]
|
16
|
+
CreateSubscriptionResponseCodeInternalError: _ClassVar[CreateSubscriptionResponseCode]
|
17
|
+
CreateSubscriptionResponseCodeUnsupportedCountry: _ClassVar[CreateSubscriptionResponseCode]
|
18
|
+
CreateSubscriptionResponseCodeUserAlreadyProTier: _ClassVar[CreateSubscriptionResponseCode]
|
19
|
+
|
20
|
+
class SubscriptionBillingPeriod(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
21
|
+
__slots__ = ()
|
22
|
+
SubscriptionBillingPeriodMonthly: _ClassVar[SubscriptionBillingPeriod]
|
23
|
+
SubscriptionBillingPeriodYearly: _ClassVar[SubscriptionBillingPeriod]
|
24
|
+
|
25
|
+
class SubscriptionPlan(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
26
|
+
__slots__ = ()
|
27
|
+
SubscriptionPlanPro: _ClassVar[SubscriptionPlan]
|
28
|
+
|
29
|
+
class GetStripeCustomerPortalLinkResponseCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
30
|
+
__slots__ = ()
|
31
|
+
GetStripeCustomerPortalLinkResponseCodeUnknown: _ClassVar[GetStripeCustomerPortalLinkResponseCode]
|
32
|
+
GetStripeCustomerPortalLinkResponseCodeSuccess: _ClassVar[GetStripeCustomerPortalLinkResponseCode]
|
33
|
+
GetStripeCustomerPortalLinkResponseCodeInternalError: _ClassVar[GetStripeCustomerPortalLinkResponseCode]
|
34
|
+
GetStripeCustomerPortalLinkResponseCodeCustomerNotFound: _ClassVar[GetStripeCustomerPortalLinkResponseCode]
|
35
|
+
|
36
|
+
class GetSubscriptionPriceResponseCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
37
|
+
__slots__ = ()
|
38
|
+
GetSubscriptionPriceResponseCodeUnknown: _ClassVar[GetSubscriptionPriceResponseCode]
|
39
|
+
GetSubscriptionPriceResponseCodeSuccess: _ClassVar[GetSubscriptionPriceResponseCode]
|
40
|
+
GetSubscriptionPriceResponseCodeInternalError: _ClassVar[GetSubscriptionPriceResponseCode]
|
41
|
+
|
42
|
+
class Currency(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
43
|
+
__slots__ = ()
|
44
|
+
USD: _ClassVar[Currency]
|
45
|
+
GBP: _ClassVar[Currency]
|
46
|
+
EUR: _ClassVar[Currency]
|
47
|
+
CreateSubscriptionResponseCodeUnknown: CreateSubscriptionResponseCode
|
48
|
+
CreateSubscriptionResponseCodeSuccess: CreateSubscriptionResponseCode
|
49
|
+
CreateSubscriptionResponseCodeInternalError: CreateSubscriptionResponseCode
|
50
|
+
CreateSubscriptionResponseCodeUnsupportedCountry: CreateSubscriptionResponseCode
|
51
|
+
CreateSubscriptionResponseCodeUserAlreadyProTier: CreateSubscriptionResponseCode
|
52
|
+
SubscriptionBillingPeriodMonthly: SubscriptionBillingPeriod
|
53
|
+
SubscriptionBillingPeriodYearly: SubscriptionBillingPeriod
|
54
|
+
SubscriptionPlanPro: SubscriptionPlan
|
55
|
+
GetStripeCustomerPortalLinkResponseCodeUnknown: GetStripeCustomerPortalLinkResponseCode
|
56
|
+
GetStripeCustomerPortalLinkResponseCodeSuccess: GetStripeCustomerPortalLinkResponseCode
|
57
|
+
GetStripeCustomerPortalLinkResponseCodeInternalError: GetStripeCustomerPortalLinkResponseCode
|
58
|
+
GetStripeCustomerPortalLinkResponseCodeCustomerNotFound: GetStripeCustomerPortalLinkResponseCode
|
59
|
+
GetSubscriptionPriceResponseCodeUnknown: GetSubscriptionPriceResponseCode
|
60
|
+
GetSubscriptionPriceResponseCodeSuccess: GetSubscriptionPriceResponseCode
|
61
|
+
GetSubscriptionPriceResponseCodeInternalError: GetSubscriptionPriceResponseCode
|
62
|
+
USD: Currency
|
63
|
+
GBP: Currency
|
64
|
+
EUR: Currency
|
65
|
+
|
66
|
+
class UpdateUserInfoRequest(_message.Message):
|
67
|
+
__slots__ = ("userId", "newFirstName", "newLastName", "newCompanyName", "newDisplayName", "newBio", "newPublicProfileStatus")
|
68
|
+
USERID_FIELD_NUMBER: _ClassVar[int]
|
69
|
+
NEWFIRSTNAME_FIELD_NUMBER: _ClassVar[int]
|
70
|
+
NEWLASTNAME_FIELD_NUMBER: _ClassVar[int]
|
71
|
+
NEWCOMPANYNAME_FIELD_NUMBER: _ClassVar[int]
|
72
|
+
NEWDISPLAYNAME_FIELD_NUMBER: _ClassVar[int]
|
73
|
+
NEWBIO_FIELD_NUMBER: _ClassVar[int]
|
74
|
+
NEWPUBLICPROFILESTATUS_FIELD_NUMBER: _ClassVar[int]
|
75
|
+
userId: str
|
76
|
+
newFirstName: _wrappers_pb2.OptionalString
|
77
|
+
newLastName: _wrappers_pb2.OptionalString
|
78
|
+
newCompanyName: _wrappers_pb2.OptionalString
|
79
|
+
newDisplayName: _wrappers_pb2.OptionalString
|
80
|
+
newBio: _wrappers_pb2.OptionalString
|
81
|
+
newPublicProfileStatus: _gravi_model_pb2.PublicProfileStatus
|
82
|
+
def __init__(self, userId: _Optional[str] = ..., newFirstName: _Optional[_Union[_wrappers_pb2.OptionalString, _Mapping]] = ..., newLastName: _Optional[_Union[_wrappers_pb2.OptionalString, _Mapping]] = ..., newCompanyName: _Optional[_Union[_wrappers_pb2.OptionalString, _Mapping]] = ..., newDisplayName: _Optional[_Union[_wrappers_pb2.OptionalString, _Mapping]] = ..., newBio: _Optional[_Union[_wrappers_pb2.OptionalString, _Mapping]] = ..., newPublicProfileStatus: _Optional[_Union[_gravi_model_pb2.PublicProfileStatus, str]] = ...) -> None: ...
|
83
|
+
|
84
|
+
class UpdateUserInfoResponse(_message.Message):
|
85
|
+
__slots__ = ("user", "userPublicInfo")
|
86
|
+
USER_FIELD_NUMBER: _ClassVar[int]
|
87
|
+
USERPUBLICINFO_FIELD_NUMBER: _ClassVar[int]
|
88
|
+
user: _gravi_model_pb2.UserTO
|
89
|
+
userPublicInfo: _gravi_model_pb2.UserPublicTO
|
90
|
+
def __init__(self, user: _Optional[_Union[_gravi_model_pb2.UserTO, _Mapping]] = ..., userPublicInfo: _Optional[_Union[_gravi_model_pb2.UserPublicTO, _Mapping]] = ...) -> None: ...
|
91
|
+
|
92
|
+
class CreateUserSurveyRequest(_message.Message):
|
93
|
+
__slots__ = ("userSurvey",)
|
94
|
+
USERSURVEY_FIELD_NUMBER: _ClassVar[int]
|
95
|
+
userSurvey: UserSurvey
|
96
|
+
def __init__(self, userSurvey: _Optional[_Union[UserSurvey, _Mapping]] = ...) -> None: ...
|
97
|
+
|
98
|
+
class CreateUserSurveyResponse(_message.Message):
|
99
|
+
__slots__ = ()
|
100
|
+
def __init__(self) -> None: ...
|
101
|
+
|
102
|
+
class UserSurvey(_message.Message):
|
103
|
+
__slots__ = ("industry", "companyName", "role", "jobTitle", "useCase", "discoverySource", "isFromDeeplink")
|
104
|
+
INDUSTRY_FIELD_NUMBER: _ClassVar[int]
|
105
|
+
COMPANYNAME_FIELD_NUMBER: _ClassVar[int]
|
106
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
107
|
+
JOBTITLE_FIELD_NUMBER: _ClassVar[int]
|
108
|
+
USECASE_FIELD_NUMBER: _ClassVar[int]
|
109
|
+
DISCOVERYSOURCE_FIELD_NUMBER: _ClassVar[int]
|
110
|
+
ISFROMDEEPLINK_FIELD_NUMBER: _ClassVar[int]
|
111
|
+
industry: str
|
112
|
+
companyName: str
|
113
|
+
role: str
|
114
|
+
jobTitle: _wrappers_pb2.OptionalString
|
115
|
+
useCase: str
|
116
|
+
discoverySource: str
|
117
|
+
isFromDeeplink: bool
|
118
|
+
def __init__(self, industry: _Optional[str] = ..., companyName: _Optional[str] = ..., role: _Optional[str] = ..., jobTitle: _Optional[_Union[_wrappers_pb2.OptionalString, _Mapping]] = ..., useCase: _Optional[str] = ..., discoverySource: _Optional[str] = ..., isFromDeeplink: bool = ...) -> None: ...
|
119
|
+
|
120
|
+
class UserInfo(_message.Message):
|
121
|
+
__slots__ = ("userId", "userName", "joinedDate", "lastLoggedInEpochMs", "isOrgAccount", "role", "status", "email", "pairedDeviceId", "isDevicePairingEnforced")
|
122
|
+
USERID_FIELD_NUMBER: _ClassVar[int]
|
123
|
+
USERNAME_FIELD_NUMBER: _ClassVar[int]
|
124
|
+
JOINEDDATE_FIELD_NUMBER: _ClassVar[int]
|
125
|
+
LASTLOGGEDINEPOCHMS_FIELD_NUMBER: _ClassVar[int]
|
126
|
+
ISORGACCOUNT_FIELD_NUMBER: _ClassVar[int]
|
127
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
128
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
129
|
+
EMAIL_FIELD_NUMBER: _ClassVar[int]
|
130
|
+
PAIREDDEVICEID_FIELD_NUMBER: _ClassVar[int]
|
131
|
+
ISDEVICEPAIRINGENFORCED_FIELD_NUMBER: _ClassVar[int]
|
132
|
+
userId: str
|
133
|
+
userName: str
|
134
|
+
joinedDate: int
|
135
|
+
lastLoggedInEpochMs: int
|
136
|
+
isOrgAccount: bool
|
137
|
+
role: _gravi_model_pb2.OrgMemberRole
|
138
|
+
status: _gravi_model_pb2.OrgMemberStatus
|
139
|
+
email: str
|
140
|
+
pairedDeviceId: str
|
141
|
+
isDevicePairingEnforced: bool
|
142
|
+
def __init__(self, userId: _Optional[str] = ..., userName: _Optional[str] = ..., joinedDate: _Optional[int] = ..., lastLoggedInEpochMs: _Optional[int] = ..., isOrgAccount: bool = ..., role: _Optional[_Union[_gravi_model_pb2.OrgMemberRole, str]] = ..., status: _Optional[_Union[_gravi_model_pb2.OrgMemberStatus, str]] = ..., email: _Optional[str] = ..., pairedDeviceId: _Optional[str] = ..., isDevicePairingEnforced: bool = ...) -> None: ...
|
143
|
+
|
144
|
+
class CreateSubscriptionRequest(_message.Message):
|
145
|
+
__slots__ = ("subscriptionBillingPeriod", "subscriptionPlan", "successRedirectLink", "cancelRedirectLink")
|
146
|
+
SUBSCRIPTIONBILLINGPERIOD_FIELD_NUMBER: _ClassVar[int]
|
147
|
+
SUBSCRIPTIONPLAN_FIELD_NUMBER: _ClassVar[int]
|
148
|
+
SUCCESSREDIRECTLINK_FIELD_NUMBER: _ClassVar[int]
|
149
|
+
CANCELREDIRECTLINK_FIELD_NUMBER: _ClassVar[int]
|
150
|
+
subscriptionBillingPeriod: SubscriptionBillingPeriod
|
151
|
+
subscriptionPlan: SubscriptionPlan
|
152
|
+
successRedirectLink: str
|
153
|
+
cancelRedirectLink: str
|
154
|
+
def __init__(self, subscriptionBillingPeriod: _Optional[_Union[SubscriptionBillingPeriod, str]] = ..., subscriptionPlan: _Optional[_Union[SubscriptionPlan, str]] = ..., successRedirectLink: _Optional[str] = ..., cancelRedirectLink: _Optional[str] = ...) -> None: ...
|
155
|
+
|
156
|
+
class CreateSubscriptionResponse(_message.Message):
|
157
|
+
__slots__ = ("stripeCheckoutLink", "createSubscriptionResponseCode")
|
158
|
+
STRIPECHECKOUTLINK_FIELD_NUMBER: _ClassVar[int]
|
159
|
+
CREATESUBSCRIPTIONRESPONSECODE_FIELD_NUMBER: _ClassVar[int]
|
160
|
+
stripeCheckoutLink: str
|
161
|
+
createSubscriptionResponseCode: CreateSubscriptionResponseCode
|
162
|
+
def __init__(self, stripeCheckoutLink: _Optional[str] = ..., createSubscriptionResponseCode: _Optional[_Union[CreateSubscriptionResponseCode, str]] = ...) -> None: ...
|
163
|
+
|
164
|
+
class GetStripeCustomerPortalLinkRequest(_message.Message):
|
165
|
+
__slots__ = ("redirectLink",)
|
166
|
+
REDIRECTLINK_FIELD_NUMBER: _ClassVar[int]
|
167
|
+
redirectLink: str
|
168
|
+
def __init__(self, redirectLink: _Optional[str] = ...) -> None: ...
|
169
|
+
|
170
|
+
class GetStripeCustomerPortalLinkResponse(_message.Message):
|
171
|
+
__slots__ = ("stripeCustomerPortalLink", "getStripeCustomerPortalLinkResponseCode")
|
172
|
+
STRIPECUSTOMERPORTALLINK_FIELD_NUMBER: _ClassVar[int]
|
173
|
+
GETSTRIPECUSTOMERPORTALLINKRESPONSECODE_FIELD_NUMBER: _ClassVar[int]
|
174
|
+
stripeCustomerPortalLink: str
|
175
|
+
getStripeCustomerPortalLinkResponseCode: GetStripeCustomerPortalLinkResponseCode
|
176
|
+
def __init__(self, stripeCustomerPortalLink: _Optional[str] = ..., getStripeCustomerPortalLinkResponseCode: _Optional[_Union[GetStripeCustomerPortalLinkResponseCode, str]] = ...) -> None: ...
|
177
|
+
|
178
|
+
class GetSubscriptionPriceRequest(_message.Message):
|
179
|
+
__slots__ = ("subscriptionBillingPeriod", "subscriptionPlan")
|
180
|
+
SUBSCRIPTIONBILLINGPERIOD_FIELD_NUMBER: _ClassVar[int]
|
181
|
+
SUBSCRIPTIONPLAN_FIELD_NUMBER: _ClassVar[int]
|
182
|
+
subscriptionBillingPeriod: SubscriptionBillingPeriod
|
183
|
+
subscriptionPlan: SubscriptionPlan
|
184
|
+
def __init__(self, subscriptionBillingPeriod: _Optional[_Union[SubscriptionBillingPeriod, str]] = ..., subscriptionPlan: _Optional[_Union[SubscriptionPlan, str]] = ...) -> None: ...
|
185
|
+
|
186
|
+
class GetSubscriptionPriceResponse(_message.Message):
|
187
|
+
__slots__ = ("price", "currency", "getSubscriptionPriceResponseCode")
|
188
|
+
PRICE_FIELD_NUMBER: _ClassVar[int]
|
189
|
+
CURRENCY_FIELD_NUMBER: _ClassVar[int]
|
190
|
+
GETSUBSCRIPTIONPRICERESPONSECODE_FIELD_NUMBER: _ClassVar[int]
|
191
|
+
price: int
|
192
|
+
currency: Currency
|
193
|
+
getSubscriptionPriceResponseCode: GetSubscriptionPriceResponseCode
|
194
|
+
def __init__(self, price: _Optional[int] = ..., currency: _Optional[_Union[Currency, str]] = ..., getSubscriptionPriceResponseCode: _Optional[_Union[GetSubscriptionPriceResponseCode, str]] = ...) -> None: ...
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: gravi/rest/user/update-check.proto
|
5
|
+
# Protobuf Python Version: 6.30.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
6,
|
15
|
+
30,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'gravi/rest/user/update-check.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
import gs_options_pb2 as gs__options__pb2
|
26
|
+
|
27
|
+
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"gravi/rest/user/update-check.proto\x12\x0fgravi.rest.user\x1a\x10gs-options.proto\"\x84\x02\n\x1e\x43heckForClientAppUpdateRequest\x12\"\n\x1a\x63lientAppFullVersionString\x18\x01 \x01(\t\x12\x1e\n\x16\x63lientAppVersionNumber\x18\x02 \x01(\t\x12\x1d\n\x15\x63lientAppBuildProfile\x18\x03 \x01(\t\x12\x16\n\x0e\x63lientSystemOs\x18\n \x01(\t\x12\x16\n\x0e\x63lientPlatform\x18\x0b \x01(\t\x12!\n\x19\x63lientAppInstallationPath\x18\x0c \x01(\t\x12&\n\x1e\x63lientInstallPathRequiresAdmin\x18\r \x01(\x08:\x04\x88\xb5\x18\x01\"\x98\x02\n\x1f\x43heckForClientAppUpdateResponse\x12J\n\x0cresponseCode\x18\x01 \x01(\x0e\x32\x34.gravi.rest.user.CheckForClientAppUpdateResponseCode\x12-\n%availableClientAppUpdateVersionNumber\x18\x02 \x01(\t\x12%\n\x1d\x63lientAppUpdateMSIDownloadURL\x18\x03 \x01(\t\x12.\n&delayTimeInHoursTillNextUpdateReminder\x18\x04 \x01(\x05\x12\x1d\n\x15\x63ustomResponseMessage\x18\n \x01(\t:\x04\x88\xb5\x18\x01*\x9c\x06\n#CheckForClientAppUpdateResponseCode\x12/\n+CheckForClientAppUpdateResponseCode_Unknown\x10\x00\x12=\n9CheckForClientAppUpdateResponseCode_ClientAlreadyUpToDate\x10\x01\x12=\n9CheckForClientAppUpdateResponseCode_UrgentUpdateAvailable\x10\x02\x12@\n<CheckForClientAppUpdateResponseCode_DelayableUpdateAvailable\x10\x03\x12\x43\n?CheckForClientAppUpdateResponseCode_UpdateOnClientOSUnsupported\x10\x64\x12\x42\n>CheckForClientAppUpdateResponseCode_FailedToParseVersionNumber\x10\x65\x12O\nKCheckForClientAppUpdateResponseCode_UpdateProcessForBuildProfileUnsupported\x10\x66\x12\x46\nBCheckForClientAppUpdateResponseCode_ServerFailedToGetUpdateVersion\x10g\x12H\nDCheckForClientAppUpdateResponseCode_ServerFailedToParseUpdateVersion\x10h\x12O\nKCheckForClientAppUpdateResponseCode_ServerFailedToGenerateUpdateDownloadURL\x10i\x12G\nBCheckForClientAppUpdateResponseCode_ServerFailedWithCustomResponse\x10\xc8\x01\x42I\n\x0e\x63om.gs.pb.userP\x01Z5gravitysketch.com/platform/go/vrproto/gravi/rest/userb\x06proto3')
|
29
|
+
|
30
|
+
_globals = globals()
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gravi.rest.user.update_check_pb2', _globals)
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\016com.gs.pb.userP\001Z5gravitysketch.com/platform/go/vrproto/gravi/rest/user'
|
36
|
+
_globals['_CHECKFORCLIENTAPPUPDATEREQUEST']._loaded_options = None
|
37
|
+
_globals['_CHECKFORCLIENTAPPUPDATEREQUEST']._serialized_options = b'\210\265\030\001'
|
38
|
+
_globals['_CHECKFORCLIENTAPPUPDATERESPONSE']._loaded_options = None
|
39
|
+
_globals['_CHECKFORCLIENTAPPUPDATERESPONSE']._serialized_options = b'\210\265\030\001'
|
40
|
+
_globals['_CHECKFORCLIENTAPPUPDATERESPONSECODE']._serialized_start=620
|
41
|
+
_globals['_CHECKFORCLIENTAPPUPDATERESPONSECODE']._serialized_end=1416
|
42
|
+
_globals['_CHECKFORCLIENTAPPUPDATEREQUEST']._serialized_start=74
|
43
|
+
_globals['_CHECKFORCLIENTAPPUPDATEREQUEST']._serialized_end=334
|
44
|
+
_globals['_CHECKFORCLIENTAPPUPDATERESPONSE']._serialized_start=337
|
45
|
+
_globals['_CHECKFORCLIENTAPPUPDATERESPONSE']._serialized_end=617
|
46
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import gs_options_pb2 as _gs_options_pb2
|
2
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
4
|
+
from google.protobuf import message as _message
|
5
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
6
|
+
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
8
|
+
|
9
|
+
class CheckForClientAppUpdateResponseCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
10
|
+
__slots__ = ()
|
11
|
+
CheckForClientAppUpdateResponseCode_Unknown: _ClassVar[CheckForClientAppUpdateResponseCode]
|
12
|
+
CheckForClientAppUpdateResponseCode_ClientAlreadyUpToDate: _ClassVar[CheckForClientAppUpdateResponseCode]
|
13
|
+
CheckForClientAppUpdateResponseCode_UrgentUpdateAvailable: _ClassVar[CheckForClientAppUpdateResponseCode]
|
14
|
+
CheckForClientAppUpdateResponseCode_DelayableUpdateAvailable: _ClassVar[CheckForClientAppUpdateResponseCode]
|
15
|
+
CheckForClientAppUpdateResponseCode_UpdateOnClientOSUnsupported: _ClassVar[CheckForClientAppUpdateResponseCode]
|
16
|
+
CheckForClientAppUpdateResponseCode_FailedToParseVersionNumber: _ClassVar[CheckForClientAppUpdateResponseCode]
|
17
|
+
CheckForClientAppUpdateResponseCode_UpdateProcessForBuildProfileUnsupported: _ClassVar[CheckForClientAppUpdateResponseCode]
|
18
|
+
CheckForClientAppUpdateResponseCode_ServerFailedToGetUpdateVersion: _ClassVar[CheckForClientAppUpdateResponseCode]
|
19
|
+
CheckForClientAppUpdateResponseCode_ServerFailedToParseUpdateVersion: _ClassVar[CheckForClientAppUpdateResponseCode]
|
20
|
+
CheckForClientAppUpdateResponseCode_ServerFailedToGenerateUpdateDownloadURL: _ClassVar[CheckForClientAppUpdateResponseCode]
|
21
|
+
CheckForClientAppUpdateResponseCode_ServerFailedWithCustomResponse: _ClassVar[CheckForClientAppUpdateResponseCode]
|
22
|
+
CheckForClientAppUpdateResponseCode_Unknown: CheckForClientAppUpdateResponseCode
|
23
|
+
CheckForClientAppUpdateResponseCode_ClientAlreadyUpToDate: CheckForClientAppUpdateResponseCode
|
24
|
+
CheckForClientAppUpdateResponseCode_UrgentUpdateAvailable: CheckForClientAppUpdateResponseCode
|
25
|
+
CheckForClientAppUpdateResponseCode_DelayableUpdateAvailable: CheckForClientAppUpdateResponseCode
|
26
|
+
CheckForClientAppUpdateResponseCode_UpdateOnClientOSUnsupported: CheckForClientAppUpdateResponseCode
|
27
|
+
CheckForClientAppUpdateResponseCode_FailedToParseVersionNumber: CheckForClientAppUpdateResponseCode
|
28
|
+
CheckForClientAppUpdateResponseCode_UpdateProcessForBuildProfileUnsupported: CheckForClientAppUpdateResponseCode
|
29
|
+
CheckForClientAppUpdateResponseCode_ServerFailedToGetUpdateVersion: CheckForClientAppUpdateResponseCode
|
30
|
+
CheckForClientAppUpdateResponseCode_ServerFailedToParseUpdateVersion: CheckForClientAppUpdateResponseCode
|
31
|
+
CheckForClientAppUpdateResponseCode_ServerFailedToGenerateUpdateDownloadURL: CheckForClientAppUpdateResponseCode
|
32
|
+
CheckForClientAppUpdateResponseCode_ServerFailedWithCustomResponse: CheckForClientAppUpdateResponseCode
|
33
|
+
|
34
|
+
class CheckForClientAppUpdateRequest(_message.Message):
|
35
|
+
__slots__ = ("clientAppFullVersionString", "clientAppVersionNumber", "clientAppBuildProfile", "clientSystemOs", "clientPlatform", "clientAppInstallationPath", "clientInstallPathRequiresAdmin")
|
36
|
+
CLIENTAPPFULLVERSIONSTRING_FIELD_NUMBER: _ClassVar[int]
|
37
|
+
CLIENTAPPVERSIONNUMBER_FIELD_NUMBER: _ClassVar[int]
|
38
|
+
CLIENTAPPBUILDPROFILE_FIELD_NUMBER: _ClassVar[int]
|
39
|
+
CLIENTSYSTEMOS_FIELD_NUMBER: _ClassVar[int]
|
40
|
+
CLIENTPLATFORM_FIELD_NUMBER: _ClassVar[int]
|
41
|
+
CLIENTAPPINSTALLATIONPATH_FIELD_NUMBER: _ClassVar[int]
|
42
|
+
CLIENTINSTALLPATHREQUIRESADMIN_FIELD_NUMBER: _ClassVar[int]
|
43
|
+
clientAppFullVersionString: str
|
44
|
+
clientAppVersionNumber: str
|
45
|
+
clientAppBuildProfile: str
|
46
|
+
clientSystemOs: str
|
47
|
+
clientPlatform: str
|
48
|
+
clientAppInstallationPath: str
|
49
|
+
clientInstallPathRequiresAdmin: bool
|
50
|
+
def __init__(self, clientAppFullVersionString: _Optional[str] = ..., clientAppVersionNumber: _Optional[str] = ..., clientAppBuildProfile: _Optional[str] = ..., clientSystemOs: _Optional[str] = ..., clientPlatform: _Optional[str] = ..., clientAppInstallationPath: _Optional[str] = ..., clientInstallPathRequiresAdmin: bool = ...) -> None: ...
|
51
|
+
|
52
|
+
class CheckForClientAppUpdateResponse(_message.Message):
|
53
|
+
__slots__ = ("responseCode", "availableClientAppUpdateVersionNumber", "clientAppUpdateMSIDownloadURL", "delayTimeInHoursTillNextUpdateReminder", "customResponseMessage")
|
54
|
+
RESPONSECODE_FIELD_NUMBER: _ClassVar[int]
|
55
|
+
AVAILABLECLIENTAPPUPDATEVERSIONNUMBER_FIELD_NUMBER: _ClassVar[int]
|
56
|
+
CLIENTAPPUPDATEMSIDOWNLOADURL_FIELD_NUMBER: _ClassVar[int]
|
57
|
+
DELAYTIMEINHOURSTILLNEXTUPDATEREMINDER_FIELD_NUMBER: _ClassVar[int]
|
58
|
+
CUSTOMRESPONSEMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
59
|
+
responseCode: CheckForClientAppUpdateResponseCode
|
60
|
+
availableClientAppUpdateVersionNumber: str
|
61
|
+
clientAppUpdateMSIDownloadURL: str
|
62
|
+
delayTimeInHoursTillNextUpdateReminder: int
|
63
|
+
customResponseMessage: str
|
64
|
+
def __init__(self, responseCode: _Optional[_Union[CheckForClientAppUpdateResponseCode, str]] = ..., availableClientAppUpdateVersionNumber: _Optional[str] = ..., clientAppUpdateMSIDownloadURL: _Optional[str] = ..., delayTimeInHoursTillNextUpdateReminder: _Optional[int] = ..., customResponseMessage: _Optional[str] = ...) -> None: ...
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: gravi/rest/voicechat/transcribe.proto
|
5
|
+
# Protobuf Python Version: 6.30.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
6,
|
15
|
+
30,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'gravi/rest/voicechat/transcribe.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
from gravi.rest.common import async_pb2 as gravi_dot_rest_dot_common_dot_async__pb2
|
26
|
+
import gs_options_pb2 as gs__options__pb2
|
27
|
+
|
28
|
+
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%gravi/rest/voicechat/transcribe.proto\x12\x14gravi.rest.voicechat\x1a\x1dgravi/rest/common/async.proto\x1a\x10gs-options.proto\"\xae\x01\n\x11TranscribeRequest\x12\x36\n\x0fpendingAsyncJob\x18\x01 \x01(\x0b\x32\x1b.gravi.rest.common.AsyncJobH\x00\x12P\n\x16voiceTranscribeRequest\x18\x02 \x01(\x0b\x32..gravi.rest.voicechat.TranscribeRequestPayloadH\x00:\x04\x88\xb5\x18\x01\x42\t\n\x07payload\"/\n\x18TranscribeRequestPayload\x12\r\n\x05\x61udio\x18\x01 \x01(\x0c:\x04\x88\xb5\x18\x01\"\xaa\x01\n\x12TranscribeResponse\x12\x36\n\x0fpendingAsyncJob\x18\x01 \x01(\x0b\x32\x1b.gravi.rest.common.AsyncJobH\x00\x12K\n\x10transcribeResult\x18\x02 \x01(\x0b\x32/.gravi.rest.voicechat.TranscribeResponsePayloadH\x00:\x04\x88\xb5\x18\x01\x42\t\n\x07payload\"/\n\x19TranscribeResponsePayload\x12\x0c\n\x04text\x18\x01 \x01(\t:\x04\x88\xb5\x18\x01\x42S\n\x13\x63om.gs.pb.voicechatP\x01Z:gravitysketch.com/platform/go/vrproto/gravi/rest/voicechatb\x06proto3')
|
30
|
+
|
31
|
+
_globals = globals()
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gravi.rest.voicechat.transcribe_pb2', _globals)
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\023com.gs.pb.voicechatP\001Z:gravitysketch.com/platform/go/vrproto/gravi/rest/voicechat'
|
37
|
+
_globals['_TRANSCRIBEREQUEST']._loaded_options = None
|
38
|
+
_globals['_TRANSCRIBEREQUEST']._serialized_options = b'\210\265\030\001'
|
39
|
+
_globals['_TRANSCRIBEREQUESTPAYLOAD']._loaded_options = None
|
40
|
+
_globals['_TRANSCRIBEREQUESTPAYLOAD']._serialized_options = b'\210\265\030\001'
|
41
|
+
_globals['_TRANSCRIBERESPONSE']._loaded_options = None
|
42
|
+
_globals['_TRANSCRIBERESPONSE']._serialized_options = b'\210\265\030\001'
|
43
|
+
_globals['_TRANSCRIBERESPONSEPAYLOAD']._loaded_options = None
|
44
|
+
_globals['_TRANSCRIBERESPONSEPAYLOAD']._serialized_options = b'\210\265\030\001'
|
45
|
+
_globals['_TRANSCRIBEREQUEST']._serialized_start=113
|
46
|
+
_globals['_TRANSCRIBEREQUEST']._serialized_end=287
|
47
|
+
_globals['_TRANSCRIBEREQUESTPAYLOAD']._serialized_start=289
|
48
|
+
_globals['_TRANSCRIBEREQUESTPAYLOAD']._serialized_end=336
|
49
|
+
_globals['_TRANSCRIBERESPONSE']._serialized_start=339
|
50
|
+
_globals['_TRANSCRIBERESPONSE']._serialized_end=509
|
51
|
+
_globals['_TRANSCRIBERESPONSEPAYLOAD']._serialized_start=511
|
52
|
+
_globals['_TRANSCRIBERESPONSEPAYLOAD']._serialized_end=558
|
53
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,36 @@
|
|
1
|
+
from gravi.rest.common import async_pb2 as _async_pb2
|
2
|
+
import gs_options_pb2 as _gs_options_pb2
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
4
|
+
from google.protobuf import message as _message
|
5
|
+
from collections.abc import Mapping as _Mapping
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
7
|
+
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
9
|
+
|
10
|
+
class TranscribeRequest(_message.Message):
|
11
|
+
__slots__ = ("pendingAsyncJob", "voiceTranscribeRequest")
|
12
|
+
PENDINGASYNCJOB_FIELD_NUMBER: _ClassVar[int]
|
13
|
+
VOICETRANSCRIBEREQUEST_FIELD_NUMBER: _ClassVar[int]
|
14
|
+
pendingAsyncJob: _async_pb2.AsyncJob
|
15
|
+
voiceTranscribeRequest: TranscribeRequestPayload
|
16
|
+
def __init__(self, pendingAsyncJob: _Optional[_Union[_async_pb2.AsyncJob, _Mapping]] = ..., voiceTranscribeRequest: _Optional[_Union[TranscribeRequestPayload, _Mapping]] = ...) -> None: ...
|
17
|
+
|
18
|
+
class TranscribeRequestPayload(_message.Message):
|
19
|
+
__slots__ = ("audio",)
|
20
|
+
AUDIO_FIELD_NUMBER: _ClassVar[int]
|
21
|
+
audio: bytes
|
22
|
+
def __init__(self, audio: _Optional[bytes] = ...) -> None: ...
|
23
|
+
|
24
|
+
class TranscribeResponse(_message.Message):
|
25
|
+
__slots__ = ("pendingAsyncJob", "transcribeResult")
|
26
|
+
PENDINGASYNCJOB_FIELD_NUMBER: _ClassVar[int]
|
27
|
+
TRANSCRIBERESULT_FIELD_NUMBER: _ClassVar[int]
|
28
|
+
pendingAsyncJob: _async_pb2.AsyncJob
|
29
|
+
transcribeResult: TranscribeResponsePayload
|
30
|
+
def __init__(self, pendingAsyncJob: _Optional[_Union[_async_pb2.AsyncJob, _Mapping]] = ..., transcribeResult: _Optional[_Union[TranscribeResponsePayload, _Mapping]] = ...) -> None: ...
|
31
|
+
|
32
|
+
class TranscribeResponsePayload(_message.Message):
|
33
|
+
__slots__ = ("text",)
|
34
|
+
TEXT_FIELD_NUMBER: _ClassVar[int]
|
35
|
+
text: str
|
36
|
+
def __init__(self, text: _Optional[str] = ...) -> None: ...
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: gravi/rest/voicechat/voice.proto
|
5
|
+
# Protobuf Python Version: 6.30.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
6,
|
15
|
+
30,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'gravi/rest/voicechat/voice.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
from gravi.models import gravi_model_pb2 as gravi_dot_models_dot_gravi__model__pb2
|
26
|
+
import gs_options_pb2 as gs__options__pb2
|
27
|
+
|
28
|
+
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n gravi/rest/voicechat/voice.proto\x12\x14gravi.rest.voicechat\x1a\x1egravi/models/gravi-model.proto\x1a\x10gs-options.proto\"\xd4\x01\n\x11\x43lientSentMessage\x12:\n\x08joinChat\x18\xe9\x07 \x01(\x0b\x32%.gravi.rest.voicechat.JoinChatPayloadH\x00\x12\x34\n\x05voice\x18\xea\x07 \x01(\x0b\x32\".gravi.rest.voicechat.VoicePayloadH\x00\x12<\n\theartbeat\x18\xeb\x07 \x01(\x0b\x32&.gravi.rest.voicechat.HeartbeatPayloadH\x00:\x04\x88\xb5\x18\x01\x42\t\n\x07payload\"\xa4\x02\n\x11ServerSentMessage\x12\x0e\n\x06\x66romId\x18\x01 \x01(\x03\x12\x12\n\ningestedAt\x18\x02 \x01(\x03\x12\x1a\n\x12ingestedFromBridge\x18\x03 \x01(\x08\x12\x34\n\x05voice\x18\xe9\x07 \x01(\x0b\x32\".gravi.rest.voicechat.VoicePayloadH\x00\x12<\n\theartbeat\x18\xeb\x07 \x01(\x0b\x32&.gravi.rest.voicechat.HeartbeatPayloadH\x00\x12J\n\x10\x61llClientsInChat\x18\xec\x07 \x01(\x0b\x32-.gravi.rest.voicechat.AllClientsInChatPayloadH\x00:\x04\x88\xb5\x18\x01\x42\t\n\x07payload\"\x93\x01\n\x0fJoinChatPayload\x12\x10\n\x08\x63lientId\x18\x01 \x01(\x03\x12,\n\x06\x63hatId\x18\x02 \x01(\x0b\x32\x1c.gravi.rest.voicechat.ChatId\x12*\n\tsourceApp\x18\x03 \x01(\x0e\x32\x17.gravi.models.SourceApp\x12\x0e\n\x06sToken\x18\x04 \x01(\t:\x04\x88\xb5\x18\x01\"(\n\x06\x43hatId\x12\x0f\n\x05\x64ocId\x18\x01 \x01(\tH\x00:\x04\x88\xb5\x18\x01\x42\x07\n\x05value\"\"\n\x0cVoicePayload\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c:\x04\x88\xb5\x18\x01\"\'\n\x10HeartbeatPayload\x12\r\n\x05isAck\x18\x01 \x01(\x08:\x04\x88\xb5\x18\x01\"2\n\x17\x41llClientsInChatPayload\x12\x11\n\tclientIds\x18\x01 \x03(\x03:\x04\x88\xb5\x18\x01\"=\n ServerInitiatedDisconnectionInfo\x12\x13\n\x0bisRetryable\x18\x01 \x01(\x08:\x04\x88\xb5\x18\x01\x42S\n\x13\x63om.gs.pb.voicechatP\x01Z:gravitysketch.com/platform/go/vrproto/gravi/rest/voicechatb\x06proto3')
|
30
|
+
|
31
|
+
_globals = globals()
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gravi.rest.voicechat.voice_pb2', _globals)
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\023com.gs.pb.voicechatP\001Z:gravitysketch.com/platform/go/vrproto/gravi/rest/voicechat'
|
37
|
+
_globals['_CLIENTSENTMESSAGE']._loaded_options = None
|
38
|
+
_globals['_CLIENTSENTMESSAGE']._serialized_options = b'\210\265\030\001'
|
39
|
+
_globals['_SERVERSENTMESSAGE']._loaded_options = None
|
40
|
+
_globals['_SERVERSENTMESSAGE']._serialized_options = b'\210\265\030\001'
|
41
|
+
_globals['_JOINCHATPAYLOAD']._loaded_options = None
|
42
|
+
_globals['_JOINCHATPAYLOAD']._serialized_options = b'\210\265\030\001'
|
43
|
+
_globals['_CHATID']._loaded_options = None
|
44
|
+
_globals['_CHATID']._serialized_options = b'\210\265\030\001'
|
45
|
+
_globals['_VOICEPAYLOAD']._loaded_options = None
|
46
|
+
_globals['_VOICEPAYLOAD']._serialized_options = b'\210\265\030\001'
|
47
|
+
_globals['_HEARTBEATPAYLOAD']._loaded_options = None
|
48
|
+
_globals['_HEARTBEATPAYLOAD']._serialized_options = b'\210\265\030\001'
|
49
|
+
_globals['_ALLCLIENTSINCHATPAYLOAD']._loaded_options = None
|
50
|
+
_globals['_ALLCLIENTSINCHATPAYLOAD']._serialized_options = b'\210\265\030\001'
|
51
|
+
_globals['_SERVERINITIATEDDISCONNECTIONINFO']._loaded_options = None
|
52
|
+
_globals['_SERVERINITIATEDDISCONNECTIONINFO']._serialized_options = b'\210\265\030\001'
|
53
|
+
_globals['_CLIENTSENTMESSAGE']._serialized_start=109
|
54
|
+
_globals['_CLIENTSENTMESSAGE']._serialized_end=321
|
55
|
+
_globals['_SERVERSENTMESSAGE']._serialized_start=324
|
56
|
+
_globals['_SERVERSENTMESSAGE']._serialized_end=616
|
57
|
+
_globals['_JOINCHATPAYLOAD']._serialized_start=619
|
58
|
+
_globals['_JOINCHATPAYLOAD']._serialized_end=766
|
59
|
+
_globals['_CHATID']._serialized_start=768
|
60
|
+
_globals['_CHATID']._serialized_end=808
|
61
|
+
_globals['_VOICEPAYLOAD']._serialized_start=810
|
62
|
+
_globals['_VOICEPAYLOAD']._serialized_end=844
|
63
|
+
_globals['_HEARTBEATPAYLOAD']._serialized_start=846
|
64
|
+
_globals['_HEARTBEATPAYLOAD']._serialized_end=885
|
65
|
+
_globals['_ALLCLIENTSINCHATPAYLOAD']._serialized_start=887
|
66
|
+
_globals['_ALLCLIENTSINCHATPAYLOAD']._serialized_end=937
|
67
|
+
_globals['_SERVERINITIATEDDISCONNECTIONINFO']._serialized_start=939
|
68
|
+
_globals['_SERVERINITIATEDDISCONNECTIONINFO']._serialized_end=1000
|
69
|
+
# @@protoc_insertion_point(module_scope)
|