elements-api 2025.11.4__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.
Files changed (153) hide show
  1. elements_api/__init__.py +8 -0
  2. elements_api/async_client.py +43 -0
  3. elements_api/async_interceptors.py +105 -0
  4. elements_api/elements_base_api.py +454 -0
  5. elements_api/models/__init__.py +47 -0
  6. elements_api/models/algorithm_computation_execution_pb2.py +48 -0
  7. elements_api/models/algorithm_computation_execution_pb2.pyi +84 -0
  8. elements_api/models/algorithm_computation_pb2.py +61 -0
  9. elements_api/models/algorithm_computation_pb2.pyi +134 -0
  10. elements_api/models/algorithm_config_pb2.py +90 -0
  11. elements_api/models/algorithm_config_pb2.pyi +185 -0
  12. elements_api/models/algorithm_manifest_pb2.py +43 -0
  13. elements_api/models/algorithm_manifest_pb2.pyi +25 -0
  14. elements_api/models/algorithm_pb2.py +57 -0
  15. elements_api/models/algorithm_pb2.pyi +96 -0
  16. elements_api/models/algorithm_version_pb2.py +88 -0
  17. elements_api/models/algorithm_version_pb2.pyi +233 -0
  18. elements_api/models/analysis_computation_pb2.py +69 -0
  19. elements_api/models/analysis_computation_pb2.pyi +159 -0
  20. elements_api/models/analysis_config_pb2.py +127 -0
  21. elements_api/models/analysis_config_pb2.pyi +180 -0
  22. elements_api/models/analysis_pb2.py +57 -0
  23. elements_api/models/analysis_pb2.pyi +98 -0
  24. elements_api/models/analysis_version_pb2.py +77 -0
  25. elements_api/models/analysis_version_pb2.pyi +141 -0
  26. elements_api/models/aoi_catalog_pb2.py +71 -0
  27. elements_api/models/aoi_catalog_pb2.pyi +162 -0
  28. elements_api/models/aoi_collection_pb2.py +67 -0
  29. elements_api/models/aoi_collection_pb2.pyi +146 -0
  30. elements_api/models/aoi_export_pb2.py +48 -0
  31. elements_api/models/aoi_export_pb2.pyi +62 -0
  32. elements_api/models/aoi_pb2.py +66 -0
  33. elements_api/models/aoi_pb2.pyi +191 -0
  34. elements_api/models/aoi_transaction_pb2.py +52 -0
  35. elements_api/models/aoi_transaction_pb2.pyi +56 -0
  36. elements_api/models/aoi_version_pb2.py +63 -0
  37. elements_api/models/aoi_version_pb2.pyi +171 -0
  38. elements_api/models/common_models_pb2.py +36 -0
  39. elements_api/models/common_models_pb2.pyi +15 -0
  40. elements_api/models/credit_pb2.py +79 -0
  41. elements_api/models/credit_pb2.pyi +216 -0
  42. elements_api/models/data_source_pb2.py +53 -0
  43. elements_api/models/data_source_pb2.pyi +86 -0
  44. elements_api/models/data_tracking_pb2.py +60 -0
  45. elements_api/models/data_tracking_pb2.pyi +127 -0
  46. elements_api/models/data_type_pb2.py +51 -0
  47. elements_api/models/data_type_pb2.pyi +74 -0
  48. elements_api/models/filter_pb2.py +63 -0
  49. elements_api/models/filter_pb2.pyi +133 -0
  50. elements_api/models/forgot_password_pb2.py +42 -0
  51. elements_api/models/forgot_password_pb2.pyi +19 -0
  52. elements_api/models/notification_pb2.py +82 -0
  53. elements_api/models/notification_pb2.pyi +180 -0
  54. elements_api/models/order_pb2.py +68 -0
  55. elements_api/models/order_pb2.pyi +181 -0
  56. elements_api/models/order_recommendation_pb2.py +53 -0
  57. elements_api/models/order_recommendation_pb2.pyi +99 -0
  58. elements_api/models/permission_pb2.py +84 -0
  59. elements_api/models/permission_pb2.pyi +177 -0
  60. elements_api/models/project_analysis_config_pb2.py +154 -0
  61. elements_api/models/project_analysis_config_pb2.pyi +76 -0
  62. elements_api/models/project_aoi_pb2.py +66 -0
  63. elements_api/models/project_aoi_pb2.pyi +118 -0
  64. elements_api/models/project_collaborator_pb2.py +54 -0
  65. elements_api/models/project_collaborator_pb2.pyi +74 -0
  66. elements_api/models/project_filter_pb2.py +55 -0
  67. elements_api/models/project_filter_pb2.pyi +61 -0
  68. elements_api/models/project_group_pb2.py +198 -0
  69. elements_api/models/project_group_pb2.pyi +119 -0
  70. elements_api/models/project_pb2.py +217 -0
  71. elements_api/models/project_pb2.pyi +314 -0
  72. elements_api/models/project_result_pb2.py +123 -0
  73. elements_api/models/project_result_pb2.pyi +221 -0
  74. elements_api/models/provider_quotas_pb2.py +42 -0
  75. elements_api/models/provider_quotas_pb2.pyi +33 -0
  76. elements_api/models/resource_pb2.py +64 -0
  77. elements_api/models/resource_pb2.pyi +133 -0
  78. elements_api/models/result_pb2.py +65 -0
  79. elements_api/models/result_pb2.pyi +158 -0
  80. elements_api/models/s3_pb2.py +52 -0
  81. elements_api/models/s3_pb2.pyi +49 -0
  82. elements_api/models/subject_pb2.py +36 -0
  83. elements_api/models/subject_pb2.pyi +11 -0
  84. elements_api/models/system_pb2.py +47 -0
  85. elements_api/models/system_pb2.pyi +28 -0
  86. elements_api/models/tasking_order_pb2.py +75 -0
  87. elements_api/models/tasking_order_pb2.pyi +156 -0
  88. elements_api/models/tile_pb2.py +52 -0
  89. elements_api/models/tile_pb2.pyi +77 -0
  90. elements_api/models/toi_pb2.py +67 -0
  91. elements_api/models/toi_pb2.pyi +138 -0
  92. elements_api/models/token_pb2.py +42 -0
  93. elements_api/models/token_pb2.pyi +23 -0
  94. elements_api/models/user_collection_pb2.py +78 -0
  95. elements_api/models/user_collection_pb2.pyi +172 -0
  96. elements_api/models/user_pb2.py +86 -0
  97. elements_api/models/user_pb2.pyi +183 -0
  98. elements_api/models/visualization_pb2.py +70 -0
  99. elements_api/models/visualization_pb2.pyi +187 -0
  100. elements_api/stubs/__init__.py +47 -0
  101. elements_api/stubs/algorithm_computation_execution_pb2_grpc.py +111 -0
  102. elements_api/stubs/algorithm_computation_pb2_grpc.py +251 -0
  103. elements_api/stubs/algorithm_config_pb2_grpc.py +377 -0
  104. elements_api/stubs/algorithm_manifest_pb2_grpc.py +99 -0
  105. elements_api/stubs/algorithm_pb2_grpc.py +239 -0
  106. elements_api/stubs/algorithm_version_pb2_grpc.py +336 -0
  107. elements_api/stubs/analysis_computation_pb2_grpc.py +239 -0
  108. elements_api/stubs/analysis_config_pb2_grpc.py +283 -0
  109. elements_api/stubs/analysis_pb2_grpc.py +192 -0
  110. elements_api/stubs/analysis_version_pb2_grpc.py +198 -0
  111. elements_api/stubs/aoi_catalog_pb2_grpc.py +273 -0
  112. elements_api/stubs/aoi_collection_pb2_grpc.py +327 -0
  113. elements_api/stubs/aoi_export_pb2_grpc.py +144 -0
  114. elements_api/stubs/aoi_pb2_grpc.py +241 -0
  115. elements_api/stubs/aoi_transaction_pb2_grpc.py +145 -0
  116. elements_api/stubs/aoi_version_pb2_grpc.py +192 -0
  117. elements_api/stubs/common_models_pb2_grpc.py +24 -0
  118. elements_api/stubs/credit_pb2_grpc.py +418 -0
  119. elements_api/stubs/data_source_pb2_grpc.py +144 -0
  120. elements_api/stubs/data_tracking_pb2_grpc.py +140 -0
  121. elements_api/stubs/data_type_pb2_grpc.py +189 -0
  122. elements_api/stubs/filter_pb2_grpc.py +234 -0
  123. elements_api/stubs/forgot_password_pb2_grpc.py +100 -0
  124. elements_api/stubs/notification_pb2_grpc.py +414 -0
  125. elements_api/stubs/order_pb2_grpc.py +279 -0
  126. elements_api/stubs/order_recommendation_pb2_grpc.py +183 -0
  127. elements_api/stubs/permission_pb2_grpc.py +282 -0
  128. elements_api/stubs/project_analysis_config_pb2_grpc.py +99 -0
  129. elements_api/stubs/project_aoi_pb2_grpc.py +279 -0
  130. elements_api/stubs/project_collaborator_pb2_grpc.py +189 -0
  131. elements_api/stubs/project_filter_pb2_grpc.py +144 -0
  132. elements_api/stubs/project_group_pb2_grpc.py +234 -0
  133. elements_api/stubs/project_pb2_grpc.py +504 -0
  134. elements_api/stubs/project_result_pb2_grpc.py +234 -0
  135. elements_api/stubs/provider_quotas_pb2_grpc.py +99 -0
  136. elements_api/stubs/resource_pb2_grpc.py +228 -0
  137. elements_api/stubs/result_pb2_grpc.py +99 -0
  138. elements_api/stubs/s3_pb2_grpc.py +99 -0
  139. elements_api/stubs/subject_pb2_grpc.py +24 -0
  140. elements_api/stubs/system_pb2_grpc.py +142 -0
  141. elements_api/stubs/tasking_order_pb2_grpc.py +279 -0
  142. elements_api/stubs/tile_pb2_grpc.py +99 -0
  143. elements_api/stubs/toi_pb2_grpc.py +281 -0
  144. elements_api/stubs/token_pb2_grpc.py +100 -0
  145. elements_api/stubs/user_collection_pb2_grpc.py +370 -0
  146. elements_api/stubs/user_pb2_grpc.py +559 -0
  147. elements_api/stubs/visualization_pb2_grpc.py +234 -0
  148. elements_api/sync_client.py +34 -0
  149. elements_api-2025.11.4.dist-info/METADATA +11 -0
  150. elements_api-2025.11.4.dist-info/RECORD +153 -0
  151. elements_api-2025.11.4.dist-info/WHEEL +5 -0
  152. elements_api-2025.11.4.dist-info/licenses/LICENSE +7 -0
  153. elements_api-2025.11.4.dist-info/top_level.txt +1 -0
