Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate resources sdk 🔁 #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -133,4 +133,4 @@ jobs:
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: waylay-sdk-resources-types/dist
packages-dir: waylay-sdk-resources-types/dist
44 changes: 30 additions & 14 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,21 @@ docs/BatchOperationEnqueued.md
docs/BatchOperationResult.md
docs/BatchOperationStatusResponse.md
docs/BatchOperationsApi.md
docs/BatchResourceDeleteOperation.md
docs/BatchResourceDeleteOperationAction.md
docs/BatchResourceDeleteOperationActionParameters.md
docs/BatchResourceDeleteOperationEntity.md
docs/BatchResourceDeleteOperationQuery.md
docs/BatchResourceOperation.md
docs/BatchResourceOperationAction.md
docs/BatchResourceOperationEntity.md
docs/BatchResourceOperationQuery.md
docs/BatchResourceOperationQueryIdsInner.md
docs/BatchResourceTypeDeleteOperation.md
docs/BatchResourceTypeDeleteOperationEntity.md
docs/BatchResourceTypeDeleteOperationQuery.md
docs/BatchRunningResourceOperation.md
docs/BatchRunningResourceOperationOperation.md
docs/BatchRunningResourceOperationOperationEntity.md
docs/BooleanValueConstraint.md
docs/BooleanValueConstraintType.md
docs/CascadeDeleteValuesInner.md
docs/ChangedEvent.md
docs/ChangedEventType.md
docs/CloudMetadataEvent.md
Expand All @@ -32,8 +37,10 @@ docs/Constraint.md
docs/ConstraintError.md
docs/ConstraintStatus.md
docs/ConstraintStatusStatus.md
docs/CreateDeleteEvent.md
docs/CreateDeleteEventType.md
docs/CreateEvent.md
docs/CreateEventType.md
docs/DeletedEvent.md
docs/DeletedResourceEvent.md
docs/DiscoveredEvent.md
docs/DiscoveredEventType.md
docs/ErrorResponse.md
Expand All @@ -57,9 +64,9 @@ docs/HALSelfLinksLinks.md
docs/HALSelfLinksLinksSelf.md
docs/HALSelfLinksLinksValue.md
docs/ListConstraints200Response.md
docs/ListResourcesOrderParameter.md
docs/MetadataEntity.md
docs/MetadataEntityLocation.md
docs/MetadataEntityValue.md
docs/MetadataEvent.md
docs/MetadataEventsApi.md
docs/NdJsonResponseStream.md
Expand Down Expand Up @@ -126,6 +133,7 @@ docs/StringValueConstraintType.md
docs/SuccessOperationResultValue.md
docs/TaskConfiguration.md
docs/TaskConfigurationType.md
docs/UserResourceProperties.md
docs/ValidationFailure.md
docs/VersionResponse.md
docs/WithIdRequired.md
Expand All @@ -149,16 +157,21 @@ test/types/attribute_item_stub.py
test/types/batch_operation_enqueued_stub.py
test/types/batch_operation_result_stub.py
test/types/batch_operation_status_response_stub.py
test/types/batch_resource_operation_action_stub.py
test/types/batch_resource_operation_entity_stub.py
test/types/batch_resource_operation_query_ids_inner_stub.py
test/types/batch_resource_operation_query_stub.py
test/types/batch_resource_delete_operation_action_parameters_stub.py
test/types/batch_resource_delete_operation_action_stub.py
test/types/batch_resource_delete_operation_entity_stub.py
test/types/batch_resource_delete_operation_query_stub.py
test/types/batch_resource_delete_operation_stub.py
test/types/batch_resource_operation_stub.py
test/types/batch_resource_type_delete_operation_entity_stub.py
test/types/batch_resource_type_delete_operation_query_stub.py
test/types/batch_resource_type_delete_operation_stub.py
test/types/batch_running_resource_operation_operation_entity_stub.py
test/types/batch_running_resource_operation_operation_stub.py
test/types/batch_running_resource_operation_stub.py
test/types/boolean_value_constraint_stub.py
test/types/boolean_value_constraint_type_stub.py
test/types/cascade_delete_values_inner_stub.py
test/types/changed_event_stub.py
test/types/changed_event_type_stub.py
test/types/cloud_metadata_event_data_source_stub.py
Expand All @@ -169,8 +182,10 @@ test/types/constraint_error_stub.py
test/types/constraint_status_status_stub.py
test/types/constraint_status_stub.py
test/types/constraint_stub.py
test/types/create_delete_event_stub.py
test/types/create_delete_event_type_stub.py
test/types/create_event_stub.py
test/types/create_event_type_stub.py
test/types/deleted_event_stub.py
test/types/deleted_resource_event_stub.py
test/types/discovered_event_stub.py
test/types/discovered_event_type_stub.py
test/types/error_response_stub.py
Expand All @@ -194,9 +209,9 @@ test/types/hal_self_links_links_value_stub.py
test/types/hal_self_links_stub.py
test/types/halid_link_stub.py
test/types/list_constraints200_response_stub.py
test/types/list_resources_order_parameter_stub.py
test/types/metadata_entity_location_stub.py
test/types/metadata_entity_stub.py
test/types/metadata_entity_value_stub.py
test/types/metadata_event_stub.py
test/types/nd_json_response_stream_stub.py
test/types/numeric_enum_value_constraint_stub.py
Expand Down Expand Up @@ -258,6 +273,7 @@ test/types/string_value_constraint_type_stub.py
test/types/success_operation_result_value_stub.py
test/types/task_configuration_stub.py
test/types/task_configuration_type_stub.py
test/types/user_resource_properties_stub.py
test/types/validation_failure_stub.py
test/types/version_response_stub.py
test/types/with_id_required_stub.py
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.7.0
7.8.0
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You'll interact with the _Waylay Resources_ API to create this _Digital Twin_ mo
a process that's also called _resource provisioning_.

