bely-api 2025.3.dev0__tar.gz → 2026.3.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/PKG-INFO +1 -1
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/__init__.py +1 -1
- bely_api-2026.3.dev0/belyApi/api/search_api.py +309 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api/system_log_api.py +4 -4
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/__init__.py +1 -1
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item.py +27 -27
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_domain_logbook.py +27 -27
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_element.py +27 -27
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_element_relationship.py +27 -27
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/log.py +26 -26
- bely_api-2026.3.dev0/belyApi/models/logbook_search_results.py +147 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/notification_configuration.py +27 -27
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/notification_provider.py +53 -1
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/search_result.py +89 -89
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/user_info.py +29 -29
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/bely_api.egg-info/PKG-INFO +1 -1
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/bely_api.egg-info/SOURCES.txt +1 -2
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/setup.py +1 -1
- bely_api-2025.3.dev0/belyApi/api/notification_configurations_api.py +0 -1131
- bely_api-2025.3.dev0/belyApi/api/search_api.py +0 -154
- bely_api-2025.3.dev0/belyApi/models/cdb_entity.py +0 -121
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/BelyApiFactory.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api/__init__.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api/authentication_api.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api/domain_api.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api/downloads_api.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api/logbook_api.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api/notification_configuration_api.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api/property_value_api.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api/test_api.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api/users_api.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/api_client.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/configuration.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/exceptions.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/allowed_property_value.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/api_exception_message.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/api_exception_message_exception.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/api_exception_message_exception_cause.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/api_exception_message_exception_cause_stack_trace.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/api_exception_message_exception_cause_suppressed.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/connector.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/connector_type.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/domain.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/entity_info.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/entity_type.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/inline_object.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_category.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_connector.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_domain_logbook_all_of.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_element_history.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_element_relationship_history.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_project.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_resource.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_source.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/item_type.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/list_tbl.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/log_document_options.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/log_document_section.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/log_entry.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/log_reaction.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/notification_configuration_handler_setting.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/notification_configuration_setting.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/notification_handler_config_key.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/notification_provider_config_key.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/property_metadata.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/property_type.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/property_value.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/property_value_history.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/reaction.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/relationship_type.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/relationship_type_handler.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/resource_type.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/resource_type_category.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/role_type.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/search_entities_options.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/search_entities_results.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/source.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/user_group.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/models/user_role.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/belyApi/rest.py +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/bely_api.egg-info/dependency_links.txt +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/bely_api.egg-info/entry_points.txt +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/bely_api.egg-info/requires.txt +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/bely_api.egg-info/top_level.txt +0 -0
- {bely_api-2025.3.dev0 → bely_api-2026.3.dev0}/setup.cfg +0 -0
|
@@ -44,7 +44,6 @@ from belyApi.models.api_exception_message_exception import ApiExceptionMessageEx
|
|
|
44
44
|
from belyApi.models.api_exception_message_exception_cause import ApiExceptionMessageExceptionCause
|
|
45
45
|
from belyApi.models.api_exception_message_exception_cause_stack_trace import ApiExceptionMessageExceptionCauseStackTrace
|
|
46
46
|
from belyApi.models.api_exception_message_exception_cause_suppressed import ApiExceptionMessageExceptionCauseSuppressed
|
|
47
|
-
from belyApi.models.cdb_entity import CdbEntity
|
|
48
47
|
from belyApi.models.connector import Connector
|
|
49
48
|
from belyApi.models.connector_type import ConnectorType
|
|
50
49
|
from belyApi.models.domain import Domain
|
|
@@ -70,6 +69,7 @@ from belyApi.models.log_document_options import LogDocumentOptions
|
|
|
70
69
|
from belyApi.models.log_document_section import LogDocumentSection
|
|
71
70
|
from belyApi.models.log_entry import LogEntry
|
|
72
71
|
from belyApi.models.log_reaction import LogReaction
|
|
72
|
+
from belyApi.models.logbook_search_results import LogbookSearchResults
|
|
73
73
|
from belyApi.models.notification_configuration import NotificationConfiguration
|
|
74
74
|
from belyApi.models.notification_configuration_handler_setting import NotificationConfigurationHandlerSetting
|
|
75
75
|
from belyApi.models.notification_configuration_setting import NotificationConfigurationSetting
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
BELY API
|
|
5
|
+
|
|
6
|
+
The API that provides access to BELY data. # noqa: E501
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2024.5
|
|
9
|
+
Contact: djarosz@anl.gov
|
|
10
|
+
Generated by: https://openapi-generator.tech
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import absolute_import
|
|
15
|
+
|
|
16
|
+
import re # noqa: F401
|
|
17
|
+
|
|
18
|
+
# python 2 and python 3 compatibility library
|
|
19
|
+
import six
|
|
20
|
+
|
|
21
|
+
from belyApi.api_client import ApiClient
|
|
22
|
+
from belyApi.exceptions import ( # noqa: F401
|
|
23
|
+
ApiTypeError,
|
|
24
|
+
ApiValueError
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class SearchApi(object):
|
|
29
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
30
|
+
Ref: https://openapi-generator.tech
|
|
31
|
+
|
|
32
|
+
Do not edit the class manually.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
def __init__(self, api_client=None):
|
|
36
|
+
if api_client is None:
|
|
37
|
+
api_client = ApiClient()
|
|
38
|
+
self.api_client = api_client
|
|
39
|
+
|
|
40
|
+
def generic_search(self, search_entities_options, **kwargs): # noqa: E501
|
|
41
|
+
"""generic_search # noqa: E501
|
|
42
|
+
|
|
43
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
44
|
+
asynchronous HTTP request, please pass async_req=True
|
|
45
|
+
>>> thread = api.generic_search(search_entities_options, async_req=True)
|
|
46
|
+
>>> result = thread.get()
|
|
47
|
+
|
|
48
|
+
:param async_req bool: execute request asynchronously
|
|
49
|
+
:param SearchEntitiesOptions search_entities_options: (required)
|
|
50
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
51
|
+
be returned without reading/decoding response
|
|
52
|
+
data. Default is True.
|
|
53
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
54
|
+
number provided, it will be total request
|
|
55
|
+
timeout. It can also be a pair (tuple) of
|
|
56
|
+
(connection, read) timeouts.
|
|
57
|
+
:return: SearchEntitiesResults
|
|
58
|
+
If the method is called asynchronously,
|
|
59
|
+
returns the request thread.
|
|
60
|
+
"""
|
|
61
|
+
kwargs['_return_http_data_only'] = True
|
|
62
|
+
return self.generic_search_with_http_info(search_entities_options, **kwargs) # noqa: E501
|
|
63
|
+
|
|
64
|
+
def generic_search_with_http_info(self, search_entities_options, **kwargs): # noqa: E501
|
|
65
|
+
"""generic_search # noqa: E501
|
|
66
|
+
|
|
67
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
68
|
+
asynchronous HTTP request, please pass async_req=True
|
|
69
|
+
>>> thread = api.generic_search_with_http_info(search_entities_options, async_req=True)
|
|
70
|
+
>>> result = thread.get()
|
|
71
|
+
|
|
72
|
+
:param async_req bool: execute request asynchronously
|
|
73
|
+
:param SearchEntitiesOptions search_entities_options: (required)
|
|
74
|
+
:param _return_http_data_only: response data without head status code
|
|
75
|
+
and headers
|
|
76
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
77
|
+
be returned without reading/decoding response
|
|
78
|
+
data. Default is True.
|
|
79
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
80
|
+
number provided, it will be total request
|
|
81
|
+
timeout. It can also be a pair (tuple) of
|
|
82
|
+
(connection, read) timeouts.
|
|
83
|
+
:return: tuple(SearchEntitiesResults, status_code(int), headers(HTTPHeaderDict))
|
|
84
|
+
If the method is called asynchronously,
|
|
85
|
+
returns the request thread.
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
local_var_params = locals()
|
|
89
|
+
|
|
90
|
+
all_params = [
|
|
91
|
+
'search_entities_options'
|
|
92
|
+
]
|
|
93
|
+
all_params.extend(
|
|
94
|
+
[
|
|
95
|
+
'async_req',
|
|
96
|
+
'_return_http_data_only',
|
|
97
|
+
'_preload_content',
|
|
98
|
+
'_request_timeout'
|
|
99
|
+
]
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
103
|
+
if key not in all_params:
|
|
104
|
+
raise ApiTypeError(
|
|
105
|
+
"Got an unexpected keyword argument '%s'"
|
|
106
|
+
" to method generic_search" % key
|
|
107
|
+
)
|
|
108
|
+
local_var_params[key] = val
|
|
109
|
+
del local_var_params['kwargs']
|
|
110
|
+
# verify the required parameter 'search_entities_options' is set
|
|
111
|
+
if self.api_client.client_side_validation and ('search_entities_options' not in local_var_params or # noqa: E501
|
|
112
|
+
local_var_params['search_entities_options'] is None): # noqa: E501
|
|
113
|
+
raise ApiValueError("Missing the required parameter `search_entities_options` when calling `generic_search`") # noqa: E501
|
|
114
|
+
|
|
115
|
+
collection_formats = {}
|
|
116
|
+
|
|
117
|
+
path_params = {}
|
|
118
|
+
|
|
119
|
+
query_params = []
|
|
120
|
+
|
|
121
|
+
header_params = {}
|
|
122
|
+
|
|
123
|
+
form_params = []
|
|
124
|
+
local_var_files = {}
|
|
125
|
+
|
|
126
|
+
body_params = None
|
|
127
|
+
if 'search_entities_options' in local_var_params:
|
|
128
|
+
body_params = local_var_params['search_entities_options']
|
|
129
|
+
# HTTP header `Accept`
|
|
130
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
131
|
+
['application/json']) # noqa: E501
|
|
132
|
+
|
|
133
|
+
# HTTP header `Content-Type`
|
|
134
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
135
|
+
['application/json']) # noqa: E501
|
|
136
|
+
|
|
137
|
+
# Authentication setting
|
|
138
|
+
auth_settings = [] # noqa: E501
|
|
139
|
+
|
|
140
|
+
return self.api_client.call_api(
|
|
141
|
+
'/api/Search/GenericSearch', 'POST',
|
|
142
|
+
path_params,
|
|
143
|
+
query_params,
|
|
144
|
+
header_params,
|
|
145
|
+
body=body_params,
|
|
146
|
+
post_params=form_params,
|
|
147
|
+
files=local_var_files,
|
|
148
|
+
response_type='SearchEntitiesResults', # noqa: E501
|
|
149
|
+
auth_settings=auth_settings,
|
|
150
|
+
async_req=local_var_params.get('async_req'),
|
|
151
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
152
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
153
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
154
|
+
collection_formats=collection_formats)
|
|
155
|
+
|
|
156
|
+
def search_logbook(self, search_text, **kwargs): # noqa: E501
|
|
157
|
+
"""Search log documents and log entries. # noqa: E501
|
|
158
|
+
|
|
159
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
160
|
+
asynchronous HTTP request, please pass async_req=True
|
|
161
|
+
>>> thread = api.search_logbook(search_text, async_req=True)
|
|
162
|
+
>>> result = thread.get()
|
|
163
|
+
|
|
164
|
+
:param async_req bool: execute request asynchronously
|
|
165
|
+
:param str search_text: Search text with wildcard support (? for single char, * for multiple) (required)
|
|
166
|
+
:param bool case_insensitive: Use case insensitive matching
|
|
167
|
+
:param list[int] logbook_type_id: Logbook type IDs to filter by, can specify multiple
|
|
168
|
+
:param list[int] system_id: System IDs to filter by, can specify multiple
|
|
169
|
+
:param list[int] user_id: User IDs to filter by, can specify multiple
|
|
170
|
+
:param datetime start_modified_date: Start of last modified date range filter
|
|
171
|
+
:param datetime end_modified_date: End of last modified date range filter
|
|
172
|
+
:param datetime start_created_date: Start of creation date range filter
|
|
173
|
+
:param datetime end_created_date: End of creation date range filter
|
|
174
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
175
|
+
be returned without reading/decoding response
|
|
176
|
+
data. Default is True.
|
|
177
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
178
|
+
number provided, it will be total request
|
|
179
|
+
timeout. It can also be a pair (tuple) of
|
|
180
|
+
(connection, read) timeouts.
|
|
181
|
+
:return: LogbookSearchResults
|
|
182
|
+
If the method is called asynchronously,
|
|
183
|
+
returns the request thread.
|
|
184
|
+
"""
|
|
185
|
+
kwargs['_return_http_data_only'] = True
|
|
186
|
+
return self.search_logbook_with_http_info(search_text, **kwargs) # noqa: E501
|
|
187
|
+
|
|
188
|
+
def search_logbook_with_http_info(self, search_text, **kwargs): # noqa: E501
|
|
189
|
+
"""Search log documents and log entries. # noqa: E501
|
|
190
|
+
|
|
191
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
192
|
+
asynchronous HTTP request, please pass async_req=True
|
|
193
|
+
>>> thread = api.search_logbook_with_http_info(search_text, async_req=True)
|
|
194
|
+
>>> result = thread.get()
|
|
195
|
+
|
|
196
|
+
:param async_req bool: execute request asynchronously
|
|
197
|
+
:param str search_text: Search text with wildcard support (? for single char, * for multiple) (required)
|
|
198
|
+
:param bool case_insensitive: Use case insensitive matching
|
|
199
|
+
:param list[int] logbook_type_id: Logbook type IDs to filter by, can specify multiple
|
|
200
|
+
:param list[int] system_id: System IDs to filter by, can specify multiple
|
|
201
|
+
:param list[int] user_id: User IDs to filter by, can specify multiple
|
|
202
|
+
:param datetime start_modified_date: Start of last modified date range filter
|
|
203
|
+
:param datetime end_modified_date: End of last modified date range filter
|
|
204
|
+
:param datetime start_created_date: Start of creation date range filter
|
|
205
|
+
:param datetime end_created_date: End of creation date range filter
|
|
206
|
+
:param _return_http_data_only: response data without head status code
|
|
207
|
+
and headers
|
|
208
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
209
|
+
be returned without reading/decoding response
|
|
210
|
+
data. Default is True.
|
|
211
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
212
|
+
number provided, it will be total request
|
|
213
|
+
timeout. It can also be a pair (tuple) of
|
|
214
|
+
(connection, read) timeouts.
|
|
215
|
+
:return: tuple(LogbookSearchResults, status_code(int), headers(HTTPHeaderDict))
|
|
216
|
+
If the method is called asynchronously,
|
|
217
|
+
returns the request thread.
|
|
218
|
+
"""
|
|
219
|
+
|
|
220
|
+
local_var_params = locals()
|
|
221
|
+
|
|
222
|
+
all_params = [
|
|
223
|
+
'search_text',
|
|
224
|
+
'case_insensitive',
|
|
225
|
+
'logbook_type_id',
|
|
226
|
+
'system_id',
|
|
227
|
+
'user_id',
|
|
228
|
+
'start_modified_date',
|
|
229
|
+
'end_modified_date',
|
|
230
|
+
'start_created_date',
|
|
231
|
+
'end_created_date'
|
|
232
|
+
]
|
|
233
|
+
all_params.extend(
|
|
234
|
+
[
|
|
235
|
+
'async_req',
|
|
236
|
+
'_return_http_data_only',
|
|
237
|
+
'_preload_content',
|
|
238
|
+
'_request_timeout'
|
|
239
|
+
]
|
|
240
|
+
)
|
|
241
|
+
|
|
242
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
243
|
+
if key not in all_params:
|
|
244
|
+
raise ApiTypeError(
|
|
245
|
+
"Got an unexpected keyword argument '%s'"
|
|
246
|
+
" to method search_logbook" % key
|
|
247
|
+
)
|
|
248
|
+
local_var_params[key] = val
|
|
249
|
+
del local_var_params['kwargs']
|
|
250
|
+
# verify the required parameter 'search_text' is set
|
|
251
|
+
if self.api_client.client_side_validation and ('search_text' not in local_var_params or # noqa: E501
|
|
252
|
+
local_var_params['search_text'] is None): # noqa: E501
|
|
253
|
+
raise ApiValueError("Missing the required parameter `search_text` when calling `search_logbook`") # noqa: E501
|
|
254
|
+
|
|
255
|
+
collection_formats = {}
|
|
256
|
+
|
|
257
|
+
path_params = {}
|
|
258
|
+
if 'search_text' in local_var_params:
|
|
259
|
+
path_params['searchText'] = local_var_params['search_text'] # noqa: E501
|
|
260
|
+
|
|
261
|
+
query_params = []
|
|
262
|
+
if 'case_insensitive' in local_var_params and local_var_params['case_insensitive'] is not None: # noqa: E501
|
|
263
|
+
query_params.append(('caseInsensitive', local_var_params['case_insensitive'])) # noqa: E501
|
|
264
|
+
if 'logbook_type_id' in local_var_params and local_var_params['logbook_type_id'] is not None: # noqa: E501
|
|
265
|
+
query_params.append(('logbookTypeId', local_var_params['logbook_type_id'])) # noqa: E501
|
|
266
|
+
collection_formats['logbookTypeId'] = 'multi' # noqa: E501
|
|
267
|
+
if 'system_id' in local_var_params and local_var_params['system_id'] is not None: # noqa: E501
|
|
268
|
+
query_params.append(('systemId', local_var_params['system_id'])) # noqa: E501
|
|
269
|
+
collection_formats['systemId'] = 'multi' # noqa: E501
|
|
270
|
+
if 'user_id' in local_var_params and local_var_params['user_id'] is not None: # noqa: E501
|
|
271
|
+
query_params.append(('userId', local_var_params['user_id'])) # noqa: E501
|
|
272
|
+
collection_formats['userId'] = 'multi' # noqa: E501
|
|
273
|
+
if 'start_modified_date' in local_var_params and local_var_params['start_modified_date'] is not None: # noqa: E501
|
|
274
|
+
query_params.append(('startModifiedDate', local_var_params['start_modified_date'])) # noqa: E501
|
|
275
|
+
if 'end_modified_date' in local_var_params and local_var_params['end_modified_date'] is not None: # noqa: E501
|
|
276
|
+
query_params.append(('endModifiedDate', local_var_params['end_modified_date'])) # noqa: E501
|
|
277
|
+
if 'start_created_date' in local_var_params and local_var_params['start_created_date'] is not None: # noqa: E501
|
|
278
|
+
query_params.append(('startCreatedDate', local_var_params['start_created_date'])) # noqa: E501
|
|
279
|
+
if 'end_created_date' in local_var_params and local_var_params['end_created_date'] is not None: # noqa: E501
|
|
280
|
+
query_params.append(('endCreatedDate', local_var_params['end_created_date'])) # noqa: E501
|
|
281
|
+
|
|
282
|
+
header_params = {}
|
|
283
|
+
|
|
284
|
+
form_params = []
|
|
285
|
+
local_var_files = {}
|
|
286
|
+
|
|
287
|
+
body_params = None
|
|
288
|
+
# HTTP header `Accept`
|
|
289
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
290
|
+
['application/json']) # noqa: E501
|
|
291
|
+
|
|
292
|
+
# Authentication setting
|
|
293
|
+
auth_settings = [] # noqa: E501
|
|
294
|
+
|
|
295
|
+
return self.api_client.call_api(
|
|
296
|
+
'/api/Search/{searchText}', 'GET',
|
|
297
|
+
path_params,
|
|
298
|
+
query_params,
|
|
299
|
+
header_params,
|
|
300
|
+
body=body_params,
|
|
301
|
+
post_params=form_params,
|
|
302
|
+
files=local_var_files,
|
|
303
|
+
response_type='LogbookSearchResults', # noqa: E501
|
|
304
|
+
auth_settings=auth_settings,
|
|
305
|
+
async_req=local_var_params.get('async_req'),
|
|
306
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
307
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
308
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
309
|
+
collection_formats=collection_formats)
|
|
@@ -149,7 +149,7 @@ class SystemLogApi(object):
|
|
|
149
149
|
>>> result = thread.get()
|
|
150
150
|
|
|
151
151
|
:param async_req bool: execute request asynchronously
|
|
152
|
-
:param
|
|
152
|
+
:param datetime since_date: (required)
|
|
153
153
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
154
154
|
be returned without reading/decoding response
|
|
155
155
|
data. Default is True.
|
|
@@ -173,7 +173,7 @@ class SystemLogApi(object):
|
|
|
173
173
|
>>> result = thread.get()
|
|
174
174
|
|
|
175
175
|
:param async_req bool: execute request asynchronously
|
|
176
|
-
:param
|
|
176
|
+
:param datetime since_date: (required)
|
|
177
177
|
:param _return_http_data_only: response data without head status code
|
|
178
178
|
and headers
|
|
179
179
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -467,7 +467,7 @@ class SystemLogApi(object):
|
|
|
467
467
|
>>> result = thread.get()
|
|
468
468
|
|
|
469
469
|
:param async_req bool: execute request asynchronously
|
|
470
|
-
:param
|
|
470
|
+
:param datetime since_date: (required)
|
|
471
471
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
472
472
|
be returned without reading/decoding response
|
|
473
473
|
data. Default is True.
|
|
@@ -491,7 +491,7 @@ class SystemLogApi(object):
|
|
|
491
491
|
>>> result = thread.get()
|
|
492
492
|
|
|
493
493
|
:param async_req bool: execute request asynchronously
|
|
494
|
-
:param
|
|
494
|
+
:param datetime since_date: (required)
|
|
495
495
|
:param _return_http_data_only: response data without head status code
|
|
496
496
|
and headers
|
|
497
497
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -21,7 +21,6 @@ from belyApi.models.api_exception_message_exception import ApiExceptionMessageEx
|
|
|
21
21
|
from belyApi.models.api_exception_message_exception_cause import ApiExceptionMessageExceptionCause
|
|
22
22
|
from belyApi.models.api_exception_message_exception_cause_stack_trace import ApiExceptionMessageExceptionCauseStackTrace
|
|
23
23
|
from belyApi.models.api_exception_message_exception_cause_suppressed import ApiExceptionMessageExceptionCauseSuppressed
|
|
24
|
-
from belyApi.models.cdb_entity import CdbEntity
|
|
25
24
|
from belyApi.models.connector import Connector
|
|
26
25
|
from belyApi.models.connector_type import ConnectorType
|
|
27
26
|
from belyApi.models.domain import Domain
|
|
@@ -47,6 +46,7 @@ from belyApi.models.log_document_options import LogDocumentOptions
|
|
|
47
46
|
from belyApi.models.log_document_section import LogDocumentSection
|
|
48
47
|
from belyApi.models.log_entry import LogEntry
|
|
49
48
|
from belyApi.models.log_reaction import LogReaction
|
|
49
|
+
from belyApi.models.logbook_search_results import LogbookSearchResults
|
|
50
50
|
from belyApi.models.notification_configuration import NotificationConfiguration
|
|
51
51
|
from belyApi.models.notification_configuration_handler_setting import NotificationConfigurationHandlerSetting
|
|
52
52
|
from belyApi.models.notification_configuration_setting import NotificationConfigurationSetting
|
|
@@ -42,9 +42,9 @@ class Item(object):
|
|
|
42
42
|
'domain': 'Domain',
|
|
43
43
|
'derived_from_item': 'Item',
|
|
44
44
|
'description': 'str',
|
|
45
|
-
'domain_id': 'int',
|
|
46
45
|
'item_category_list_import': 'list[ItemCategory]',
|
|
47
46
|
'item_control': 'bool',
|
|
47
|
+
'domain_id': 'int',
|
|
48
48
|
'entity_type_list': 'list[EntityType]',
|
|
49
49
|
'item_category_list': 'list[ItemCategory]',
|
|
50
50
|
'item_type_list': 'list[ItemType]',
|
|
@@ -61,9 +61,9 @@ class Item(object):
|
|
|
61
61
|
'domain': 'domain',
|
|
62
62
|
'derived_from_item': 'derivedFromItem',
|
|
63
63
|
'description': 'description',
|
|
64
|
-
'domain_id': 'domainId',
|
|
65
64
|
'item_category_list_import': 'itemCategoryListImport',
|
|
66
65
|
'item_control': 'itemControl',
|
|
66
|
+
'domain_id': 'domainId',
|
|
67
67
|
'entity_type_list': 'entityTypeList',
|
|
68
68
|
'item_category_list': 'itemCategoryList',
|
|
69
69
|
'item_type_list': 'itemTypeList',
|
|
@@ -71,7 +71,7 @@ class Item(object):
|
|
|
71
71
|
'item_source_list': 'itemSourceList'
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
def __init__(self, id=None, name=None, item_identifier1=None, item_identifier2=None, qr_id=None, domain=None, derived_from_item=None, description=None,
|
|
74
|
+
def __init__(self, id=None, name=None, item_identifier1=None, item_identifier2=None, qr_id=None, domain=None, derived_from_item=None, description=None, item_category_list_import=None, item_control=None, domain_id=None, entity_type_list=None, item_category_list=None, item_type_list=None, item_project_list=None, item_source_list=None, local_vars_configuration=None): # noqa: E501
|
|
75
75
|
"""Item - a model defined in OpenAPI""" # noqa: E501
|
|
76
76
|
if local_vars_configuration is None:
|
|
77
77
|
local_vars_configuration = Configuration()
|
|
@@ -85,9 +85,9 @@ class Item(object):
|
|
|
85
85
|
self._domain = None
|
|
86
86
|
self._derived_from_item = None
|
|
87
87
|
self._description = None
|
|
88
|
-
self._domain_id = None
|
|
89
88
|
self._item_category_list_import = None
|
|
90
89
|
self._item_control = None
|
|
90
|
+
self._domain_id = None
|
|
91
91
|
self._entity_type_list = None
|
|
92
92
|
self._item_category_list = None
|
|
93
93
|
self._item_type_list = None
|
|
@@ -111,12 +111,12 @@ class Item(object):
|
|
|
111
111
|
self.derived_from_item = derived_from_item
|
|
112
112
|
if description is not None:
|
|
113
113
|
self.description = description
|
|
114
|
-
if domain_id is not None:
|
|
115
|
-
self.domain_id = domain_id
|
|
116
114
|
if item_category_list_import is not None:
|
|
117
115
|
self.item_category_list_import = item_category_list_import
|
|
118
116
|
if item_control is not None:
|
|
119
117
|
self.item_control = item_control
|
|
118
|
+
if domain_id is not None:
|
|
119
|
+
self.domain_id = domain_id
|
|
120
120
|
if entity_type_list is not None:
|
|
121
121
|
self.entity_type_list = entity_type_list
|
|
122
122
|
if item_category_list is not None:
|
|
@@ -323,27 +323,6 @@ class Item(object):
|
|
|
323
323
|
|
|
324
324
|
self._description = description
|
|
325
325
|
|
|
326
|
-
@property
|
|
327
|
-
def domain_id(self):
|
|
328
|
-
"""Gets the domain_id of this Item. # noqa: E501
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
:return: The domain_id of this Item. # noqa: E501
|
|
332
|
-
:rtype: int
|
|
333
|
-
"""
|
|
334
|
-
return self._domain_id
|
|
335
|
-
|
|
336
|
-
@domain_id.setter
|
|
337
|
-
def domain_id(self, domain_id):
|
|
338
|
-
"""Sets the domain_id of this Item.
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
:param domain_id: The domain_id of this Item. # noqa: E501
|
|
342
|
-
:type: int
|
|
343
|
-
"""
|
|
344
|
-
|
|
345
|
-
self._domain_id = domain_id
|
|
346
|
-
|
|
347
326
|
@property
|
|
348
327
|
def item_category_list_import(self):
|
|
349
328
|
"""Gets the item_category_list_import of this Item. # noqa: E501
|
|
@@ -386,6 +365,27 @@ class Item(object):
|
|
|
386
365
|
|
|
387
366
|
self._item_control = item_control
|
|
388
367
|
|
|
368
|
+
@property
|
|
369
|
+
def domain_id(self):
|
|
370
|
+
"""Gets the domain_id of this Item. # noqa: E501
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
:return: The domain_id of this Item. # noqa: E501
|
|
374
|
+
:rtype: int
|
|
375
|
+
"""
|
|
376
|
+
return self._domain_id
|
|
377
|
+
|
|
378
|
+
@domain_id.setter
|
|
379
|
+
def domain_id(self, domain_id):
|
|
380
|
+
"""Sets the domain_id of this Item.
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
:param domain_id: The domain_id of this Item. # noqa: E501
|
|
384
|
+
:type: int
|
|
385
|
+
"""
|
|
386
|
+
|
|
387
|
+
self._domain_id = domain_id
|
|
388
|
+
|
|
389
389
|
@property
|
|
390
390
|
def entity_type_list(self):
|
|
391
391
|
"""Gets the entity_type_list of this Item. # noqa: E501
|
|
@@ -42,9 +42,9 @@ class ItemDomainLogbook(object):
|
|
|
42
42
|
'domain': 'Domain',
|
|
43
43
|
'derived_from_item': 'Item',
|
|
44
44
|
'description': 'str',
|
|
45
|
-
'domain_id': 'int',
|
|
46
45
|
'item_category_list_import': 'list[ItemCategory]',
|
|
47
46
|
'item_control': 'bool',
|
|
47
|
+
'domain_id': 'int',
|
|
48
48
|
'entity_type_list': 'list[EntityType]',
|
|
49
49
|
'item_category_list': 'list[ItemCategory]',
|
|
50
50
|
'item_type_list': 'list[ItemType]',
|
|
@@ -63,9 +63,9 @@ class ItemDomainLogbook(object):
|
|
|
63
63
|
'domain': 'domain',
|
|
64
64
|
'derived_from_item': 'derivedFromItem',
|
|
65
65
|
'description': 'description',
|
|
66
|
-
'domain_id': 'domainId',
|
|
67
66
|
'item_category_list_import': 'itemCategoryListImport',
|
|
68
67
|
'item_control': 'itemControl',
|
|
68
|
+
'domain_id': 'domainId',
|
|
69
69
|
'entity_type_list': 'entityTypeList',
|
|
70
70
|
'item_category_list': 'itemCategoryList',
|
|
71
71
|
'item_type_list': 'itemTypeList',
|
|
@@ -75,7 +75,7 @@ class ItemDomainLogbook(object):
|
|
|
75
75
|
'more_info': 'moreInfo'
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
def __init__(self, id=None, name=None, item_identifier1=None, item_identifier2=None, qr_id=None, domain=None, derived_from_item=None, description=None,
|
|
78
|
+
def __init__(self, id=None, name=None, item_identifier1=None, item_identifier2=None, qr_id=None, domain=None, derived_from_item=None, description=None, item_category_list_import=None, item_control=None, domain_id=None, entity_type_list=None, item_category_list=None, item_type_list=None, item_project_list=None, item_source_list=None, log_lockout_hours=None, more_info=None, local_vars_configuration=None): # noqa: E501
|
|
79
79
|
"""ItemDomainLogbook - a model defined in OpenAPI""" # noqa: E501
|
|
80
80
|
if local_vars_configuration is None:
|
|
81
81
|
local_vars_configuration = Configuration()
|
|
@@ -89,9 +89,9 @@ class ItemDomainLogbook(object):
|
|
|
89
89
|
self._domain = None
|
|
90
90
|
self._derived_from_item = None
|
|
91
91
|
self._description = None
|
|
92
|
-
self._domain_id = None
|
|
93
92
|
self._item_category_list_import = None
|
|
94
93
|
self._item_control = None
|
|
94
|
+
self._domain_id = None
|
|
95
95
|
self._entity_type_list = None
|
|
96
96
|
self._item_category_list = None
|
|
97
97
|
self._item_type_list = None
|
|
@@ -117,12 +117,12 @@ class ItemDomainLogbook(object):
|
|
|
117
117
|
self.derived_from_item = derived_from_item
|
|
118
118
|
if description is not None:
|
|
119
119
|
self.description = description
|
|
120
|
-
if domain_id is not None:
|
|
121
|
-
self.domain_id = domain_id
|
|
122
120
|
if item_category_list_import is not None:
|
|
123
121
|
self.item_category_list_import = item_category_list_import
|
|
124
122
|
if item_control is not None:
|
|
125
123
|
self.item_control = item_control
|
|
124
|
+
if domain_id is not None:
|
|
125
|
+
self.domain_id = domain_id
|
|
126
126
|
if entity_type_list is not None:
|
|
127
127
|
self.entity_type_list = entity_type_list
|
|
128
128
|
if item_category_list is not None:
|
|
@@ -333,27 +333,6 @@ class ItemDomainLogbook(object):
|
|
|
333
333
|
|
|
334
334
|
self._description = description
|
|
335
335
|
|
|
336
|
-
@property
|
|
337
|
-
def domain_id(self):
|
|
338
|
-
"""Gets the domain_id of this ItemDomainLogbook. # noqa: E501
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
:return: The domain_id of this ItemDomainLogbook. # noqa: E501
|
|
342
|
-
:rtype: int
|
|
343
|
-
"""
|
|
344
|
-
return self._domain_id
|
|
345
|
-
|
|
346
|
-
@domain_id.setter
|
|
347
|
-
def domain_id(self, domain_id):
|
|
348
|
-
"""Sets the domain_id of this ItemDomainLogbook.
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
:param domain_id: The domain_id of this ItemDomainLogbook. # noqa: E501
|
|
352
|
-
:type: int
|
|
353
|
-
"""
|
|
354
|
-
|
|
355
|
-
self._domain_id = domain_id
|
|
356
|
-
|
|
357
336
|
@property
|
|
358
337
|
def item_category_list_import(self):
|
|
359
338
|
"""Gets the item_category_list_import of this ItemDomainLogbook. # noqa: E501
|
|
@@ -396,6 +375,27 @@ class ItemDomainLogbook(object):
|
|
|
396
375
|
|
|
397
376
|
self._item_control = item_control
|
|
398
377
|
|
|
378
|
+
@property
|
|
379
|
+
def domain_id(self):
|
|
380
|
+
"""Gets the domain_id of this ItemDomainLogbook. # noqa: E501
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
:return: The domain_id of this ItemDomainLogbook. # noqa: E501
|
|
384
|
+
:rtype: int
|
|
385
|
+
"""
|
|
386
|
+
return self._domain_id
|
|
387
|
+
|
|
388
|
+
@domain_id.setter
|
|
389
|
+
def domain_id(self, domain_id):
|
|
390
|
+
"""Sets the domain_id of this ItemDomainLogbook.
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
:param domain_id: The domain_id of this ItemDomainLogbook. # noqa: E501
|
|
394
|
+
:type: int
|
|
395
|
+
"""
|
|
396
|
+
|
|
397
|
+
self._domain_id = domain_id
|
|
398
|
+
|
|
399
399
|
@property
|
|
400
400
|
def entity_type_list(self):
|
|
401
401
|
"""Gets the entity_type_list of this ItemDomainLogbook. # noqa: E501
|