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,83 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: gravi/rest/sketch/sketch.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/sketch/sketch.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.rest.model import online_sketch_pb2 as gravi_dot_rest_dot_model_dot_online__sketch__pb2
|
27
|
+
from gravi.rpc.model import sketch_model_pb2 as gravi_dot_rpc_dot_model_dot_sketch__model__pb2
|
28
|
+
from gravi.rpc import cosketch_rpc_pb2 as gravi_dot_rpc_dot_cosketch__rpc__pb2
|
29
|
+
from gravi.models import preferences_pb2 as gravi_dot_models_dot_preferences__pb2
|
30
|
+
from gravi.models import gravi_model_pb2 as gravi_dot_models_dot_gravi__model__pb2
|
31
|
+
|
32
|
+
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1egravi/rest/sketch/sketch.proto\x12\x11gravi.rest.sketch\x1a\x10gs-options.proto\x1a$gravi/rest/model/online-sketch.proto\x1a\"gravi/rpc/model/sketch-model.proto\x1a\x1cgravi/rpc/cosketch-rpc.proto\x1a\x1egravi/models/preferences.proto\x1a\x1egravi/models/gravi-model.proto\"+\n\x08Int128Id\x12\x0c\n\x04high\x18\x01 \x01(\x03\x12\x0b\n\x03low\x18\x02 \x01(\x03:\x04\x88\xb5\x18\x01\"\xb5\x02\n\x11\x43lientSentMessage\x12;\n\njoinSketch\x18\xe9\x07 \x01(\x0b\x32$.gravi.rest.sketch.JoinSketchPayloadH\x00\x12\x39\n\theartbeat\x18\xea\x07 \x01(\x0b\x32#.gravi.rest.sketch.HeartbeatPayloadH\x00\x12L\n\x11\x63lientStateChange\x18\xeb\x07 \x01(\x0b\x32..gravi.rest.sketch.OneClientStateChangePayloadH\x00\x12I\n\x11sketchStateChange\x18\xec\x07 \x01(\x0b\x32+.gravi.rest.sketch.SketchStateChangePayloadH\x00:\x04\x88\xb5\x18\x01\x42\t\n\x07payload\"\xae\x01\n\x11JoinSketchPayload\x12\r\n\x05token\x18\x01 \x01(\t\x12\r\n\x05\x64ocId\x18\x02 \x01(\t\x12\x10\n\x08\x63lientId\x18\x03 \x01(\x03\x12\x37\n\x12startingRevisionId\x18\x04 \x01(\x0b\x32\x1b.gravi.rest.sketch.Int128Id\x12*\n\tsourceApp\x18\x05 \x01(\x0e\x32\x17.gravi.models.SourceApp:\x04\x88\xb5\x18\x01\"\'\n\x10HeartbeatPayload\x12\r\n\x05isAck\x18\x01 \x01(\x08:\x04\x88\xb5\x18\x01\"\x86\x02\n\x1dManyClientStateChangesPayload\x12/\n\nrevisionId\x18\x01 \x01(\x0b\x32\x1b.gravi.rest.sketch.Int128Id\x12N\n\x07\x63hanges\x18\x02 \x03(\x0b\x32=.gravi.rest.sketch.ManyClientStateChangesPayload.ChangesEntry\x1a^\n\x0c\x43hangesEntry\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12=\n\x05value\x18\x02 \x01(\x0b\x32..gravi.rest.sketch.OneClientStateChangePayload:\x02\x38\x01:\x04\x88\xb5\x18\x01\"g\n\x1bOneClientStateChangePayload\x12\x42\n\noverwrites\x18\x01 \x01(\x0b\x32..gravi.rest.sketch.ClientStateObjectOverwrites:\x04\x88\xb5\x18\x01\"f\n\x1b\x43lientStateObjectOverwrites\x12\x41\n\noverwrites\x18\x01 \x03(\x0b\x32-.gravi.rest.sketch.ClientStateObjectOverwrite:\x04\x88\xb5\x18\x01\"\x80\x02\n\x1a\x43lientStateObjectOverwrite\x12\x36\n\ttransform\x18\x65 \x01(\x0b\x32!.gravi.rpc.SyncTransformBroadcastH\x00\x12-\n\x07uiState\x18\x66 \x01(\x0b\x32\x1a.gravi.rpc.SyncUIBroadcastH\x00\x12\x32\n\tuserState\x18g \x01(\x0b\x32\x1d.gravi.rpc.UserStateBroadcastH\x00\x12=\n\npreference\x18h \x01(\x0b\x32\'.gravi.rpc.SyncUserPreferencesBroadcastH\x00\x42\x08\n\x06\x63hange\"\x88\x01\n\x18SketchStateChangePayload\x12/\n\nrevisionId\x18\x01 \x01(\x0b\x32\x1b.gravi.rest.sketch.Int128Id\x12\x35\n\x07\x63hanges\x18\x02 \x03(\x0b\x32$.gravi.rest.model.SketchObjectUpdate:\x04\x88\xb5\x18\x01\"\xaa\x02\n\x11ServerSentMessage\x12\x12\n\ningestedAt\x18\x01 \x01(\x03\x12\x1a\n\x12ingestedFromBridge\x18\x02 \x01(\x08\x12\x39\n\theartbeat\x18\xe9\x07 \x01(\x0b\x32#.gravi.rest.sketch.HeartbeatPayloadH\x00\x12N\n\x11\x63lientStateChange\x18\xea\x07 \x01(\x0b\x32\x30.gravi.rest.sketch.ManyClientStateChangesPayloadH\x00\x12I\n\x11sketchStateChange\x18\xeb\x07 \x01(\x0b\x32+.gravi.rest.sketch.SketchStateChangePayloadH\x00:\x04\x88\xb5\x18\x01\x42\t\n\x07payloadBM\n\x10\x63om.gs.pb.sketchP\x01Z7gravitysketch.com/platform/go/vrproto/gravi/rest/sketchb\x06proto3')
|
34
|
+
|
35
|
+
_globals = globals()
|
36
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
37
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gravi.rest.sketch.sketch_pb2', _globals)
|
38
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
39
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
40
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\020com.gs.pb.sketchP\001Z7gravitysketch.com/platform/go/vrproto/gravi/rest/sketch'
|
41
|
+
_globals['_INT128ID']._loaded_options = None
|
42
|
+
_globals['_INT128ID']._serialized_options = b'\210\265\030\001'
|
43
|
+
_globals['_CLIENTSENTMESSAGE']._loaded_options = None
|
44
|
+
_globals['_CLIENTSENTMESSAGE']._serialized_options = b'\210\265\030\001'
|
45
|
+
_globals['_JOINSKETCHPAYLOAD']._loaded_options = None
|
46
|
+
_globals['_JOINSKETCHPAYLOAD']._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['_MANYCLIENTSTATECHANGESPAYLOAD_CHANGESENTRY']._loaded_options = None
|
50
|
+
_globals['_MANYCLIENTSTATECHANGESPAYLOAD_CHANGESENTRY']._serialized_options = b'8\001'
|
51
|
+
_globals['_MANYCLIENTSTATECHANGESPAYLOAD']._loaded_options = None
|
52
|
+
_globals['_MANYCLIENTSTATECHANGESPAYLOAD']._serialized_options = b'\210\265\030\001'
|
53
|
+
_globals['_ONECLIENTSTATECHANGEPAYLOAD']._loaded_options = None
|
54
|
+
_globals['_ONECLIENTSTATECHANGEPAYLOAD']._serialized_options = b'\210\265\030\001'
|
55
|
+
_globals['_CLIENTSTATEOBJECTOVERWRITES']._loaded_options = None
|
56
|
+
_globals['_CLIENTSTATEOBJECTOVERWRITES']._serialized_options = b'\210\265\030\001'
|
57
|
+
_globals['_SKETCHSTATECHANGEPAYLOAD']._loaded_options = None
|
58
|
+
_globals['_SKETCHSTATECHANGEPAYLOAD']._serialized_options = b'\210\265\030\001'
|
59
|
+
_globals['_SERVERSENTMESSAGE']._loaded_options = None
|
60
|
+
_globals['_SERVERSENTMESSAGE']._serialized_options = b'\210\265\030\001'
|
61
|
+
_globals['_INT128ID']._serialized_start=239
|
62
|
+
_globals['_INT128ID']._serialized_end=282
|
63
|
+
_globals['_CLIENTSENTMESSAGE']._serialized_start=285
|
64
|
+
_globals['_CLIENTSENTMESSAGE']._serialized_end=594
|
65
|
+
_globals['_JOINSKETCHPAYLOAD']._serialized_start=597
|
66
|
+
_globals['_JOINSKETCHPAYLOAD']._serialized_end=771
|
67
|
+
_globals['_HEARTBEATPAYLOAD']._serialized_start=773
|
68
|
+
_globals['_HEARTBEATPAYLOAD']._serialized_end=812
|
69
|
+
_globals['_MANYCLIENTSTATECHANGESPAYLOAD']._serialized_start=815
|
70
|
+
_globals['_MANYCLIENTSTATECHANGESPAYLOAD']._serialized_end=1077
|
71
|
+
_globals['_MANYCLIENTSTATECHANGESPAYLOAD_CHANGESENTRY']._serialized_start=977
|
72
|
+
_globals['_MANYCLIENTSTATECHANGESPAYLOAD_CHANGESENTRY']._serialized_end=1071
|
73
|
+
_globals['_ONECLIENTSTATECHANGEPAYLOAD']._serialized_start=1079
|
74
|
+
_globals['_ONECLIENTSTATECHANGEPAYLOAD']._serialized_end=1182
|
75
|
+
_globals['_CLIENTSTATEOBJECTOVERWRITES']._serialized_start=1184
|
76
|
+
_globals['_CLIENTSTATEOBJECTOVERWRITES']._serialized_end=1286
|
77
|
+
_globals['_CLIENTSTATEOBJECTOVERWRITE']._serialized_start=1289
|
78
|
+
_globals['_CLIENTSTATEOBJECTOVERWRITE']._serialized_end=1545
|
79
|
+
_globals['_SKETCHSTATECHANGEPAYLOAD']._serialized_start=1548
|
80
|
+
_globals['_SKETCHSTATECHANGEPAYLOAD']._serialized_end=1684
|
81
|
+
_globals['_SERVERSENTMESSAGE']._serialized_start=1687
|
82
|
+
_globals['_SERVERSENTMESSAGE']._serialized_end=1985
|
83
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,114 @@
|
|
1
|
+
import gs_options_pb2 as _gs_options_pb2
|
2
|
+
from gravi.rest.model import online_sketch_pb2 as _online_sketch_pb2
|
3
|
+
from gravi.rpc.model import sketch_model_pb2 as _sketch_model_pb2
|
4
|
+
from gravi.rpc import cosketch_rpc_pb2 as _cosketch_rpc_pb2
|
5
|
+
from gravi.models import preferences_pb2 as _preferences_pb2
|
6
|
+
from gravi.models import gravi_model_pb2 as _gravi_model_pb2
|
7
|
+
from google.protobuf.internal import containers as _containers
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
9
|
+
from google.protobuf import message as _message
|
10
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
11
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
12
|
+
|
13
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
14
|
+
|
15
|
+
class Int128Id(_message.Message):
|
16
|
+
__slots__ = ("high", "low")
|
17
|
+
HIGH_FIELD_NUMBER: _ClassVar[int]
|
18
|
+
LOW_FIELD_NUMBER: _ClassVar[int]
|
19
|
+
high: int
|
20
|
+
low: int
|
21
|
+
def __init__(self, high: _Optional[int] = ..., low: _Optional[int] = ...) -> None: ...
|
22
|
+
|
23
|
+
class ClientSentMessage(_message.Message):
|
24
|
+
__slots__ = ("joinSketch", "heartbeat", "clientStateChange", "sketchStateChange")
|
25
|
+
JOINSKETCH_FIELD_NUMBER: _ClassVar[int]
|
26
|
+
HEARTBEAT_FIELD_NUMBER: _ClassVar[int]
|
27
|
+
CLIENTSTATECHANGE_FIELD_NUMBER: _ClassVar[int]
|
28
|
+
SKETCHSTATECHANGE_FIELD_NUMBER: _ClassVar[int]
|
29
|
+
joinSketch: JoinSketchPayload
|
30
|
+
heartbeat: HeartbeatPayload
|
31
|
+
clientStateChange: OneClientStateChangePayload
|
32
|
+
sketchStateChange: SketchStateChangePayload
|
33
|
+
def __init__(self, joinSketch: _Optional[_Union[JoinSketchPayload, _Mapping]] = ..., heartbeat: _Optional[_Union[HeartbeatPayload, _Mapping]] = ..., clientStateChange: _Optional[_Union[OneClientStateChangePayload, _Mapping]] = ..., sketchStateChange: _Optional[_Union[SketchStateChangePayload, _Mapping]] = ...) -> None: ...
|
34
|
+
|
35
|
+
class JoinSketchPayload(_message.Message):
|
36
|
+
__slots__ = ("token", "docId", "clientId", "startingRevisionId", "sourceApp")
|
37
|
+
TOKEN_FIELD_NUMBER: _ClassVar[int]
|
38
|
+
DOCID_FIELD_NUMBER: _ClassVar[int]
|
39
|
+
CLIENTID_FIELD_NUMBER: _ClassVar[int]
|
40
|
+
STARTINGREVISIONID_FIELD_NUMBER: _ClassVar[int]
|
41
|
+
SOURCEAPP_FIELD_NUMBER: _ClassVar[int]
|
42
|
+
token: str
|
43
|
+
docId: str
|
44
|
+
clientId: int
|
45
|
+
startingRevisionId: Int128Id
|
46
|
+
sourceApp: _gravi_model_pb2.SourceApp
|
47
|
+
def __init__(self, token: _Optional[str] = ..., docId: _Optional[str] = ..., clientId: _Optional[int] = ..., startingRevisionId: _Optional[_Union[Int128Id, _Mapping]] = ..., sourceApp: _Optional[_Union[_gravi_model_pb2.SourceApp, str]] = ...) -> None: ...
|
48
|
+
|
49
|
+
class HeartbeatPayload(_message.Message):
|
50
|
+
__slots__ = ("isAck",)
|
51
|
+
ISACK_FIELD_NUMBER: _ClassVar[int]
|
52
|
+
isAck: bool
|
53
|
+
def __init__(self, isAck: bool = ...) -> None: ...
|
54
|
+
|
55
|
+
class ManyClientStateChangesPayload(_message.Message):
|
56
|
+
__slots__ = ("revisionId", "changes")
|
57
|
+
class ChangesEntry(_message.Message):
|
58
|
+
__slots__ = ("key", "value")
|
59
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
60
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
61
|
+
key: int
|
62
|
+
value: OneClientStateChangePayload
|
63
|
+
def __init__(self, key: _Optional[int] = ..., value: _Optional[_Union[OneClientStateChangePayload, _Mapping]] = ...) -> None: ...
|
64
|
+
REVISIONID_FIELD_NUMBER: _ClassVar[int]
|
65
|
+
CHANGES_FIELD_NUMBER: _ClassVar[int]
|
66
|
+
revisionId: Int128Id
|
67
|
+
changes: _containers.MessageMap[int, OneClientStateChangePayload]
|
68
|
+
def __init__(self, revisionId: _Optional[_Union[Int128Id, _Mapping]] = ..., changes: _Optional[_Mapping[int, OneClientStateChangePayload]] = ...) -> None: ...
|
69
|
+
|
70
|
+
class OneClientStateChangePayload(_message.Message):
|
71
|
+
__slots__ = ("overwrites",)
|
72
|
+
OVERWRITES_FIELD_NUMBER: _ClassVar[int]
|
73
|
+
overwrites: ClientStateObjectOverwrites
|
74
|
+
def __init__(self, overwrites: _Optional[_Union[ClientStateObjectOverwrites, _Mapping]] = ...) -> None: ...
|
75
|
+
|
76
|
+
class ClientStateObjectOverwrites(_message.Message):
|
77
|
+
__slots__ = ("overwrites",)
|
78
|
+
OVERWRITES_FIELD_NUMBER: _ClassVar[int]
|
79
|
+
overwrites: _containers.RepeatedCompositeFieldContainer[ClientStateObjectOverwrite]
|
80
|
+
def __init__(self, overwrites: _Optional[_Iterable[_Union[ClientStateObjectOverwrite, _Mapping]]] = ...) -> None: ...
|
81
|
+
|
82
|
+
class ClientStateObjectOverwrite(_message.Message):
|
83
|
+
__slots__ = ("transform", "uiState", "userState", "preference")
|
84
|
+
TRANSFORM_FIELD_NUMBER: _ClassVar[int]
|
85
|
+
UISTATE_FIELD_NUMBER: _ClassVar[int]
|
86
|
+
USERSTATE_FIELD_NUMBER: _ClassVar[int]
|
87
|
+
PREFERENCE_FIELD_NUMBER: _ClassVar[int]
|
88
|
+
transform: _cosketch_rpc_pb2.SyncTransformBroadcast
|
89
|
+
uiState: _cosketch_rpc_pb2.SyncUIBroadcast
|
90
|
+
userState: _cosketch_rpc_pb2.UserStateBroadcast
|
91
|
+
preference: _cosketch_rpc_pb2.SyncUserPreferencesBroadcast
|
92
|
+
def __init__(self, transform: _Optional[_Union[_cosketch_rpc_pb2.SyncTransformBroadcast, _Mapping]] = ..., uiState: _Optional[_Union[_cosketch_rpc_pb2.SyncUIBroadcast, _Mapping]] = ..., userState: _Optional[_Union[_cosketch_rpc_pb2.UserStateBroadcast, _Mapping]] = ..., preference: _Optional[_Union[_cosketch_rpc_pb2.SyncUserPreferencesBroadcast, _Mapping]] = ...) -> None: ...
|
93
|
+
|
94
|
+
class SketchStateChangePayload(_message.Message):
|
95
|
+
__slots__ = ("revisionId", "changes")
|
96
|
+
REVISIONID_FIELD_NUMBER: _ClassVar[int]
|
97
|
+
CHANGES_FIELD_NUMBER: _ClassVar[int]
|
98
|
+
revisionId: Int128Id
|
99
|
+
changes: _containers.RepeatedCompositeFieldContainer[_online_sketch_pb2.SketchObjectUpdate]
|
100
|
+
def __init__(self, revisionId: _Optional[_Union[Int128Id, _Mapping]] = ..., changes: _Optional[_Iterable[_Union[_online_sketch_pb2.SketchObjectUpdate, _Mapping]]] = ...) -> None: ...
|
101
|
+
|
102
|
+
class ServerSentMessage(_message.Message):
|
103
|
+
__slots__ = ("ingestedAt", "ingestedFromBridge", "heartbeat", "clientStateChange", "sketchStateChange")
|
104
|
+
INGESTEDAT_FIELD_NUMBER: _ClassVar[int]
|
105
|
+
INGESTEDFROMBRIDGE_FIELD_NUMBER: _ClassVar[int]
|
106
|
+
HEARTBEAT_FIELD_NUMBER: _ClassVar[int]
|
107
|
+
CLIENTSTATECHANGE_FIELD_NUMBER: _ClassVar[int]
|
108
|
+
SKETCHSTATECHANGE_FIELD_NUMBER: _ClassVar[int]
|
109
|
+
ingestedAt: int
|
110
|
+
ingestedFromBridge: bool
|
111
|
+
heartbeat: HeartbeatPayload
|
112
|
+
clientStateChange: ManyClientStateChangesPayload
|
113
|
+
sketchStateChange: SketchStateChangePayload
|
114
|
+
def __init__(self, ingestedAt: _Optional[int] = ..., ingestedFromBridge: bool = ..., heartbeat: _Optional[_Union[HeartbeatPayload, _Mapping]] = ..., clientStateChange: _Optional[_Union[ManyClientStateChangesPayload, _Mapping]] = ..., sketchStateChange: _Optional[_Union[SketchStateChangePayload, _Mapping]] = ...) -> None: ...
|
@@ -0,0 +1,47 @@
|
|
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/account.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/account.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
|
+
|
28
|
+
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dgravi/rest/user/account.proto\x12\x0fgravi.rest.user\x1a\x10gs-options.proto\x1a\x1egravi/models/gravi-model.proto\" \n\x18GetLoggedInUserRequestV2:\x04\x88\xb5\x18\x01\"E\n\x19GetLoggedInUserResponseV2\x12\"\n\x04user\x18\x01 \x01(\x0b\x32\x14.gravi.models.UserTO:\x04\x88\xb5\x18\x01*T\n\x0b\x41\x63\x63ountType\x12\x16\n\x12\x41\x63\x63ountTypeUnknown\x10\x00\x12\x19\n\x15\x41\x63\x63ountTypeIndividual\x10\x01\x12\x12\n\x0e\x41\x63\x63ountTypeOrg\x10\x02\x42I\n\x0e\x63om.gs.pb.userP\x01Z5gravitysketch.com/platform/go/vrproto/gravi/rest/userb\x06proto3')
|
30
|
+
|
31
|
+
_globals = globals()
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gravi.rest.user.account_pb2', _globals)
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\016com.gs.pb.userP\001Z5gravitysketch.com/platform/go/vrproto/gravi/rest/user'
|
37
|
+
_globals['_GETLOGGEDINUSERREQUESTV2']._loaded_options = None
|
38
|
+
_globals['_GETLOGGEDINUSERREQUESTV2']._serialized_options = b'\210\265\030\001'
|
39
|
+
_globals['_GETLOGGEDINUSERRESPONSEV2']._loaded_options = None
|
40
|
+
_globals['_GETLOGGEDINUSERRESPONSEV2']._serialized_options = b'\210\265\030\001'
|
41
|
+
_globals['_ACCOUNTTYPE']._serialized_start=205
|
42
|
+
_globals['_ACCOUNTTYPE']._serialized_end=289
|
43
|
+
_globals['_GETLOGGEDINUSERREQUESTV2']._serialized_start=100
|
44
|
+
_globals['_GETLOGGEDINUSERREQUESTV2']._serialized_end=132
|
45
|
+
_globals['_GETLOGGEDINUSERRESPONSEV2']._serialized_start=134
|
46
|
+
_globals['_GETLOGGEDINUSERRESPONSEV2']._serialized_end=203
|
47
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import gs_options_pb2 as _gs_options_pb2
|
2
|
+
from gravi.models import gravi_model_pb2 as _gravi_model_pb2
|
3
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
5
|
+
from google.protobuf import message as _message
|
6
|
+
from collections.abc import Mapping as _Mapping
|
7
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
8
|
+
|
9
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
10
|
+
|
11
|
+
class AccountType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
12
|
+
__slots__ = ()
|
13
|
+
AccountTypeUnknown: _ClassVar[AccountType]
|
14
|
+
AccountTypeIndividual: _ClassVar[AccountType]
|
15
|
+
AccountTypeOrg: _ClassVar[AccountType]
|
16
|
+
AccountTypeUnknown: AccountType
|
17
|
+
AccountTypeIndividual: AccountType
|
18
|
+
AccountTypeOrg: AccountType
|
19
|
+
|
20
|
+
class GetLoggedInUserRequestV2(_message.Message):
|
21
|
+
__slots__ = ()
|
22
|
+
def __init__(self) -> None: ...
|
23
|
+
|
24
|
+
class GetLoggedInUserResponseV2(_message.Message):
|
25
|
+
__slots__ = ("user",)
|
26
|
+
USER_FIELD_NUMBER: _ClassVar[int]
|
27
|
+
user: _gravi_model_pb2.UserTO
|
28
|
+
def __init__(self, user: _Optional[_Union[_gravi_model_pb2.UserTO, _Mapping]] = ...) -> None: ...
|
@@ -0,0 +1,115 @@
|
|
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/connections.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/connections.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
|
+
|
28
|
+
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!gravi/rest/user/connections.proto\x12\x0fgravi.rest.user\x1a\x10gs-options.proto\x1a\x1egravi/models/gravi-model.proto\"\x98\x01\n InitiateOidcAuthorisationRequest\x12\x0e\n\x06userId\x18\x01 \x01(\t\x12\x1c\n\x14\x61\x66terAuthRedirectUrl\x18\x02 \x01(\t\x12@\n\x14oidcResourceProvider\x18\x03 \x01(\x0e\x32\".gravi.models.OIDCResourceProvider:\x04\x88\xb5\x18\x01\"\xa6\x01\n!InitiateOidcAuthorisationResponse\x12\x1b\n\x13providerRedirectUrl\x18\x01 \x01(\t\x12\r\n\x05nonce\x18\x02 \x01(\t\x12\r\n\x05state\x18\x03 \x01(\t\x12@\n\x14oidcResourceProvider\x18\x04 \x01(\x0e\x32\".gravi.models.OIDCResourceProvider:\x04\x88\xb5\x18\x01\"\xc9\x01\n CompleteOidcAuthorisationRequest\x12\x0e\n\x06userId\x18\x01 \x01(\t\x12\x10\n\x08\x61uthCode\x18\x02 \x01(\t\x12@\n\x14oidcResourceProvider\x18\x03 \x01(\x0e\x32\".gravi.models.OIDCResourceProvider\x12\r\n\x05nonce\x18\x04 \x01(\t\x12,\n\ndeviceInfo\x18\x05 \x01(\x0b\x32\x18.gravi.models.DeviceInfo:\x04\x88\xb5\x18\x01\"\xa7\x01\n!CompleteOidcAuthorisationResponse\x12\x36\n\nsocialInfo\x18\x01 \x01(\x0b\x32\".gravi.models.UserPublicSocialInfo\x12\x44\n\x04\x63ode\x18\x02 \x01(\x0e\x32\x36.gravi.rest.user.CompleteOidcAuthorisationResponseCode:\x04\x88\xb5\x18\x01\"6\n\x1eRevokeOidcAuthorisationRequest\x12\x0e\n\x06userId\x18\x01 \x01(\t:\x04\x88\xb5\x18\x01\"\'\n\x1fRevokeOidcAuthorisationResponse:\x04\x88\xb5\x18\x01\"3\n\x17SearchPublicUserRequest\x12\x12\n\nuserHandle\x18\x01 \x01(\t:\x04\x88\xb5\x18\x01\"\xad\x01\n\x18SearchPublicUserResponse\x12\x32\n\x0euserPublicInfo\x18\x01 \x01(\x0b\x32\x1a.gravi.models.UserPublicTO\x12G\n\x16searchPublicUserResult\x18\x02 \x01(\x0e\x32\'.gravi.rest.user.SearchPublicUserResult\x12\x0e\n\x06userId\x18\x03 \x01(\t:\x04\x88\xb5\x18\x01\"\xa0\x01\n\x0c\x43onnectionTO\x12\x0e\n\x06userId\x18\x01 \x01(\t\x12\x37\n\x0conlineStatus\x18\x02 \x01(\x0e\x32!.gravi.rest.user.UserOnlineStatus\x12\x32\n\x0euserPublicInfo\x18\x03 \x01(\x0b\x32\x1a.gravi.models.UserPublicTO\x12\r\n\x05\x65mail\x18\x04 \x01(\t:\x04\x88\xb5\x18\x01\".\n\x16ListConnectionsRequest\x12\x0e\n\x06userId\x18\x01 \x01(\t:\x04\x88\xb5\x18\x01\"S\n\x17ListConnectionsResponse\x12\x32\n\x0b\x63onnections\x18\x01 \x03(\x0b\x32\x1d.gravi.rest.user.ConnectionTO:\x04\x88\xb5\x18\x01\"y\n!CreateConnectionInvitationRequest\x12\x15\n\rinviterUserId\x18\x01 \x01(\t\x12\x15\n\rinviteeUserId\x18\x02 \x01(\t\x12 \n\x18inviterPublicProfileLink\x18\x03 \x01(\t:\x04\x88\xb5\x18\x01\"\xb5\x01\n\"CreateConnectionInvitationResponse\x12\x42\n\x14\x63onnectionInvitation\x18\x01 \x01(\x0b\x32$.gravi.models.ConnectionInvitationTO\x12\x45\n\x04\x63ode\x18\x02 \x01(\x0e\x32\x37.gravi.rest.user.CreateConnectionInvitationResponseCode:\x04\x88\xb5\x18\x01\"8\n ListConnectionInvitationsRequest\x12\x0e\n\x06userId\x18\x01 \x01(\t:\x04\x88\xb5\x18\x01\"n\n!ListConnectionInvitationsResponse\x12\x43\n\x15\x63onnectionInvitations\x18\x01 \x03(\x0b\x32$.gravi.models.ConnectionInvitationTO:\x04\x88\xb5\x18\x01\"\xa5\x01\n!UpdateConnectionInvitationRequest\x12\x14\n\x0cinvitationId\x18\x01 \x01(\t\x12\x42\n\x10invitationStatus\x18\x03 \x01(\x0e\x32(.gravi.models.ConnectionInvitationStatus\x12 \n\x18inviterPublicProfileLink\x18\x04 \x01(\t:\x04\x88\xb5\x18\x01\"\xb5\x01\n\"UpdateConnectionInvitationResponse\x12\x42\n\x14\x63onnectionInvitation\x18\x01 \x01(\x0b\x32$.gravi.models.ConnectionInvitationTO\x12\x45\n\x04\x63ode\x18\x02 \x01(\x0e\x32\x37.gravi.rest.user.UpdateConnectionInvitationResponseCode:\x04\x88\xb5\x18\x01*\xec\x01\n%CompleteOidcAuthorisationResponseCode\x12\x31\n-CompleteOidcAuthorisationResponseCode_Success\x10\x00\x12\x46\nBCompleteOidcAuthorisationResponseCode_AuthorisedToDifferentAccount\x10\x01\x12H\nDCompleteOidcAuthorisationResponseCode_ThirdPartyIdentityNotRetrieved\x10\x02*Y\n\x16SearchPublicUserResult\x12\x1c\n\x18SearchUserResult_Success\x10\x00\x12!\n\x1dSearchUserResult_UserNotFound\x10\x01*K\n\x10UserOnlineStatus\x12\x1a\n\x16UserOnlineStatusOnline\x10\x00\x12\x1b\n\x17UserOnlineStatusOffline\x10\x01*\xe7\x02\n&CreateConnectionInvitationResponseCode\x12\x31\n-CreateConnectionInvitationResponseCodeSuccess\x10\x00\x12\x39\n5CreateConnectionInvitationResponseCodeInviteeNotFound\x10\x01\x12\x45\nACreateConnectionInvitationResponseCodeOrgAccountInviteeNotAllowed\x10\x02\x12\x41\n=CreateConnectionInvitationResponseCodeInvitationAlreadyExists\x10\x03\x12\x45\nACreateConnectionInvitationResponseCodeInvitationPendingOrAccepted\x10\x04*\xa6\x02\n&UpdateConnectionInvitationResponseCode\x12\x32\n.UpdateConnectionInvitationResponseCode_Success\x10\x00\x12=\n9UpdateConnectionInvitationResponseCode_InvitationNotFound\x10\x01\x12\x45\nAUpdateConnectionInvitationResponseCode_InvitationUpdateNotAllowed\x10\x02\x12\x42\n>UpdateConnectionInvitationResponseCode_InvitationUpdateFailure\x10\x03\x42I\n\x0e\x63om.gs.pb.userP\x01Z5gravitysketch.com/platform/go/vrproto/gravi/rest/userb\x06proto3')
|
30
|
+
|
31
|
+
_globals = globals()
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gravi.rest.user.connections_pb2', _globals)
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\016com.gs.pb.userP\001Z5gravitysketch.com/platform/go/vrproto/gravi/rest/user'
|
37
|
+
_globals['_INITIATEOIDCAUTHORISATIONREQUEST']._loaded_options = None
|
38
|
+
_globals['_INITIATEOIDCAUTHORISATIONREQUEST']._serialized_options = b'\210\265\030\001'
|
39
|
+
_globals['_INITIATEOIDCAUTHORISATIONRESPONSE']._loaded_options = None
|
40
|
+
_globals['_INITIATEOIDCAUTHORISATIONRESPONSE']._serialized_options = b'\210\265\030\001'
|
41
|
+
_globals['_COMPLETEOIDCAUTHORISATIONREQUEST']._loaded_options = None
|
42
|
+
_globals['_COMPLETEOIDCAUTHORISATIONREQUEST']._serialized_options = b'\210\265\030\001'
|
43
|
+
_globals['_COMPLETEOIDCAUTHORISATIONRESPONSE']._loaded_options = None
|
44
|
+
_globals['_COMPLETEOIDCAUTHORISATIONRESPONSE']._serialized_options = b'\210\265\030\001'
|
45
|
+
_globals['_REVOKEOIDCAUTHORISATIONREQUEST']._loaded_options = None
|
46
|
+
_globals['_REVOKEOIDCAUTHORISATIONREQUEST']._serialized_options = b'\210\265\030\001'
|
47
|
+
_globals['_REVOKEOIDCAUTHORISATIONRESPONSE']._loaded_options = None
|
48
|
+
_globals['_REVOKEOIDCAUTHORISATIONRESPONSE']._serialized_options = b'\210\265\030\001'
|
49
|
+
_globals['_SEARCHPUBLICUSERREQUEST']._loaded_options = None
|
50
|
+
_globals['_SEARCHPUBLICUSERREQUEST']._serialized_options = b'\210\265\030\001'
|
51
|
+
_globals['_SEARCHPUBLICUSERRESPONSE']._loaded_options = None
|
52
|
+
_globals['_SEARCHPUBLICUSERRESPONSE']._serialized_options = b'\210\265\030\001'
|
53
|
+
_globals['_CONNECTIONTO']._loaded_options = None
|
54
|
+
_globals['_CONNECTIONTO']._serialized_options = b'\210\265\030\001'
|
55
|
+
_globals['_LISTCONNECTIONSREQUEST']._loaded_options = None
|
56
|
+
_globals['_LISTCONNECTIONSREQUEST']._serialized_options = b'\210\265\030\001'
|
57
|
+
_globals['_LISTCONNECTIONSRESPONSE']._loaded_options = None
|
58
|
+
_globals['_LISTCONNECTIONSRESPONSE']._serialized_options = b'\210\265\030\001'
|
59
|
+
_globals['_CREATECONNECTIONINVITATIONREQUEST']._loaded_options = None
|
60
|
+
_globals['_CREATECONNECTIONINVITATIONREQUEST']._serialized_options = b'\210\265\030\001'
|
61
|
+
_globals['_CREATECONNECTIONINVITATIONRESPONSE']._loaded_options = None
|
62
|
+
_globals['_CREATECONNECTIONINVITATIONRESPONSE']._serialized_options = b'\210\265\030\001'
|
63
|
+
_globals['_LISTCONNECTIONINVITATIONSREQUEST']._loaded_options = None
|
64
|
+
_globals['_LISTCONNECTIONINVITATIONSREQUEST']._serialized_options = b'\210\265\030\001'
|
65
|
+
_globals['_LISTCONNECTIONINVITATIONSRESPONSE']._loaded_options = None
|
66
|
+
_globals['_LISTCONNECTIONINVITATIONSRESPONSE']._serialized_options = b'\210\265\030\001'
|
67
|
+
_globals['_UPDATECONNECTIONINVITATIONREQUEST']._loaded_options = None
|
68
|
+
_globals['_UPDATECONNECTIONINVITATIONREQUEST']._serialized_options = b'\210\265\030\001'
|
69
|
+
_globals['_UPDATECONNECTIONINVITATIONRESPONSE']._loaded_options = None
|
70
|
+
_globals['_UPDATECONNECTIONINVITATIONRESPONSE']._serialized_options = b'\210\265\030\001'
|
71
|
+
_globals['_COMPLETEOIDCAUTHORISATIONRESPONSECODE']._serialized_start=2254
|
72
|
+
_globals['_COMPLETEOIDCAUTHORISATIONRESPONSECODE']._serialized_end=2490
|
73
|
+
_globals['_SEARCHPUBLICUSERRESULT']._serialized_start=2492
|
74
|
+
_globals['_SEARCHPUBLICUSERRESULT']._serialized_end=2581
|
75
|
+
_globals['_USERONLINESTATUS']._serialized_start=2583
|
76
|
+
_globals['_USERONLINESTATUS']._serialized_end=2658
|
77
|
+
_globals['_CREATECONNECTIONINVITATIONRESPONSECODE']._serialized_start=2661
|
78
|
+
_globals['_CREATECONNECTIONINVITATIONRESPONSECODE']._serialized_end=3020
|
79
|
+
_globals['_UPDATECONNECTIONINVITATIONRESPONSECODE']._serialized_start=3023
|
80
|
+
_globals['_UPDATECONNECTIONINVITATIONRESPONSECODE']._serialized_end=3317
|
81
|
+
_globals['_INITIATEOIDCAUTHORISATIONREQUEST']._serialized_start=105
|
82
|
+
_globals['_INITIATEOIDCAUTHORISATIONREQUEST']._serialized_end=257
|
83
|
+
_globals['_INITIATEOIDCAUTHORISATIONRESPONSE']._serialized_start=260
|
84
|
+
_globals['_INITIATEOIDCAUTHORISATIONRESPONSE']._serialized_end=426
|
85
|
+
_globals['_COMPLETEOIDCAUTHORISATIONREQUEST']._serialized_start=429
|
86
|
+
_globals['_COMPLETEOIDCAUTHORISATIONREQUEST']._serialized_end=630
|
87
|
+
_globals['_COMPLETEOIDCAUTHORISATIONRESPONSE']._serialized_start=633
|
88
|
+
_globals['_COMPLETEOIDCAUTHORISATIONRESPONSE']._serialized_end=800
|
89
|
+
_globals['_REVOKEOIDCAUTHORISATIONREQUEST']._serialized_start=802
|
90
|
+
_globals['_REVOKEOIDCAUTHORISATIONREQUEST']._serialized_end=856
|
91
|
+
_globals['_REVOKEOIDCAUTHORISATIONRESPONSE']._serialized_start=858
|
92
|
+
_globals['_REVOKEOIDCAUTHORISATIONRESPONSE']._serialized_end=897
|
93
|
+
_globals['_SEARCHPUBLICUSERREQUEST']._serialized_start=899
|
94
|
+
_globals['_SEARCHPUBLICUSERREQUEST']._serialized_end=950
|
95
|
+
_globals['_SEARCHPUBLICUSERRESPONSE']._serialized_start=953
|
96
|
+
_globals['_SEARCHPUBLICUSERRESPONSE']._serialized_end=1126
|
97
|
+
_globals['_CONNECTIONTO']._serialized_start=1129
|
98
|
+
_globals['_CONNECTIONTO']._serialized_end=1289
|
99
|
+
_globals['_LISTCONNECTIONSREQUEST']._serialized_start=1291
|
100
|
+
_globals['_LISTCONNECTIONSREQUEST']._serialized_end=1337
|
101
|
+
_globals['_LISTCONNECTIONSRESPONSE']._serialized_start=1339
|
102
|
+
_globals['_LISTCONNECTIONSRESPONSE']._serialized_end=1422
|
103
|
+
_globals['_CREATECONNECTIONINVITATIONREQUEST']._serialized_start=1424
|
104
|
+
_globals['_CREATECONNECTIONINVITATIONREQUEST']._serialized_end=1545
|
105
|
+
_globals['_CREATECONNECTIONINVITATIONRESPONSE']._serialized_start=1548
|
106
|
+
_globals['_CREATECONNECTIONINVITATIONRESPONSE']._serialized_end=1729
|
107
|
+
_globals['_LISTCONNECTIONINVITATIONSREQUEST']._serialized_start=1731
|
108
|
+
_globals['_LISTCONNECTIONINVITATIONSREQUEST']._serialized_end=1787
|
109
|
+
_globals['_LISTCONNECTIONINVITATIONSRESPONSE']._serialized_start=1789
|
110
|
+
_globals['_LISTCONNECTIONINVITATIONSRESPONSE']._serialized_end=1899
|
111
|
+
_globals['_UPDATECONNECTIONINVITATIONREQUEST']._serialized_start=1902
|
112
|
+
_globals['_UPDATECONNECTIONINVITATIONREQUEST']._serialized_end=2067
|
113
|
+
_globals['_UPDATECONNECTIONINVITATIONRESPONSE']._serialized_start=2070
|
114
|
+
_globals['_UPDATECONNECTIONINVITATIONRESPONSE']._serialized_end=2251
|
115
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,199 @@
|
|
1
|
+
import gs_options_pb2 as _gs_options_pb2
|
2
|
+
from gravi.models import gravi_model_pb2 as _gravi_model_pb2
|
3
|
+
from google.protobuf.internal import containers as _containers
|
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 Iterable as _Iterable, Mapping as _Mapping
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
9
|
+
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
11
|
+
|
12
|
+
class CompleteOidcAuthorisationResponseCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
13
|
+
__slots__ = ()
|
14
|
+
CompleteOidcAuthorisationResponseCode_Success: _ClassVar[CompleteOidcAuthorisationResponseCode]
|
15
|
+
CompleteOidcAuthorisationResponseCode_AuthorisedToDifferentAccount: _ClassVar[CompleteOidcAuthorisationResponseCode]
|
16
|
+
CompleteOidcAuthorisationResponseCode_ThirdPartyIdentityNotRetrieved: _ClassVar[CompleteOidcAuthorisationResponseCode]
|
17
|
+
|
18
|
+
class SearchPublicUserResult(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
19
|
+
__slots__ = ()
|
20
|
+
SearchUserResult_Success: _ClassVar[SearchPublicUserResult]
|
21
|
+
SearchUserResult_UserNotFound: _ClassVar[SearchPublicUserResult]
|
22
|
+
|
23
|
+
class UserOnlineStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
24
|
+
__slots__ = ()
|
25
|
+
UserOnlineStatusOnline: _ClassVar[UserOnlineStatus]
|
26
|
+
UserOnlineStatusOffline: _ClassVar[UserOnlineStatus]
|
27
|
+
|
28
|
+
class CreateConnectionInvitationResponseCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
29
|
+
__slots__ = ()
|
30
|
+
CreateConnectionInvitationResponseCodeSuccess: _ClassVar[CreateConnectionInvitationResponseCode]
|
31
|
+
CreateConnectionInvitationResponseCodeInviteeNotFound: _ClassVar[CreateConnectionInvitationResponseCode]
|
32
|
+
CreateConnectionInvitationResponseCodeOrgAccountInviteeNotAllowed: _ClassVar[CreateConnectionInvitationResponseCode]
|
33
|
+
CreateConnectionInvitationResponseCodeInvitationAlreadyExists: _ClassVar[CreateConnectionInvitationResponseCode]
|
34
|
+
CreateConnectionInvitationResponseCodeInvitationPendingOrAccepted: _ClassVar[CreateConnectionInvitationResponseCode]
|
35
|
+
|
36
|
+
class UpdateConnectionInvitationResponseCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
37
|
+
__slots__ = ()
|
38
|
+
UpdateConnectionInvitationResponseCode_Success: _ClassVar[UpdateConnectionInvitationResponseCode]
|
39
|
+
UpdateConnectionInvitationResponseCode_InvitationNotFound: _ClassVar[UpdateConnectionInvitationResponseCode]
|
40
|
+
UpdateConnectionInvitationResponseCode_InvitationUpdateNotAllowed: _ClassVar[UpdateConnectionInvitationResponseCode]
|
41
|
+
UpdateConnectionInvitationResponseCode_InvitationUpdateFailure: _ClassVar[UpdateConnectionInvitationResponseCode]
|
42
|
+
CompleteOidcAuthorisationResponseCode_Success: CompleteOidcAuthorisationResponseCode
|
43
|
+
CompleteOidcAuthorisationResponseCode_AuthorisedToDifferentAccount: CompleteOidcAuthorisationResponseCode
|
44
|
+
CompleteOidcAuthorisationResponseCode_ThirdPartyIdentityNotRetrieved: CompleteOidcAuthorisationResponseCode
|
45
|
+
SearchUserResult_Success: SearchPublicUserResult
|
46
|
+
SearchUserResult_UserNotFound: SearchPublicUserResult
|
47
|
+
UserOnlineStatusOnline: UserOnlineStatus
|
48
|
+
UserOnlineStatusOffline: UserOnlineStatus
|
49
|
+
CreateConnectionInvitationResponseCodeSuccess: CreateConnectionInvitationResponseCode
|
50
|
+
CreateConnectionInvitationResponseCodeInviteeNotFound: CreateConnectionInvitationResponseCode
|
51
|
+
CreateConnectionInvitationResponseCodeOrgAccountInviteeNotAllowed: CreateConnectionInvitationResponseCode
|
52
|
+
CreateConnectionInvitationResponseCodeInvitationAlreadyExists: CreateConnectionInvitationResponseCode
|
53
|
+
CreateConnectionInvitationResponseCodeInvitationPendingOrAccepted: CreateConnectionInvitationResponseCode
|
54
|
+
UpdateConnectionInvitationResponseCode_Success: UpdateConnectionInvitationResponseCode
|
55
|
+
UpdateConnectionInvitationResponseCode_InvitationNotFound: UpdateConnectionInvitationResponseCode
|
56
|
+
UpdateConnectionInvitationResponseCode_InvitationUpdateNotAllowed: UpdateConnectionInvitationResponseCode
|
57
|
+
UpdateConnectionInvitationResponseCode_InvitationUpdateFailure: UpdateConnectionInvitationResponseCode
|
58
|
+
|
59
|
+
class InitiateOidcAuthorisationRequest(_message.Message):
|
60
|
+
__slots__ = ("userId", "afterAuthRedirectUrl", "oidcResourceProvider")
|
61
|
+
USERID_FIELD_NUMBER: _ClassVar[int]
|
62
|
+
AFTERAUTHREDIRECTURL_FIELD_NUMBER: _ClassVar[int]
|
63
|
+
OIDCRESOURCEPROVIDER_FIELD_NUMBER: _ClassVar[int]
|
64
|
+
userId: str
|
65
|
+
afterAuthRedirectUrl: str
|
66
|
+
oidcResourceProvider: _gravi_model_pb2.OIDCResourceProvider
|
67
|
+
def __init__(self, userId: _Optional[str] = ..., afterAuthRedirectUrl: _Optional[str] = ..., oidcResourceProvider: _Optional[_Union[_gravi_model_pb2.OIDCResourceProvider, str]] = ...) -> None: ...
|
68
|
+
|
69
|
+
class InitiateOidcAuthorisationResponse(_message.Message):
|
70
|
+
__slots__ = ("providerRedirectUrl", "nonce", "state", "oidcResourceProvider")
|
71
|
+
PROVIDERREDIRECTURL_FIELD_NUMBER: _ClassVar[int]
|
72
|
+
NONCE_FIELD_NUMBER: _ClassVar[int]
|
73
|
+
STATE_FIELD_NUMBER: _ClassVar[int]
|
74
|
+
OIDCRESOURCEPROVIDER_FIELD_NUMBER: _ClassVar[int]
|
75
|
+
providerRedirectUrl: str
|
76
|
+
nonce: str
|
77
|
+
state: str
|
78
|
+
oidcResourceProvider: _gravi_model_pb2.OIDCResourceProvider
|
79
|
+
def __init__(self, providerRedirectUrl: _Optional[str] = ..., nonce: _Optional[str] = ..., state: _Optional[str] = ..., oidcResourceProvider: _Optional[_Union[_gravi_model_pb2.OIDCResourceProvider, str]] = ...) -> None: ...
|
80
|
+
|
81
|
+
class CompleteOidcAuthorisationRequest(_message.Message):
|
82
|
+
__slots__ = ("userId", "authCode", "oidcResourceProvider", "nonce", "deviceInfo")
|
83
|
+
USERID_FIELD_NUMBER: _ClassVar[int]
|
84
|
+
AUTHCODE_FIELD_NUMBER: _ClassVar[int]
|
85
|
+
OIDCRESOURCEPROVIDER_FIELD_NUMBER: _ClassVar[int]
|
86
|
+
NONCE_FIELD_NUMBER: _ClassVar[int]
|
87
|
+
DEVICEINFO_FIELD_NUMBER: _ClassVar[int]
|
88
|
+
userId: str
|
89
|
+
authCode: str
|
90
|
+
oidcResourceProvider: _gravi_model_pb2.OIDCResourceProvider
|
91
|
+
nonce: str
|
92
|
+
deviceInfo: _gravi_model_pb2.DeviceInfo
|
93
|
+
def __init__(self, userId: _Optional[str] = ..., authCode: _Optional[str] = ..., oidcResourceProvider: _Optional[_Union[_gravi_model_pb2.OIDCResourceProvider, str]] = ..., nonce: _Optional[str] = ..., deviceInfo: _Optional[_Union[_gravi_model_pb2.DeviceInfo, _Mapping]] = ...) -> None: ...
|
94
|
+
|
95
|
+
class CompleteOidcAuthorisationResponse(_message.Message):
|
96
|
+
__slots__ = ("socialInfo", "code")
|
97
|
+
SOCIALINFO_FIELD_NUMBER: _ClassVar[int]
|
98
|
+
CODE_FIELD_NUMBER: _ClassVar[int]
|
99
|
+
socialInfo: _gravi_model_pb2.UserPublicSocialInfo
|
100
|
+
code: CompleteOidcAuthorisationResponseCode
|
101
|
+
def __init__(self, socialInfo: _Optional[_Union[_gravi_model_pb2.UserPublicSocialInfo, _Mapping]] = ..., code: _Optional[_Union[CompleteOidcAuthorisationResponseCode, str]] = ...) -> None: ...
|
102
|
+
|
103
|
+
class RevokeOidcAuthorisationRequest(_message.Message):
|
104
|
+
__slots__ = ("userId",)
|
105
|
+
USERID_FIELD_NUMBER: _ClassVar[int]
|
106
|
+
userId: str
|
107
|
+
def __init__(self, userId: _Optional[str] = ...) -> None: ...
|
108
|
+
|
109
|
+
class RevokeOidcAuthorisationResponse(_message.Message):
|
110
|
+
__slots__ = ()
|
111
|
+
def __init__(self) -> None: ...
|
112
|
+
|
113
|
+
class SearchPublicUserRequest(_message.Message):
|
114
|
+
__slots__ = ("userHandle",)
|
115
|
+
USERHANDLE_FIELD_NUMBER: _ClassVar[int]
|
116
|
+
userHandle: str
|
117
|
+
def __init__(self, userHandle: _Optional[str] = ...) -> None: ...
|
118
|
+
|
119
|
+
class SearchPublicUserResponse(_message.Message):
|
120
|
+
__slots__ = ("userPublicInfo", "searchPublicUserResult", "userId")
|
121
|
+
USERPUBLICINFO_FIELD_NUMBER: _ClassVar[int]
|
122
|
+
SEARCHPUBLICUSERRESULT_FIELD_NUMBER: _ClassVar[int]
|
123
|
+
USERID_FIELD_NUMBER: _ClassVar[int]
|
124
|
+
userPublicInfo: _gravi_model_pb2.UserPublicTO
|
125
|
+
searchPublicUserResult: SearchPublicUserResult
|
126
|
+
userId: str
|
127
|
+
def __init__(self, userPublicInfo: _Optional[_Union[_gravi_model_pb2.UserPublicTO, _Mapping]] = ..., searchPublicUserResult: _Optional[_Union[SearchPublicUserResult, str]] = ..., userId: _Optional[str] = ...) -> None: ...
|
128
|
+
|
129
|
+
class ConnectionTO(_message.Message):
|
130
|
+
__slots__ = ("userId", "onlineStatus", "userPublicInfo", "email")
|
131
|
+
USERID_FIELD_NUMBER: _ClassVar[int]
|
132
|
+
ONLINESTATUS_FIELD_NUMBER: _ClassVar[int]
|
133
|
+
USERPUBLICINFO_FIELD_NUMBER: _ClassVar[int]
|
134
|
+
EMAIL_FIELD_NUMBER: _ClassVar[int]
|
135
|
+
userId: str
|
136
|
+
onlineStatus: UserOnlineStatus
|
137
|
+
userPublicInfo: _gravi_model_pb2.UserPublicTO
|
138
|
+
email: str
|
139
|
+
def __init__(self, userId: _Optional[str] = ..., onlineStatus: _Optional[_Union[UserOnlineStatus, str]] = ..., userPublicInfo: _Optional[_Union[_gravi_model_pb2.UserPublicTO, _Mapping]] = ..., email: _Optional[str] = ...) -> None: ...
|
140
|
+
|
141
|
+
class ListConnectionsRequest(_message.Message):
|
142
|
+
__slots__ = ("userId",)
|
143
|
+
USERID_FIELD_NUMBER: _ClassVar[int]
|
144
|
+
userId: str
|
145
|
+
def __init__(self, userId: _Optional[str] = ...) -> None: ...
|
146
|
+
|
147
|
+
class ListConnectionsResponse(_message.Message):
|
148
|
+
__slots__ = ("connections",)
|
149
|
+
CONNECTIONS_FIELD_NUMBER: _ClassVar[int]
|
150
|
+
connections: _containers.RepeatedCompositeFieldContainer[ConnectionTO]
|
151
|
+
def __init__(self, connections: _Optional[_Iterable[_Union[ConnectionTO, _Mapping]]] = ...) -> None: ...
|
152
|
+
|
153
|
+
class CreateConnectionInvitationRequest(_message.Message):
|
154
|
+
__slots__ = ("inviterUserId", "inviteeUserId", "inviterPublicProfileLink")
|
155
|
+
INVITERUSERID_FIELD_NUMBER: _ClassVar[int]
|
156
|
+
INVITEEUSERID_FIELD_NUMBER: _ClassVar[int]
|
157
|
+
INVITERPUBLICPROFILELINK_FIELD_NUMBER: _ClassVar[int]
|
158
|
+
inviterUserId: str
|
159
|
+
inviteeUserId: str
|
160
|
+
inviterPublicProfileLink: str
|
161
|
+
def __init__(self, inviterUserId: _Optional[str] = ..., inviteeUserId: _Optional[str] = ..., inviterPublicProfileLink: _Optional[str] = ...) -> None: ...
|
162
|
+
|
163
|
+
class CreateConnectionInvitationResponse(_message.Message):
|
164
|
+
__slots__ = ("connectionInvitation", "code")
|
165
|
+
CONNECTIONINVITATION_FIELD_NUMBER: _ClassVar[int]
|
166
|
+
CODE_FIELD_NUMBER: _ClassVar[int]
|
167
|
+
connectionInvitation: _gravi_model_pb2.ConnectionInvitationTO
|
168
|
+
code: CreateConnectionInvitationResponseCode
|
169
|
+
def __init__(self, connectionInvitation: _Optional[_Union[_gravi_model_pb2.ConnectionInvitationTO, _Mapping]] = ..., code: _Optional[_Union[CreateConnectionInvitationResponseCode, str]] = ...) -> None: ...
|
170
|
+
|
171
|
+
class ListConnectionInvitationsRequest(_message.Message):
|
172
|
+
__slots__ = ("userId",)
|
173
|
+
USERID_FIELD_NUMBER: _ClassVar[int]
|
174
|
+
userId: str
|
175
|
+
def __init__(self, userId: _Optional[str] = ...) -> None: ...
|
176
|
+
|
177
|
+
class ListConnectionInvitationsResponse(_message.Message):
|
178
|
+
__slots__ = ("connectionInvitations",)
|
179
|
+
CONNECTIONINVITATIONS_FIELD_NUMBER: _ClassVar[int]
|
180
|
+
connectionInvitations: _containers.RepeatedCompositeFieldContainer[_gravi_model_pb2.ConnectionInvitationTO]
|
181
|
+
def __init__(self, connectionInvitations: _Optional[_Iterable[_Union[_gravi_model_pb2.ConnectionInvitationTO, _Mapping]]] = ...) -> None: ...
|
182
|
+
|
183
|
+
class UpdateConnectionInvitationRequest(_message.Message):
|
184
|
+
__slots__ = ("invitationId", "invitationStatus", "inviterPublicProfileLink")
|
185
|
+
INVITATIONID_FIELD_NUMBER: _ClassVar[int]
|
186
|
+
INVITATIONSTATUS_FIELD_NUMBER: _ClassVar[int]
|
187
|
+
INVITERPUBLICPROFILELINK_FIELD_NUMBER: _ClassVar[int]
|
188
|
+
invitationId: str
|
189
|
+
invitationStatus: _gravi_model_pb2.ConnectionInvitationStatus
|
190
|
+
inviterPublicProfileLink: str
|
191
|
+
def __init__(self, invitationId: _Optional[str] = ..., invitationStatus: _Optional[_Union[_gravi_model_pb2.ConnectionInvitationStatus, str]] = ..., inviterPublicProfileLink: _Optional[str] = ...) -> None: ...
|
192
|
+
|
193
|
+
class UpdateConnectionInvitationResponse(_message.Message):
|
194
|
+
__slots__ = ("connectionInvitation", "code")
|
195
|
+
CONNECTIONINVITATION_FIELD_NUMBER: _ClassVar[int]
|
196
|
+
CODE_FIELD_NUMBER: _ClassVar[int]
|
197
|
+
connectionInvitation: _gravi_model_pb2.ConnectionInvitationTO
|
198
|
+
code: UpdateConnectionInvitationResponseCode
|
199
|
+
def __init__(self, connectionInvitation: _Optional[_Union[_gravi_model_pb2.ConnectionInvitationTO, _Mapping]] = ..., code: _Optional[_Union[UpdateConnectionInvitationResponseCode, str]] = ...) -> None: ...
|