This Python package is automatically generated based on the
Waylay Resources OpenAPI specification (API version: 8.1.0)
Waylay Resources OpenAPI specification (API version: 8.5.0)
For more information, please visit [the openapi specification](https://docs.waylay.io/openapi/public/redocly/resources.html).

It consists of two sub-packages that are both plugins for the waylay-sdk-core package.
Expand Down Expand Up @@ -103,16 +103,21 @@ Class | Method | HTTP request | Description
- [BatchOperationEnqueued](docs/BatchOperationEnqueued.md)
- [BatchOperationResult](docs/BatchOperationResult.md)
- [BatchOperationStatusResponse](docs/BatchOperationStatusResponse.md)
- [BatchResourceDeleteOperation](docs/BatchResourceDeleteOperation.md)
- [BatchResourceDeleteOperationAction](docs/BatchResourceDeleteOperationAction.md)
- [BatchResourceDeleteOperationActionParameters](docs/BatchResourceDeleteOperationActionParameters.md)
- [BatchResourceDeleteOperationEntity](docs/BatchResourceDeleteOperationEntity.md)
- [BatchResourceDeleteOperationQuery](docs/BatchResourceDeleteOperationQuery.md)
- [BatchResourceOperation](docs/BatchResourceOperation.md)
- [BatchResourceOperationAction](docs/BatchResourceOperationAction.md)
- [BatchResourceOperationEntity](docs/BatchResourceOperationEntity.md)
- [BatchResourceOperationQuery](docs/BatchResourceOperationQuery.md)
- [BatchResourceOperationQueryIdsInner](docs/BatchResourceOperationQueryIdsInner.md)
- [BatchResourceTypeDeleteOperation](docs/BatchResourceTypeDeleteOperation.md)
- [BatchResourceTypeDeleteOperationEntity](docs/BatchResourceTypeDeleteOperationEntity.md)
- [BatchResourceTypeDeleteOperationQuery](docs/BatchResourceTypeDeleteOperationQuery.md)
- [BatchRunningResourceOperation](docs/BatchRunningResourceOperation.md)
- [BatchRunningResourceOperationOperation](docs/BatchRunningResourceOperationOperation.md)
- [BatchRunningResourceOperationOperationEntity](docs/BatchRunningResourceOperationOperationEntity.md)
- [BooleanValueConstraint](docs/BooleanValueConstraint.md)
- [BooleanValueConstraintType](docs/BooleanValueConstraintType.md)
- [CascadeDeleteValuesInner](docs/CascadeDeleteValuesInner.md)
- [ChangedEvent](docs/ChangedEvent.md)
- [ChangedEventType](docs/ChangedEventType.md)
- [CloudMetadataEvent](docs/CloudMetadataEvent.md)
Expand All @@ -123,8 +128,10 @@ Class | Method | HTTP request | Description
- [ConstraintError](docs/ConstraintError.md)
- [ConstraintStatus](docs/ConstraintStatus.md)
- [ConstraintStatusStatus](docs/ConstraintStatusStatus.md)
- [CreateDeleteEvent](docs/CreateDeleteEvent.md)
- [CreateDeleteEventType](docs/CreateDeleteEventType.md)
- [CreateEvent](docs/CreateEvent.md)
- [CreateEventType](docs/CreateEventType.md)
- [DeletedEvent](docs/DeletedEvent.md)
- [DeletedResourceEvent](docs/DeletedResourceEvent.md)
- [DiscoveredEvent](docs/DiscoveredEvent.md)
- [DiscoveredEventType](docs/DiscoveredEventType.md)
- [ErrorResponse](docs/ErrorResponse.md)
Expand All @@ -148,9 +155,9 @@ Class | Method | HTTP request | Description
- [HALSelfLinksLinksSelf](docs/HALSelfLinksLinksSelf.md)
- [HALSelfLinksLinksValue](docs/HALSelfLinksLinksValue.md)
- [ListConstraints200Response](docs/ListConstraints200Response.md)
- [ListResourcesOrderParameter](docs/ListResourcesOrderParameter.md)
- [MetadataEntity](docs/MetadataEntity.md)
- [MetadataEntityLocation](docs/MetadataEntityLocation.md)
- [MetadataEntityValue](docs/MetadataEntityValue.md)
- [MetadataEvent](docs/MetadataEvent.md)
- [NdJsonResponseStream](docs/NdJsonResponseStream.md)
- [NumericEnumValueConstraint](docs/NumericEnumValueConstraint.md)
Expand Down Expand Up @@ -212,6 +219,7 @@ Class | Method | HTTP request | Description
- [SuccessOperationResultValue](docs/SuccessOperationResultValue.md)
- [TaskConfiguration](docs/TaskConfiguration.md)
- [TaskConfigurationType](docs/TaskConfigurationType.md)
- [UserResourceProperties](docs/UserResourceProperties.md)
- [ValidationFailure](docs/ValidationFailure.md)
- [VersionResponse](docs/VersionResponse.md)
- [WithIdRequired](docs/WithIdRequired.md)
Expand Down
32 changes: 32 additions & 0 deletions docs/BatchResourceDeleteOperation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# BatchResourceDeleteOperation


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**entity** | [**BatchResourceDeleteOperationEntity**](BatchResourceDeleteOperationEntity.md) | |
**action** | [**BatchResourceDeleteOperationAction**](BatchResourceDeleteOperationAction.md) | |
**query** | [**BatchResourceDeleteOperationQuery**](BatchResourceDeleteOperationQuery.md) | |
**action_parameters** | [**BatchResourceDeleteOperationActionParameters**](BatchResourceDeleteOperationActionParameters.md) | | [optional]

## Example

```python
from waylay.services.resources.models.batch_resource_delete_operation import BatchResourceDeleteOperation

# TODO update the JSON string below
json = "{}"
# create an instance of BatchResourceDeleteOperation from a JSON string
batch_resource_delete_operation_instance = BatchResourceDeleteOperation.from_json(json)
# print the JSON string representation of the object
print BatchResourceDeleteOperation.to_json()

# convert the object into a dict
batch_resource_delete_operation_dict = batch_resource_delete_operation_instance.to_dict()
# create an instance of BatchResourceDeleteOperation from a dict
batch_resource_delete_operation_form_dict = batch_resource_delete_operation.from_dict(batch_resource_delete_operation_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


11 changes: 11 additions & 0 deletions docs/BatchResourceDeleteOperationAction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# BatchResourceDeleteOperationAction


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


29 changes: 29 additions & 0 deletions docs/BatchResourceDeleteOperationActionParameters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# BatchResourceDeleteOperationActionParameters


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cascade** | [**List[CascadeDeleteValuesInner]**](CascadeDeleteValuesInner.md) | |

## Example

```python
from waylay.services.resources.models.batch_resource_delete_operation_action_parameters import BatchResourceDeleteOperationActionParameters

# TODO update the JSON string below
json = "{}"
# create an instance of BatchResourceDeleteOperationActionParameters from a JSON string
batch_resource_delete_operation_action_parameters_instance = BatchResourceDeleteOperationActionParameters.from_json(json)
# print the JSON string representation of the object
print BatchResourceDeleteOperationActionParameters.to_json()

# convert the object into a dict
batch_resource_delete_operation_action_parameters_dict = batch_resource_delete_operation_action_parameters_instance.to_dict()
# create an instance of BatchResourceDeleteOperationActionParameters from a dict
batch_resource_delete_operation_action_parameters_form_dict = batch_resource_delete_operation_action_parameters.from_dict(batch_resource_delete_operation_action_parameters_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BatchResourceOperationEntity
# BatchResourceDeleteOperationEntity

Type of entities to remove

Expand Down
29 changes: 29 additions & 0 deletions docs/BatchResourceDeleteOperationQuery.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# BatchResourceDeleteOperationQuery


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ids** | [**List[ResourceId]**](ResourceId.md) | |

## Example

```python
from waylay.services.resources.models.batch_resource_delete_operation_query import BatchResourceDeleteOperationQuery

# TODO update the JSON string below
json = "{}"
# create an instance of BatchResourceDeleteOperationQuery from a JSON string
batch_resource_delete_operation_query_instance = BatchResourceDeleteOperationQuery.from_json(json)
# print the JSON string representation of the object
print BatchResourceDeleteOperationQuery.to_json()

# convert the object into a dict
batch_resource_delete_operation_query_dict = batch_resource_delete_operation_query_instance.to_dict()
# create an instance of BatchResourceDeleteOperationQuery from a dict
batch_resource_delete_operation_query_form_dict = batch_resource_delete_operation_query.from_dict(batch_resource_delete_operation_query_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


7 changes: 4 additions & 3 deletions docs/BatchResourceOperation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**entity** | [**BatchResourceOperationEntity**](BatchResourceOperationEntity.md) | |
**action** | [**BatchResourceOperationAction**](BatchResourceOperationAction.md) | |
**query** | [**BatchResourceOperationQuery**](BatchResourceOperationQuery.md) | |
**entity** | [**BatchResourceTypeDeleteOperationEntity**](BatchResourceTypeDeleteOperationEntity.md) | |
**action** | [**BatchResourceDeleteOperationAction**](BatchResourceDeleteOperationAction.md) | |
**query** | [**BatchResourceTypeDeleteOperationQuery**](BatchResourceTypeDeleteOperationQuery.md) | |
**action_parameters** | [**BatchResourceDeleteOperationActionParameters**](BatchResourceDeleteOperationActionParameters.md) | | [optional]

## Example

Expand Down
29 changes: 0 additions & 29 deletions docs/BatchResourceOperationQuery.md

This file was deleted.

28 changes: 0 additions & 28 deletions docs/BatchResourceOperationQueryIdsInner.md

This file was deleted.

Loading