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.
- elements_api/__init__.py +8 -0
- elements_api/async_client.py +43 -0
- elements_api/async_interceptors.py +105 -0
- elements_api/elements_base_api.py +454 -0
- elements_api/models/__init__.py +47 -0
- elements_api/models/algorithm_computation_execution_pb2.py +48 -0
- elements_api/models/algorithm_computation_execution_pb2.pyi +84 -0
- elements_api/models/algorithm_computation_pb2.py +61 -0
- elements_api/models/algorithm_computation_pb2.pyi +134 -0
- elements_api/models/algorithm_config_pb2.py +90 -0
- elements_api/models/algorithm_config_pb2.pyi +185 -0
- elements_api/models/algorithm_manifest_pb2.py +43 -0
- elements_api/models/algorithm_manifest_pb2.pyi +25 -0
- elements_api/models/algorithm_pb2.py +57 -0
- elements_api/models/algorithm_pb2.pyi +96 -0
- elements_api/models/algorithm_version_pb2.py +88 -0
- elements_api/models/algorithm_version_pb2.pyi +233 -0
- elements_api/models/analysis_computation_pb2.py +69 -0
- elements_api/models/analysis_computation_pb2.pyi +159 -0
- elements_api/models/analysis_config_pb2.py +127 -0
- elements_api/models/analysis_config_pb2.pyi +180 -0
- elements_api/models/analysis_pb2.py +57 -0
- elements_api/models/analysis_pb2.pyi +98 -0
- elements_api/models/analysis_version_pb2.py +77 -0
- elements_api/models/analysis_version_pb2.pyi +141 -0
- elements_api/models/aoi_catalog_pb2.py +71 -0
- elements_api/models/aoi_catalog_pb2.pyi +162 -0
- elements_api/models/aoi_collection_pb2.py +67 -0
- elements_api/models/aoi_collection_pb2.pyi +146 -0
- elements_api/models/aoi_export_pb2.py +48 -0
- elements_api/models/aoi_export_pb2.pyi +62 -0
- elements_api/models/aoi_pb2.py +66 -0
- elements_api/models/aoi_pb2.pyi +191 -0
- elements_api/models/aoi_transaction_pb2.py +52 -0
- elements_api/models/aoi_transaction_pb2.pyi +56 -0
- elements_api/models/aoi_version_pb2.py +63 -0
- elements_api/models/aoi_version_pb2.pyi +171 -0
- elements_api/models/common_models_pb2.py +36 -0
- elements_api/models/common_models_pb2.pyi +15 -0
- elements_api/models/credit_pb2.py +79 -0
- elements_api/models/credit_pb2.pyi +216 -0
- elements_api/models/data_source_pb2.py +53 -0
- elements_api/models/data_source_pb2.pyi +86 -0
- elements_api/models/data_tracking_pb2.py +60 -0
- elements_api/models/data_tracking_pb2.pyi +127 -0
- elements_api/models/data_type_pb2.py +51 -0
- elements_api/models/data_type_pb2.pyi +74 -0
- elements_api/models/filter_pb2.py +63 -0
- elements_api/models/filter_pb2.pyi +133 -0
- elements_api/models/forgot_password_pb2.py +42 -0
- elements_api/models/forgot_password_pb2.pyi +19 -0
- elements_api/models/notification_pb2.py +82 -0
- elements_api/models/notification_pb2.pyi +180 -0
- elements_api/models/order_pb2.py +68 -0
- elements_api/models/order_pb2.pyi +181 -0
- elements_api/models/order_recommendation_pb2.py +53 -0
- elements_api/models/order_recommendation_pb2.pyi +99 -0
- elements_api/models/permission_pb2.py +84 -0
- elements_api/models/permission_pb2.pyi +177 -0
- elements_api/models/project_analysis_config_pb2.py +154 -0
- elements_api/models/project_analysis_config_pb2.pyi +76 -0
- elements_api/models/project_aoi_pb2.py +66 -0
- elements_api/models/project_aoi_pb2.pyi +118 -0
- elements_api/models/project_collaborator_pb2.py +54 -0
- elements_api/models/project_collaborator_pb2.pyi +74 -0
- elements_api/models/project_filter_pb2.py +55 -0
- elements_api/models/project_filter_pb2.pyi +61 -0
- elements_api/models/project_group_pb2.py +198 -0
- elements_api/models/project_group_pb2.pyi +119 -0
- elements_api/models/project_pb2.py +217 -0
- elements_api/models/project_pb2.pyi +314 -0
- elements_api/models/project_result_pb2.py +123 -0
- elements_api/models/project_result_pb2.pyi +221 -0
- elements_api/models/provider_quotas_pb2.py +42 -0
- elements_api/models/provider_quotas_pb2.pyi +33 -0
- elements_api/models/resource_pb2.py +64 -0
- elements_api/models/resource_pb2.pyi +133 -0
- elements_api/models/result_pb2.py +65 -0
- elements_api/models/result_pb2.pyi +158 -0
- elements_api/models/s3_pb2.py +52 -0
- elements_api/models/s3_pb2.pyi +49 -0
- elements_api/models/subject_pb2.py +36 -0
- elements_api/models/subject_pb2.pyi +11 -0
- elements_api/models/system_pb2.py +47 -0
- elements_api/models/system_pb2.pyi +28 -0
- elements_api/models/tasking_order_pb2.py +75 -0
- elements_api/models/tasking_order_pb2.pyi +156 -0
- elements_api/models/tile_pb2.py +52 -0
- elements_api/models/tile_pb2.pyi +77 -0
- elements_api/models/toi_pb2.py +67 -0
- elements_api/models/toi_pb2.pyi +138 -0
- elements_api/models/token_pb2.py +42 -0
- elements_api/models/token_pb2.pyi +23 -0
- elements_api/models/user_collection_pb2.py +78 -0
- elements_api/models/user_collection_pb2.pyi +172 -0
- elements_api/models/user_pb2.py +86 -0
- elements_api/models/user_pb2.pyi +183 -0
- elements_api/models/visualization_pb2.py +70 -0
- elements_api/models/visualization_pb2.pyi +187 -0
- elements_api/stubs/__init__.py +47 -0
- elements_api/stubs/algorithm_computation_execution_pb2_grpc.py +111 -0
- elements_api/stubs/algorithm_computation_pb2_grpc.py +251 -0
- elements_api/stubs/algorithm_config_pb2_grpc.py +377 -0
- elements_api/stubs/algorithm_manifest_pb2_grpc.py +99 -0
- elements_api/stubs/algorithm_pb2_grpc.py +239 -0
- elements_api/stubs/algorithm_version_pb2_grpc.py +336 -0
- elements_api/stubs/analysis_computation_pb2_grpc.py +239 -0
- elements_api/stubs/analysis_config_pb2_grpc.py +283 -0
- elements_api/stubs/analysis_pb2_grpc.py +192 -0
- elements_api/stubs/analysis_version_pb2_grpc.py +198 -0
- elements_api/stubs/aoi_catalog_pb2_grpc.py +273 -0
- elements_api/stubs/aoi_collection_pb2_grpc.py +327 -0
- elements_api/stubs/aoi_export_pb2_grpc.py +144 -0
- elements_api/stubs/aoi_pb2_grpc.py +241 -0
- elements_api/stubs/aoi_transaction_pb2_grpc.py +145 -0
- elements_api/stubs/aoi_version_pb2_grpc.py +192 -0
- elements_api/stubs/common_models_pb2_grpc.py +24 -0
- elements_api/stubs/credit_pb2_grpc.py +418 -0
- elements_api/stubs/data_source_pb2_grpc.py +144 -0
- elements_api/stubs/data_tracking_pb2_grpc.py +140 -0
- elements_api/stubs/data_type_pb2_grpc.py +189 -0
- elements_api/stubs/filter_pb2_grpc.py +234 -0
- elements_api/stubs/forgot_password_pb2_grpc.py +100 -0
- elements_api/stubs/notification_pb2_grpc.py +414 -0
- elements_api/stubs/order_pb2_grpc.py +279 -0
- elements_api/stubs/order_recommendation_pb2_grpc.py +183 -0
- elements_api/stubs/permission_pb2_grpc.py +282 -0
- elements_api/stubs/project_analysis_config_pb2_grpc.py +99 -0
- elements_api/stubs/project_aoi_pb2_grpc.py +279 -0
- elements_api/stubs/project_collaborator_pb2_grpc.py +189 -0
- elements_api/stubs/project_filter_pb2_grpc.py +144 -0
- elements_api/stubs/project_group_pb2_grpc.py +234 -0
- elements_api/stubs/project_pb2_grpc.py +504 -0
- elements_api/stubs/project_result_pb2_grpc.py +234 -0
- elements_api/stubs/provider_quotas_pb2_grpc.py +99 -0
- elements_api/stubs/resource_pb2_grpc.py +228 -0
- elements_api/stubs/result_pb2_grpc.py +99 -0
- elements_api/stubs/s3_pb2_grpc.py +99 -0
- elements_api/stubs/subject_pb2_grpc.py +24 -0
- elements_api/stubs/system_pb2_grpc.py +142 -0
- elements_api/stubs/tasking_order_pb2_grpc.py +279 -0
- elements_api/stubs/tile_pb2_grpc.py +99 -0
- elements_api/stubs/toi_pb2_grpc.py +281 -0
- elements_api/stubs/token_pb2_grpc.py +100 -0
- elements_api/stubs/user_collection_pb2_grpc.py +370 -0
- elements_api/stubs/user_pb2_grpc.py +559 -0
- elements_api/stubs/visualization_pb2_grpc.py +234 -0
- elements_api/sync_client.py +34 -0
- elements_api-2025.11.4.dist-info/METADATA +11 -0
- elements_api-2025.11.4.dist-info/RECORD +153 -0
- elements_api-2025.11.4.dist-info/WHEEL +5 -0
- elements_api-2025.11.4.dist-info/licenses/LICENSE +7 -0
- elements_api-2025.11.4.dist-info/top_level.txt +1 -0
|
@@ -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: aoi_version.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
|
+
'aoi_version.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
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from elements_api.models import aoi_pb2 as aoi__pb2
|
|
28
|
+
try:
|
|
29
|
+
common__models__pb2 = aoi__pb2.common__models__pb2
|
|
30
|
+
except AttributeError:
|
|
31
|
+
common__models__pb2 = aoi__pb2.common_models_pb2
|
|
32
|
+
|
|
33
|
+
from elements_api.models.common_models_pb2 import *
|
|
34
|
+
from elements_api.models.aoi_pb2 import *
|
|
35
|
+
|
|
36
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x61oi_version.proto\x12\x07oi.papi\x1a\x13\x63ommon_models.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\taoi.proto\"s\n\x14\x41OIVersionGetRequest\x12\x0b\n\x03ids\x18\x01 \x03(\r\x12%\n\naoi_fields\x18\x02 \x03(\x0e\x32\x11.oi.papi.AOIField\x12\'\n\npagination\x18\x03 \x01(\x0b\x32\x13.oi.papi.Pagination\"\x80\x01\n\x15\x41OIVersionGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\'\n\npagination\x18\x02 \x01(\x0b\x32\x13.oi.papi.Pagination\x12)\n\x0c\x61oi_versions\x18\x03 \x03(\x0b\x32\x13.oi.papi.AOIVersion\"\\\n\x17\x41OIVersionCreateRequest\x12\x0e\n\x06\x61oi_id\x18\x01 \x01(\t\x12\x31\n\x16\x61oi_modification_input\x18\x02 \x01(\x0b\x32\x11.oi.papi.AOIInput\"\x82\x01\n\x18\x41OIVersionCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\'\n\npagination\x18\x02 \x01(\x0b\x32\x13.oi.papi.Pagination\x12(\n\x0b\x61oi_version\x18\x03 \x01(\x0b\x32\x13.oi.papi.AOIVersion\"\xc1\x05\n\x15\x41OIVersionListRequest\x12\x10\n\x08geom_wkt\x18\x01 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x02 \x01(\t\x12\x0c\n\x04tags\x18\x03 \x03(\t\x12\x13\n\x0bsearch_text\x18\x04 \x01(\t\x12\x32\n\x0emin_created_on\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0emax_created_on\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12%\n\naoi_fields\x18\x07 \x03(\x0e\x32\x11.oi.papi.AOIField\x12\'\n\npagination\x18\x08 \x01(\x0b\x32\x13.oi.papi.Pagination\x12\x0f\n\x07verbose\x18\t \x01(\x08\x12\x0c\n\x04\x62\x62ox\x18\n \x03(\x01\x12$\n\tsort_keys\x18\x0b \x01(\x0e\x32\x11.oi.papi.AOIField\x12<\n\nsort_order\x18\x0c \x01(\x0e\x32(.oi.papi.AOIVersionListRequest.SortOrder\x12\x10\n\x08\x61oi_type\x18\r \x01(\t\x12\x0f\n\x07\x63ountry\x18\x0e \x01(\t\x12\r\n\x05state\x18\x0f \x01(\t\x12\x10\n\x08min_area\x18\x10 \x01(\x01\x12\x10\n\x08max_area\x18\x11 \x01(\x01\x12\x14\n\x0c\x64\x61ta_sources\x18\x12 \x03(\t\x12@\n\x0clibrary_type\x18\x13 \x01(\x0e\x32*.oi.papi.AOIVersionListRequest.LibraryType\"@\n\x0bLibraryType\x12\x18\n\x14UNKNOWN_LIBRARY_TYPE\x10\x00\x12\x0b\n\x07PRIVATE\x10\x01\x12\n\n\x06PUBLIC\x10\x02\"6\n\tSortOrder\x12\x16\n\x12UNKNOWN_SORT_ORDER\x10\x00\x12\x07\n\x03\x41SC\x10\x01\x12\x08\n\x04\x44\x45SC\x10\x02\"\x81\x01\n\x16\x41OIVersionListResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\'\n\npagination\x18\x02 \x01(\x0b\x32\x13.oi.papi.Pagination\x12)\n\x0c\x61oi_versions\x18\x03 \x03(\x0b\x32\x13.oi.papi.AOIVersion*\xea\x01\n\x08\x41OIField\x12\x15\n\x11UNKNOWN_AOI_FIELD\x10\x00\x12\n\n\x06\x41OI_ID\x10\x01\x12\x0c\n\x08GEOM_WKT\x10\x02\x12\x07\n\x03LAT\x10\x03\x12\x08\n\x04LONG\x10\x04\x12\x08\n\x04NAME\x10\x05\x12\x0c\n\x08\x41REA_KM2\x10\x06\x12\x0c\n\x08\x43\x41TEGORY\x10\x07\x12\x08\n\x04TYPE\x10\x08\x12\n\n\x06SOURCE\x10\t\x12\x0b\n\x07\x43OUNTRY\x10\n\x12\t\n\x05STATE\x10\x0b\x12\x08\n\x04TAGS\x10\x0c\x12\x0e\n\nATTRIBUTES\x10\r\x12\x0c\n\x08TIMEZONE\x10\x0e\x12\x0e\n\nCREATED_ON\x10\x0f\x12\x0e\n\nCREATED_BY\x10\x10\x32\xed\x01\n\rAOIVersionApi\x12M\n\x06\x63reate\x12 .oi.papi.AOIVersionCreateRequest\x1a!.oi.papi.AOIVersionCreateResponse\x12\x44\n\x03get\x12\x1d.oi.papi.AOIVersionGetRequest\x1a\x1e.oi.papi.AOIVersionGetResponse\x12G\n\x04list\x12\x1e.oi.papi.AOIVersionListRequest\x1a\x1f.oi.papi.AOIVersionListResponseP\x00P\x02\x62\x06proto3')
|
|
37
|
+
|
|
38
|
+
_globals = globals()
|
|
39
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
40
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'aoi_version_pb2', _globals)
|
|
41
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
42
|
+
DESCRIPTOR._loaded_options = None
|
|
43
|
+
_globals['_AOIFIELD']._serialized_start=1411
|
|
44
|
+
_globals['_AOIFIELD']._serialized_end=1645
|
|
45
|
+
_globals['_AOIVERSIONGETREQUEST']._serialized_start=95
|
|
46
|
+
_globals['_AOIVERSIONGETREQUEST']._serialized_end=210
|
|
47
|
+
_globals['_AOIVERSIONGETRESPONSE']._serialized_start=213
|
|
48
|
+
_globals['_AOIVERSIONGETRESPONSE']._serialized_end=341
|
|
49
|
+
_globals['_AOIVERSIONCREATEREQUEST']._serialized_start=343
|
|
50
|
+
_globals['_AOIVERSIONCREATEREQUEST']._serialized_end=435
|
|
51
|
+
_globals['_AOIVERSIONCREATERESPONSE']._serialized_start=438
|
|
52
|
+
_globals['_AOIVERSIONCREATERESPONSE']._serialized_end=568
|
|
53
|
+
_globals['_AOIVERSIONLISTREQUEST']._serialized_start=571
|
|
54
|
+
_globals['_AOIVERSIONLISTREQUEST']._serialized_end=1276
|
|
55
|
+
_globals['_AOIVERSIONLISTREQUEST_LIBRARYTYPE']._serialized_start=1156
|
|
56
|
+
_globals['_AOIVERSIONLISTREQUEST_LIBRARYTYPE']._serialized_end=1220
|
|
57
|
+
_globals['_AOIVERSIONLISTREQUEST_SORTORDER']._serialized_start=1222
|
|
58
|
+
_globals['_AOIVERSIONLISTREQUEST_SORTORDER']._serialized_end=1276
|
|
59
|
+
_globals['_AOIVERSIONLISTRESPONSE']._serialized_start=1279
|
|
60
|
+
_globals['_AOIVERSIONLISTRESPONSE']._serialized_end=1408
|
|
61
|
+
_globals['_AOIVERSIONAPI']._serialized_start=1648
|
|
62
|
+
_globals['_AOIVERSIONAPI']._serialized_end=1885
|
|
63
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
import common_models_pb2 as _common_models_pb2
|
|
4
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
5
|
+
import aoi_pb2 as _aoi_pb2
|
|
6
|
+
import common_models_pb2 as _common_models_pb2_1
|
|
7
|
+
from google.protobuf.internal import containers as _containers
|
|
8
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
9
|
+
from google.protobuf import descriptor as _descriptor
|
|
10
|
+
from google.protobuf import message as _message
|
|
11
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
12
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
13
|
+
from common_models_pb2 import Pagination as Pagination
|
|
14
|
+
from aoi_pb2 import AOITransaction as AOITransaction
|
|
15
|
+
from aoi_pb2 import AOIIdentifier as AOIIdentifier
|
|
16
|
+
from aoi_pb2 import AOIObject as AOIObject
|
|
17
|
+
from aoi_pb2 import AOIVersion as AOIVersion
|
|
18
|
+
from aoi_pb2 import AOIInput as AOIInput
|
|
19
|
+
from aoi_pb2 import AOICreateRequest as AOICreateRequest
|
|
20
|
+
from aoi_pb2 import AOICreateResponse as AOICreateResponse
|
|
21
|
+
from aoi_pb2 import AOIUploadRequest as AOIUploadRequest
|
|
22
|
+
from aoi_pb2 import AOIUploadResponse as AOIUploadResponse
|
|
23
|
+
from aoi_pb2 import AOIGetRequest as AOIGetRequest
|
|
24
|
+
from aoi_pb2 import AOIGetResponse as AOIGetResponse
|
|
25
|
+
from aoi_pb2 import AOIUpdateRequest as AOIUpdateRequest
|
|
26
|
+
from aoi_pb2 import AOIUpdateResponse as AOIUpdateResponse
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
29
|
+
|
|
30
|
+
class AOIField(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
31
|
+
__slots__ = ()
|
|
32
|
+
UNKNOWN_AOI_FIELD: _ClassVar[AOIField]
|
|
33
|
+
AOI_ID: _ClassVar[AOIField]
|
|
34
|
+
GEOM_WKT: _ClassVar[AOIField]
|
|
35
|
+
LAT: _ClassVar[AOIField]
|
|
36
|
+
LONG: _ClassVar[AOIField]
|
|
37
|
+
NAME: _ClassVar[AOIField]
|
|
38
|
+
AREA_KM2: _ClassVar[AOIField]
|
|
39
|
+
CATEGORY: _ClassVar[AOIField]
|
|
40
|
+
TYPE: _ClassVar[AOIField]
|
|
41
|
+
SOURCE: _ClassVar[AOIField]
|
|
42
|
+
COUNTRY: _ClassVar[AOIField]
|
|
43
|
+
STATE: _ClassVar[AOIField]
|
|
44
|
+
TAGS: _ClassVar[AOIField]
|
|
45
|
+
ATTRIBUTES: _ClassVar[AOIField]
|
|
46
|
+
TIMEZONE: _ClassVar[AOIField]
|
|
47
|
+
CREATED_ON: _ClassVar[AOIField]
|
|
48
|
+
CREATED_BY: _ClassVar[AOIField]
|
|
49
|
+
UNKNOWN_AOI_FIELD: AOIField
|
|
50
|
+
AOI_ID: AOIField
|
|
51
|
+
GEOM_WKT: AOIField
|
|
52
|
+
LAT: AOIField
|
|
53
|
+
LONG: AOIField
|
|
54
|
+
NAME: AOIField
|
|
55
|
+
AREA_KM2: AOIField
|
|
56
|
+
CATEGORY: AOIField
|
|
57
|
+
TYPE: AOIField
|
|
58
|
+
SOURCE: AOIField
|
|
59
|
+
COUNTRY: AOIField
|
|
60
|
+
STATE: AOIField
|
|
61
|
+
TAGS: AOIField
|
|
62
|
+
ATTRIBUTES: AOIField
|
|
63
|
+
TIMEZONE: AOIField
|
|
64
|
+
CREATED_ON: AOIField
|
|
65
|
+
CREATED_BY: AOIField
|
|
66
|
+
|
|
67
|
+
class AOIVersionGetRequest(_message.Message):
|
|
68
|
+
__slots__ = ("ids", "aoi_fields", "pagination")
|
|
69
|
+
IDS_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
+
AOI_FIELDS_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
ids: _containers.RepeatedScalarFieldContainer[int]
|
|
73
|
+
aoi_fields: _containers.RepeatedScalarFieldContainer[AOIField]
|
|
74
|
+
pagination: _common_models_pb2_1.Pagination
|
|
75
|
+
def __init__(self, ids: _Optional[_Iterable[int]] = ..., aoi_fields: _Optional[_Iterable[_Union[AOIField, str]]] = ..., pagination: _Optional[_Union[_common_models_pb2_1.Pagination, _Mapping]] = ...) -> None: ...
|
|
76
|
+
|
|
77
|
+
class AOIVersionGetResponse(_message.Message):
|
|
78
|
+
__slots__ = ("status_code", "pagination", "aoi_versions")
|
|
79
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
81
|
+
AOI_VERSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
+
status_code: int
|
|
83
|
+
pagination: _common_models_pb2_1.Pagination
|
|
84
|
+
aoi_versions: _containers.RepeatedCompositeFieldContainer[_aoi_pb2.AOIVersion]
|
|
85
|
+
def __init__(self, status_code: _Optional[int] = ..., pagination: _Optional[_Union[_common_models_pb2_1.Pagination, _Mapping]] = ..., aoi_versions: _Optional[_Iterable[_Union[_aoi_pb2.AOIVersion, _Mapping]]] = ...) -> None: ...
|
|
86
|
+
|
|
87
|
+
class AOIVersionCreateRequest(_message.Message):
|
|
88
|
+
__slots__ = ("aoi_id", "aoi_modification_input")
|
|
89
|
+
AOI_ID_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
AOI_MODIFICATION_INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
aoi_id: str
|
|
92
|
+
aoi_modification_input: _aoi_pb2.AOIInput
|
|
93
|
+
def __init__(self, aoi_id: _Optional[str] = ..., aoi_modification_input: _Optional[_Union[_aoi_pb2.AOIInput, _Mapping]] = ...) -> None: ...
|
|
94
|
+
|
|
95
|
+
class AOIVersionCreateResponse(_message.Message):
|
|
96
|
+
__slots__ = ("status_code", "pagination", "aoi_version")
|
|
97
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
AOI_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
status_code: int
|
|
101
|
+
pagination: _common_models_pb2_1.Pagination
|
|
102
|
+
aoi_version: _aoi_pb2.AOIVersion
|
|
103
|
+
def __init__(self, status_code: _Optional[int] = ..., pagination: _Optional[_Union[_common_models_pb2_1.Pagination, _Mapping]] = ..., aoi_version: _Optional[_Union[_aoi_pb2.AOIVersion, _Mapping]] = ...) -> None: ...
|
|
104
|
+
|
|
105
|
+
class AOIVersionListRequest(_message.Message):
|
|
106
|
+
__slots__ = ("geom_wkt", "category", "tags", "search_text", "min_created_on", "max_created_on", "aoi_fields", "pagination", "verbose", "bbox", "sort_keys", "sort_order", "aoi_type", "country", "state", "min_area", "max_area", "data_sources", "library_type")
|
|
107
|
+
class LibraryType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
108
|
+
__slots__ = ()
|
|
109
|
+
UNKNOWN_LIBRARY_TYPE: _ClassVar[AOIVersionListRequest.LibraryType]
|
|
110
|
+
PRIVATE: _ClassVar[AOIVersionListRequest.LibraryType]
|
|
111
|
+
PUBLIC: _ClassVar[AOIVersionListRequest.LibraryType]
|
|
112
|
+
UNKNOWN_LIBRARY_TYPE: AOIVersionListRequest.LibraryType
|
|
113
|
+
PRIVATE: AOIVersionListRequest.LibraryType
|
|
114
|
+
PUBLIC: AOIVersionListRequest.LibraryType
|
|
115
|
+
class SortOrder(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
116
|
+
__slots__ = ()
|
|
117
|
+
UNKNOWN_SORT_ORDER: _ClassVar[AOIVersionListRequest.SortOrder]
|
|
118
|
+
ASC: _ClassVar[AOIVersionListRequest.SortOrder]
|
|
119
|
+
DESC: _ClassVar[AOIVersionListRequest.SortOrder]
|
|
120
|
+
UNKNOWN_SORT_ORDER: AOIVersionListRequest.SortOrder
|
|
121
|
+
ASC: AOIVersionListRequest.SortOrder
|
|
122
|
+
DESC: AOIVersionListRequest.SortOrder
|
|
123
|
+
GEOM_WKT_FIELD_NUMBER: _ClassVar[int]
|
|
124
|
+
CATEGORY_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
TAGS_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
SEARCH_TEXT_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
+
MIN_CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
128
|
+
MAX_CREATED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
129
|
+
AOI_FIELDS_FIELD_NUMBER: _ClassVar[int]
|
|
130
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
+
VERBOSE_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
+
BBOX_FIELD_NUMBER: _ClassVar[int]
|
|
133
|
+
SORT_KEYS_FIELD_NUMBER: _ClassVar[int]
|
|
134
|
+
SORT_ORDER_FIELD_NUMBER: _ClassVar[int]
|
|
135
|
+
AOI_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
+
COUNTRY_FIELD_NUMBER: _ClassVar[int]
|
|
137
|
+
STATE_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
MIN_AREA_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
MAX_AREA_FIELD_NUMBER: _ClassVar[int]
|
|
140
|
+
DATA_SOURCES_FIELD_NUMBER: _ClassVar[int]
|
|
141
|
+
LIBRARY_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
142
|
+
geom_wkt: str
|
|
143
|
+
category: str
|
|
144
|
+
tags: _containers.RepeatedScalarFieldContainer[str]
|
|
145
|
+
search_text: str
|
|
146
|
+
min_created_on: _timestamp_pb2.Timestamp
|
|
147
|
+
max_created_on: _timestamp_pb2.Timestamp
|
|
148
|
+
aoi_fields: _containers.RepeatedScalarFieldContainer[AOIField]
|
|
149
|
+
pagination: _common_models_pb2_1.Pagination
|
|
150
|
+
verbose: bool
|
|
151
|
+
bbox: _containers.RepeatedScalarFieldContainer[float]
|
|
152
|
+
sort_keys: AOIField
|
|
153
|
+
sort_order: AOIVersionListRequest.SortOrder
|
|
154
|
+
aoi_type: str
|
|
155
|
+
country: str
|
|
156
|
+
state: str
|
|
157
|
+
min_area: float
|
|
158
|
+
max_area: float
|
|
159
|
+
data_sources: _containers.RepeatedScalarFieldContainer[str]
|
|
160
|
+
library_type: AOIVersionListRequest.LibraryType
|
|
161
|
+
def __init__(self, geom_wkt: _Optional[str] = ..., category: _Optional[str] = ..., tags: _Optional[_Iterable[str]] = ..., search_text: _Optional[str] = ..., min_created_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., max_created_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., aoi_fields: _Optional[_Iterable[_Union[AOIField, str]]] = ..., pagination: _Optional[_Union[_common_models_pb2_1.Pagination, _Mapping]] = ..., verbose: bool = ..., bbox: _Optional[_Iterable[float]] = ..., sort_keys: _Optional[_Union[AOIField, str]] = ..., sort_order: _Optional[_Union[AOIVersionListRequest.SortOrder, str]] = ..., aoi_type: _Optional[str] = ..., country: _Optional[str] = ..., state: _Optional[str] = ..., min_area: _Optional[float] = ..., max_area: _Optional[float] = ..., data_sources: _Optional[_Iterable[str]] = ..., library_type: _Optional[_Union[AOIVersionListRequest.LibraryType, str]] = ...) -> None: ...
|
|
162
|
+
|
|
163
|
+
class AOIVersionListResponse(_message.Message):
|
|
164
|
+
__slots__ = ("status_code", "pagination", "aoi_versions")
|
|
165
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
166
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
167
|
+
AOI_VERSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
168
|
+
status_code: int
|
|
169
|
+
pagination: _common_models_pb2_1.Pagination
|
|
170
|
+
aoi_versions: _containers.RepeatedCompositeFieldContainer[_aoi_pb2.AOIVersion]
|
|
171
|
+
def __init__(self, status_code: _Optional[int] = ..., pagination: _Optional[_Union[_common_models_pb2_1.Pagination, _Mapping]] = ..., aoi_versions: _Optional[_Iterable[_Union[_aoi_pb2.AOIVersion, _Mapping]]] = ...) -> None: ...
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: common_models.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
|
+
'common_models.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x63ommon_models.proto\x12\x07oi.papi\"L\n\nPagination\x12\x12\n\npage_token\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\r\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\tb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common_models_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
DESCRIPTOR._loaded_options = None
|
|
34
|
+
_globals['_PAGINATION']._serialized_start=32
|
|
35
|
+
_globals['_PAGINATION']._serialized_end=108
|
|
36
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from google.protobuf import descriptor as _descriptor
|
|
2
|
+
from google.protobuf import message as _message
|
|
3
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional
|
|
4
|
+
|
|
5
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
6
|
+
|
|
7
|
+
class Pagination(_message.Message):
|
|
8
|
+
__slots__ = ("page_token", "page_size", "next_page_token")
|
|
9
|
+
PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
10
|
+
PAGE_SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
page_token: str
|
|
13
|
+
page_size: int
|
|
14
|
+
next_page_token: str
|
|
15
|
+
def __init__(self, page_token: _Optional[str] = ..., page_size: _Optional[int] = ..., next_page_token: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: credit.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
|
+
'credit.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__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\x63redit.proto\x12\x0eoi.papi.credit\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13\x63ommon_models.proto\"E\n\x10\x43reditAddRequest\x12\x11\n\tsource_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x01\x12\x0e\n\x06reason\x18\x03 \x01(\t\"(\n\x11\x43reditAddResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"H\n\x13\x43reditRemoveRequest\x12\x11\n\tsource_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x01\x12\x0e\n\x06reason\x18\x03 \x01(\t\"+\n\x14\x43reditRemoveResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"H\n\x13\x43reditRefundRequest\x12\x11\n\tsource_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x01\x12\x0e\n\x06reason\x18\x03 \x01(\t\"+\n\x14\x43reditRefundResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"\x85\x01\n#CreditAlgorithmMultiplierSetRequest\x12\x1c\n\x14\x61lgorithm_version_id\x18\x01 \x01(\t\x12!\n\x19\x61lgorithm_execution_price\x18\x02 \x01(\x01\x12\x1d\n\x15\x61lgorithm_value_price\x18\x03 \x01(\x01\";\n$CreditAlgorithmMultiplierSetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"Y\n$CreditDataSourceMultiplierSetRequest\x12\x16\n\x0e\x64\x61ta_source_id\x18\x01 \x01(\t\x12\x19\n\x11\x64\x61ta_source_price\x18\x02 \x01(\x01\"<\n%CreditDataSourceMultiplierSetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\"\xd9\x02\n\x15\x43reditEstimateRequest\x12 \n\x18\x61lgorithm_computation_id\x18\x01 \x01(\t\x12 \n\x18\x61nalysis_computation_ids\x18\x02 \x03(\t\x12S\n\x12\x61nalysis_resources\x18\x03 \x01(\x0b\x32\x37.oi.papi.credit.CreditEstimateRequest.AnalysisResources\x1a\xa6\x01\n\x11\x41nalysisResources\x12\x1a\n\x12\x61oi_collection_ids\x18\x01 \x03(\t\x12\x1b\n\x13\x61nalysis_config_ids\x18\x02 \x03(\t\x12,\n\x08start_ts\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x06\x65nd_ts\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"S\n\x16\x43reditEstimateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\x17\n\x0f\x63redit_estimate\x18\x02 \x01(\x01\x12\x0b\n\x03msg\x18\x03 \x01(\t\"N\n\x06\x43redit\x12\x11\n\tsource_id\x18\x01 \x01(\t\x12\x11\n\tavailable\x18\x02 \x01(\x01\x12\x10\n\x08reserved\x18\x03 \x01(\x01\x12\x0c\n\x04used\x18\x04 \x01(\x01\")\n\x14\x43reditSummaryRequest\x12\x11\n\tsource_id\x18\x01 \x01(\t\"T\n\x15\x43reditSummaryResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12&\n\x06\x63redit\x18\x02 \x01(\x0b\x32\x16.oi.papi.credit.Credit\"\xc2\x03\n\x0bTransaction\x12\n\n\x02id\x18\x01 \x01(\t\x12\x18\n\x10\x63redit_source_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\x12\x45\n\x10transaction_type\x18\x04 \x01(\x0e\x32+.oi.papi.credit.Transaction.TransactionType\x12\x0e\n\x06\x61mount\x18\x05 \x01(\x01\x12\x0e\n\x06reason\x18\x06 \x01(\t\x12\x31\n\rtransacted_on\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10\x63redit_available\x18\x08 \x01(\x01\x12\x17\n\x0f\x63redit_reserved\x18\t \x01(\x01\x12\x13\n\x0b\x63redit_used\x18\n \x01(\x01\x12 \n\x18\x61lgorithm_computation_id\x18\x0b \x01(\t\"x\n\x0fTransactionType\x12\x1c\n\x18UNKNOWN_TRANSACTION_TYPE\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06REMOVE\x10\x02\x12\n\n\x06REFUND\x10\x03\x12\x0b\n\x07RESERVE\x10\x04\x12\r\n\tUNRESERVE\x10\x05\x12\n\n\x06\x44\x45\x44UCT\x10\x06\"\xae\x02\n\x19\x43reditTransactionsRequest\x12\'\n\npagination\x18\x01 \x01(\x0b\x32\x13.oi.papi.Pagination\x12\x11\n\tsource_id\x18\x02 \x01(\t\x12\x45\n\x10transaction_type\x18\x03 \x01(\x0e\x32+.oi.papi.credit.Transaction.TransactionType\x12\x35\n\x11min_transacted_on\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11max_transacted_on\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18\x61lgorithm_computation_id\x18\x06 \x01(\t\"\x8d\x01\n\x1a\x43reditTransactionsResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12\'\n\npagination\x18\x02 \x01(\x0b\x32\x13.oi.papi.Pagination\x12\x31\n\x0ctransactions\x18\x03 \x03(\x0b\x32\x1b.oi.papi.credit.Transaction2\x97\x06\n\tCreditApi\x12J\n\x03\x61\x64\x64\x12 .oi.papi.credit.CreditAddRequest\x1a!.oi.papi.credit.CreditAddResponse\x12S\n\x06remove\x12#.oi.papi.credit.CreditRemoveRequest\x1a$.oi.papi.credit.CreditRemoveResponse\x12S\n\x06refund\x12#.oi.papi.credit.CreditRefundRequest\x1a$.oi.papi.credit.CreditRefundResponse\x12z\n\rset_algorithm\x12\x33.oi.papi.credit.CreditAlgorithmMultiplierSetRequest\x1a\x34.oi.papi.credit.CreditAlgorithmMultiplierSetResponse\x12~\n\x0fset_data_source\x12\x34.oi.papi.credit.CreditDataSourceMultiplierSetRequest\x1a\x35.oi.papi.credit.CreditDataSourceMultiplierSetResponse\x12Y\n\x08\x65stimate\x12%.oi.papi.credit.CreditEstimateRequest\x1a&.oi.papi.credit.CreditEstimateResponse\x12V\n\x07summary\x12$.oi.papi.credit.CreditSummaryRequest\x1a%.oi.papi.credit.CreditSummaryResponse\x12\x65\n\x0ctransactions\x12).oi.papi.credit.CreditTransactionsRequest\x1a*.oi.papi.credit.CreditTransactionsResponseP\x01\x62\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'credit_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
DESCRIPTOR._loaded_options = None
|
|
37
|
+
_globals['_CREDITADDREQUEST']._serialized_start=86
|
|
38
|
+
_globals['_CREDITADDREQUEST']._serialized_end=155
|
|
39
|
+
_globals['_CREDITADDRESPONSE']._serialized_start=157
|
|
40
|
+
_globals['_CREDITADDRESPONSE']._serialized_end=197
|
|
41
|
+
_globals['_CREDITREMOVEREQUEST']._serialized_start=199
|
|
42
|
+
_globals['_CREDITREMOVEREQUEST']._serialized_end=271
|
|
43
|
+
_globals['_CREDITREMOVERESPONSE']._serialized_start=273
|
|
44
|
+
_globals['_CREDITREMOVERESPONSE']._serialized_end=316
|
|
45
|
+
_globals['_CREDITREFUNDREQUEST']._serialized_start=318
|
|
46
|
+
_globals['_CREDITREFUNDREQUEST']._serialized_end=390
|
|
47
|
+
_globals['_CREDITREFUNDRESPONSE']._serialized_start=392
|
|
48
|
+
_globals['_CREDITREFUNDRESPONSE']._serialized_end=435
|
|
49
|
+
_globals['_CREDITALGORITHMMULTIPLIERSETREQUEST']._serialized_start=438
|
|
50
|
+
_globals['_CREDITALGORITHMMULTIPLIERSETREQUEST']._serialized_end=571
|
|
51
|
+
_globals['_CREDITALGORITHMMULTIPLIERSETRESPONSE']._serialized_start=573
|
|
52
|
+
_globals['_CREDITALGORITHMMULTIPLIERSETRESPONSE']._serialized_end=632
|
|
53
|
+
_globals['_CREDITDATASOURCEMULTIPLIERSETREQUEST']._serialized_start=634
|
|
54
|
+
_globals['_CREDITDATASOURCEMULTIPLIERSETREQUEST']._serialized_end=723
|
|
55
|
+
_globals['_CREDITDATASOURCEMULTIPLIERSETRESPONSE']._serialized_start=725
|
|
56
|
+
_globals['_CREDITDATASOURCEMULTIPLIERSETRESPONSE']._serialized_end=785
|
|
57
|
+
_globals['_CREDITESTIMATEREQUEST']._serialized_start=788
|
|
58
|
+
_globals['_CREDITESTIMATEREQUEST']._serialized_end=1133
|
|
59
|
+
_globals['_CREDITESTIMATEREQUEST_ANALYSISRESOURCES']._serialized_start=967
|
|
60
|
+
_globals['_CREDITESTIMATEREQUEST_ANALYSISRESOURCES']._serialized_end=1133
|
|
61
|
+
_globals['_CREDITESTIMATERESPONSE']._serialized_start=1135
|
|
62
|
+
_globals['_CREDITESTIMATERESPONSE']._serialized_end=1218
|
|
63
|
+
_globals['_CREDIT']._serialized_start=1220
|
|
64
|
+
_globals['_CREDIT']._serialized_end=1298
|
|
65
|
+
_globals['_CREDITSUMMARYREQUEST']._serialized_start=1300
|
|
66
|
+
_globals['_CREDITSUMMARYREQUEST']._serialized_end=1341
|
|
67
|
+
_globals['_CREDITSUMMARYRESPONSE']._serialized_start=1343
|
|
68
|
+
_globals['_CREDITSUMMARYRESPONSE']._serialized_end=1427
|
|
69
|
+
_globals['_TRANSACTION']._serialized_start=1430
|
|
70
|
+
_globals['_TRANSACTION']._serialized_end=1880
|
|
71
|
+
_globals['_TRANSACTION_TRANSACTIONTYPE']._serialized_start=1760
|
|
72
|
+
_globals['_TRANSACTION_TRANSACTIONTYPE']._serialized_end=1880
|
|
73
|
+
_globals['_CREDITTRANSACTIONSREQUEST']._serialized_start=1883
|
|
74
|
+
_globals['_CREDITTRANSACTIONSREQUEST']._serialized_end=2185
|
|
75
|
+
_globals['_CREDITTRANSACTIONSRESPONSE']._serialized_start=2188
|
|
76
|
+
_globals['_CREDITTRANSACTIONSRESPONSE']._serialized_end=2329
|
|
77
|
+
_globals['_CREDITAPI']._serialized_start=2332
|
|
78
|
+
_globals['_CREDITAPI']._serialized_end=3123
|
|
79
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
3
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
4
|
+
import common_models_pb2 as _common_models_pb2
|
|
5
|
+
from google.protobuf.internal import containers as _containers
|
|
6
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
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 CreditAddRequest(_message.Message):
|
|
16
|
+
__slots__ = ("source_id", "amount", "reason")
|
|
17
|
+
SOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
AMOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
source_id: str
|
|
21
|
+
amount: float
|
|
22
|
+
reason: str
|
|
23
|
+
def __init__(self, source_id: _Optional[str] = ..., amount: _Optional[float] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
24
|
+
|
|
25
|
+
class CreditAddResponse(_message.Message):
|
|
26
|
+
__slots__ = ("status_code",)
|
|
27
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
status_code: int
|
|
29
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
30
|
+
|
|
31
|
+
class CreditRemoveRequest(_message.Message):
|
|
32
|
+
__slots__ = ("source_id", "amount", "reason")
|
|
33
|
+
SOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
AMOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
source_id: str
|
|
37
|
+
amount: float
|
|
38
|
+
reason: str
|
|
39
|
+
def __init__(self, source_id: _Optional[str] = ..., amount: _Optional[float] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
40
|
+
|
|
41
|
+
class CreditRemoveResponse(_message.Message):
|
|
42
|
+
__slots__ = ("status_code",)
|
|
43
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
status_code: int
|
|
45
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
46
|
+
|
|
47
|
+
class CreditRefundRequest(_message.Message):
|
|
48
|
+
__slots__ = ("source_id", "amount", "reason")
|
|
49
|
+
SOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
AMOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
source_id: str
|
|
53
|
+
amount: float
|
|
54
|
+
reason: str
|
|
55
|
+
def __init__(self, source_id: _Optional[str] = ..., amount: _Optional[float] = ..., reason: _Optional[str] = ...) -> None: ...
|
|
56
|
+
|
|
57
|
+
class CreditRefundResponse(_message.Message):
|
|
58
|
+
__slots__ = ("status_code",)
|
|
59
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
status_code: int
|
|
61
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
62
|
+
|
|
63
|
+
class CreditAlgorithmMultiplierSetRequest(_message.Message):
|
|
64
|
+
__slots__ = ("algorithm_version_id", "algorithm_execution_price", "algorithm_value_price")
|
|
65
|
+
ALGORITHM_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
ALGORITHM_EXECUTION_PRICE_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
ALGORITHM_VALUE_PRICE_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
algorithm_version_id: str
|
|
69
|
+
algorithm_execution_price: float
|
|
70
|
+
algorithm_value_price: float
|
|
71
|
+
def __init__(self, algorithm_version_id: _Optional[str] = ..., algorithm_execution_price: _Optional[float] = ..., algorithm_value_price: _Optional[float] = ...) -> None: ...
|
|
72
|
+
|
|
73
|
+
class CreditAlgorithmMultiplierSetResponse(_message.Message):
|
|
74
|
+
__slots__ = ("status_code",)
|
|
75
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
+
status_code: int
|
|
77
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
78
|
+
|
|
79
|
+
class CreditDataSourceMultiplierSetRequest(_message.Message):
|
|
80
|
+
__slots__ = ("data_source_id", "data_source_price")
|
|
81
|
+
DATA_SOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
+
DATA_SOURCE_PRICE_FIELD_NUMBER: _ClassVar[int]
|
|
83
|
+
data_source_id: str
|
|
84
|
+
data_source_price: float
|
|
85
|
+
def __init__(self, data_source_id: _Optional[str] = ..., data_source_price: _Optional[float] = ...) -> None: ...
|
|
86
|
+
|
|
87
|
+
class CreditDataSourceMultiplierSetResponse(_message.Message):
|
|
88
|
+
__slots__ = ("status_code",)
|
|
89
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
status_code: int
|
|
91
|
+
def __init__(self, status_code: _Optional[int] = ...) -> None: ...
|
|
92
|
+
|
|
93
|
+
class CreditEstimateRequest(_message.Message):
|
|
94
|
+
__slots__ = ("algorithm_computation_id", "analysis_computation_ids", "analysis_resources")
|
|
95
|
+
class AnalysisResources(_message.Message):
|
|
96
|
+
__slots__ = ("aoi_collection_ids", "analysis_config_ids", "start_ts", "end_ts")
|
|
97
|
+
AOI_COLLECTION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
98
|
+
ANALYSIS_CONFIG_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
99
|
+
START_TS_FIELD_NUMBER: _ClassVar[int]
|
|
100
|
+
END_TS_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
aoi_collection_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
102
|
+
analysis_config_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
103
|
+
start_ts: _timestamp_pb2.Timestamp
|
|
104
|
+
end_ts: _timestamp_pb2.Timestamp
|
|
105
|
+
def __init__(self, aoi_collection_ids: _Optional[_Iterable[str]] = ..., analysis_config_ids: _Optional[_Iterable[str]] = ..., start_ts: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., end_ts: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
106
|
+
ALGORITHM_COMPUTATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
107
|
+
ANALYSIS_COMPUTATION_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
ANALYSIS_RESOURCES_FIELD_NUMBER: _ClassVar[int]
|
|
109
|
+
algorithm_computation_id: str
|
|
110
|
+
analysis_computation_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
111
|
+
analysis_resources: CreditEstimateRequest.AnalysisResources
|
|
112
|
+
def __init__(self, algorithm_computation_id: _Optional[str] = ..., analysis_computation_ids: _Optional[_Iterable[str]] = ..., analysis_resources: _Optional[_Union[CreditEstimateRequest.AnalysisResources, _Mapping]] = ...) -> None: ...
|
|
113
|
+
|
|
114
|
+
class CreditEstimateResponse(_message.Message):
|
|
115
|
+
__slots__ = ("status_code", "credit_estimate", "msg")
|
|
116
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
117
|
+
CREDIT_ESTIMATE_FIELD_NUMBER: _ClassVar[int]
|
|
118
|
+
MSG_FIELD_NUMBER: _ClassVar[int]
|
|
119
|
+
status_code: int
|
|
120
|
+
credit_estimate: float
|
|
121
|
+
msg: str
|
|
122
|
+
def __init__(self, status_code: _Optional[int] = ..., credit_estimate: _Optional[float] = ..., msg: _Optional[str] = ...) -> None: ...
|
|
123
|
+
|
|
124
|
+
class Credit(_message.Message):
|
|
125
|
+
__slots__ = ("source_id", "available", "reserved", "used")
|
|
126
|
+
SOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
+
AVAILABLE_FIELD_NUMBER: _ClassVar[int]
|
|
128
|
+
RESERVED_FIELD_NUMBER: _ClassVar[int]
|
|
129
|
+
USED_FIELD_NUMBER: _ClassVar[int]
|
|
130
|
+
source_id: str
|
|
131
|
+
available: float
|
|
132
|
+
reserved: float
|
|
133
|
+
used: float
|
|
134
|
+
def __init__(self, source_id: _Optional[str] = ..., available: _Optional[float] = ..., reserved: _Optional[float] = ..., used: _Optional[float] = ...) -> None: ...
|
|
135
|
+
|
|
136
|
+
class CreditSummaryRequest(_message.Message):
|
|
137
|
+
__slots__ = ("source_id",)
|
|
138
|
+
SOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
source_id: str
|
|
140
|
+
def __init__(self, source_id: _Optional[str] = ...) -> None: ...
|
|
141
|
+
|
|
142
|
+
class CreditSummaryResponse(_message.Message):
|
|
143
|
+
__slots__ = ("status_code", "credit")
|
|
144
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
145
|
+
CREDIT_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
+
status_code: int
|
|
147
|
+
credit: Credit
|
|
148
|
+
def __init__(self, status_code: _Optional[int] = ..., credit: _Optional[_Union[Credit, _Mapping]] = ...) -> None: ...
|
|
149
|
+
|
|
150
|
+
class Transaction(_message.Message):
|
|
151
|
+
__slots__ = ("id", "credit_source_id", "user_id", "transaction_type", "amount", "reason", "transacted_on", "credit_available", "credit_reserved", "credit_used", "algorithm_computation_id")
|
|
152
|
+
class TransactionType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
153
|
+
__slots__ = ()
|
|
154
|
+
UNKNOWN_TRANSACTION_TYPE: _ClassVar[Transaction.TransactionType]
|
|
155
|
+
ADD: _ClassVar[Transaction.TransactionType]
|
|
156
|
+
REMOVE: _ClassVar[Transaction.TransactionType]
|
|
157
|
+
REFUND: _ClassVar[Transaction.TransactionType]
|
|
158
|
+
RESERVE: _ClassVar[Transaction.TransactionType]
|
|
159
|
+
UNRESERVE: _ClassVar[Transaction.TransactionType]
|
|
160
|
+
DEDUCT: _ClassVar[Transaction.TransactionType]
|
|
161
|
+
UNKNOWN_TRANSACTION_TYPE: Transaction.TransactionType
|
|
162
|
+
ADD: Transaction.TransactionType
|
|
163
|
+
REMOVE: Transaction.TransactionType
|
|
164
|
+
REFUND: Transaction.TransactionType
|
|
165
|
+
RESERVE: Transaction.TransactionType
|
|
166
|
+
UNRESERVE: Transaction.TransactionType
|
|
167
|
+
DEDUCT: Transaction.TransactionType
|
|
168
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
169
|
+
CREDIT_SOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
170
|
+
USER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
171
|
+
TRANSACTION_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
172
|
+
AMOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
173
|
+
REASON_FIELD_NUMBER: _ClassVar[int]
|
|
174
|
+
TRANSACTED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
+
CREDIT_AVAILABLE_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
+
CREDIT_RESERVED_FIELD_NUMBER: _ClassVar[int]
|
|
177
|
+
CREDIT_USED_FIELD_NUMBER: _ClassVar[int]
|
|
178
|
+
ALGORITHM_COMPUTATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
179
|
+
id: str
|
|
180
|
+
credit_source_id: str
|
|
181
|
+
user_id: str
|
|
182
|
+
transaction_type: Transaction.TransactionType
|
|
183
|
+
amount: float
|
|
184
|
+
reason: str
|
|
185
|
+
transacted_on: _timestamp_pb2.Timestamp
|
|
186
|
+
credit_available: float
|
|
187
|
+
credit_reserved: float
|
|
188
|
+
credit_used: float
|
|
189
|
+
algorithm_computation_id: str
|
|
190
|
+
def __init__(self, id: _Optional[str] = ..., credit_source_id: _Optional[str] = ..., user_id: _Optional[str] = ..., transaction_type: _Optional[_Union[Transaction.TransactionType, str]] = ..., amount: _Optional[float] = ..., reason: _Optional[str] = ..., transacted_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., credit_available: _Optional[float] = ..., credit_reserved: _Optional[float] = ..., credit_used: _Optional[float] = ..., algorithm_computation_id: _Optional[str] = ...) -> None: ...
|
|
191
|
+
|
|
192
|
+
class CreditTransactionsRequest(_message.Message):
|
|
193
|
+
__slots__ = ("pagination", "source_id", "transaction_type", "min_transacted_on", "max_transacted_on", "algorithm_computation_id")
|
|
194
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
195
|
+
SOURCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
196
|
+
TRANSACTION_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
197
|
+
MIN_TRANSACTED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
198
|
+
MAX_TRANSACTED_ON_FIELD_NUMBER: _ClassVar[int]
|
|
199
|
+
ALGORITHM_COMPUTATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
200
|
+
pagination: _common_models_pb2.Pagination
|
|
201
|
+
source_id: str
|
|
202
|
+
transaction_type: Transaction.TransactionType
|
|
203
|
+
min_transacted_on: _timestamp_pb2.Timestamp
|
|
204
|
+
max_transacted_on: _timestamp_pb2.Timestamp
|
|
205
|
+
algorithm_computation_id: str
|
|
206
|
+
def __init__(self, pagination: _Optional[_Union[_common_models_pb2.Pagination, _Mapping]] = ..., source_id: _Optional[str] = ..., transaction_type: _Optional[_Union[Transaction.TransactionType, str]] = ..., min_transacted_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., max_transacted_on: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., algorithm_computation_id: _Optional[str] = ...) -> None: ...
|
|
207
|
+
|
|
208
|
+
class CreditTransactionsResponse(_message.Message):
|
|
209
|
+
__slots__ = ("status_code", "pagination", "transactions")
|
|
210
|
+
STATUS_CODE_FIELD_NUMBER: _ClassVar[int]
|
|
211
|
+
PAGINATION_FIELD_NUMBER: _ClassVar[int]
|
|
212
|
+
TRANSACTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
213
|
+
status_code: int
|
|
214
|
+
pagination: _common_models_pb2.Pagination
|
|
215
|
+
transactions: _containers.RepeatedCompositeFieldContainer[Transaction]
|
|
216
|
+
def __init__(self, status_code: _Optional[int] = ..., pagination: _Optional[_Union[_common_models_pb2.Pagination, _Mapping]] = ..., transactions: _Optional[_Iterable[_Union[Transaction, _Mapping]]] = ...) -> None: ...
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: data_source.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_source.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from elements_api.models import data_type_pb2 as data__type__pb2
|
|
26
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
27
|
+
|
|
28
|
+
from elements_api.models.data_type_pb2 import *
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x64\x61ta_source.proto\x12\x07oi.papi\x1a\x0f\x64\x61ta_type.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xc0\x01\n\nDataSource\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%\n\ndata_types\x18\x04 \x03(\x0b\x32\x11.oi.papi.DataType\x12\x1c\n\x14\x64\x65livery_lag_seconds\x18\x05 \x01(\x04\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12\x11\n\tindicator\x18\x07 \x01(\t\x12\x15\n\rdata_explorer\x18\x08 \x01(\x08\"#\n\x14\x44\x61taSourceGetRequest\x12\x0b\n\x03ids\x18\x01 \x03(\t\"W\n\x15\x44\x61taSourceGetResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12)\n\x0c\x64\x61ta_sources\x18\x02 \x03(\x0b\x32\x13.oi.papi.DataSource\",\n\x15\x44\x61taSourceListRequest\x12\x13\n\x0bsearch_text\x18\x01 \x01(\t\"X\n\x16\x44\x61taSourceListResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12)\n\x0c\x64\x61ta_sources\x18\x02 \x03(\x0b\x32\x13.oi.papi.DataSource\"\x9d\x01\n\x17\x44\x61taSourceCreateRequest\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%\n\ndata_types\x18\x04 \x03(\x0b\x32\x11.oi.papi.DataType\x12,\n\x0b\x63onfig_info\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"Y\n\x18\x44\x61taSourceCreateResponse\x12\x13\n\x0bstatus_code\x18\x01 \x01(\r\x12(\n\x0b\x64\x61ta_source\x18\x02 \x01(\x0b\x32\x13.oi.papi.DataSource2\x9e\x01\n\rDataSourceAPI\x12\x44\n\x03get\x12\x1d.oi.papi.DataSourceGetRequest\x1a\x1e.oi.papi.DataSourceGetResponse\x12G\n\x04list\x12\x1e.oi.papi.DataSourceListRequest\x1a\x1f.oi.papi.DataSourceListResponseP\x00\x62\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'data_source_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
DESCRIPTOR._loaded_options = None
|
|
37
|
+
_globals['_DATASOURCE']._serialized_start=78
|
|
38
|
+
_globals['_DATASOURCE']._serialized_end=270
|
|
39
|
+
_globals['_DATASOURCEGETREQUEST']._serialized_start=272
|
|
40
|
+
_globals['_DATASOURCEGETREQUEST']._serialized_end=307
|
|
41
|
+
_globals['_DATASOURCEGETRESPONSE']._serialized_start=309
|
|
42
|
+
_globals['_DATASOURCEGETRESPONSE']._serialized_end=396
|
|
43
|
+
_globals['_DATASOURCELISTREQUEST']._serialized_start=398
|
|
44
|
+
_globals['_DATASOURCELISTREQUEST']._serialized_end=442
|
|
45
|
+
_globals['_DATASOURCELISTRESPONSE']._serialized_start=444
|
|
46
|
+
_globals['_DATASOURCELISTRESPONSE']._serialized_end=532
|
|
47
|
+
_globals['_DATASOURCECREATEREQUEST']._serialized_start=535
|
|
48
|
+
_globals['_DATASOURCECREATEREQUEST']._serialized_end=692
|
|
49
|
+
_globals['_DATASOURCECREATERESPONSE']._serialized_start=694
|
|
50
|
+
_globals['_DATASOURCECREATERESPONSE']._serialized_end=783
|
|
51
|
+
_globals['_DATASOURCEAPI']._serialized_start=786
|
|
52
|
+
_globals['_DATASOURCEAPI']._serialized_end=944
|
|
53
|
+
# @@protoc_insertion_point(module_scope)
|