step_rest_client 1.0.0__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.
- step_rest_client/__init__.py +136 -0
- step_rest_client/api/__init__.py +26 -0
- step_rest_client/api/assets_api.py +7960 -0
- step_rest_client/api/attributes_api.py +340 -0
- step_rest_client/api/background_process_types_api.py +640 -0
- step_rest_client/api/background_processes_api.py +1577 -0
- step_rest_client/api/classifications_api.py +7991 -0
- step_rest_client/api/data_container_types_api.py +340 -0
- step_rest_client/api/data_type_groups_api.py +340 -0
- step_rest_client/api/entities_api.py +8680 -0
- step_rest_client/api/event_processors_api.py +3337 -0
- step_rest_client/api/export_api.py +383 -0
- step_rest_client/api/gateway_integration_endpoints_api.py +1232 -0
- step_rest_client/api/import_api.py +390 -0
- step_rest_client/api/inbound_integration_endpoints_api.py +2815 -0
- step_rest_client/api/lists_of_values_api.py +642 -0
- step_rest_client/api/object_types_api.py +340 -0
- step_rest_client/api/outbound_integration_endpoints_api.py +3655 -0
- step_rest_client/api/products_api.py +8007 -0
- step_rest_client/api/reference_types_api.py +340 -0
- step_rest_client/api/reporting_api.py +707 -0
- step_rest_client/api/units_api.py +340 -0
- step_rest_client/api/workflow_tasks_api.py +1887 -0
- step_rest_client/api/workflows_api.py +1270 -0
- step_rest_client/api_client.py +797 -0
- step_rest_client/api_response.py +21 -0
- step_rest_client/configuration.py +597 -0
- step_rest_client/exceptions.py +216 -0
- step_rest_client/models/__init__.py +98 -0
- step_rest_client/models/amount.py +89 -0
- step_rest_client/models/and_condition.py +107 -0
- step_rest_client/models/approval_response.py +87 -0
- step_rest_client/models/approval_status.py +99 -0
- step_rest_client/models/asset.py +129 -0
- step_rest_client/models/attribute.py +120 -0
- step_rest_client/models/attribute_link.py +102 -0
- step_rest_client/models/background_process.py +139 -0
- step_rest_client/models/background_process_attachment_metadata.py +105 -0
- step_rest_client/models/background_process_identification.py +89 -0
- step_rest_client/models/background_process_type.py +89 -0
- step_rest_client/models/classification.py +135 -0
- step_rest_client/models/condition.py +265 -0
- step_rest_client/models/data_container.py +139 -0
- step_rest_client/models/data_container_entry.py +117 -0
- step_rest_client/models/data_container_object_condition.py +181 -0
- step_rest_client/models/data_container_type.py +106 -0
- step_rest_client/models/data_type_group.py +108 -0
- step_rest_client/models/endpoint_statistics.py +109 -0
- step_rest_client/models/endpoint_status.py +99 -0
- step_rest_client/models/entity.py +142 -0
- step_rest_client/models/error.py +91 -0
- step_rest_client/models/event_processor.py +93 -0
- step_rest_client/models/event_processor_statistics.py +97 -0
- step_rest_client/models/event_processor_status.py +99 -0
- step_rest_client/models/event_queue_status.py +89 -0
- step_rest_client/models/execution_report_entry.py +103 -0
- step_rest_client/models/export_specification.py +89 -0
- step_rest_client/models/find_similar_business_rule_result.py +91 -0
- step_rest_client/models/find_similar_entities_request.py +95 -0
- step_rest_client/models/find_similar_entities_response.py +103 -0
- step_rest_client/models/find_similar_entities_response_record.py +95 -0
- step_rest_client/models/find_similar_execution_report.py +103 -0
- step_rest_client/models/gateway_integration_endpoint.py +93 -0
- step_rest_client/models/has_data_container_object_condition.py +106 -0
- step_rest_client/models/has_reference_to_condition.py +108 -0
- step_rest_client/models/id_condition.py +105 -0
- step_rest_client/models/inbound_integration_endpoint.py +93 -0
- step_rest_client/models/incoming_reference_entry.py +118 -0
- step_rest_client/models/list_of_values.py +110 -0
- step_rest_client/models/list_of_values_entry.py +91 -0
- step_rest_client/models/lov_value_condition.py +100 -0
- step_rest_client/models/match_and_merge_execution_report.py +119 -0
- step_rest_client/models/match_and_merge_general_execution_report.py +91 -0
- step_rest_client/models/match_and_merge_potential_duplicate.py +93 -0
- step_rest_client/models/match_and_merge_record_in.py +95 -0
- step_rest_client/models/match_and_merge_record_out.py +117 -0
- step_rest_client/models/match_and_merge_response.py +103 -0
- step_rest_client/models/multi_data_container.py +101 -0
- step_rest_client/models/multi_reference.py +97 -0
- step_rest_client/models/multi_value.py +103 -0
- step_rest_client/models/name_condition.py +107 -0
- step_rest_client/models/numeric_value_condition.py +111 -0
- step_rest_client/models/object_type.py +104 -0
- step_rest_client/models/object_type_condition.py +96 -0
- step_rest_client/models/or_condition.py +107 -0
- step_rest_client/models/outbound_integration_endpoint.py +93 -0
- step_rest_client/models/product.py +150 -0
- step_rest_client/models/query.py +91 -0
- step_rest_client/models/query_result.py +99 -0
- step_rest_client/models/reference.py +139 -0
- step_rest_client/models/reference_entry.py +141 -0
- step_rest_client/models/reference_metadata_condition.py +181 -0
- step_rest_client/models/reference_type.py +114 -0
- step_rest_client/models/rejected_by_business_condition.py +93 -0
- step_rest_client/models/simple_below_condition.py +105 -0
- step_rest_client/models/single_data_container.py +97 -0
- step_rest_client/models/single_reference.py +93 -0
- step_rest_client/models/single_value.py +103 -0
- step_rest_client/models/status_flag.py +89 -0
- step_rest_client/models/text_value_condition.py +111 -0
- step_rest_client/models/trigger_workflow_event.py +93 -0
- step_rest_client/models/unit.py +104 -0
- step_rest_client/models/value.py +137 -0
- step_rest_client/models/value_entry.py +91 -0
- step_rest_client/models/workflow.py +91 -0
- step_rest_client/models/workflow_event.py +89 -0
- step_rest_client/models/workflow_instance.py +87 -0
- step_rest_client/models/workflow_instance_creation.py +93 -0
- step_rest_client/models/workflow_node.py +99 -0
- step_rest_client/models/workflow_task.py +113 -0
- step_rest_client/models/workflow_task_query.py +101 -0
- step_rest_client/py.typed +0 -0
- step_rest_client/rest.py +258 -0
- step_rest_client-1.0.0.dist-info/METADATA +23 -0
- step_rest_client-1.0.0.dist-info/RECORD +117 -0
- step_rest_client-1.0.0.dist-info/WHEEL +5 -0
- step_rest_client-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,136 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
# flake8: noqa
|
4
|
+
|
5
|
+
"""
|
6
|
+
STEP REST API V2
|
7
|
+
|
8
|
+
<h1>About</h1><p>The STEP REST API V2 provides read and write access to a set of core STEP objects using the HTTP operations GET, PUT, POST, PATCH and DELETE.</p><h1>Resource Representation</h1><p>With the exception of a few resource operations for retrieving and uploading binary data, all request and response bodies are JSON, compliant with the schema documented here.</p><h1>Context and Workspace</h1><p>All requests are handled in a specific STEP context and workspace and both can be specified via query parameters available for all resource operations. A context must always be specified while requests per default will be handled in the "Main" workspace.</p><h1>Polymorphism</h1><p>In STEP, attributes, reference types and data container types can all be either single- or multivalued. The STEP REST API V2 uses polymorphism to address this complexity with resources that include values, references and data containers specified to produce and consume a common "abstract" supertype that always will be one of either the single- or multivalued subtype.<br/>As an example, the GET /entities/{id}/values/{attributeId} resource operation is specified to return a "Value" but as evident from the model, the "Value" will always be "oneOf" either "SingleValue", that has a "value" property for which the value is an object, or "MultiValue", that has a "values" property for which the value is an array.<br/>Clients are advised to use the presence or absence of the plural array property ("values", "references" and "dataContainers") to determine the concrete type.</p><h1>Authentication</h1><p>The REST API is protected by HTTP Basic Authentication or if OAuth2-based authentication is enabled (SaaS customers only), by Bearer Authentication. With Basic Authentication, user name and password are supplied with each request and it is therefore highly recommended to only use the API in conjunction with HTTPS. For more information about OAuth2-based authentication for SaaS customers, please see the STEP Authentication Guide.</p><h1>Versioning</h1><p>The STEP REST API V2 is versioned using semantic versioning. Stibo Systems reserve the right to make non-breaking, minor / patch changes in any release without warning and clients must be coded / configured to be 'tolerant' and capable of handling such changes.</p><p>Examples of breaking, major changes:</p><ul><li>Renaming of a property</li><li>Removal of a property</li><li>Property type change</li><li>Addition of new property required for write operations</li><li>Marking existing property as required for write operations</li><li>Removal of resource or resource operation</li><li>Materially different behavior for existing resource operation</li></ul><p>Examples of non-breaking, minor / patch changes:</p><ul><li>Addition of new properties in request responses</li><li>Addition of new query parameter not required for write operations</li><li>Addition of new resource or resource operation</li><li>Bug fixes that do not change the schema or resource operations as described here</li><li>Inclusion of a response body for resource operations specified to return a 200 response with no body</li><li>Change of response "Model" / "schema" to type extending the previously specified type</li><li>Renaming a "Model" / "schema" type</li></ul><p>In addition, error message texts may change without warning within the same version. Client program logic should not depend upon the message content.</p><h1>Error Handling</h1><p>The STEP REST API V2 responds with standard HTTP status codes, with 2** responses indicating a success, 4** responses indicating a client error and 5** indicating a server error. Notice that this specification does not specify common error responses like 500 (internal server error) or 401 (unauthorized) for the individual resource operations. Clients should however be capable of handling such responses.</p><p>Error responses have a JSON response body (see Error schema below) containing HTTP status code information in addition to a message providing details about the error. As mentioned above, client program logic should not depend upon the message content.</p><p>The specific status codes used in the API are:</p><ul><li>200 (OK): Success, response may or may not have a body</li><li>201 (Created): Entity successfully created, response may or may not have a body</li><li>400 (Bad request): The server cannot or will not process the request due to an apparent client error</li><li>401 (Unauthorized): Returned only in relation to failed authentication</li><li>404 (Not Found): Returned only in relation to objects specified via path parameters (variable parts of the URL). If STEP objects referenced in request bodies or via query parameters cannot be found, the response will be 400.</li><li>429 (Too Many Requests): Clients are per default limited to 100 requests per second. Returned if the rate limit is exceeded.</li><li>500 (Internal Server Error): Unexpected error (could potentially cover an issue that rightfully should be a 400)</li></ul>
|
9
|
+
|
10
|
+
The version of the OpenAPI document: 1.3.0
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
|
+
|
13
|
+
Do not edit the class manually.
|
14
|
+
""" # noqa: E501
|
15
|
+
|
16
|
+
|
17
|
+
__version__ = "1.0.0"
|
18
|
+
|
19
|
+
# import apis into sdk package
|
20
|
+
from step_rest_client.api.assets_api import AssetsApi
|
21
|
+
from step_rest_client.api.attributes_api import AttributesApi
|
22
|
+
from step_rest_client.api.background_process_types_api import BackgroundProcessTypesApi
|
23
|
+
from step_rest_client.api.background_processes_api import BackgroundProcessesApi
|
24
|
+
from step_rest_client.api.classifications_api import ClassificationsApi
|
25
|
+
from step_rest_client.api.data_container_types_api import DataContainerTypesApi
|
26
|
+
from step_rest_client.api.data_type_groups_api import DataTypeGroupsApi
|
27
|
+
from step_rest_client.api.entities_api import EntitiesApi
|
28
|
+
from step_rest_client.api.event_processors_api import EventProcessorsApi
|
29
|
+
from step_rest_client.api.export_api import ExportApi
|
30
|
+
from step_rest_client.api.gateway_integration_endpoints_api import GatewayIntegrationEndpointsApi
|
31
|
+
from step_rest_client.api.import_api import ImportApi
|
32
|
+
from step_rest_client.api.inbound_integration_endpoints_api import InboundIntegrationEndpointsApi
|
33
|
+
from step_rest_client.api.lists_of_values_api import ListsOfValuesApi
|
34
|
+
from step_rest_client.api.object_types_api import ObjectTypesApi
|
35
|
+
from step_rest_client.api.outbound_integration_endpoints_api import OutboundIntegrationEndpointsApi
|
36
|
+
from step_rest_client.api.products_api import ProductsApi
|
37
|
+
from step_rest_client.api.reference_types_api import ReferenceTypesApi
|
38
|
+
from step_rest_client.api.reporting_api import ReportingApi
|
39
|
+
from step_rest_client.api.units_api import UnitsApi
|
40
|
+
from step_rest_client.api.workflow_tasks_api import WorkflowTasksApi
|
41
|
+
from step_rest_client.api.workflows_api import WorkflowsApi
|
42
|
+
|
43
|
+
# import ApiClient
|
44
|
+
from step_rest_client.api_response import ApiResponse
|
45
|
+
from step_rest_client.api_client import ApiClient
|
46
|
+
from step_rest_client.configuration import Configuration
|
47
|
+
from step_rest_client.exceptions import OpenApiException
|
48
|
+
from step_rest_client.exceptions import ApiTypeError
|
49
|
+
from step_rest_client.exceptions import ApiValueError
|
50
|
+
from step_rest_client.exceptions import ApiKeyError
|
51
|
+
from step_rest_client.exceptions import ApiAttributeError
|
52
|
+
from step_rest_client.exceptions import ApiException
|
53
|
+
|
54
|
+
# import models into sdk package
|
55
|
+
from step_rest_client.models.amount import Amount
|
56
|
+
from step_rest_client.models.and_condition import AndCondition
|
57
|
+
from step_rest_client.models.approval_response import ApprovalResponse
|
58
|
+
from step_rest_client.models.approval_status import ApprovalStatus
|
59
|
+
from step_rest_client.models.asset import Asset
|
60
|
+
from step_rest_client.models.attribute import Attribute
|
61
|
+
from step_rest_client.models.attribute_link import AttributeLink
|
62
|
+
from step_rest_client.models.background_process import BackgroundProcess
|
63
|
+
from step_rest_client.models.background_process_attachment_metadata import BackgroundProcessAttachmentMetadata
|
64
|
+
from step_rest_client.models.background_process_identification import BackgroundProcessIdentification
|
65
|
+
from step_rest_client.models.background_process_type import BackgroundProcessType
|
66
|
+
from step_rest_client.models.classification import Classification
|
67
|
+
from step_rest_client.models.condition import Condition
|
68
|
+
from step_rest_client.models.data_container import DataContainer
|
69
|
+
from step_rest_client.models.data_container_entry import DataContainerEntry
|
70
|
+
from step_rest_client.models.data_container_object_condition import DataContainerObjectCondition
|
71
|
+
from step_rest_client.models.data_container_type import DataContainerType
|
72
|
+
from step_rest_client.models.data_type_group import DataTypeGroup
|
73
|
+
from step_rest_client.models.endpoint_statistics import EndpointStatistics
|
74
|
+
from step_rest_client.models.endpoint_status import EndpointStatus
|
75
|
+
from step_rest_client.models.entity import Entity
|
76
|
+
from step_rest_client.models.error import Error
|
77
|
+
from step_rest_client.models.event_processor import EventProcessor
|
78
|
+
from step_rest_client.models.event_processor_statistics import EventProcessorStatistics
|
79
|
+
from step_rest_client.models.event_processor_status import EventProcessorStatus
|
80
|
+
from step_rest_client.models.event_queue_status import EventQueueStatus
|
81
|
+
from step_rest_client.models.execution_report_entry import ExecutionReportEntry
|
82
|
+
from step_rest_client.models.export_specification import ExportSpecification
|
83
|
+
from step_rest_client.models.find_similar_business_rule_result import FindSimilarBusinessRuleResult
|
84
|
+
from step_rest_client.models.find_similar_entities_request import FindSimilarEntitiesRequest
|
85
|
+
from step_rest_client.models.find_similar_entities_response import FindSimilarEntitiesResponse
|
86
|
+
from step_rest_client.models.find_similar_entities_response_record import FindSimilarEntitiesResponseRecord
|
87
|
+
from step_rest_client.models.find_similar_execution_report import FindSimilarExecutionReport
|
88
|
+
from step_rest_client.models.gateway_integration_endpoint import GatewayIntegrationEndpoint
|
89
|
+
from step_rest_client.models.has_data_container_object_condition import HasDataContainerObjectCondition
|
90
|
+
from step_rest_client.models.has_reference_to_condition import HasReferenceToCondition
|
91
|
+
from step_rest_client.models.id_condition import IdCondition
|
92
|
+
from step_rest_client.models.inbound_integration_endpoint import InboundIntegrationEndpoint
|
93
|
+
from step_rest_client.models.incoming_reference_entry import IncomingReferenceEntry
|
94
|
+
from step_rest_client.models.list_of_values import ListOfValues
|
95
|
+
from step_rest_client.models.list_of_values_entry import ListOfValuesEntry
|
96
|
+
from step_rest_client.models.lov_value_condition import LovValueCondition
|
97
|
+
from step_rest_client.models.match_and_merge_execution_report import MatchAndMergeExecutionReport
|
98
|
+
from step_rest_client.models.match_and_merge_general_execution_report import MatchAndMergeGeneralExecutionReport
|
99
|
+
from step_rest_client.models.match_and_merge_potential_duplicate import MatchAndMergePotentialDuplicate
|
100
|
+
from step_rest_client.models.match_and_merge_record_in import MatchAndMergeRecordIn
|
101
|
+
from step_rest_client.models.match_and_merge_record_out import MatchAndMergeRecordOut
|
102
|
+
from step_rest_client.models.match_and_merge_response import MatchAndMergeResponse
|
103
|
+
from step_rest_client.models.multi_data_container import MultiDataContainer
|
104
|
+
from step_rest_client.models.multi_reference import MultiReference
|
105
|
+
from step_rest_client.models.multi_value import MultiValue
|
106
|
+
from step_rest_client.models.name_condition import NameCondition
|
107
|
+
from step_rest_client.models.numeric_value_condition import NumericValueCondition
|
108
|
+
from step_rest_client.models.object_type import ObjectType
|
109
|
+
from step_rest_client.models.object_type_condition import ObjectTypeCondition
|
110
|
+
from step_rest_client.models.or_condition import OrCondition
|
111
|
+
from step_rest_client.models.outbound_integration_endpoint import OutboundIntegrationEndpoint
|
112
|
+
from step_rest_client.models.product import Product
|
113
|
+
from step_rest_client.models.query import Query
|
114
|
+
from step_rest_client.models.query_result import QueryResult
|
115
|
+
from step_rest_client.models.reference import Reference
|
116
|
+
from step_rest_client.models.reference_entry import ReferenceEntry
|
117
|
+
from step_rest_client.models.reference_metadata_condition import ReferenceMetadataCondition
|
118
|
+
from step_rest_client.models.reference_type import ReferenceType
|
119
|
+
from step_rest_client.models.rejected_by_business_condition import RejectedByBusinessCondition
|
120
|
+
from step_rest_client.models.simple_below_condition import SimpleBelowCondition
|
121
|
+
from step_rest_client.models.single_data_container import SingleDataContainer
|
122
|
+
from step_rest_client.models.single_reference import SingleReference
|
123
|
+
from step_rest_client.models.single_value import SingleValue
|
124
|
+
from step_rest_client.models.status_flag import StatusFlag
|
125
|
+
from step_rest_client.models.text_value_condition import TextValueCondition
|
126
|
+
from step_rest_client.models.trigger_workflow_event import TriggerWorkflowEvent
|
127
|
+
from step_rest_client.models.unit import Unit
|
128
|
+
from step_rest_client.models.value import Value
|
129
|
+
from step_rest_client.models.value_entry import ValueEntry
|
130
|
+
from step_rest_client.models.workflow import Workflow
|
131
|
+
from step_rest_client.models.workflow_event import WorkflowEvent
|
132
|
+
from step_rest_client.models.workflow_instance import WorkflowInstance
|
133
|
+
from step_rest_client.models.workflow_instance_creation import WorkflowInstanceCreation
|
134
|
+
from step_rest_client.models.workflow_node import WorkflowNode
|
135
|
+
from step_rest_client.models.workflow_task import WorkflowTask
|
136
|
+
from step_rest_client.models.workflow_task_query import WorkflowTaskQuery
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# flake8: noqa
|
2
|
+
|
3
|
+
# import apis into api package
|
4
|
+
from step_rest_client.api.assets_api import AssetsApi
|
5
|
+
from step_rest_client.api.attributes_api import AttributesApi
|
6
|
+
from step_rest_client.api.background_process_types_api import BackgroundProcessTypesApi
|
7
|
+
from step_rest_client.api.background_processes_api import BackgroundProcessesApi
|
8
|
+
from step_rest_client.api.classifications_api import ClassificationsApi
|
9
|
+
from step_rest_client.api.data_container_types_api import DataContainerTypesApi
|
10
|
+
from step_rest_client.api.data_type_groups_api import DataTypeGroupsApi
|
11
|
+
from step_rest_client.api.entities_api import EntitiesApi
|
12
|
+
from step_rest_client.api.event_processors_api import EventProcessorsApi
|
13
|
+
from step_rest_client.api.export_api import ExportApi
|
14
|
+
from step_rest_client.api.gateway_integration_endpoints_api import GatewayIntegrationEndpointsApi
|
15
|
+
from step_rest_client.api.import_api import ImportApi
|
16
|
+
from step_rest_client.api.inbound_integration_endpoints_api import InboundIntegrationEndpointsApi
|
17
|
+
from step_rest_client.api.lists_of_values_api import ListsOfValuesApi
|
18
|
+
from step_rest_client.api.object_types_api import ObjectTypesApi
|
19
|
+
from step_rest_client.api.outbound_integration_endpoints_api import OutboundIntegrationEndpointsApi
|
20
|
+
from step_rest_client.api.products_api import ProductsApi
|
21
|
+
from step_rest_client.api.reference_types_api import ReferenceTypesApi
|
22
|
+
from step_rest_client.api.reporting_api import ReportingApi
|
23
|
+
from step_rest_client.api.units_api import UnitsApi
|
24
|
+
from step_rest_client.api.workflow_tasks_api import WorkflowTasksApi
|
25
|
+
from step_rest_client.api.workflows_api import WorkflowsApi
|
26
|
+
|