fsai-proto-specs 0.0.289__tar.gz → 0.0.395__tar.gz
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.
Potentially problematic release.
This version of fsai-proto-specs might be problematic. Click here for more details.
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/PKG-INFO +1 -1
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/admin_consumption_api_pb2.py +30 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/admin_consumption_api_pb2_grpc.py +67 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/admin_contract_range_allotment_api_pb2.py +45 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/admin_customer_api_pb2.py +45 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/admin_team_api_pb2.py +11 -7
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/admin_team_api_pb2_grpc.py +33 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/admin_team_role_api_pb2.py +38 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/admin_team_role_api_pb2_grpc.py +0 -33
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/admin_user_api_pb2.py +59 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/admin_user_api_pb2_grpc.py +33 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/category_api_pb2.py +41 -0
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/team_api_pb2_grpc.py → fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/category_api_pb2_grpc.py +45 -45
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/category_changelog_api_pb2.py +36 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/category_changelog_api_pb2_grpc.py +99 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/corrections_api_pb2.py +49 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/corrections_api_pb2_grpc.py +198 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/customer_api_pb2.py +29 -0
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/source_api_pb2_grpc.py → fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/customer_api_pb2_grpc.py +19 -19
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/detection_instance_api_pb2.py +126 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/detection_instance_api_pb2_grpc.py +172 -38
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/feature_api_pb2.py +42 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/feature_api_pb2_grpc.py +6 -6
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/image_api_pb2.py +9 -3
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/image_api_pb2_grpc.py +33 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/image_metadata_api_pb2.py +50 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/image_scan_api_pb2.py +37 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/image_scan_api_pb2_grpc.py +99 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/invitation_api_pb2.py +37 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/invitation_api_pb2_grpc.py +99 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/invitation_response_api_pb2.py +43 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/invitation_response_api_pb2_grpc.py +132 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/model_assessment_api_pb2.py +45 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/model_assessment_api_pb2_grpc.py +133 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/product_changelog_api_pb2.py +44 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/product_changelog_api_pb2_grpc.py +166 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/query_api_pb2.py +18 -6
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/query_api_pb2_grpc.py +68 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/review_api_pb2.py +95 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/review_api_pb2_grpc.py +66 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/source_api_pb2.py +42 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/source_api_pb2_grpc.py +166 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/task_api_pb2.py +15 -11
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/task_api_pb2_grpc.py +33 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/task_image_api_pb2.py +55 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/team_api_pb2.py +19 -3
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/team_api_pb2_grpc.py +265 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/team_member_api_pb2.py +41 -0
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/admin_team_member_api_pb2_grpc.py → fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/team_member_api_pb2_grpc.py +39 -39
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/team_member_role_api_pb2.py +41 -0
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/admin_team_member_role_api_pb2_grpc.py → fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/team_member_role_api_pb2_grpc.py +30 -30
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/team_role_api_pb2.py +32 -0
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/category_api_pb2_grpc.py → fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/team_role_api_pb2_grpc.py +19 -19
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/user_api_pb2.py +19 -15
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/user_api_pb2_grpc.py +46 -13
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/user_password_reset_request_api_pb2.py +40 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/user_password_reset_request_api_pb2_grpc.py +132 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/utils_pb2.py +41 -0
- fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/workflow_api_pb2.py +75 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/workflow_api_pb2_grpc.py +67 -1
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/pyproject.toml +1 -1
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/search_grpc_service/protos/index_api_pb2.py +11 -3
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/search_grpc_service/protos/index_api_pb2_grpc.py +70 -1
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/search_grpc_service/protos/search_api_pb2.py +16 -10
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/search_grpc_service/protos/search_api_pb2_grpc.py +33 -0
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/admin_contract_range_allotment_api_pb2.py +0 -45
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/admin_customer_api_pb2.py +0 -45
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/admin_team_member_api_pb2.py +0 -41
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/admin_team_member_role_api_pb2.py +0 -41
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/admin_team_role_api_pb2.py +0 -45
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/admin_user_api_pb2.py +0 -51
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/category_api_pb2.py +0 -34
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/detection_instance_api_pb2.py +0 -110
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/detection_instance_metadata_api_pb2.py +0 -58
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/detection_instance_metadata_api_pb2_grpc.py +0 -265
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/feature_api_pb2.py +0 -42
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/image_metadata_api_pb2.py +0 -50
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/review_api_pb2.py +0 -87
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/source_api_pb2.py +0 -33
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/task_image_api_pb2.py +0 -57
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/utils_pb2.py +0 -35
- fsai_proto_specs-0.0.289/global_vo_grpc_service/protos/workflow_api_pb2.py +0 -67
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/README.md +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/audit_grpc_service/__init__.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/audit_grpc_service/protos/__init__.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/audit_grpc_service/protos/audit_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/audit_grpc_service/protos/audit_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/data_grpc_service/__init__.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/data_grpc_service/protos/__init__.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/data_grpc_service/protos/detection_chip_data_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/data_grpc_service/protos/detection_chip_data_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/data_grpc_service/protos/detection_instance_data_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/data_grpc_service/protos/detection_instance_data_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/data_grpc_service/protos/image_data_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/data_grpc_service/protos/image_data_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/geospatial_toolkit_grpc_service/__init__.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/geospatial_toolkit_grpc_service/protos/__init__.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/geospatial_toolkit_grpc_service/protos/elevation_model_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/geospatial_toolkit_grpc_service/protos/elevation_model_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/geospatial_toolkit_grpc_service/protos/function_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/geospatial_toolkit_grpc_service/protos/function_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/geospatial_toolkit_grpc_service/protos/mgrs_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/geospatial_toolkit_grpc_service/protos/mgrs_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/__init__.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/__init__.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/admin_contract_range_allotment_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/admin_customer_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/admin_system_permission_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/admin_system_permission_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/admin_team_role_permission_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/admin_team_role_permission_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/area_of_interest_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/area_of_interest_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/audit_query_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/audit_query_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/detection_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/detection_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/geo_data_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/geo_data_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/image_metadata_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/mission_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/mission_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/permission_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/permission_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/role_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/role_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/signed_url_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/signed_url_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/task_image_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/task_image_metadata_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/task_image_metadata_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/user_favorites_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/user_favorites_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/user_metric_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/user_metric_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/utils_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/workflow_analyzer_api_pb2.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/global_vo_grpc_service/protos/workflow_analyzer_api_pb2_grpc.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/search_grpc_service/__init__.py +0 -0
- {fsai_proto_specs-0.0.289 → fsai_proto_specs-0.0.395}/search_grpc_service/protos/__init__.py +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/admin_consumption_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9global_vo_grpc_service/protos/admin_consumption_api.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x9c\x01\n\x0b\x43onsumption\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\x05\x12\x0f\n\x07team_id\x18\x02 \x01(\x05\x12#\n\x1b\x63ontract_range_allotment_id\x18\x03 \x01(\x05\x12\x17\n\x0f\x63onsumption_km2\x18\x04 \x01(\x05\x12\x15\n\rallotment_km2\x18\x05 \x01(\x05\x12\x12\n\nis_current\x18\x06 \x01(\x08\";\n\x16GetConsumptionResponse\x12!\n\x0b\x63onsumption\x18\x01 \x03(\x0b\x32\x0c.Consumption2X\n\x13\x41\x64minConsumptionApi\x12\x41\n\x0eGetConsumption\x12\x16.google.protobuf.Empty\x1a\x17.GetConsumptionResponseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_consumption_api_pb2', globals())
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
_CONSUMPTION._serialized_start=91
|
|
25
|
+
_CONSUMPTION._serialized_end=247
|
|
26
|
+
_GETCONSUMPTIONRESPONSE._serialized_start=249
|
|
27
|
+
_GETCONSUMPTIONRESPONSE._serialized_end=308
|
|
28
|
+
_ADMINCONSUMPTIONAPI._serialized_start=310
|
|
29
|
+
_ADMINCONSUMPTIONAPI._serialized_end=398
|
|
30
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from global_vo_grpc_service.protos import admin_consumption_api_pb2 as global__vo__grpc__service_dot_protos_dot_admin__consumption__api__pb2
|
|
6
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class AdminConsumptionApiStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.GetConsumption = channel.unary_unary(
|
|
19
|
+
'/AdminConsumptionApi/GetConsumption',
|
|
20
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
21
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__consumption__api__pb2.GetConsumptionResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class AdminConsumptionApiServicer(object):
|
|
26
|
+
"""Missing associated documentation comment in .proto file."""
|
|
27
|
+
|
|
28
|
+
def GetConsumption(self, request, context):
|
|
29
|
+
"""Missing associated documentation comment in .proto file."""
|
|
30
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
31
|
+
context.set_details('Method not implemented!')
|
|
32
|
+
raise NotImplementedError('Method not implemented!')
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def add_AdminConsumptionApiServicer_to_server(servicer, server):
|
|
36
|
+
rpc_method_handlers = {
|
|
37
|
+
'GetConsumption': grpc.unary_unary_rpc_method_handler(
|
|
38
|
+
servicer.GetConsumption,
|
|
39
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
40
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__consumption__api__pb2.GetConsumptionResponse.SerializeToString,
|
|
41
|
+
),
|
|
42
|
+
}
|
|
43
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
44
|
+
'AdminConsumptionApi', rpc_method_handlers)
|
|
45
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
# This class is part of an EXPERIMENTAL API.
|
|
49
|
+
class AdminConsumptionApi(object):
|
|
50
|
+
"""Missing associated documentation comment in .proto file."""
|
|
51
|
+
|
|
52
|
+
@staticmethod
|
|
53
|
+
def GetConsumption(request,
|
|
54
|
+
target,
|
|
55
|
+
options=(),
|
|
56
|
+
channel_credentials=None,
|
|
57
|
+
call_credentials=None,
|
|
58
|
+
insecure=False,
|
|
59
|
+
compression=None,
|
|
60
|
+
wait_for_ready=None,
|
|
61
|
+
timeout=None,
|
|
62
|
+
metadata=None):
|
|
63
|
+
return grpc.experimental.unary_unary(request, target, '/AdminConsumptionApi/GetConsumption',
|
|
64
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
65
|
+
global__vo__grpc__service_dot_protos_dot_admin__consumption__api__pb2.GetConsumptionResponse.FromString,
|
|
66
|
+
options, channel_credentials,
|
|
67
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
fsai_proto_specs-0.0.395/global_vo_grpc_service/protos/admin_contract_range_allotment_api_pb2.py
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/admin_contract_range_allotment_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFglobal_vo_grpc_service/protos/admin_contract_range_allotment_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xac\x03\n\x16\x43ontractRangeAllotment\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x63ustomer_id\x18\x02 \x01(\x05\x12\x17\n\x0f\x63ontract_number\x18\x03 \x01(\t\x12\x11\n\tallotment\x18\x04 \x01(\x05\x12.\n\nstart_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_date\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18\x63ontracting_organization\x18\x07 \x01(\t\x12\r\n\x05notes\x18\x08 \x01(\t\x12\x12\n\ncreated_by\x18\t \x01(\x05\x12\x12\n\nupdated_by\x18\n \x01(\x05\x12.\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ndeleted_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"H\n\"ListContractRangeAllotmentsRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x02 \x01(\x05\"a\n#ListContractRangeAllotmentsResponse\x12:\n\x19\x63ontract_range_allotments\x18\x01 \x03(\x0b\x32\x17.ContractRangeAllotment\"\xf5\x01\n#CreateContractRangeAllotmentRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\x05\x12\x17\n\x0f\x63ontract_number\x18\x02 \x01(\t\x12\x11\n\tallotment\x18\x03 \x01(\x05\x12.\n\nstart_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18\x63ontracting_organization\x18\x06 \x01(\t\x12\r\n\x05notes\x18\x07 \x01(\t\"T\n$CreateContractRangeAllotmentResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"\xec\x01\n#UpdateContractRangeAllotmentRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x17\n\x0f\x63ontract_number\x18\x02 \x01(\t\x12\x11\n\tallotment\x18\x03 \x01(\x05\x12.\n\nstart_date\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_date\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18\x63ontracting_organization\x18\x06 \x01(\t\x12\r\n\x05notes\x18\x07 \x01(\t\"T\n$UpdateContractRangeAllotmentResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"1\n#DeleteContractRangeAllotmentRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"H\n$DeleteContractRangeAllotmentResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xd1\x03\n\x1e\x41\x64minContractRangeAllotmentApi\x12h\n\x1bListContractRangeAllotments\x12#.ListContractRangeAllotmentsRequest\x1a$.ListContractRangeAllotmentsResponse\x12k\n\x1c\x43reateContractRangeAllotment\x12$.CreateContractRangeAllotmentRequest\x1a%.CreateContractRangeAllotmentResponse\x12k\n\x1cUpdateContractRangeAllotment\x12$.UpdateContractRangeAllotmentRequest\x1a%.UpdateContractRangeAllotmentResponse\x12k\n\x1c\x44\x65leteContractRangeAllotment\x12$.DeleteContractRangeAllotmentRequest\x1a%.DeleteContractRangeAllotmentResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_contract_range_allotment_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_CONTRACTRANGEALLOTMENT._serialized_start=151
|
|
26
|
+
_CONTRACTRANGEALLOTMENT._serialized_end=579
|
|
27
|
+
_LISTCONTRACTRANGEALLOTMENTSREQUEST._serialized_start=581
|
|
28
|
+
_LISTCONTRACTRANGEALLOTMENTSREQUEST._serialized_end=653
|
|
29
|
+
_LISTCONTRACTRANGEALLOTMENTSRESPONSE._serialized_start=655
|
|
30
|
+
_LISTCONTRACTRANGEALLOTMENTSRESPONSE._serialized_end=752
|
|
31
|
+
_CREATECONTRACTRANGEALLOTMENTREQUEST._serialized_start=755
|
|
32
|
+
_CREATECONTRACTRANGEALLOTMENTREQUEST._serialized_end=1000
|
|
33
|
+
_CREATECONTRACTRANGEALLOTMENTRESPONSE._serialized_start=1002
|
|
34
|
+
_CREATECONTRACTRANGEALLOTMENTRESPONSE._serialized_end=1086
|
|
35
|
+
_UPDATECONTRACTRANGEALLOTMENTREQUEST._serialized_start=1089
|
|
36
|
+
_UPDATECONTRACTRANGEALLOTMENTREQUEST._serialized_end=1325
|
|
37
|
+
_UPDATECONTRACTRANGEALLOTMENTRESPONSE._serialized_start=1327
|
|
38
|
+
_UPDATECONTRACTRANGEALLOTMENTRESPONSE._serialized_end=1411
|
|
39
|
+
_DELETECONTRACTRANGEALLOTMENTREQUEST._serialized_start=1413
|
|
40
|
+
_DELETECONTRACTRANGEALLOTMENTREQUEST._serialized_end=1462
|
|
41
|
+
_DELETECONTRACTRANGEALLOTMENTRESPONSE._serialized_start=1464
|
|
42
|
+
_DELETECONTRACTRANGEALLOTMENTRESPONSE._serialized_end=1536
|
|
43
|
+
_ADMINCONTRACTRANGEALLOTMENTAPI._serialized_start=1539
|
|
44
|
+
_ADMINCONTRACTRANGEALLOTMENTAPI._serialized_end=2004
|
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/admin_customer_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6global_vo_grpc_service/protos/admin_customer_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\x94\x02\n\x08\x43ustomer\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x66sai_poc\x18\x03 \x01(\t\x12\x15\n\rsecondary_poc\x18\x04 \x01(\t\x12\r\n\x05notes\x18\x05 \x01(\t\x12\x12\n\ncreated_by\x18\x06 \x01(\x05\x12\x12\n\nupdated_by\x18\x07 \x01(\x05\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ndeleted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"%\n\x14ListCustomersRequest\x12\r\n\x05query\x18\x01 \x01(\t\"5\n\x15ListCustomersResponse\x12\x1c\n\tcustomers\x18\x01 \x03(\x0b\x32\t.Customer\"o\n\x15\x43reateCustomerRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66sai_poc\x18\x02 \x01(\t\x12\x15\n\rsecondary_poc\x18\x03 \x01(\t\x12\r\n\x05notes\x18\x04 \x01(\t\x12\x10\n\x08team_ids\x18\x05 \x03(\x05\"F\n\x16\x43reateCustomerResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"{\n\x15UpdateCustomerRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x66sai_poc\x18\x03 \x01(\t\x12\x15\n\rsecondary_poc\x18\x04 \x01(\t\x12\r\n\x05notes\x18\x05 \x01(\t\x12\x10\n\x08team_ids\x18\x06 \x03(\x05\"F\n\x16UpdateCustomerResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"#\n\x15\x44\x65leteCustomerRequest\x12\n\n\x02id\x18\x01 \x01(\x05\":\n\x16\x44\x65leteCustomerResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\x9b\x02\n\x10\x41\x64minCustomerApi\x12>\n\rListCustomers\x12\x15.ListCustomersRequest\x1a\x16.ListCustomersResponse\x12\x41\n\x0e\x43reateCustomer\x12\x16.CreateCustomerRequest\x1a\x17.CreateCustomerResponse\x12\x41\n\x0eUpdateCustomer\x12\x16.UpdateCustomerRequest\x1a\x17.UpdateCustomerResponse\x12\x41\n\x0e\x44\x65leteCustomer\x12\x16.DeleteCustomerRequest\x1a\x17.DeleteCustomerResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_customer_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_CUSTOMER._serialized_start=135
|
|
26
|
+
_CUSTOMER._serialized_end=411
|
|
27
|
+
_LISTCUSTOMERSREQUEST._serialized_start=413
|
|
28
|
+
_LISTCUSTOMERSREQUEST._serialized_end=450
|
|
29
|
+
_LISTCUSTOMERSRESPONSE._serialized_start=452
|
|
30
|
+
_LISTCUSTOMERSRESPONSE._serialized_end=505
|
|
31
|
+
_CREATECUSTOMERREQUEST._serialized_start=507
|
|
32
|
+
_CREATECUSTOMERREQUEST._serialized_end=618
|
|
33
|
+
_CREATECUSTOMERRESPONSE._serialized_start=620
|
|
34
|
+
_CREATECUSTOMERRESPONSE._serialized_end=690
|
|
35
|
+
_UPDATECUSTOMERREQUEST._serialized_start=692
|
|
36
|
+
_UPDATECUSTOMERREQUEST._serialized_end=815
|
|
37
|
+
_UPDATECUSTOMERRESPONSE._serialized_start=817
|
|
38
|
+
_UPDATECUSTOMERRESPONSE._serialized_end=887
|
|
39
|
+
_DELETECUSTOMERREQUEST._serialized_start=889
|
|
40
|
+
_DELETECUSTOMERREQUEST._serialized_end=924
|
|
41
|
+
_DELETECUSTOMERRESPONSE._serialized_start=926
|
|
42
|
+
_DELETECUSTOMERRESPONSE._serialized_end=984
|
|
43
|
+
_ADMINCUSTOMERAPI._serialized_start=987
|
|
44
|
+
_ADMINCUSTOMERAPI._serialized_end=1270
|
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -15,7 +15,7 @@ from global_vo_grpc_service.protos import team_api_pb2 as global__vo__grpc__serv
|
|
|
15
15
|
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/admin_team_api.proto\x1a,global_vo_grpc_service/protos/team_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\"6\n\x11\x43reateTeamRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x02 \x01(\x05\"K\n\x12\x43reateTeamResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x13\n\x04team\x18\x02 \x01(\x0b\x32\x05.Team\"2\n\x10ListTeamsRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\x05\"K\n\x11ListTeamsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x14\n\x05teams\x18\x02 \x03(\x0b\x32\x05.Team\"B\n\x11UpdateTeamRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x03 \x01(\x05\"B\n\x12UpdateTeamResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\x32\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/admin_team_api.proto\x1a,global_vo_grpc_service/protos/team_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\"6\n\x11\x43reateTeamRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x02 \x01(\x05\"K\n\x12\x43reateTeamResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x13\n\x04team\x18\x02 \x01(\x0b\x32\x05.Team\"2\n\x10ListTeamsRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\x05\"K\n\x11ListTeamsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x14\n\x05teams\x18\x02 \x03(\x0b\x32\x05.Team\"5\n\x1dListTeamsByCustomerIdsRequest\x12\x14\n\x0c\x63ustomer_ids\x18\x01 \x03(\x05\"6\n\x1eListTeamsByCustomerIdsResponse\x12\x14\n\x05teams\x18\x01 \x03(\x0b\x32\x05.Team\"B\n\x11UpdateTeamRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x63ustomer_id\x18\x03 \x01(\x05\"B\n\x12UpdateTeamResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\x32\x8b\x02\n\x0c\x41\x64minTeamApi\x12\x35\n\nCreateTeam\x12\x12.CreateTeamRequest\x1a\x13.CreateTeamResponse\x12\x32\n\tListTeams\x12\x11.ListTeamsRequest\x1a\x12.ListTeamsResponse\x12Y\n\x16ListTeamsByCustomerIds\x12\x1e.ListTeamsByCustomerIdsRequest\x1a\x1f.ListTeamsByCustomerIdsResponse\x12\x35\n\nUpdateTeam\x12\x12.UpdateTeamRequest\x1a\x13.UpdateTeamResponseb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_team_api_pb2', globals())
|
|
@@ -30,10 +30,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
30
30
|
_LISTTEAMSREQUEST._serialized_end=326
|
|
31
31
|
_LISTTEAMSRESPONSE._serialized_start=328
|
|
32
32
|
_LISTTEAMSRESPONSE._serialized_end=403
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
33
|
+
_LISTTEAMSBYCUSTOMERIDSREQUEST._serialized_start=405
|
|
34
|
+
_LISTTEAMSBYCUSTOMERIDSREQUEST._serialized_end=458
|
|
35
|
+
_LISTTEAMSBYCUSTOMERIDSRESPONSE._serialized_start=460
|
|
36
|
+
_LISTTEAMSBYCUSTOMERIDSRESPONSE._serialized_end=514
|
|
37
|
+
_UPDATETEAMREQUEST._serialized_start=516
|
|
38
|
+
_UPDATETEAMREQUEST._serialized_end=582
|
|
39
|
+
_UPDATETEAMRESPONSE._serialized_start=584
|
|
40
|
+
_UPDATETEAMRESPONSE._serialized_end=650
|
|
41
|
+
_ADMINTEAMAPI._serialized_start=653
|
|
42
|
+
_ADMINTEAMAPI._serialized_end=920
|
|
39
43
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -24,6 +24,11 @@ class AdminTeamApiStub(object):
|
|
|
24
24
|
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsRequest.SerializeToString,
|
|
25
25
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsResponse.FromString,
|
|
26
26
|
)
|
|
27
|
+
self.ListTeamsByCustomerIds = channel.unary_unary(
|
|
28
|
+
'/AdminTeamApi/ListTeamsByCustomerIds',
|
|
29
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsByCustomerIdsRequest.SerializeToString,
|
|
30
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsByCustomerIdsResponse.FromString,
|
|
31
|
+
)
|
|
27
32
|
self.UpdateTeam = channel.unary_unary(
|
|
28
33
|
'/AdminTeamApi/UpdateTeam',
|
|
29
34
|
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.UpdateTeamRequest.SerializeToString,
|
|
@@ -46,6 +51,12 @@ class AdminTeamApiServicer(object):
|
|
|
46
51
|
context.set_details('Method not implemented!')
|
|
47
52
|
raise NotImplementedError('Method not implemented!')
|
|
48
53
|
|
|
54
|
+
def ListTeamsByCustomerIds(self, request, context):
|
|
55
|
+
"""Missing associated documentation comment in .proto file."""
|
|
56
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
57
|
+
context.set_details('Method not implemented!')
|
|
58
|
+
raise NotImplementedError('Method not implemented!')
|
|
59
|
+
|
|
49
60
|
def UpdateTeam(self, request, context):
|
|
50
61
|
"""Missing associated documentation comment in .proto file."""
|
|
51
62
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -65,6 +76,11 @@ def add_AdminTeamApiServicer_to_server(servicer, server):
|
|
|
65
76
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsRequest.FromString,
|
|
66
77
|
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsResponse.SerializeToString,
|
|
67
78
|
),
|
|
79
|
+
'ListTeamsByCustomerIds': grpc.unary_unary_rpc_method_handler(
|
|
80
|
+
servicer.ListTeamsByCustomerIds,
|
|
81
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsByCustomerIdsRequest.FromString,
|
|
82
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsByCustomerIdsResponse.SerializeToString,
|
|
83
|
+
),
|
|
68
84
|
'UpdateTeam': grpc.unary_unary_rpc_method_handler(
|
|
69
85
|
servicer.UpdateTeam,
|
|
70
86
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.UpdateTeamRequest.FromString,
|
|
@@ -114,6 +130,23 @@ class AdminTeamApi(object):
|
|
|
114
130
|
options, channel_credentials,
|
|
115
131
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
116
132
|
|
|
133
|
+
@staticmethod
|
|
134
|
+
def ListTeamsByCustomerIds(request,
|
|
135
|
+
target,
|
|
136
|
+
options=(),
|
|
137
|
+
channel_credentials=None,
|
|
138
|
+
call_credentials=None,
|
|
139
|
+
insecure=False,
|
|
140
|
+
compression=None,
|
|
141
|
+
wait_for_ready=None,
|
|
142
|
+
timeout=None,
|
|
143
|
+
metadata=None):
|
|
144
|
+
return grpc.experimental.unary_unary(request, target, '/AdminTeamApi/ListTeamsByCustomerIds',
|
|
145
|
+
global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsByCustomerIdsRequest.SerializeToString,
|
|
146
|
+
global__vo__grpc__service_dot_protos_dot_admin__team__api__pb2.ListTeamsByCustomerIdsResponse.FromString,
|
|
147
|
+
options, channel_credentials,
|
|
148
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
149
|
+
|
|
117
150
|
@staticmethod
|
|
118
151
|
def UpdateTeam(request,
|
|
119
152
|
target,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/admin_team_role_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7global_vo_grpc_service/protos/admin_team_role_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\"6\n\x15\x43reateTeamRoleRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07team_id\x18\x02 \x01(\x05\"F\n\x16\x43reateTeamRoleResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"1\n\x15UpdateTeamRoleRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\"F\n\x16UpdateTeamRoleResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\"#\n\x15\x44\x65leteTeamRoleRequest\x12\n\n\x02id\x18\x01 \x01(\x05\":\n\x16\x44\x65leteTeamRoleResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xdb\x01\n\x10\x41\x64minTeamRoleApi\x12\x41\n\x0e\x43reateTeamRole\x12\x16.CreateTeamRoleRequest\x1a\x17.CreateTeamRoleResponse\x12\x41\n\x0eUpdateTeamRole\x12\x16.UpdateTeamRoleRequest\x1a\x17.UpdateTeamRoleResponse\x12\x41\n\x0e\x44\x65leteTeamRole\x12\x16.DeleteTeamRoleRequest\x1a\x17.DeleteTeamRoleResponseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_team_role_api_pb2', globals())
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
_CREATETEAMROLEREQUEST._serialized_start=102
|
|
25
|
+
_CREATETEAMROLEREQUEST._serialized_end=156
|
|
26
|
+
_CREATETEAMROLERESPONSE._serialized_start=158
|
|
27
|
+
_CREATETEAMROLERESPONSE._serialized_end=228
|
|
28
|
+
_UPDATETEAMROLEREQUEST._serialized_start=230
|
|
29
|
+
_UPDATETEAMROLEREQUEST._serialized_end=279
|
|
30
|
+
_UPDATETEAMROLERESPONSE._serialized_start=281
|
|
31
|
+
_UPDATETEAMROLERESPONSE._serialized_end=351
|
|
32
|
+
_DELETETEAMROLEREQUEST._serialized_start=353
|
|
33
|
+
_DELETETEAMROLEREQUEST._serialized_end=388
|
|
34
|
+
_DELETETEAMROLERESPONSE._serialized_start=390
|
|
35
|
+
_DELETETEAMROLERESPONSE._serialized_end=448
|
|
36
|
+
_ADMINTEAMROLEAPI._serialized_start=451
|
|
37
|
+
_ADMINTEAMROLEAPI._serialized_end=670
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -14,11 +14,6 @@ class AdminTeamRoleApiStub(object):
|
|
|
14
14
|
Args:
|
|
15
15
|
channel: A grpc.Channel.
|
|
16
16
|
"""
|
|
17
|
-
self.ListTeamRoles = channel.unary_unary(
|
|
18
|
-
'/AdminTeamRoleApi/ListTeamRoles',
|
|
19
|
-
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__role__api__pb2.ListTeamRolesRequest.SerializeToString,
|
|
20
|
-
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__role__api__pb2.ListTeamRolesResponse.FromString,
|
|
21
|
-
)
|
|
22
17
|
self.CreateTeamRole = channel.unary_unary(
|
|
23
18
|
'/AdminTeamRoleApi/CreateTeamRole',
|
|
24
19
|
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__role__api__pb2.CreateTeamRoleRequest.SerializeToString,
|
|
@@ -39,12 +34,6 @@ class AdminTeamRoleApiStub(object):
|
|
|
39
34
|
class AdminTeamRoleApiServicer(object):
|
|
40
35
|
"""Missing associated documentation comment in .proto file."""
|
|
41
36
|
|
|
42
|
-
def ListTeamRoles(self, request, context):
|
|
43
|
-
"""Missing associated documentation comment in .proto file."""
|
|
44
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
45
|
-
context.set_details('Method not implemented!')
|
|
46
|
-
raise NotImplementedError('Method not implemented!')
|
|
47
|
-
|
|
48
37
|
def CreateTeamRole(self, request, context):
|
|
49
38
|
"""Missing associated documentation comment in .proto file."""
|
|
50
39
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -66,11 +55,6 @@ class AdminTeamRoleApiServicer(object):
|
|
|
66
55
|
|
|
67
56
|
def add_AdminTeamRoleApiServicer_to_server(servicer, server):
|
|
68
57
|
rpc_method_handlers = {
|
|
69
|
-
'ListTeamRoles': grpc.unary_unary_rpc_method_handler(
|
|
70
|
-
servicer.ListTeamRoles,
|
|
71
|
-
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__role__api__pb2.ListTeamRolesRequest.FromString,
|
|
72
|
-
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__team__role__api__pb2.ListTeamRolesResponse.SerializeToString,
|
|
73
|
-
),
|
|
74
58
|
'CreateTeamRole': grpc.unary_unary_rpc_method_handler(
|
|
75
59
|
servicer.CreateTeamRole,
|
|
76
60
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__team__role__api__pb2.CreateTeamRoleRequest.FromString,
|
|
@@ -96,23 +80,6 @@ def add_AdminTeamRoleApiServicer_to_server(servicer, server):
|
|
|
96
80
|
class AdminTeamRoleApi(object):
|
|
97
81
|
"""Missing associated documentation comment in .proto file."""
|
|
98
82
|
|
|
99
|
-
@staticmethod
|
|
100
|
-
def ListTeamRoles(request,
|
|
101
|
-
target,
|
|
102
|
-
options=(),
|
|
103
|
-
channel_credentials=None,
|
|
104
|
-
call_credentials=None,
|
|
105
|
-
insecure=False,
|
|
106
|
-
compression=None,
|
|
107
|
-
wait_for_ready=None,
|
|
108
|
-
timeout=None,
|
|
109
|
-
metadata=None):
|
|
110
|
-
return grpc.experimental.unary_unary(request, target, '/AdminTeamRoleApi/ListTeamRoles',
|
|
111
|
-
global__vo__grpc__service_dot_protos_dot_admin__team__role__api__pb2.ListTeamRolesRequest.SerializeToString,
|
|
112
|
-
global__vo__grpc__service_dot_protos_dot_admin__team__role__api__pb2.ListTeamRolesResponse.FromString,
|
|
113
|
-
options, channel_credentials,
|
|
114
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
115
|
-
|
|
116
83
|
@staticmethod
|
|
117
84
|
def CreateTeamRole(request,
|
|
118
85
|
target,
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/admin_user_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from global_vo_grpc_service.protos import user_api_pb2 as global__vo__grpc__service_dot_protos_dot_user__api__pb2
|
|
15
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/admin_user_api.proto\x1a,global_vo_grpc_service/protos/user_api.proto\x1a)global_vo_grpc_service/protos/utils.proto\"-\n\x16\x46indUserByEmailRequest\x12\x13\n\x04user\x18\x01 \x01(\x0b\x32\x05.User\"P\n\x17\x46indUserByEmailResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x13\n\x04user\x18\x02 \x01(\x0b\x32\x05.User\":\n\x17\x41uthenticateUserRequest\x12\r\n\x05\x65mail\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"K\n\x18\x41uthenticateUserResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\r\n\x05valid\x18\x02 \x01(\x08\"$\n\x13ListAllUsersRequest\x12\r\n\x05query\x18\x01 \x01(\t\",\n\x14ListAllUsersResponse\x12\x14\n\x05users\x18\x02 \x03(\x0b\x32\x05.User\"2\n$ListUserTeamsAndRolesByUserIdRequest\x12\n\n\x02id\x18\x01 \x01(\x05\"\xa8\x02\n%ListUserTeamsAndRolesByUserIdResponse\x12V\n\x14user_teams_and_roles\x18\x02 \x03(\x0b\x32\x38.ListUserTeamsAndRolesByUserIdResponse.UserTeamWithRoles\x1a.\n\x08RoleInfo\x12\x0f\n\x07role_id\x18\x01 \x01(\x05\x12\x11\n\trole_name\x18\x02 \x01(\t\x1aw\n\x11UserTeamWithRoles\x12\x0f\n\x07team_id\x18\x01 \x01(\x05\x12\x11\n\tteam_name\x18\x02 \x01(\t\x12>\n\x05roles\x18\x03 \x03(\x0b\x32/.ListUserTeamsAndRolesByUserIdResponse.RoleInfo\"(\n\x11\x43reateUserRequest\x12\x13\n\x04user\x18\x01 \x01(\x0b\x32\x05.User\"K\n\x12\x43reateUserResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x13\n\x04user\x18\x02 \x01(\x0b\x32\x05.User\"@\n UpdateUserPasswordByAdminRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08password\x18\x02 \x01(\t\"E\n!UpdateUserPasswordByAdminResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\"0\n\x12\x44isableUserRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\"7\n\x13\x44isableUserResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\x9f\x04\n\x0c\x41\x64minUserApi\x12\x44\n\x0f\x46indUserByEmail\x12\x17.FindUserByEmailRequest\x1a\x18.FindUserByEmailResponse\x12G\n\x10\x41uthenticateUser\x12\x18.AuthenticateUserRequest\x1a\x19.AuthenticateUserResponse\x12;\n\x0cListAllUsers\x12\x14.ListAllUsersRequest\x1a\x15.ListAllUsersResponse\x12n\n\x1dListUserTeamsAndRolesByUserId\x12%.ListUserTeamsAndRolesByUserIdRequest\x1a&.ListUserTeamsAndRolesByUserIdResponse\x12\x35\n\nCreateUser\x12\x12.CreateUserRequest\x1a\x13.CreateUserResponse\x12\x62\n\x19UpdateUserPasswordByAdmin\x12!.UpdateUserPasswordByAdminRequest\x1a\".UpdateUserPasswordByAdminResponse\x12\x38\n\x0b\x44isableUser\x12\x13.DisableUserRequest\x1a\x14.DisableUserResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.admin_user_api_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_FINDUSERBYEMAILREQUEST._serialized_start=143
|
|
26
|
+
_FINDUSERBYEMAILREQUEST._serialized_end=188
|
|
27
|
+
_FINDUSERBYEMAILRESPONSE._serialized_start=190
|
|
28
|
+
_FINDUSERBYEMAILRESPONSE._serialized_end=270
|
|
29
|
+
_AUTHENTICATEUSERREQUEST._serialized_start=272
|
|
30
|
+
_AUTHENTICATEUSERREQUEST._serialized_end=330
|
|
31
|
+
_AUTHENTICATEUSERRESPONSE._serialized_start=332
|
|
32
|
+
_AUTHENTICATEUSERRESPONSE._serialized_end=407
|
|
33
|
+
_LISTALLUSERSREQUEST._serialized_start=409
|
|
34
|
+
_LISTALLUSERSREQUEST._serialized_end=445
|
|
35
|
+
_LISTALLUSERSRESPONSE._serialized_start=447
|
|
36
|
+
_LISTALLUSERSRESPONSE._serialized_end=491
|
|
37
|
+
_LISTUSERTEAMSANDROLESBYUSERIDREQUEST._serialized_start=493
|
|
38
|
+
_LISTUSERTEAMSANDROLESBYUSERIDREQUEST._serialized_end=543
|
|
39
|
+
_LISTUSERTEAMSANDROLESBYUSERIDRESPONSE._serialized_start=546
|
|
40
|
+
_LISTUSERTEAMSANDROLESBYUSERIDRESPONSE._serialized_end=842
|
|
41
|
+
_LISTUSERTEAMSANDROLESBYUSERIDRESPONSE_ROLEINFO._serialized_start=675
|
|
42
|
+
_LISTUSERTEAMSANDROLESBYUSERIDRESPONSE_ROLEINFO._serialized_end=721
|
|
43
|
+
_LISTUSERTEAMSANDROLESBYUSERIDRESPONSE_USERTEAMWITHROLES._serialized_start=723
|
|
44
|
+
_LISTUSERTEAMSANDROLESBYUSERIDRESPONSE_USERTEAMWITHROLES._serialized_end=842
|
|
45
|
+
_CREATEUSERREQUEST._serialized_start=844
|
|
46
|
+
_CREATEUSERREQUEST._serialized_end=884
|
|
47
|
+
_CREATEUSERRESPONSE._serialized_start=886
|
|
48
|
+
_CREATEUSERRESPONSE._serialized_end=961
|
|
49
|
+
_UPDATEUSERPASSWORDBYADMINREQUEST._serialized_start=963
|
|
50
|
+
_UPDATEUSERPASSWORDBYADMINREQUEST._serialized_end=1027
|
|
51
|
+
_UPDATEUSERPASSWORDBYADMINRESPONSE._serialized_start=1029
|
|
52
|
+
_UPDATEUSERPASSWORDBYADMINRESPONSE._serialized_end=1098
|
|
53
|
+
_DISABLEUSERREQUEST._serialized_start=1100
|
|
54
|
+
_DISABLEUSERREQUEST._serialized_end=1148
|
|
55
|
+
_DISABLEUSERRESPONSE._serialized_start=1150
|
|
56
|
+
_DISABLEUSERRESPONSE._serialized_end=1205
|
|
57
|
+
_ADMINUSERAPI._serialized_start=1208
|
|
58
|
+
_ADMINUSERAPI._serialized_end=1751
|
|
59
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -29,6 +29,11 @@ class AdminUserApiStub(object):
|
|
|
29
29
|
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.ListAllUsersRequest.SerializeToString,
|
|
30
30
|
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.ListAllUsersResponse.FromString,
|
|
31
31
|
)
|
|
32
|
+
self.ListUserTeamsAndRolesByUserId = channel.unary_unary(
|
|
33
|
+
'/AdminUserApi/ListUserTeamsAndRolesByUserId',
|
|
34
|
+
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.ListUserTeamsAndRolesByUserIdRequest.SerializeToString,
|
|
35
|
+
response_deserializer=global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.ListUserTeamsAndRolesByUserIdResponse.FromString,
|
|
36
|
+
)
|
|
32
37
|
self.CreateUser = channel.unary_unary(
|
|
33
38
|
'/AdminUserApi/CreateUser',
|
|
34
39
|
request_serializer=global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.CreateUserRequest.SerializeToString,
|
|
@@ -69,6 +74,12 @@ class AdminUserApiServicer(object):
|
|
|
69
74
|
context.set_details('Method not implemented!')
|
|
70
75
|
raise NotImplementedError('Method not implemented!')
|
|
71
76
|
|
|
77
|
+
def ListUserTeamsAndRolesByUserId(self, request, context):
|
|
78
|
+
"""Missing associated documentation comment in .proto file."""
|
|
79
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
80
|
+
context.set_details('Method not implemented!')
|
|
81
|
+
raise NotImplementedError('Method not implemented!')
|
|
82
|
+
|
|
72
83
|
def CreateUser(self, request, context):
|
|
73
84
|
"""Missing associated documentation comment in .proto file."""
|
|
74
85
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -105,6 +116,11 @@ def add_AdminUserApiServicer_to_server(servicer, server):
|
|
|
105
116
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.ListAllUsersRequest.FromString,
|
|
106
117
|
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.ListAllUsersResponse.SerializeToString,
|
|
107
118
|
),
|
|
119
|
+
'ListUserTeamsAndRolesByUserId': grpc.unary_unary_rpc_method_handler(
|
|
120
|
+
servicer.ListUserTeamsAndRolesByUserId,
|
|
121
|
+
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.ListUserTeamsAndRolesByUserIdRequest.FromString,
|
|
122
|
+
response_serializer=global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.ListUserTeamsAndRolesByUserIdResponse.SerializeToString,
|
|
123
|
+
),
|
|
108
124
|
'CreateUser': grpc.unary_unary_rpc_method_handler(
|
|
109
125
|
servicer.CreateUser,
|
|
110
126
|
request_deserializer=global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.CreateUserRequest.FromString,
|
|
@@ -181,6 +197,23 @@ class AdminUserApi(object):
|
|
|
181
197
|
options, channel_credentials,
|
|
182
198
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
183
199
|
|
|
200
|
+
@staticmethod
|
|
201
|
+
def ListUserTeamsAndRolesByUserId(request,
|
|
202
|
+
target,
|
|
203
|
+
options=(),
|
|
204
|
+
channel_credentials=None,
|
|
205
|
+
call_credentials=None,
|
|
206
|
+
insecure=False,
|
|
207
|
+
compression=None,
|
|
208
|
+
wait_for_ready=None,
|
|
209
|
+
timeout=None,
|
|
210
|
+
metadata=None):
|
|
211
|
+
return grpc.experimental.unary_unary(request, target, '/AdminUserApi/ListUserTeamsAndRolesByUserId',
|
|
212
|
+
global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.ListUserTeamsAndRolesByUserIdRequest.SerializeToString,
|
|
213
|
+
global__vo__grpc__service_dot_protos_dot_admin__user__api__pb2.ListUserTeamsAndRolesByUserIdResponse.FromString,
|
|
214
|
+
options, channel_credentials,
|
|
215
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
216
|
+
|
|
184
217
|
@staticmethod
|
|
185
218
|
def CreateUser(request,
|
|
186
219
|
target,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: global_vo_grpc_service/protos/category_api.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
15
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
17
|
+
from global_vo_grpc_service.protos import utils_pb2 as global__vo__grpc__service_dot_protos_dot_utils__pb2
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0global_vo_grpc_service/protos/category_api.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xe3\x02\n\x08\x43\x61tegory\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04\x65num\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12)\n\x08includes\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x08\x65xcludes\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ngroup_name\x18\n \x01(\t\x12\x1a\n\x12measurement_method\x18\x0b \x01(\t\x12\x18\n\x10\x62\x62ox_description\x18\x0c \x01(\t\x12\x1a\n\x12shadow_description\x18\r \x01(\t\"Y\n\x16ListCategoriesResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x1d\n\ncategories\x18\x02 \x03(\x0b\x32\t.Category\",\n\x1eGetCategoryByCategoryIdRequest\x12\n\n\x02id\x18\x01 \x01(\x05\">\n\x1fGetCategoryByCategoryIdResponse\x12\x1b\n\x08\x63\x61tegory\x18\x01 \x01(\x0b\x32\t.Category\"\xc2\x01\n\x13\x45\x64itCategoryRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12)\n\x08includes\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x08\x65xcludes\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x18\n\x10\x62\x62ox_description\x18\x05 \x01(\t\x12\x1a\n\x12shadow_description\x18\x06 \x01(\t\"D\n\x14\x45\x64itCategoryResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\n\n\x02id\x18\x02 \x01(\x05\x32\xeb\x01\n\x0b\x43\x61tegoryApi\x12\x41\n\x0eListCategories\x12\x16.google.protobuf.Empty\x1a\x17.ListCategoriesResponse\x12\\\n\x17GetCategoryByCategoryId\x12\x1f.GetCategoryByCategoryIdRequest\x1a .GetCategoryByCategoryIdResponse\x12;\n\x0c\x45\x64itCategory\x12\x14.EditCategoryRequest\x1a\x15.EditCategoryResponseb\x06proto3')
|
|
21
|
+
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.category_api_pb2', globals())
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
|
|
26
|
+
DESCRIPTOR._options = None
|
|
27
|
+
_CATEGORY._serialized_start=188
|
|
28
|
+
_CATEGORY._serialized_end=543
|
|
29
|
+
_LISTCATEGORIESRESPONSE._serialized_start=545
|
|
30
|
+
_LISTCATEGORIESRESPONSE._serialized_end=634
|
|
31
|
+
_GETCATEGORYBYCATEGORYIDREQUEST._serialized_start=636
|
|
32
|
+
_GETCATEGORYBYCATEGORYIDREQUEST._serialized_end=680
|
|
33
|
+
_GETCATEGORYBYCATEGORYIDRESPONSE._serialized_start=682
|
|
34
|
+
_GETCATEGORYBYCATEGORYIDRESPONSE._serialized_end=744
|
|
35
|
+
_EDITCATEGORYREQUEST._serialized_start=747
|
|
36
|
+
_EDITCATEGORYREQUEST._serialized_end=941
|
|
37
|
+
_EDITCATEGORYRESPONSE._serialized_start=943
|
|
38
|
+
_EDITCATEGORYRESPONSE._serialized_end=1011
|
|
39
|
+
_CATEGORYAPI._serialized_start=1014
|
|
40
|
+
_CATEGORYAPI._serialized_end=1249
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|