@@ -0,0 +1,86 @@
1
+ import data_type_pb2 as _data_type_pb2
2
+ from google.protobuf import struct_pb2 as _struct_pb2
3
+ from google.protobuf.internal import containers as _containers
4
+ from google.protobuf import descriptor as _descriptor
5
+ from google.protobuf import message as _message
6
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
7
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
8
+ from data_type_pb2 import DataType as DataType
9
+ from data_type_pb2 import DataTypeCreateRequest as DataTypeCreateRequest
10
+ from data_type_pb2 import DataTypeCreateResponse as DataTypeCreateResponse
11
+ from data_type_pb2 import DataTypeGetRequest as DataTypeGetRequest
12
+ from data_type_pb2 import DataTypeGetResponse as DataTypeGetResponse
13
+ from data_type_pb2 import DataTypeListRequest as DataTypeListRequest
14
+ from data_type_pb2 import DataTypeListResponse as DataTypeListResponse
15
+
16
+ DESCRIPTOR: _descriptor.FileDescriptor
17
+
18
+ class DataSource(_message.Message):
19
+ __slots__ = ("id", "name", "description", "data_types", "delivery_lag_seconds", "display_name", "indicator", "data_explorer")
20
+ ID_FIELD_NUMBER: _ClassVar[int]
21
+ NAME_FIELD_NUMBER: _ClassVar[int]
22
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
23
+ DATA_TYPES_FIELD_NUMBER: _ClassVar[int]
24
+ DELIVERY_LAG_SECONDS_FIELD_NUMBER: _ClassVar[int]
25
+ DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
26
+ INDICATOR_FIELD_NUMBER: _ClassVar[int]
27
+ DATA_EXPLORER_FIELD_NUMBER: _ClassVar[int]
28
+ id: str
29
+ name: str
30
+ description: str
31
+ data_types: _containers.RepeatedCompositeFieldContainer[_data_type_pb2.DataType]
32
+ delivery_lag_seconds: int
33
+ display_name: str
34
+ indicator: str
35
+ data_explorer: bool
36
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., data_types: _Optional[_Iterable[_Union[_data_type_pb2.DataType, _Mapping]]] = ..., delivery_lag_seconds: _Optional[int] = ..., display_name: _Optional[str] = ..., indicator: _Optional[str] = ..., data_explorer: bool = ...) -> None: ...
37
+
38
+ class DataSourceGetRequest(_message.Message):
39
+ __slots__ = ("ids",)
40
+ IDS_FIELD_NUMBER: _ClassVar[int]
41
+ ids: _containers.RepeatedScalarFieldContainer[str]
42
+ def __init__(self, ids: _Optional[_Iterable[str]] = ...) -> None: ...
43
+
44
+ class DataSourceGetResponse(_message.Message):
45
+ __slots__ = ("status_code", "data_sources")
46
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
47
+ DATA_SOURCES_FIELD_NUMBER: _ClassVar[int]
48
+ status_code: int
49
+ data_sources: _containers.RepeatedCompositeFieldContainer[DataSource]
50
+ def __init__(self, status_code: _Optional[int] = ..., data_sources: _Optional[_Iterable[_Union[DataSource, _Mapping]]] = ...) -> None: ...
51
+
52
+ class DataSourceListRequest(_message.Message):
53
+ __slots__ = ("search_text",)
54
+ SEARCH_TEXT_FIELD_NUMBER: _ClassVar[int]
55
+ search_text: str
56
+ def __init__(self, search_text: _Optional[str] = ...) -> None: ...
57
+
58
+ class DataSourceListResponse(_message.Message):
59
+ __slots__ = ("status_code", "data_sources")
60
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
61
+ DATA_SOURCES_FIELD_NUMBER: _ClassVar[int]
62
+ status_code: int
63
+ data_sources: _containers.RepeatedCompositeFieldContainer[DataSource]
64
+ def __init__(self, status_code: _Optional[int] = ..., data_sources: _Optional[_Iterable[_Union[DataSource, _Mapping]]] = ...) -> None: ...
65
+
66
+ class DataSourceCreateRequest(_message.Message):
67
+ __slots__ = ("id", "name", "description", "data_types", "config_info")
68
+ ID_FIELD_NUMBER: _ClassVar[int]
69
+ NAME_FIELD_NUMBER: _ClassVar[int]
70
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
71
+ DATA_TYPES_FIELD_NUMBER: _ClassVar[int]
72
+ CONFIG_INFO_FIELD_NUMBER: _ClassVar[int]
73
+ id: str
74
+ name: str
75
+ description: str
76
+ data_types: _containers.RepeatedCompositeFieldContainer[_data_type_pb2.DataType]
77
+ config_info: _struct_pb2.Struct
78
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., data_types: _Optional[_Iterable[_Union[_data_type_pb2.DataType, _Mapping]]] = ..., config_info: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
79
+
80
+ class DataSourceCreateResponse(_message.Message):
81
+ __slots__ = ("status_code", "data_source")
82
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
83
+ DATA_SOURCE_FIELD_NUMBER: _ClassVar[int]
84
+ status_code: int
85
+ data_source: DataSource
86
+ def __init__(self, status_code: _Optional[int] = ..., data_source: _Optional[_Union[DataSource, _Mapping]] = ...) -> None: ...
@@ -0,0 +1,60 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: data_tracking.proto
5
+ # Protobuf Python Version: 6.31.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
+ 31,
16
+ 1,
17
+ '',
18
+ 'data_tracking.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27
+ from elements_api.models import common_models_pb2 as common__models__pb2
28
+
29
+ from elements_api.models.common_models_pb2 import *
30
+
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x64\x61ta_tracking.proto\x12\x07oi.papi\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13\x63ommon_models.proto\"T\n\x05Links\x12\x0c\n\x04href\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0b\n\x03rel\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\r\n\x05title\x18\x05 \x01(\t\"7\n\tParentRef\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tparent_id\x18\x02 \x01(\t\x12\x0b\n\x03key\x18\x03 \x01(\t\"\xd5\x01\n\x0cTrackedEvent\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10\x64\x61ta_tracking_id\x18\x02 \x01(\t\x12\x12\n\nevent_type\x18\x03 \x01(\t\x12\x36\n\x12received_timestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12)\n\x08\x63ontents\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12(\n\x07\x63ontext\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xe6\x01\n\x07JobInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\x12\x0f\n\x07user_id\x18\x04 \x01(\t\x12\x33\n\x0flast_updated_ts\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ncreated_ts\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\nparent_ref\x18\x07 \x01(\x0b\x32\x12.oi.papi.ParentRef\x12\x13\n\x0bprovider_id\x18\x08 \x01(\t\"h\n\x14TrackedStatusHistory\x12\x18\n\x10\x64\x61ta_tracking_id\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12&\n\x02ts\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd1\x01\n\nTrackedJob\x12&\n\nparent_ref\x18\x01 \x01(\x0b\x32\x12.oi.papi.ParentRef\x12\x1e\n\x04info\x18\x02 \x01(\x0b\x32\x10.oi.papi.JobInfo\x12%\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x15.oi.papi.TrackedEvent\x12\x35\n\x0estatus_history\x18\x04 \x03(\x0b\x32\x1d.oi.papi.TrackedStatusHistory\x12\x1d\n\x05links\x18\x05 \x03(\x0b\x32\x0e.oi.papi.Links\"\"\n DataTrackingGetQueryablesRequest\"P\n!DataTrackingGetQueryablesResponse\x12+\n\nqueryables\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x85\x01\n#DataTrackingTrackedJobSearchRequest\x12\'\n\npagination\x18\x01 \x01(\x0b\x32\x13.oi.papi.Pagination\x12\x13\n\x0b\x66ilter_lang\x18\x02 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\"r\n$DataTrackingTrackedJobSearchResponse\x12\'\n\npagination\x18\x01 \x01(\x0b\x32\x13.oi.papi.Pagination\x12!\n\x04jobs\x18\x02 \x03(\x0b\x32\x13.oi.papi.TrackedJob2\xf2\x01\n\x0f\x44\x61taTrackingApi\x12g\n\x0eget_queryables\x12).oi.papi.DataTrackingGetQueryablesRequest\x1a*.oi.papi.DataTrackingGetQueryablesResponse\x12v\n\x17get_search_tracked_jobs\x12,.oi.papi.DataTrackingTrackedJobSearchRequest\x1a-.oi.papi.DataTrackingTrackedJobSearchResponseP\x02\x62\x06proto3')
32
+
33
+ _globals = globals()
34
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'data_tracking_pb2', _globals)
36
+ if not _descriptor._USE_C_DESCRIPTORS:
37
+ DESCRIPTOR._loaded_options = None
38
+ _globals['_LINKS']._serialized_start=116
39
+ _globals['_LINKS']._serialized_end=200
40
+ _globals['_PARENTREF']._serialized_start=202
41
+ _globals['_PARENTREF']._serialized_end=257
42
+ _globals['_TRACKEDEVENT']._serialized_start=260
43
+ _globals['_TRACKEDEVENT']._serialized_end=473
44
+ _globals['_JOBINFO']._serialized_start=476
45
+ _globals['_JOBINFO']._serialized_end=706
46
+ _globals['_TRACKEDSTATUSHISTORY']._serialized_start=708
47
+ _globals['_TRACKEDSTATUSHISTORY']._serialized_end=812
48
+ _globals['_TRACKEDJOB']._serialized_start=815
49
+ _globals['_TRACKEDJOB']._serialized_end=1024
50
+ _globals['_DATATRACKINGGETQUERYABLESREQUEST']._serialized_start=1026
51
+ _globals['_DATATRACKINGGETQUERYABLESREQUEST']._serialized_end=1060
52
+ _globals['_DATATRACKINGGETQUERYABLESRESPONSE']._serialized_start=1062
53
+ _globals['_DATATRACKINGGETQUERYABLESRESPONSE']._serialized_end=1142
54
+ _globals['_DATATRACKINGTRACKEDJOBSEARCHREQUEST']._serialized_start=1145
55
+ _globals['_DATATRACKINGTRACKEDJOBSEARCHREQUEST']._serialized_end=1278
56
+ _globals['_DATATRACKINGTRACKEDJOBSEARCHRESPONSE']._serialized_start=1280
57
+ _globals['_DATATRACKINGTRACKEDJOBSEARCHRESPONSE']._serialized_end=1394
58
+ _globals['_DATATRACKINGAPI']._serialized_start=1397
59
+ _globals['_DATATRACKINGAPI']._serialized_end=1639
60
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,127 @@
1
+ import datetime
2
+
3
+ from google.protobuf import struct_pb2 as _struct_pb2
4
+ from google.protobuf import timestamp_pb2 as _timestamp_pb2
5
+ import common_models_pb2 as _common_models_pb2
6
+ from google.protobuf.internal import containers as _containers
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import message as _message
9
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
10
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
11
+ from common_models_pb2 import Pagination as Pagination
12
+
13
+ DESCRIPTOR: _descriptor.FileDescriptor
14
+
15
+ class Links(_message.Message):
16
+ __slots__ = ("href", "type", "rel", "description", "title")
17
+ HREF_FIELD_NUMBER: _ClassVar[int]
18
+ TYPE_FIELD_NUMBER: _ClassVar[int]
19
+ REL_FIELD_NUMBER: _ClassVar[int]
20
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
21
+ TITLE_FIELD_NUMBER: _ClassVar[int]
22
+ href: str
23
+ type: str
24
+ rel: str
25
+ description: str
26
+ title: str
27
+ def __init__(self, href: _Optional[str] = ..., type: _Optional[str] = ..., rel: _Optional[str] = ..., description: _Optional[str] = ..., title: _Optional[str] = ...) -> None: ...
28
+
29
+ class ParentRef(_message.Message):
30
+ __slots__ = ("id", "parent_id", "key")
31
+ ID_FIELD_NUMBER: _ClassVar[int]
32
+ PARENT_ID_FIELD_NUMBER: _ClassVar[int]
33
+ KEY_FIELD_NUMBER: _ClassVar[int]
34
+ id: str
35
+ parent_id: str
36
+ key: str
37
+ def __init__(self, id: _Optional[str] = ..., parent_id: _Optional[str] = ..., key: _Optional[str] = ...) -> None: ...
38
+
39
+ class TrackedEvent(_message.Message):
40
+ __slots__ = ("id", "data_tracking_id", "event_type", "received_timestamp", "contents", "context")
41
+ ID_FIELD_NUMBER: _ClassVar[int]
42
+ DATA_TRACKING_ID_FIELD_NUMBER: _ClassVar[int]
43
+ EVENT_TYPE_FIELD_NUMBER: _ClassVar[int]
44
+ RECEIVED_TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
45
+ CONTENTS_FIELD_NUMBER: _ClassVar[int]
46
+ CONTEXT_FIELD_NUMBER: _ClassVar[int]
47
+ id: str
48
+ data_tracking_id: str
49
+ event_type: str
50
+ received_timestamp: _timestamp_pb2.Timestamp
51
+ contents: _struct_pb2.Struct
52
+ context: _struct_pb2.Struct
53
+ def __init__(self, id: _Optional[str] = ..., data_tracking_id: _Optional[str] = ..., event_type: _Optional[str] = ..., received_timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., contents: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., context: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
54
+
55
+ class JobInfo(_message.Message):
56
+ __slots__ = ("id", "name", "status", "user_id", "last_updated_ts", "created_ts", "parent_ref", "provider_id")
57
+ ID_FIELD_NUMBER: _ClassVar[int]
58
+ NAME_FIELD_NUMBER: _ClassVar[int]
59
+ STATUS_FIELD_NUMBER: _ClassVar[int]
60
+ USER_ID_FIELD_NUMBER: _ClassVar[int]
61
+ LAST_UPDATED_TS_FIELD_NUMBER: _ClassVar[int]
62
+ CREATED_TS_FIELD_NUMBER: _ClassVar[int]
63
+ PARENT_REF_FIELD_NUMBER: _ClassVar[int]
64
+ PROVIDER_ID_FIELD_NUMBER: _ClassVar[int]
65
+ id: str
66
+ name: str
67
+ status: str
68
+ user_id: str
69
+ last_updated_ts: _timestamp_pb2.Timestamp
70
+ created_ts: _timestamp_pb2.Timestamp
71
+ parent_ref: ParentRef
72
+ provider_id: str
73
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., status: _Optional[str] = ..., user_id: _Optional[str] = ..., last_updated_ts: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., created_ts: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., parent_ref: _Optional[_Union[ParentRef, _Mapping]] = ..., provider_id: _Optional[str] = ...) -> None: ...
74
+
75
+ class TrackedStatusHistory(_message.Message):
76
+ __slots__ = ("data_tracking_id", "status", "ts")
77
+ DATA_TRACKING_ID_FIELD_NUMBER: _ClassVar[int]
78
+ STATUS_FIELD_NUMBER: _ClassVar[int]
79
+ TS_FIELD_NUMBER: _ClassVar[int]
80
+ data_tracking_id: str
81
+ status: str
82
+ ts: _timestamp_pb2.Timestamp
83
+ def __init__(self, data_tracking_id: _Optional[str] = ..., status: _Optional[str] = ..., ts: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
84
+
85
+ class TrackedJob(_message.Message):
86
+ __slots__ = ("parent_ref", "info", "events", "status_history", "links")
87
+ PARENT_REF_FIELD_NUMBER: _ClassVar[int]
88
+ INFO_FIELD_NUMBER: _ClassVar[int]
89
+ EVENTS_FIELD_NUMBER: _ClassVar[int]
90
+ STATUS_HISTORY_FIELD_NUMBER: _ClassVar[int]
91
+ LINKS_FIELD_NUMBER: _ClassVar[int]
92
+ parent_ref: ParentRef
93
+ info: JobInfo
94
+ events: _containers.RepeatedCompositeFieldContainer[TrackedEvent]
95
+ status_history: _containers.RepeatedCompositeFieldContainer[TrackedStatusHistory]
96
+ links: _containers.RepeatedCompositeFieldContainer[Links]
97
+ def __init__(self, parent_ref: _Optional[_Union[ParentRef, _Mapping]] = ..., info: _Optional[_Union[JobInfo, _Mapping]] = ..., events: _Optional[_Iterable[_Union[TrackedEvent, _Mapping]]] = ..., status_history: _Optional[_Iterable[_Union[TrackedStatusHistory, _Mapping]]] = ..., links: _Optional[_Iterable[_Union[Links, _Mapping]]] = ...) -> None: ...
98
+
99
+ class DataTrackingGetQueryablesRequest(_message.Message):
100
+ __slots__ = ()
101
+ def __init__(self) -> None: ...
102
+
103
+ class DataTrackingGetQueryablesResponse(_message.Message):
104
+ __slots__ = ("queryables",)
105
+ QUERYABLES_FIELD_NUMBER: _ClassVar[int]
106
+ queryables: _struct_pb2.Struct
107
+ def __init__(self, queryables: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
108
+
109
+ class DataTrackingTrackedJobSearchRequest(_message.Message):
110
+ __slots__ = ("pagination", "filter_lang", "filter", "order_by")
111
+ PAGINATION_FIELD_NUMBER: _ClassVar[int]
112
+ FILTER_LANG_FIELD_NUMBER: _ClassVar[int]
113
+ FILTER_FIELD_NUMBER: _ClassVar[int]
114
+ ORDER_BY_FIELD_NUMBER: _ClassVar[int]
115
+ pagination: _common_models_pb2.Pagination
116
+ filter_lang: str
117
+ filter: str
118
+ order_by: str
119
+ def __init__(self, pagination: _Optional[_Union[_common_models_pb2.Pagination, _Mapping]] = ..., filter_lang: _Optional[str] = ..., filter: _Optional[str] = ..., order_by: _Optional[str] = ...) -> None: ...
120
+
121
+ class DataTrackingTrackedJobSearchResponse(_message.Message):
122
+ __slots__ = ("pagination", "jobs")
123
+ PAGINATION_FIELD_NUMBER: _ClassVar[int]
124
+ JOBS_FIELD_NUMBER: _ClassVar[int]
125
+ pagination: _common_models_pb2.Pagination
126
+ jobs: _containers.RepeatedCompositeFieldContainer[TrackedJob]
127
+ def __init__(self, pagination: _Optional[_Union[_common_models_pb2.Pagination, _Mapping]] = ..., jobs: _Optional[_Iterable[_Union[TrackedJob, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,51 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: data_type.proto
5
+ # Protobuf Python Version: 6.31.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
+ 31,
16
+ 1,
17
+ '',
18
+ 'data_type.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x64\x61ta_type.proto\x12\x07oi.papi\x1a\x1cgoogle/protobuf/struct.proto\"\x9a\x01\n\x08\x44\x61taType\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06schema\x18\x03 \x01(\t\x12\x17\n\x0f\x64\x61ta_source_ids\x18\x04 \x03(\t\x12\x13\n\x0bsensor_type\x18\x05 \x01(\t\x12-\n\x0cquery_schema\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x8e\x01\n\x15\x44\x61taTypeCreateRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06schema\x18\x03 \x01(\t\x12\x13\n\x0bsensor_type\x18\x04 \x01(\t\x12-\n\x0cquery_schema\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"S\n\x16\x44\x61taTypeCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12$\n\tdata_type\x18\x02 \x01(\x0b\x32\x11.oi.papi.DataType\"#\n\x12\x44\x61taTypeGetRequest\x12\r\n\x05names\x18\x01 \x03(\t\"Q\n\x13\x44\x61taTypeGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12%\n\ndata_types\x18\x02 \x03(\x0b\x32\x11.oi.papi.DataType\"*\n\x13\x44\x61taTypeListRequest\x12\x13\n\x0bsearch_text\x18\x01 \x01(\t\"R\n\x14\x44\x61taTypeListResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12%\n\ndata_types\x18\x02 \x03(\x0b\x32\x11.oi.papi.DataType2\xdf\x01\n\x0b\x44\x61taTypeAPI\x12I\n\x06\x63reate\x12\x1e.oi.papi.DataTypeCreateRequest\x1a\x1f.oi.papi.DataTypeCreateResponse\x12@\n\x03get\x12\x1b.oi.papi.DataTypeGetRequest\x1a\x1c.oi.papi.DataTypeGetResponse\x12\x43\n\x04list\x12\x1c.oi.papi.DataTypeListRequest\x1a\x1d.oi.papi.DataTypeListResponseb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'data_type_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
35
+ _globals['_DATATYPE']._serialized_start=59
36
+ _globals['_DATATYPE']._serialized_end=213
37
+ _globals['_DATATYPECREATEREQUEST']._serialized_start=216
38
+ _globals['_DATATYPECREATEREQUEST']._serialized_end=358
39
+ _globals['_DATATYPECREATERESPONSE']._serialized_start=360
40
+ _globals['_DATATYPECREATERESPONSE']._serialized_end=443
41
+ _globals['_DATATYPEGETREQUEST']._serialized_start=445
42
+ _globals['_DATATYPEGETREQUEST']._serialized_end=480
43
+ _globals['_DATATYPEGETRESPONSE']._serialized_start=482
44
+ _globals['_DATATYPEGETRESPONSE']._serialized_end=563
45
+ _globals['_DATATYPELISTREQUEST']._serialized_start=565
46
+ _globals['_DATATYPELISTREQUEST']._serialized_end=607
47
+ _globals['_DATATYPELISTRESPONSE']._serialized_start=609
48
+ _globals['_DATATYPELISTRESPONSE']._serialized_end=691
49
+ _globals['_DATATYPEAPI']._serialized_start=694
50
+ _globals['_DATATYPEAPI']._serialized_end=917
51
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,74 @@
1
+ from google.protobuf import struct_pb2 as _struct_pb2
2
+ from google.protobuf.internal import containers as _containers
3
+ from google.protobuf import descriptor as _descriptor
4
+ from google.protobuf import message as _message
5
+ from collections.abc import Iterable as _Iterable, Mapping as _Mapping
6
+ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
7
+
8
+ DESCRIPTOR: _descriptor.FileDescriptor
9
+
10
+ class DataType(_message.Message):
11
+ __slots__ = ("name", "description", "schema", "data_source_ids", "sensor_type", "query_schema")
12
+ NAME_FIELD_NUMBER: _ClassVar[int]
13
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
14
+ SCHEMA_FIELD_NUMBER: _ClassVar[int]
15
+ DATA_SOURCE_IDS_FIELD_NUMBER: _ClassVar[int]
16
+ SENSOR_TYPE_FIELD_NUMBER: _ClassVar[int]
17
+ QUERY_SCHEMA_FIELD_NUMBER: _ClassVar[int]
18
+ name: str
19
+ description: str
20
+ schema: str
21
+ data_source_ids: _containers.RepeatedScalarFieldContainer[str]
22
+ sensor_type: str
23
+ query_schema: _struct_pb2.Struct
24
+ def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., schema: _Optional[str] = ..., data_source_ids: _Optional[_Iterable[str]] = ..., sensor_type: _Optional[str] = ..., query_schema: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
25
+
26
+ class DataTypeCreateRequest(_message.Message):
27
+ __slots__ = ("name", "description", "schema", "sensor_type", "query_schema")
28
+ NAME_FIELD_NUMBER: _ClassVar[int]
29
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
30
+ SCHEMA_FIELD_NUMBER: _ClassVar[int]
31
+ SENSOR_TYPE_FIELD_NUMBER: _ClassVar[int]
32
+ QUERY_SCHEMA_FIELD_NUMBER: _ClassVar[int]
33
+ name: str
34
+ description: str
35
+ schema: str
36
+ sensor_type: str
37
+ query_schema: _struct_pb2.Struct
38
+ def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., schema: _Optional[str] = ..., sensor_type: _Optional[str] = ..., query_schema: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
39
+
40
+ class DataTypeCreateResponse(_message.Message):
41
+ __slots__ = ("status_code", "data_type")
42
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
43
+ DATA_TYPE_FIELD_NUMBER: _ClassVar[int]
44
+ status_code: int
45
+ data_type: DataType
46
+ def __init__(self, status_code: _Optional[int] = ..., data_type: _Optional[_Union[DataType, _Mapping]] = ...) -> None: ...
47
+
48
+ class DataTypeGetRequest(_message.Message):
49
+ __slots__ = ("names",)
50
+ NAMES_FIELD_NUMBER: _ClassVar[int]
51
+ names: _containers.RepeatedScalarFieldContainer[str]
52
+ def __init__(self, names: _Optional[_Iterable[str]] = ...) -> None: ...
53
+
54
+ class DataTypeGetResponse(_message.Message):
55
+ __slots__ = ("status_code", "data_types")
56
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
57
+ DATA_TYPES_FIELD_NUMBER: _ClassVar[int]
58
+ status_code: int
59
+ data_types: _containers.RepeatedCompositeFieldContainer[DataType]
60
+ def __init__(self, status_code: _Optional[int] = ..., data_types: _Optional[_Iterable[_Union[DataType, _Mapping]]] = ...) -> None: ...
61
+
62
+ class DataTypeListRequest(_message.Message):
63
+ __slots__ = ("search_text",)
64
+ SEARCH_TEXT_FIELD_NUMBER: _ClassVar[int]
65
+ search_text: str
66
+ def __init__(self, search_text: _Optional[str] = ...) -> None: ...
67
+
68
+ class DataTypeListResponse(_message.Message):
69
+ __slots__ = ("status_code", "data_types")
70
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
71
+ DATA_TYPES_FIELD_NUMBER: _ClassVar[int]
72
+ status_code: int
73
+ data_types: _containers.RepeatedCompositeFieldContainer[DataType]
74
+ def __init__(self, status_code: _Optional[int] = ..., data_types: _Optional[_Iterable[_Union[DataType, _Mapping]]] = ...) -> None: ...
@@ -0,0 +1,63 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: filter.proto
5
+ # Protobuf Python Version: 6.31.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
+ 31,
16
+ 1,
17
+ '',
18
+ 'filter.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
26
+ from elements_api.models import common_models_pb2 as common__models__pb2
27
+
28
+ from elements_api.models.common_models_pb2 import *
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x66ilter.proto\x12\x07oi.papi\x1a\x1cgoogle/protobuf/struct.proto\x1a\x13\x63ommon_models.proto\"\xb8\x01\n\x13\x46ilterCreateRequest\x12\x11\n\tdata_type\x18\x01 \x01(\t\x12\x12\n\nexpression\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x17\n\x0f\x66ilter_language\x18\x05 \x01(\t\x12)\n\x08metadata\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x13\n\x0b\x66ilter_type\x18\x07 \x01(\t\">\n\x14\x46ilterCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x11\n\tfilter_id\x18\x02 \x01(\t\"\"\n\x13\x46ilterDeleteRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\"+\n\x14\x46ilterDeleteResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"\xd8\x01\n\x1a\x46ilterMappingCreateRequest\x12\x16\n\x0e\x63omputation_id\x18\x01 \x01(\t\x12\x11\n\tfilter_id\x18\x02 \x01(\t\x12\x18\n\x0cinput_filter\x18\x03 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x11\x65xpression_params\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12)\n\x08metadata\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x16\n\x0e\x64\x61ta_source_id\x18\x06 \x01(\t\"2\n\x1b\x46ilterMappingCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"\x8e\x01\n\x11\x46ilterListRequest\x12\'\n\npagination\x18\x01 \x01(\x0b\x32\x13.oi.papi.Pagination\x12\x12\n\ndata_types\x18\x02 \x03(\t\x12\x13\n\x0bsearch_text\x18\x03 \x01(\t\x12\x12\n\nproject_id\x18\x04 \x01(\t\x12\x13\n\x0b\x66ilter_type\x18\x05 \x01(\t\"\x92\x03\n\x06\x46ilter\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\x12\x11\n\tdata_type\x18\x05 \x01(\t\x12\x37\n\x0f\x66ilter_language\x18\x06 \x01(\x0e\x32\x1e.oi.papi.Filter.FilterLanguage\x12)\n\x08metadata\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\x12/\n\x0b\x66ilter_type\x18\x08 \x01(\x0e\x32\x1a.oi.papi.Filter.FilterType\"K\n\x0e\x46ilterLanguage\x12\x1b\n\x17UNKNOWN_FILTER_LANGUAGE\x10\x00\x12\r\n\tCQL2_TEXT\x10\x01\x12\r\n\tCQL2_JSON\x10\x02\"P\n\nFilterType\x12\x17\n\x13UNKNOWN_FILTER_TYPE\x10\x00\x12\x0c\n\x08\x42OOKMARK\x10\x01\x12\x0f\n\x0b\x44\x41TA_SOURCE\x10\x02\x12\n\n\x06RESULT\x10\x03\"t\n\x12\x46ilterListResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12 \n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x0f.oi.papi.Filter\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination2\xb7\x02\n\tFilterApi\x12\x45\n\x06\x63reate\x12\x1c.oi.papi.FilterCreateRequest\x1a\x1d.oi.papi.FilterCreateResponse\x12\x45\n\x06\x64\x65lete\x12\x1c.oi.papi.FilterDeleteRequest\x1a\x1d.oi.papi.FilterDeleteResponse\x12[\n\x0e\x63reate_mapping\x12#.oi.papi.FilterMappingCreateRequest\x1a$.oi.papi.FilterMappingCreateResponse\x12?\n\x04list\x12\x1a.oi.papi.FilterListRequest\x1a\x1b.oi.papi.FilterListResponseP\x01\x62\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'filter_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ DESCRIPTOR._loaded_options = None
37
+ _globals['_FILTERMAPPINGCREATEREQUEST'].fields_by_name['input_filter']._loaded_options = None
38
+ _globals['_FILTERMAPPINGCREATEREQUEST'].fields_by_name['input_filter']._serialized_options = b'\030\001'
39
+ _globals['_FILTERCREATEREQUEST']._serialized_start=77
40
+ _globals['_FILTERCREATEREQUEST']._serialized_end=261
41
+ _globals['_FILTERCREATERESPONSE']._serialized_start=263
42
+ _globals['_FILTERCREATERESPONSE']._serialized_end=325
43
+ _globals['_FILTERDELETEREQUEST']._serialized_start=327
44
+ _globals['_FILTERDELETEREQUEST']._serialized_end=361
45
+ _globals['_FILTERDELETERESPONSE']._serialized_start=363
46
+ _globals['_FILTERDELETERESPONSE']._serialized_end=406
47
+ _globals['_FILTERMAPPINGCREATEREQUEST']._serialized_start=409
48
+ _globals['_FILTERMAPPINGCREATEREQUEST']._serialized_end=625
49
+ _globals['_FILTERMAPPINGCREATERESPONSE']._serialized_start=627
50
+ _globals['_FILTERMAPPINGCREATERESPONSE']._serialized_end=677
51
+ _globals['_FILTERLISTREQUEST']._serialized_start=680
52
+ _globals['_FILTERLISTREQUEST']._serialized_end=822
53
+ _globals['_FILTER']._serialized_start=825
54
+ _globals['_FILTER']._serialized_end=1227
55
+ _globals['_FILTER_FILTERLANGUAGE']._serialized_start=1070
56
+ _globals['_FILTER_FILTERLANGUAGE']._serialized_end=1145
57
+ _globals['_FILTER_FILTERTYPE']._serialized_start=1147
58
+ _globals['_FILTER_FILTERTYPE']._serialized_end=1227
59
+ _globals['_FILTERLISTRESPONSE']._serialized_start=1229
60
+ _globals['_FILTERLISTRESPONSE']._serialized_end=1345
61
+ _globals['_FILTERAPI']._serialized_start=1348
62
+ _globals['_FILTERAPI']._serialized_end=1659
63
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,133 @@
1
+ from google.protobuf import struct_pb2 as _struct_pb2
2
+ import common_models_pb2 as _common_models_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
+ from common_models_pb2 import Pagination as Pagination
10
+
11
+ DESCRIPTOR: _descriptor.FileDescriptor
12
+
13
+ class FilterCreateRequest(_message.Message):
14
+ __slots__ = ("data_type", "expression", "description", "name", "filter_language", "metadata", "filter_type")
15
+ DATA_TYPE_FIELD_NUMBER: _ClassVar[int]
16
+ EXPRESSION_FIELD_NUMBER: _ClassVar[int]
17
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
18
+ NAME_FIELD_NUMBER: _ClassVar[int]
19
+ FILTER_LANGUAGE_FIELD_NUMBER: _ClassVar[int]
20
+ METADATA_FIELD_NUMBER: _ClassVar[int]
21
+ FILTER_TYPE_FIELD_NUMBER: _ClassVar[int]
22
+ data_type: str
23
+ expression: str
24
+ description: str
25
+ name: str
26
+ filter_language: str
27
+ metadata: _struct_pb2.Struct
28
+ filter_type: str
29
+ def __init__(self, data_type: _Optional[str] = ..., expression: _Optional[str] = ..., description: _Optional[str] = ..., name: _Optional[str] = ..., filter_language: _Optional[str] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., filter_type: _Optional[str] = ...) -> None: ...
30
+
31
+ class FilterCreateResponse(_message.Message):
32
+ __slots__ = ("status_code", "filter_id")
33
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
34
+ FILTER_ID_FIELD_NUMBER: _ClassVar[int]
35
+ status_code: int
36
+ filter_id: str
37
+ def __init__(self, status_code: _Optional[int] = ..., filter_id: _Optional[str] = ...) -> None: ...
38
+
39
+ class FilterDeleteRequest(_message.Message):
40
+ __slots__ = ("ids",)
41
+ IDS_FIELD_NUMBER: _ClassVar[int]
42
+ ids: _containers.RepeatedScalarFieldContainer[str]
43
+ def __init__(self, ids: _Optional[_Iterable[str]] = ...) -> None: ...
44
+
45
+ class FilterDeleteResponse(_message.Message):
46
+ __slots__ = ("status_code",)
47
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
48
+ status_code: int
49
+ def __init__(self, status_code: _Optional[int] = ...) -> None: ...
50
+
51
+ class FilterMappingCreateRequest(_message.Message):
52
+ __slots__ = ("computation_id", "filter_id", "input_filter", "expression_params", "metadata", "data_source_id")
53
+ COMPUTATION_ID_FIELD_NUMBER: _ClassVar[int]
54
+ FILTER_ID_FIELD_NUMBER: _ClassVar[int]
55
+ INPUT_FILTER_FIELD_NUMBER: _ClassVar[int]
56
+ EXPRESSION_PARAMS_FIELD_NUMBER: _ClassVar[int]
57
+ METADATA_FIELD_NUMBER: _ClassVar[int]
58
+ DATA_SOURCE_ID_FIELD_NUMBER: _ClassVar[int]
59
+ computation_id: str
60
+ filter_id: str
61
+ input_filter: bool
62
+ expression_params: _struct_pb2.Struct
63
+ metadata: _struct_pb2.Struct
64
+ data_source_id: str
65
+ def __init__(self, computation_id: _Optional[str] = ..., filter_id: _Optional[str] = ..., input_filter: bool = ..., expression_params: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., data_source_id: _Optional[str] = ...) -> None: ...
66
+
67
+ class FilterMappingCreateResponse(_message.Message):
68
+ __slots__ = ("status_code",)
69
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
70
+ status_code: int
71
+ def __init__(self, status_code: _Optional[int] = ...) -> None: ...
72
+
73
+ class FilterListRequest(_message.Message):
74
+ __slots__ = ("pagination", "data_types", "search_text", "project_id", "filter_type")
75
+ PAGINATION_FIELD_NUMBER: _ClassVar[int]
76
+ DATA_TYPES_FIELD_NUMBER: _ClassVar[int]
77
+ SEARCH_TEXT_FIELD_NUMBER: _ClassVar[int]
78
+ PROJECT_ID_FIELD_NUMBER: _ClassVar[int]
79
+ FILTER_TYPE_FIELD_NUMBER: _ClassVar[int]
80
+ pagination: _common_models_pb2.Pagination
81
+ data_types: _containers.RepeatedScalarFieldContainer[str]
82
+ search_text: str
83
+ project_id: str
84
+ filter_type: str
85
+ def __init__(self, pagination: _Optional[_Union[_common_models_pb2.Pagination, _Mapping]] = ..., data_types: _Optional[_Iterable[str]] = ..., search_text: _Optional[str] = ..., project_id: _Optional[str] = ..., filter_type: _Optional[str] = ...) -> None: ...
86
+
87
+ class Filter(_message.Message):
88
+ __slots__ = ("id", "name", "description", "expression", "data_type", "filter_language", "metadata", "filter_type")
89
+ class FilterLanguage(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
90
+ __slots__ = ()
91
+ UNKNOWN_FILTER_LANGUAGE: _ClassVar[Filter.FilterLanguage]
92
+ CQL2_TEXT: _ClassVar[Filter.FilterLanguage]
93
+ CQL2_JSON: _ClassVar[Filter.FilterLanguage]
94
+ UNKNOWN_FILTER_LANGUAGE: Filter.FilterLanguage
95
+ CQL2_TEXT: Filter.FilterLanguage
96
+ CQL2_JSON: Filter.FilterLanguage
97
+ class FilterType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
98
+ __slots__ = ()
99
+ UNKNOWN_FILTER_TYPE: _ClassVar[Filter.FilterType]
100
+ BOOKMARK: _ClassVar[Filter.FilterType]
101
+ DATA_SOURCE: _ClassVar[Filter.FilterType]
102
+ RESULT: _ClassVar[Filter.FilterType]
103
+ UNKNOWN_FILTER_TYPE: Filter.FilterType
104
+ BOOKMARK: Filter.FilterType
105
+ DATA_SOURCE: Filter.FilterType
106
+ RESULT: Filter.FilterType
107
+ ID_FIELD_NUMBER: _ClassVar[int]
108
+ NAME_FIELD_NUMBER: _ClassVar[int]
109
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
110
+ EXPRESSION_FIELD_NUMBER: _ClassVar[int]
111
+ DATA_TYPE_FIELD_NUMBER: _ClassVar[int]
112
+ FILTER_LANGUAGE_FIELD_NUMBER: _ClassVar[int]
113
+ METADATA_FIELD_NUMBER: _ClassVar[int]
114
+ FILTER_TYPE_FIELD_NUMBER: _ClassVar[int]
115
+ id: str
116
+ name: str
117
+ description: str
118
+ expression: str
119
+ data_type: str
120
+ filter_language: Filter.FilterLanguage
121
+ metadata: _struct_pb2.Struct
122
+ filter_type: Filter.FilterType
123
+ def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., expression: _Optional[str] = ..., data_type: _Optional[str] = ..., filter_language: _Optional[_Union[Filter.FilterLanguage, str]] = ..., metadata: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., filter_type: _Optional[_Union[Filter.FilterType, str]] = ...) -> None: ...
124
+
125
+ class FilterListResponse(_message.Message):
126
+ __slots__ = ("status_code", "filters", "pagination")
127
+ STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
128
+ FILTERS_FIELD_NUMBER: _ClassVar[int]
129
+ PAGINATION_FIELD_NUMBER: _ClassVar[int]
130
+ status_code: int
131
+ filters: _containers.RepeatedCompositeFieldContainer[Filter]
132
+ pagination: _common_models_pb2.Pagination
133
+ def __init__(self, status_code: _Optional[int] = ..., filters: _Optional[_Iterable[_Union[Filter, _Mapping]]] = ..., pagination: _Optional[_Union[_common_models_pb2.Pagination, _Mapping]] = ...) -> None: ...
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: forgot_password.proto
5
+ # Protobuf Python Version: 6.31.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
+ 31,
16
+ 1,
17
+ '',
18
+ 'forgot_password.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from elements_api.models import common_models_pb2 as common__models__pb2
26
+
27
+ from elements_api.models.common_models_pb2 import *
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x66orgot_password.proto\x12\x07oi.papi\x1a\x13\x63ommon_models.proto\"/\n\x19UserForgotPasswordRequest\x12\x12\n\nuser_email\x18\x01 \x01(\t\"1\n\x1aUserForgotPasswordResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r2o\n\x11\x46orgotPasswordApi\x12Z\n\x0f\x66orgot_password\x12\".oi.papi.UserForgotPasswordRequest\x1a#.oi.papi.UserForgotPasswordResponseP\x00\x62\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'forgot_password_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ DESCRIPTOR._loaded_options = None
36
+ _globals['_USERFORGOTPASSWORDREQUEST']._serialized_start=55
37
+ _globals['_USERFORGOTPASSWORDREQUEST']._serialized_end=102
38
+ _globals['_USERFORGOTPASSWORDRESPONSE']._serialized_start=104
39
+ _globals['_USERFORGOTPASSWORDRESPONSE']._serialized_end=153
40
+ _globals['_FORGOTPASSWORDAPI']._serialized_start=155
41
+ _globals['_FORGOTPASSWORDAPI']._serialized_end=266
42
+ # @@protoc_insertion_point(module_scope)