Skip to content

Commit

Permalink
Major version 1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilym committed Sep 18, 2018
1 parent fb06d47 commit 8efe008
Show file tree
Hide file tree
Showing 36 changed files with 47 additions and 71 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ information to effectively respond to your bug report or contribution.

We welcome you to use the GitHub issue tracker to report bugs or suggest features.

When filing an issue, please check [existing open](https://github.com/alexa-labs/alexa-apis-for-python/issues), or [recently closed](https://github.com/alexa-labs/alexa-apis-for-python/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
When filing an issue, please check [existing open](https://github.com/alexa/alexa-apis-for-python/issues), or [recently closed](https://github.com/alexa/alexa-apis-for-python/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:

* A reproducible test case or series of steps, using the [Alexa Skills Kit Python SDK](https://github.com/alexa-labs/alexa-skills-kit-sdk-for-python)
* A reproducible test case or series of steps, using the [Alexa Skills Kit Python SDK](https://github.com/alexa/alexa-skills-kit-sdk-for-python)
* The version of our code being used
* Any modifications you've made relevant to the bug
* Anything unusual about your environment or deployment
Expand All @@ -39,6 +39,6 @@ If you discover a potential security issue in this project we ask that you notif

## Licensing

See the [LICENSE](https://github.com/alexa-labs/alexa-apis-for-python/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
See the [LICENSE](https://github.com/alexa/alexa-apis-for-python/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.

We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Alexa APIs for Python

The **Alexa APIs for Python** consists of python classes that represent the
request and response JSON of Alexa services. These models act as a core
dependency for the `Alexa Skills Kit Python SDK (Beta) <https://github.com/alexa-labs/alexa-skills-kit-sdk-for-python>`__.
dependency for the `Alexa Skills Kit Python SDK <https://github.com/alexa/alexa-skills-kit-sdk-for-python>`__.

These model classes are auto-generated using the `JSON schemas <https://developer.amazon.com/docs/custom-skills/request-and-response-json-reference.html>`__
in the developer documentation.
Expand All @@ -18,7 +18,7 @@ in the developer documentation.
:target: https://pypi.python.org/pypi/ask-sdk-model/
:alt: Version
.. |License| image:: http://img.shields.io/pypi/l/ask-sdk-core.svg?style=flat
:target: https://github.com/alexa-labs/alexa-apis-for-python/blob/master/LICENSE
:target: https://github.com/alexa/alexa-apis-for-python/blob/master/LICENSE
:alt: License

==================================== =======
Expand All @@ -31,14 +31,14 @@ ask-sdk-model |Model Version|
Following are some resources that can help you get started quickly with
models and SDK:

* `Alexa Skills Kit Python SDK (Beta) <https://github.com/alexa-labs/alexa-skills-kit-sdk-for-python>`__
* `Alexa Skills Kit Python SDK <https://github.com/alexa/alexa-skills-kit-sdk-for-python>`__
* `API Documentation <https://alexa-skills-kit-python-sdk.readthedocs.io/en/latest/models/ask_sdk_model.html>`__

Got Feedback?
-------------

- We would like to hear about your bugs, feature requests, questions or quick feedback.
Please search for `existing issues <https://github.com/alexa-labs/alexa-apis-for-python/issues>`_
Please search for `existing issues <https://github.com/alexa/alexa-apis-for-python/issues>`_
before opening a new one. It would also be helpful if you follow the
templates for issue creation. Please follow the
`contributing guidelines <CONTRIBUTING.md>`__!!
Expand Down
6 changes: 6 additions & 0 deletions ask-sdk-model/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ CHANGELOG
~~~~~

* APIs for getting device timezone, distance measurement, temperature measurement

1.0.0
-----

* Production release of ASK Models Package.

2 changes: 1 addition & 1 deletion ask-sdk-model/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ The model definitions in this package are auto-generated. The issues and pull re
on the repository are not monitored and may get closed without investigation. Please use
these community resources for getting help:

* Use the `ASK SDK <https://github.com/alexa-labs/alexa-skills-kit-sdk-for-python>`_ for building skills and filing bugs.
* Use the `ASK SDK <https://github.com/alexa/alexa-skills-kit-sdk-for-python>`_ for building skills and filing bugs.
* Request and vote for `Alexa features <https://alexa.uservoice.com/forums/906892-alexa-skills-developer-voice-and-vote>`_!
4 changes: 2 additions & 2 deletions ask-sdk-model/ask_sdk_model/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

__pip_package_name__ = 'ask-sdk-model'
__description__ = 'The ASK SDK Model package provides model definitions, for building Alexa Skills.'
__url__ = 'http://developer.amazon.com/ask'
__version__ = '0.3.0'
__url__ = 'https://github.com/alexa/alexa-apis-for-python'
__version__ = '1.0.0'
__author__ = 'Alexa Skills Kit'
__author_email__ = 'ask-sdk-dynamic@amazon.com'
__license__ = 'Apache 2.0'
Expand Down
3 changes: 1 addition & 2 deletions ask-sdk-model/ask_sdk_model/dialog_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ class DialogState(Enum):
Allowed enum values: [STARTED, IN_PROGRESS, COMPLETED, ]
Allowed enum values: [STARTED, IN_PROGRESS, COMPLETED]
"""
STARTED = "STARTED"
IN_PROGRESS = "IN_PROGRESS"
COMPLETED = "COMPLETED"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
3 changes: 1 addition & 2 deletions ask-sdk-model/ask_sdk_model/intent_confirmation_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ class IntentConfirmationStatus(Enum):
Allowed enum values: [NONE, DENIED, CONFIRMED, ]
Allowed enum values: [NONE, DENIED, CONFIRMED]
"""
NONE = "NONE"
DENIED = "DENIED"
CONFIRMED = "CONFIRMED"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ class BillingAgreementStatus(Enum):
Allowed enum values: [CANCELED, CLOSED, DRAFT, OPEN, SUSPENDED, ]
Allowed enum values: [CANCELED, CLOSED, DRAFT, OPEN, SUSPENDED]
"""
CANCELED = "CANCELED"
CLOSED = "CLOSED"
DRAFT = "DRAFT"
OPEN = "OPEN"
SUSPENDED = "SUSPENDED"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ class PaymentAction(Enum):
Allowed enum values: [Authorize, AuthorizeAndCapture, ]
Allowed enum values: [Authorize, AuthorizeAndCapture]
"""
Authorize = "Authorize"
AuthorizeAndCapture = "AuthorizeAndCapture"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ class ReleaseEnvironment(Enum):
Allowed enum values: [LIVE, SANDBOX, ]
Allowed enum values: [LIVE, SANDBOX]
"""
LIVE = "LIVE"
SANDBOX = "SANDBOX"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ class State(Enum):
Allowed enum values: [Pending, Open, Declined, Closed, Completed, ]
Allowed enum values: [Pending, Open, Declined, Closed, Completed]
"""
Pending = "Pending"
Open = "Open"
Declined = "Declined"
Closed = "Closed"
Completed = "Completed"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ class ClearBehavior(Enum):
"""
Allowed enum values: [CLEAR_ALL, CLEAR_ENQUEUED, ]
Allowed enum values: [CLEAR_ALL, CLEAR_ENQUEUED]
"""
CLEAR_ALL = "CLEAR_ALL"
CLEAR_ENQUEUED = "CLEAR_ENQUEUED"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ class ErrorType(Enum):
"""
Allowed enum values: [MEDIA_ERROR_INTERNAL_DEVICE_ERROR, MEDIA_ERROR_INTERNAL_SERVER_ERROR, MEDIA_ERROR_INVALID_REQUEST, MEDIA_ERROR_SERVICE_UNAVAILABLE, MEDIA_ERROR_UNKNOWN, ]
Allowed enum values: [MEDIA_ERROR_INTERNAL_DEVICE_ERROR, MEDIA_ERROR_INTERNAL_SERVER_ERROR, MEDIA_ERROR_INVALID_REQUEST, MEDIA_ERROR_SERVICE_UNAVAILABLE, MEDIA_ERROR_UNKNOWN]
"""
MEDIA_ERROR_INTERNAL_DEVICE_ERROR = "MEDIA_ERROR_INTERNAL_DEVICE_ERROR"
MEDIA_ERROR_INTERNAL_SERVER_ERROR = "MEDIA_ERROR_INTERNAL_SERVER_ERROR"
MEDIA_ERROR_INVALID_REQUEST = "MEDIA_ERROR_INVALID_REQUEST"
MEDIA_ERROR_SERVICE_UNAVAILABLE = "MEDIA_ERROR_SERVICE_UNAVAILABLE"
MEDIA_ERROR_UNKNOWN = "MEDIA_ERROR_UNKNOWN"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ class PlayBehavior(Enum):
"""
Allowed enum values: [ENQUEUE, REPLACE_ALL, REPLACE_ENQUEUED, ]
Allowed enum values: [ENQUEUE, REPLACE_ALL, REPLACE_ENQUEUED]
"""
ENQUEUE = "ENQUEUE"
REPLACE_ALL = "REPLACE_ALL"
REPLACE_ENQUEUED = "REPLACE_ENQUEUED"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ class PlayerActivity(Enum):
"""
Allowed enum values: [PLAYING, PAUSED, FINISHED, BUFFER_UNDERRUN, IDLE, STOPPED, ]
Allowed enum values: [PLAYING, PAUSED, FINISHED, BUFFER_UNDERRUN, IDLE, STOPPED]
"""
PLAYING = "PLAYING"
PAUSED = "PAUSED"
FINISHED = "FINISHED"
BUFFER_UNDERRUN = "BUFFER_UNDERRUN"
IDLE = "IDLE"
STOPPED = "STOPPED"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ class BackButtonBehavior(Enum):
"""
Allowed enum values: [HIDDEN, VISIBLE, ]
Allowed enum values: [HIDDEN, VISIBLE]
"""
HIDDEN = "HIDDEN"
VISIBLE = "VISIBLE"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
3 changes: 1 addition & 2 deletions ask-sdk-model/ask_sdk_model/interfaces/display/image_size.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ class ImageSize(Enum):
"""
Allowed enum values: [X_SMALL, SMALL, MEDIUM, LARGE, X_LARGE, ]
Allowed enum values: [X_SMALL, SMALL, MEDIUM, LARGE, X_LARGE]
"""
X_SMALL = "X_SMALL"
SMALL = "SMALL"
MEDIUM = "MEDIUM"
LARGE = "LARGE"
X_LARGE = "X_LARGE"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ class PurchaseResult(Enum):
Allowed enum values: [ACCEPTED, DECLINED, NOT_ENTITLED, ERROR, ALREADY_PURCHASED, ]
Allowed enum values: [ACCEPTED, DECLINED, NOT_ENTITLED, ERROR, ALREADY_PURCHASED]
"""
ACCEPTED = "ACCEPTED"
DECLINED = "DECLINED"
NOT_ENTITLED = "NOT_ENTITLED"
ERROR = "ERROR"
ALREADY_PURCHASED = "ALREADY_PURCHASED"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
3 changes: 1 addition & 2 deletions ask-sdk-model/ask_sdk_model/interfaces/system/error_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ class ErrorType(Enum):
"""
Allowed enum values: [INVALID_RESPONSE, DEVICE_COMMUNICATION_ERROR, INTERNAL_SERVICE_ERROR, ]
Allowed enum values: [INVALID_RESPONSE, DEVICE_COMMUNICATION_ERROR, INTERNAL_SERVICE_ERROR]
"""
INVALID_RESPONSE = "INVALID_RESPONSE"
DEVICE_COMMUNICATION_ERROR = "DEVICE_COMMUNICATION_ERROR"
INTERNAL_SERVICE_ERROR = "INTERNAL_SERVICE_ERROR"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ class TriggerEventType(Enum):
Allowed enum values: [buttonDown, buttonUp, none, ]
Allowed enum values: [buttonDown, buttonUp, none]
"""
buttonDown = "buttonDown"
buttonUp = "buttonUp"
none = "none"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ class EventReportingType(Enum):
Allowed enum values: [history, matches, ]
Allowed enum values: [history, matches]
"""
history = "history"
matches = "matches"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ class InputEventActionType(Enum):
Allowed enum values: [down, up, ]
Allowed enum values: [down, up]
"""
down = "down"
up = "up"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ class PatternRecognizerAnchorType(Enum):
Allowed enum values: [start, end, anywhere, ]
Allowed enum values: [start, end, anywhere]
"""
start = "start"
end = "end"
anywhere = "anywhere"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ class ListItemState(Enum):
"""
Allowed enum values: [active, completed, ]
Allowed enum values: [active, completed]
"""
active = "active"
completed = "completed"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ class ListState(Enum):
"""
Allowed enum values: [active, archived, ]
Allowed enum values: [active, archived]
"""
active = "active"
archived = "archived"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ class EntitledState(Enum):
Allowed enum values: [ENTITLED, NOT_ENTITLED, ]
Allowed enum values: [ENTITLED, NOT_ENTITLED]
"""
ENTITLED = "ENTITLED"
NOT_ENTITLED = "NOT_ENTITLED"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ class ProductType(Enum):
Allowed enum values: [SUBSCRIPTION, ENTITLEMENT, ]
Allowed enum values: [SUBSCRIPTION, ENTITLEMENT]
"""
SUBSCRIPTION = "SUBSCRIPTION"
ENTITLEMENT = "ENTITLEMENT"

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
Expand Down
Loading

0 comments on commit 8efe008

Please sign in to comment.