fsai-proto-specs 0.0.397__py3-none-any.whl → 0.0.400__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fsai-proto-specs
3
- Version: 0.0.397
3
+ Version: 0.0.400
4
4
  Summary: Auto-generated library for use with GRPC API.
5
5
  Home-page: https://github.com/fsai-dev/fsai-proto-specs
6
6
  License: MIT
@@ -44,8 +44,8 @@ global_vo_grpc_service/protos/category_api_pb2.py,sha256=S4ejycyOzGNweFILaOeadww
44
44
  global_vo_grpc_service/protos/category_api_pb2_grpc.py,sha256=erxPMZGXPHzDgWhGTA6bfh3R4JA7v2pzk4-SOZMDaKU,6561
45
45
  global_vo_grpc_service/protos/category_changelog_api_pb2.py,sha256=utcMnmzp6x_wNUbFI0N5b0iPpdxK7yrLfKlSvSj299c,2824
46
46
  global_vo_grpc_service/protos/category_changelog_api_pb2_grpc.py,sha256=HzflwVLXd23omsc1RiO-F1vtix7AJ9VL2TH70Fskvfw,5291
47
- global_vo_grpc_service/protos/correction_api_pb2.py,sha256=N1gR1itVZCHSSjlh1sVLw1dplsBlZ-GVWoJLvJAOYS4,4477
48
- global_vo_grpc_service/protos/correction_api_pb2_grpc.py,sha256=YB2lRr2PtPapCMusfvlXC1WE5k22TLz1FTPurb-yPdE,10870
47
+ global_vo_grpc_service/protos/correction_api_pb2.py,sha256=HrYU7Fa6qXMQJrFMnBdMOH2t2QJWDGZF019NWIjetg8,4527
48
+ global_vo_grpc_service/protos/correction_api_pb2_grpc.py,sha256=yOHyhje8oC5CXjR9ltny203hhLMfJmCgY_MHZpZFiDQ,10883
49
49
  global_vo_grpc_service/protos/customer_api_pb2.py,sha256=4ihptYrq2fZXz8z5JYgsZlEvQ12cEH-p-ZqQjd-bJKY,1523
50
50
  global_vo_grpc_service/protos/customer_api_pb2_grpc.py,sha256=S_OVW5vibkGtcNj7TOhzs-2RONxnQCiyB5Y5GCoHzPw,2986
51
51
  global_vo_grpc_service/protos/detection_api_pb2.py,sha256=1imIR2QqbqhkAL4Ehc6JSjJ5sGVxCOSDtj96iUdwL1Q,1561
@@ -76,6 +76,8 @@ global_vo_grpc_service/protos/product_changelog_api_pb2.py,sha256=fHijZW094Key8f
76
76
  global_vo_grpc_service/protos/product_changelog_api_pb2_grpc.py,sha256=5U_itNWLS7HVAr6Kx0IfLQMi6mpOWAoZtAgUS-BnjyM,9022
77
77
  global_vo_grpc_service/protos/query_api_pb2.py,sha256=BZxuoc42UnM8I0GpOTIUNoCyt797Snf6j84ejgDrYs0,6810
78
78
  global_vo_grpc_service/protos/query_api_pb2_grpc.py,sha256=2QA_Os2JW1FwwTZhk2pzuw8G8TIVkfedjU3IaXco9CA,8967
79
+ global_vo_grpc_service/protos/reporting_api_pb2.py,sha256=k3ZwecG3yCotzjKoU9ghpGKNy6aeyMzLDCzC0Hlfn4A,5731
80
+ global_vo_grpc_service/protos/reporting_api_pb2_grpc.py,sha256=QnYfPbM6JB5zXvHGscJYPn-PMGj8TACG0O3pC1uLkMo,7238
79
81
  global_vo_grpc_service/protos/review_api_pb2.py,sha256=92N1aM81NdjUb1InbypKIr1GXkk-rDAD5dGmu3uldAA,11890
80
82
  global_vo_grpc_service/protos/review_api_pb2_grpc.py,sha256=lwGsarvkyBpQyhT2_uc-uh6l4U8BOBcfw6lvLOfM-KY,27474
81
83
  global_vo_grpc_service/protos/role_api_pb2.py,sha256=8IKAeOK52gwEnzrHzmPu8ACrPd5OINyJ1iNtGEZLVIA,2287
