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

chore: Update SDK version to 1.0 for stable release to PyPI #8

Merged
merged 2 commits into from
Jun 11, 2024
Merged
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
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"packageName": "notehub_py",
"packageUrl": "https://github.com/blues/notehub-py",
"projectName": "notehub-py",
"packageVersion": "0.0.5"
"packageVersion": "1.0.0"
}
2 changes: 1 addition & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ openapi: "3.0.3"

info:
title: Notehub API
version: 1.0.0
version: 1.1.0
description: |
The OpenAPI definition for the Notehub.io API.
contact:
Expand Down
96 changes: 96 additions & 0 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.github/workflows/python.yml
.gitignore
.gitlab-ci.yml
.openapi-generator-ignore
.travis.yml
README.md
docs/Alert.md
Expand Down Expand Up @@ -209,4 +210,99 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_alert.py
test/test_alert_api.py
test/test_alert_data_inner.py
test/test_alert_notifications_inner.py
test/test_authorization_api.py
test/test_aws.py
test/test_azure.py
test/test_billing_account.py
test/test_billing_account_api.py
test/test_billing_account_role.py
test/test_body.py
test/test_clone_project_request.py
test/test_contact.py
test/test_create_fleet_request.py
test/test_create_monitor.py
test/test_create_product_request.py
test/test_create_project_request.py
test/test_delete_device_fleets_request.py
test/test_device.py
test/test_device_api.py
test/test_device_session.py
test/test_device_tower_info.py
test/test_device_usage.py
test/test_dfu_env.py
test/test_dfu_state.py
test/test_email_notification.py
test/test_environment_variables.py
test/test_error.py
test/test_event.py
test/test_event_api.py
test/test_firmware_info.py
test/test_firmware_status.py
test/test_fleet.py
test/test_get_alerts200_response.py
test/test_get_billing_accounts200_response.py
test/test_get_device_environment_variables200_response.py
test/test_get_device_health_log200_response.py
test/test_get_device_health_log200_response_health_log_inner.py
test/test_get_device_latest200_response.py
test/test_get_device_public_key200_response.py
test/test_get_device_sessions200_response.py
test/test_get_project_device_public_keys200_response.py
test/test_get_project_device_public_keys200_response_device_public_keys_inner.py
test/test_get_project_devices200_response.py
test/test_get_project_events200_response.py
test/test_get_project_events_by_cursor200_response.py
test/test_get_project_fleets200_response.py
test/test_get_project_members200_response.py
test/test_get_project_products200_response.py
test/test_get_projects200_response.py
test/test_get_route_logs_by_route200_response_inner.py
test/test_google.py
test/test_handle_note_changes200_response.py
test/test_handle_note_get200_response.py
test/test_handle_note_signal200_response.py
test/test_handle_notefile_changes200_response.py
test/test_handle_notefile_changes_pending200_response.py
test/test_handle_notefile_delete_request.py
test/test_http.py
test/test_http_filter.py
test/test_http_transform.py
test/test_location.py
test/test_login200_response.py
test/test_login_request.py
test/test_monitor.py
test/test_monitor_alert_routes_inner.py
test/test_monitor_api.py
test/test_mqtt.py
test/test_note.py
test/test_ota_status.py
test/test_ota_status_list.py
test/test_ota_update_request.py
test/test_ota_update_status.py
test/test_post_provision_project_device_request.py
test/test_product.py
test/test_project.py
test/test_project_api.py
test/test_project_member.py
test/test_proxy.py
test/test_put_device_fleets_request.py
test/test_radresponder.py
test/test_role.py
test/test_route.py
test/test_route_api.py
test/test_route_schema.py
test/test_slack.py
test/test_slack_bearer_notification.py
test/test_slack_web_hook_notification.py
test/test_snowflake.py
test/test_snowflake_transform.py
test/test_thingworx.py
test/test_tower_location.py
test/test_twilio.py
test/test_update_fleet_request.py
test/test_user_db_route.py
tox.ini
4 changes: 2 additions & 2 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ The OpenAPI definition for the Notehub.io API.

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.0
- Package version: 0.0.5
- API version: 1.1.0
- Package version: 1.0.0
- Generator version: 7.5.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)
Expand Down
4 changes: 2 additions & 2 deletions src/notehub_py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501


__version__ = "0.0.5"
__version__ = "1.0.0"

# import apis into sdk package
from notehub_py.api.alert_api import AlertApi
Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/api/alert_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/api/authorization_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/api/billing_account_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/api/device_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/api/event_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/api/monitor_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/api/project_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/api/route_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
4 changes: 2 additions & 2 deletions src/notehub_py/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down Expand Up @@ -89,7 +89,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/0.0.5/python'
self.user_agent = 'OpenAPI-Generator/1.0.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
6 changes: 3 additions & 3 deletions src/notehub_py/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down Expand Up @@ -408,8 +408,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0.0\n"\
"SDK Package Version: 0.0.5".\
"Version of the API: 1.1.0\n"\
"SDK Package Version: 1.0.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/alert_data_inner.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/alert_notifications_inner.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/billing_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/billing_account_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/clone_project_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/create_fleet_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/create_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion src/notehub_py/models/create_product_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

The OpenAPI definition for the Notehub.io API.

The version of the OpenAPI document: 1.0.0
The version of the OpenAPI document: 1.1.0
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
Loading
Loading