@@ -106,7 +108,7 @@ global_vo_grpc_service/protos/user_metric_api_pb2.py,sha256=lU6xEPY7nHPoLq6a6-O5
106
108
  global_vo_grpc_service/protos/user_metric_api_pb2_grpc.py,sha256=VVA5ygMmXEnP7nlYSqYKmcVK41zbIOVTvbahx0dvWvk,4895
107
109
  global_vo_grpc_service/protos/user_password_reset_request_api_pb2.py,sha256=0Sc4Qg30I2_5RwHmm_fphBlcMc43beTEVVHRmzyCueQ,3391
108
110
  global_vo_grpc_service/protos/user_password_reset_request_api_pb2_grpc.py,sha256=AMInD8TCFmnwOAUsSOy9bf5KtxR5NPxSBLS65vvifHo,7611
109
- global_vo_grpc_service/protos/utils_pb2.py,sha256=p70uDah7pWp0Y1VxS7TvXj8TTeFTSqK1IDWOKStbR2Q,3085
111
+ global_vo_grpc_service/protos/utils_pb2.py,sha256=CrP4EavSYXmr0ZnlJ9eXFKJ2qpD31DTnaPkGc76DT30,3301
110
112
  global_vo_grpc_service/protos/utils_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
111
113
  global_vo_grpc_service/protos/workflow_analyzer_api_pb2.py,sha256=UfUYdoHI4SoH4kvCEJOxH5ojXtJhgW28mwszNJyNedA,2975
112
114
  global_vo_grpc_service/protos/workflow_analyzer_api_pb2_grpc.py,sha256=2EprSKuNtQh5Pt47ae2_u58Qr8IfkeZ-ePY5_zfOfmY,7132
@@ -118,6 +120,6 @@ search_grpc_service/protos/index_api_pb2.py,sha256=6gqbhy6__LQ0nXPbJ_j-I2LIWbYPY
118
120
  search_grpc_service/protos/index_api_pb2_grpc.py,sha256=qrtGUh9HpN1wiavtpRCtqkGQonq8aanT3MZfsjWaVCM,10672
119
121
  search_grpc_service/protos/search_api_pb2.py,sha256=M9ziQ8pQydNhpldCDy_-g9Mrd8ik48Q9olLZtmdcVIE,5243
120
122
  search_grpc_service/protos/search_api_pb2_grpc.py,sha256=1aRML4YmgvB_2TgjkVD59HKsSHT88pnt7omLL_CnMzA,6870
121
- fsai_proto_specs-0.0.397.dist-info/METADATA,sha256=MFZOdTpO_m8vWEQ-Qh35VxQETXlwbthfUuBbrou37FA,972
122
- fsai_proto_specs-0.0.397.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
123
- fsai_proto_specs-0.0.397.dist-info/RECORD,,
123
+ fsai_proto_specs-0.0.400.dist-info/METADATA,sha256=re7FhYOtucyd-Ia-ZIEwLymIUTWxnAVNDXVY9ePrSck,972
124
+ fsai_proto_specs-0.0.400.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
125
+ fsai_proto_specs-0.0.400.dist-info/RECORD,,
@@ -15,7 +15,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
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/correction_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xdb\x01\n\nCorrection\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x03 \x01(\x05\x12\x13\n\x0b\x61ssigned_by\x18\x04 \x01(\x05\x12\x30\n\x0crequested_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x63ompleted_by\x18\x07 \x01(\x05\"E\n#GetCorrectionsByDetectionIdsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"H\n$GetCorrectionsByDetectionIdsResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"8\n!GetCorrectionsByAssignedToRequest\x12\x13\n\x0b\x61ssigned_to\x18\x01 \x01(\x05\"F\n\"GetCorrectionsByAssignedToResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"8\n!GetCorrectionsByAssignedByRequest\x12\x13\n\x0b\x61ssigned_by\x18\x01 \x01(\x05\"F\n\"GetCorrectionsByAssignedByResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\":\n\x18\x43reateCorrectionsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"J\n\x19\x43reateCorrectionsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\"7\n\x19\x43ompleteCorrectionRequest\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\">\n\x1a\x43ompleteCorrectionResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType2\xe5\x03\n\rCorrectionApi\x12k\n\x1cGetCorrectionsByDetectionIds\x12$.GetCorrectionsByDetectionIdsRequest\x1a%.GetCorrectionsByDetectionIdsResponse\x12\x65\n\x1aGetCorrectionsByAssignedTo\x12\".GetCorrectionsByAssignedToRequest\x1a#.GetCorrectionsByAssignedToResponse\x12\x65\n\x1aGetCorrectionsByAssignedBy\x12\".GetCorrectionsByAssignedByRequest\x1a#.GetCorrectionsByAssignedByResponse\x12J\n\x11\x43reateCorrections\x12\x19.CreateCorrectionsRequest\x1a\x1a.CreateCorrectionsResponse\x12M\n\x12\x43ompleteCorrection\x12\x1a.CompleteCorrectionRequest\x1a\x1b.CompleteCorrectionResponseb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2global_vo_grpc_service/protos/correction_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xdb\x01\n\nCorrection\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65tection_instance_id\x18\x02 \x01(\x05\x12\x13\n\x0b\x61ssigned_to\x18\x03 \x01(\x05\x12\x13\n\x0b\x61ssigned_by\x18\x04 \x01(\x05\x12\x30\n\x0crequested_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x63ompleted_by\x18\x07 \x01(\x05\"E\n#GetCorrectionsByDetectionIdsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"H\n$GetCorrectionsByDetectionIdsResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"8\n!GetCorrectionsByAssignedToRequest\x12\x13\n\x0b\x61ssigned_to\x18\x01 \x01(\x05\"F\n\"GetCorrectionsByAssignedToResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\"8\n!GetCorrectionsByAssignedByRequest\x12\x13\n\x0b\x61ssigned_by\x18\x01 \x01(\x05\"F\n\"GetCorrectionsByAssignedByResponse\x12 \n\x0b\x63orrections\x18\x01 \x03(\x0b\x32\x0b.Correction\":\n\x18\x43reateCorrectionsRequest\x12\x1e\n\x16\x64\x65tection_instance_ids\x18\x01 \x03(\x05\"J\n\x19\x43reateCorrectionsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\"9\n\x1a\x43ompleteCorrectionsRequest\x12\x0b\n\x03ids\x18\x01 \x03(\x05\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\"L\n\x1b\x43ompleteCorrectionsResponse\x12 \n\x0b\x63hange_type\x18\x01 \x01(\x0e\x32\x0b.ChangeType\x12\x0b\n\x03ids\x18\x02 \x03(\x05\x32\xe8\x03\n\rCorrectionApi\x12k\n\x1cGetCorrectionsByDetectionIds\x12$.GetCorrectionsByDetectionIdsRequest\x1a%.GetCorrectionsByDetectionIdsResponse\x12\x65\n\x1aGetCorrectionsByAssignedTo\x12\".GetCorrectionsByAssignedToRequest\x1a#.GetCorrectionsByAssignedToResponse\x12\x65\n\x1aGetCorrectionsByAssignedBy\x12\".GetCorrectionsByAssignedByRequest\x1a#.GetCorrectionsByAssignedByResponse\x12J\n\x11\x43reateCorrections\x12\x19.CreateCorrectionsRequest\x1a\x1a.CreateCorrectionsResponse\x12P\n\x13\x43ompleteCorrections\x12\x1b.CompleteCorrectionsRequest\x1a\x1c.CompleteCorrectionsResponseb\x06proto3')
19
19
 
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
21
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.correction_api_pb2', globals())
@@ -40,10 +40,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
40
40
  _CREATECORRECTIONSREQUEST._serialized_end=815
41
41
  _CREATECORRECTIONSRESPONSE._serialized_start=817
42
42
  _CREATECORRECTIONSRESPONSE._serialized_end=891
43
- _COMPLETECORRECTIONREQUEST._serialized_start=893
44
- _COMPLETECORRECTIONREQUEST._serialized_end=948
45
- _COMPLETECORRECTIONRESPONSE._serialized_start=950
46
- _COMPLETECORRECTIONRESPONSE._serialized_end=1012
47
- _CORRECTIONAPI._serialized_start=1015
48
- _CORRECTIONAPI._serialized_end=1500
43
+ _COMPLETECORRECTIONSREQUEST._serialized_start=893
44
+ _COMPLETECORRECTIONSREQUEST._serialized_end=950
45
+ _COMPLETECORRECTIONSRESPONSE._serialized_start=952
46
+ _COMPLETECORRECTIONSRESPONSE._serialized_end=1028
47
+ _CORRECTIONAPI._serialized_start=1031
48
+ _CORRECTIONAPI._serialized_end=1519
49
49
  # @@protoc_insertion_point(module_scope)
@@ -34,10 +34,10 @@ class CorrectionApiStub(object):
34
34
  request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsRequest.SerializeToString,
35
35
  response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsResponse.FromString,
36
36
  )
37
- self.CompleteCorrection = channel.unary_unary(
38
- '/CorrectionApi/CompleteCorrection',
39
- request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionRequest.SerializeToString,
40
- response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionResponse.FromString,
37
+ self.CompleteCorrections = channel.unary_unary(
38
+ '/CorrectionApi/CompleteCorrections',
39
+ request_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsRequest.SerializeToString,
40
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsResponse.FromString,
41
41
  )
42
42
 
43
43
 
@@ -68,7 +68,7 @@ class CorrectionApiServicer(object):
68
68
  context.set_details('Method not implemented!')
69
69
  raise NotImplementedError('Method not implemented!')
70
70
 
71
- def CompleteCorrection(self, request, context):
71
+ def CompleteCorrections(self, request, context):
72
72
  """Missing associated documentation comment in .proto file."""
73
73
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
74
74
  context.set_details('Method not implemented!')
@@ -97,10 +97,10 @@ def add_CorrectionApiServicer_to_server(servicer, server):
97
97
  request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsRequest.FromString,
98
98
  response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CreateCorrectionsResponse.SerializeToString,
99
99
  ),
100
- 'CompleteCorrection': grpc.unary_unary_rpc_method_handler(
101
- servicer.CompleteCorrection,
102
- request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionRequest.FromString,
103
- response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionResponse.SerializeToString,
100
+ 'CompleteCorrections': grpc.unary_unary_rpc_method_handler(
101
+ servicer.CompleteCorrections,
102
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsRequest.FromString,
103
+ response_serializer=global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsResponse.SerializeToString,
104
104
  ),
105
105
  }
106
106
  generic_handler = grpc.method_handlers_generic_handler(
@@ -181,7 +181,7 @@ class CorrectionApi(object):
181
181
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
182
182
 
183
183
  @staticmethod
184
- def CompleteCorrection(request,
184
+ def CompleteCorrections(request,
185
185
  target,
186
186
  options=(),
187
187
  channel_credentials=None,
@@ -191,8 +191,8 @@ class CorrectionApi(object):
191
191
  wait_for_ready=None,
192
192
  timeout=None,
193
193
  metadata=None):
194
- return grpc.experimental.unary_unary(request, target, '/CorrectionApi/CompleteCorrection',
195
- global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionRequest.SerializeToString,
196
- global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionResponse.FromString,
194
+ return grpc.experimental.unary_unary(request, target, '/CorrectionApi/CompleteCorrections',
195
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsRequest.SerializeToString,
196
+ global__vo__grpc__service_dot_protos_dot_correction__api__pb2.CompleteCorrectionsResponse.FromString,
197
197
  options, channel_credentials,
198
198
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -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/reporting_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'\n1global_vo_grpc_service/protos/reporting_api.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a)global_vo_grpc_service/protos/utils.proto\"\xdf\x01\n\x13UserActivityMetrics\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\x11\n\tfull_name\x18\x02 \x01(\t\x12\x13\n\x0btotal_hours\x18\x03 \x01(\x01\x12\x17\n\x0futilization_pct\x18\x04 \x01(\x01\x12\x1b\n\x13hours_with_activity\x18\x05 \x01(\x05\x12&\n\x1e\x61\x63tive_minutes_per_active_hour\x18\x06 \x01(\x01\x12\x18\n\x10\x66irst_action_est\x18\x07 \x01(\t\x12\x17\n\x0flast_action_est\x18\x08 \x01(\t\"\x95\x02\n\x18\x44\x61ilyUserActivityMetrics\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\x11\n\tfull_name\x18\x02 \x01(\t\x12/\n\x0b\x61\x63tion_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0btotal_hours\x18\x04 \x01(\x01\x12\x17\n\x0futilization_pct\x18\x05 \x01(\x01\x12\x1b\n\x13hours_with_activity\x18\x06 \x01(\x05\x12&\n\x1e\x61\x63tive_minutes_per_active_hour\x18\x07 \x01(\x01\x12\x18\n\x10\x66irst_action_est\x18\x08 \x01(\t\x12\x17\n\x0flast_action_est\x18\t \x01(\t\"\xdb\x02\n\x1aMonthlyUserActivityMetrics\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\x11\n\tfull_name\x18\x02 \x01(\t\x12\x19\n\x11total_hours_month\x18\x03 \x01(\x01\x12\x17\n\x0f\x61vg_daily_hours\x18\x04 \x01(\x01\x12\x1d\n\x15utilization_pct_month\x18\x05 \x01(\x01\x12!\n\x19\x61vg_daily_utilization_pct\x18\x06 \x01(\x01\x12!\n\x19hours_with_activity_month\x18\x07 \x01(\x05\x12,\n$active_minutes_per_active_hour_month\x18\x08 \x01(\x01\x12\x13\n\x0b\x61\x63tive_days\x18\t \x01(\x05\x12\x1e\n\x16\x66irst_action_est_month\x18\n \x01(\t\x12\x1d\n\x15last_action_est_month\x18\x0b \x01(\t\"\x7f\n\x1cGetUserActivityReportRequest\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\x1d\n\x06period\x18\x02 \x01(\x0e\x32\r.ReportPeriod\x12/\n\x0btarget_date\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd2\x01\n\x1dGetUserActivityReportResponse\x12\x1d\n\x06period\x18\x01 \x01(\x0e\x32\r.ReportPeriod\x12\x30\n\x0cperiod_start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nperiod_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\rdaily_metrics\x18\x04 \x03(\x0b\x32\x19.DailyUserActivityMetrics\"r\n GetAllUsersActivityReportRequest\x12\x1d\n\x06period\x18\x01 \x01(\x0e\x32\r.ReportPeriod\x12/\n\x0btarget_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd6\x01\n!GetAllUsersActivityReportResponse\x12\x1d\n\x06period\x18\x01 \x01(\x0e\x32\r.ReportPeriod\x12\x30\n\x0cperiod_start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nperiod_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\rdaily_metrics\x18\x04 \x03(\x0b\x32\x19.DailyUserActivityMetrics\"m\n\x1bGetActivityAggregateRequest\x12\x1d\n\x06period\x18\x01 \x01(\x0e\x32\r.ReportPeriod\x12/\n\x0btarget_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9a\x02\n\x1cGetActivityAggregateResponse\x12\x1d\n\x06period\x18\x01 \x01(\x0e\x32\r.ReportPeriod\x12\x30\n\x0cperiod_start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nperiod_end\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1c\n\x14is_monthly_aggregate\x18\x04 \x01(\x08\x12%\n\x07metrics\x18\x05 \x03(\x0b\x32\x14.UserActivityMetrics\x12\x34\n\x0fmonthly_metrics\x18\x06 \x03(\x0b\x32\x1b.MonthlyUserActivityMetrics2\x9f\x02\n\x0cReportingApi\x12V\n\x15GetUserActivityReport\x12\x1d.GetUserActivityReportRequest\x1a\x1e.GetUserActivityReportResponse\x12\x62\n\x19GetAllUsersActivityReport\x12!.GetAllUsersActivityReportRequest\x1a\".GetAllUsersActivityReportResponse\x12S\n\x14GetActivityAggregate\x12\x1c.GetActivityAggregateRequest\x1a\x1d.GetActivityAggregateResponseb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.reporting_api_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ _USERACTIVITYMETRICS._serialized_start=130
26
+ _USERACTIVITYMETRICS._serialized_end=353
27
+ _DAILYUSERACTIVITYMETRICS._serialized_start=356
28
+ _DAILYUSERACTIVITYMETRICS._serialized_end=633
29
+ _MONTHLYUSERACTIVITYMETRICS._serialized_start=636
30
+ _MONTHLYUSERACTIVITYMETRICS._serialized_end=983
31
+ _GETUSERACTIVITYREPORTREQUEST._serialized_start=985
32
+ _GETUSERACTIVITYREPORTREQUEST._serialized_end=1112
33
+ _GETUSERACTIVITYREPORTRESPONSE._serialized_start=1115
34
+ _GETUSERACTIVITYREPORTRESPONSE._serialized_end=1325
35
+ _GETALLUSERSACTIVITYREPORTREQUEST._serialized_start=1327
36
+ _GETALLUSERSACTIVITYREPORTREQUEST._serialized_end=1441
37
+ _GETALLUSERSACTIVITYREPORTRESPONSE._serialized_start=1444
38
+ _GETALLUSERSACTIVITYREPORTRESPONSE._serialized_end=1658
39
+ _GETACTIVITYAGGREGATEREQUEST._serialized_start=1660
40
+ _GETACTIVITYAGGREGATEREQUEST._serialized_end=1769
41
+ _GETACTIVITYAGGREGATERESPONSE._serialized_start=1772
42
+ _GETACTIVITYAGGREGATERESPONSE._serialized_end=2054
43
+ _REPORTINGAPI._serialized_start=2057
44
+ _REPORTINGAPI._serialized_end=2344
45
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,138 @@
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 reporting_api_pb2 as global__vo__grpc__service_dot_protos_dot_reporting__api__pb2
6
+
7
+
8
+ class ReportingApiStub(object):
9
+ """Missing associated documentation comment in .proto file."""
10
+
11
+ def __init__(self, channel):
12
+ """Constructor.
13
+
14
+ Args:
15
+ channel: A grpc.Channel.
16
+ """
17
+ self.GetUserActivityReport = channel.unary_unary(
18
+ '/ReportingApi/GetUserActivityReport',
19
+ request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportRequest.SerializeToString,
20
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportResponse.FromString,
21
+ )
22
+ self.GetAllUsersActivityReport = channel.unary_unary(
23
+ '/ReportingApi/GetAllUsersActivityReport',
24
+ request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportRequest.SerializeToString,
25
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportResponse.FromString,
26
+ )
27
+ self.GetActivityAggregate = channel.unary_unary(
28
+ '/ReportingApi/GetActivityAggregate',
29
+ request_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateRequest.SerializeToString,
30
+ response_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateResponse.FromString,
31
+ )
32
+
33
+
34
+ class ReportingApiServicer(object):
35
+ """Missing associated documentation comment in .proto file."""
36
+
37
+ def GetUserActivityReport(self, request, context):
38
+ """Get daily breakdown of activity for a single user for a period (day, week, or month)
39
+ Returns one entry per day in the period (includes days with no activity, matching SQL calendar behavior)
40
+ """
41
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
42
+ context.set_details('Method not implemented!')
43
+ raise NotImplementedError('Method not implemented!')
44
+
45
+ def GetAllUsersActivityReport(self, request, context):
46
+ """Get daily breakdown of activity for all users for a period (day, week, or month)
47
+ Returns one entry per day per user (only includes days with activity)
48
+ """
49
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
50
+ context.set_details('Method not implemented!')
51
+ raise NotImplementedError('Method not implemented!')
52
+
53
+ def GetActivityAggregate(self, request, context):
54
+ """Get aggregated user activity metrics for a period (day, week, or month)
55
+ Returns one entry per user with aggregated metrics for the entire period (all users)
56
+ """
57
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
58
+ context.set_details('Method not implemented!')
59
+ raise NotImplementedError('Method not implemented!')
60
+
61
+
62
+ def add_ReportingApiServicer_to_server(servicer, server):
63
+ rpc_method_handlers = {
64
+ 'GetUserActivityReport': grpc.unary_unary_rpc_method_handler(
65
+ servicer.GetUserActivityReport,
66
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportRequest.FromString,
67
+ response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportResponse.SerializeToString,
68
+ ),
69
+ 'GetAllUsersActivityReport': grpc.unary_unary_rpc_method_handler(
70
+ servicer.GetAllUsersActivityReport,
71
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportRequest.FromString,
72
+ response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportResponse.SerializeToString,
73
+ ),
74
+ 'GetActivityAggregate': grpc.unary_unary_rpc_method_handler(
75
+ servicer.GetActivityAggregate,
76
+ request_deserializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateRequest.FromString,
77
+ response_serializer=global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateResponse.SerializeToString,
78
+ ),
79
+ }
80
+ generic_handler = grpc.method_handlers_generic_handler(
81
+ 'ReportingApi', rpc_method_handlers)
82
+ server.add_generic_rpc_handlers((generic_handler,))
83
+
84
+
85
+ # This class is part of an EXPERIMENTAL API.
86
+ class ReportingApi(object):
87
+ """Missing associated documentation comment in .proto file."""
88
+
89
+ @staticmethod
90
+ def GetUserActivityReport(request,
91
+ target,
92
+ options=(),
93
+ channel_credentials=None,
94
+ call_credentials=None,
95
+ insecure=False,
96
+ compression=None,
97
+ wait_for_ready=None,
98
+ timeout=None,
99
+ metadata=None):
100
+ return grpc.experimental.unary_unary(request, target, '/ReportingApi/GetUserActivityReport',
101
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportRequest.SerializeToString,
102
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetUserActivityReportResponse.FromString,
103
+ options, channel_credentials,
104
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
105
+
106
+ @staticmethod
107
+ def GetAllUsersActivityReport(request,
108
+ target,
109
+ options=(),
110
+ channel_credentials=None,
111
+ call_credentials=None,
112
+ insecure=False,
113
+ compression=None,
114
+ wait_for_ready=None,
115
+ timeout=None,
116
+ metadata=None):
117
+ return grpc.experimental.unary_unary(request, target, '/ReportingApi/GetAllUsersActivityReport',
118
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportRequest.SerializeToString,
119
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetAllUsersActivityReportResponse.FromString,
120
+ options, channel_credentials,
121
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
122
+
123
+ @staticmethod
124
+ def GetActivityAggregate(request,
125
+ target,
126
+ options=(),
127
+ channel_credentials=None,
128
+ call_credentials=None,
129
+ insecure=False,
130
+ compression=None,
131
+ wait_for_ready=None,
132
+ timeout=None,
133
+ metadata=None):
134
+ return grpc.experimental.unary_unary(request, target, '/ReportingApi/GetActivityAggregate',
135
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateRequest.SerializeToString,
136
+ global__vo__grpc__service_dot_protos_dot_reporting__api__pb2.GetActivityAggregateResponse.FromString,
137
+ options, channel_credentials,
138
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -13,7 +13,7 @@ _sym_db = _symbol_database.Default()
13
13
 
14
14
 
15
15
 
16
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)global_vo_grpc_service/protos/utils.proto\"M\n\x07GeoBbox\x12\x0f\n\x07min_lat\x18\x01 \x01(\x02\x12\x0f\n\x07max_lat\x18\x02 \x01(\x02\x12\x0f\n\x07min_lon\x18\x03 \x01(\x02\x12\x0f\n\x07max_lon\x18\x04 \x01(\x02\"3\n\x08GeoPoint\x12\x0b\n\x03lat\x18\x01 \x01(\x02\x12\x0b\n\x03lon\x18\x02 \x01(\x02\x12\r\n\x05score\x18\x03 \x01(\x02\"G\n\tPixelBbox\x12\r\n\x05min_x\x18\x01 \x01(\x02\x12\r\n\x05min_y\x18\x02 \x01(\x02\x12\r\n\x05max_x\x18\x03 \x01(\x02\x12\r\n\x05max_y\x18\x04 \x01(\x02\"\"\n\nPixelPoint\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\"9\n\nPagination\x12\x13\n\x0bpage_number\x18\x01 \x01(\x05\x12\x16\n\x0emax_page_items\x18\x02 \x01(\x05\"X\n\x0cTeamRoleInfo\x12\x0f\n\x07role_id\x18\x01 \x01(\x05\x12\x11\n\trole_name\x18\x02 \x01(\t\x12$\n\x0bpermissions\x18\x03 \x03(\x0b\x32\x0f.PermissionInfo\"y\n\x0ePermissionInfo\x12\x15\n\rpermission_id\x18\x01 \x01(\x05\x12\x17\n\x0fpermission_name\x18\x02 \x01(\t\x12\x1e\n\x16permission_description\x18\x03 \x01(\t\x12\x17\n\x0fpermission_type\x18\x04 \x01(\t\":\n\x0fUserDisplayInfo\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05\x66irst\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\t*\xc0\x01\n\nChangeType\x12\x17\n\x13UNKNOWN_CHANGE_TYPE\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x08\n\x04READ\x10\x02\x12\x0b\n\x07UPDATED\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\x12\n\n\x06\x45XISTS\x10\x05\x12\r\n\tNOT_FOUND\x10\x06\x12\n\n\x06QUEUED\x10\x07\x12\x0b\n\x07INDEXED\x10\x08\x12\n\n\x06\x43\x41\x43HED\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\x12\x0b\n\x07\x45NABLED\x10\x0b\x12\r\n\tCOMPLETED\x10\x0c\x62\x06proto3')
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)global_vo_grpc_service/protos/utils.proto\"M\n\x07GeoBbox\x12\x0f\n\x07min_lat\x18\x01 \x01(\x02\x12\x0f\n\x07max_lat\x18\x02 \x01(\x02\x12\x0f\n\x07min_lon\x18\x03 \x01(\x02\x12\x0f\n\x07max_lon\x18\x04 \x01(\x02\"3\n\x08GeoPoint\x12\x0b\n\x03lat\x18\x01 \x01(\x02\x12\x0b\n\x03lon\x18\x02 \x01(\x02\x12\r\n\x05score\x18\x03 \x01(\x02\"G\n\tPixelBbox\x12\r\n\x05min_x\x18\x01 \x01(\x02\x12\r\n\x05min_y\x18\x02 \x01(\x02\x12\r\n\x05max_x\x18\x03 \x01(\x02\x12\r\n\x05max_y\x18\x04 \x01(\x02\"\"\n\nPixelPoint\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\"9\n\nPagination\x12\x13\n\x0bpage_number\x18\x01 \x01(\x05\x12\x16\n\x0emax_page_items\x18\x02 \x01(\x05\"X\n\x0cTeamRoleInfo\x12\x0f\n\x07role_id\x18\x01 \x01(\x05\x12\x11\n\trole_name\x18\x02 \x01(\t\x12$\n\x0bpermissions\x18\x03 \x03(\x0b\x32\x0f.PermissionInfo\"y\n\x0ePermissionInfo\x12\x15\n\rpermission_id\x18\x01 \x01(\x05\x12\x17\n\x0fpermission_name\x18\x02 \x01(\t\x12\x1e\n\x16permission_description\x18\x03 \x01(\t\x12\x17\n\x0fpermission_type\x18\x04 \x01(\t\":\n\x0fUserDisplayInfo\x12\n\n\x02id\x18\x01 \x01(\x05\x12\r\n\x05\x66irst\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\t*\xc0\x01\n\nChangeType\x12\x17\n\x13UNKNOWN_CHANGE_TYPE\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x08\n\x04READ\x10\x02\x12\x0b\n\x07UPDATED\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\x12\n\n\x06\x45XISTS\x10\x05\x12\r\n\tNOT_FOUND\x10\x06\x12\n\n\x06QUEUED\x10\x07\x12\x0b\n\x07INDEXED\x10\x08\x12\n\n\x06\x43\x41\x43HED\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\x12\x0b\n\x07\x45NABLED\x10\x0b\x12\r\n\tCOMPLETED\x10\x0c*F\n\x0cReportPeriod\x12\x12\n\x0eUNKNOWN_PERIOD\x10\x00\x12\t\n\x05\x44\x41ILY\x10\x01\x12\n\n\x06WEEKLY\x10\x02\x12\x0b\n\x07MONTHLY\x10\x03\x62\x06proto3')
17
17
 
18
18
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
19
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'global_vo_grpc_service.protos.utils_pb2', globals())
@@ -22,6 +22,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
22
22
  DESCRIPTOR._options = None
23
23
  _CHANGETYPE._serialized_start=619
24
24
  _CHANGETYPE._serialized_end=811
25
+ _REPORTPERIOD._serialized_start=813
26
+ _REPORTPERIOD._serialized_end=883
25
27
  _GEOBBOX._serialized_start=45
26
28
  _GEOBBOX._serialized_end=122
27
29
  _GEOPOINT._serialized_start=124