Skip to content

Commit

Permalink
Release 1.10.0. For changelog, check CHANGELOG.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ask-pyth committed Apr 3, 2019
1 parent 900fd37 commit dd22f52
Show file tree
Hide file tree
Showing 333 changed files with 3,356 additions and 1,183 deletions.
17 changes: 14 additions & 3 deletions ask-sdk-model/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,10 @@ This release contains the following changes :
1.8.0
~~~~~~~

This release contains the following :
Introduces support for customizing your skill’s experience for Echo Auto, which is now shipping to select customers via our invite program, and vehicles and other aftermarket devices that support Alexa Auto.
The automotive experience introduces another way for customers to interact with skills, while they are on-the-go and their attention is on the road. Now you can adapt your skill experience to be succinct, location-aware, and adaptive to your customer’s needs while they’re outside the home.
This release contains the following changes :

- Introduces support for customizing your skill's experience for Echo Auto, which is now shipping to select customers via our invite program, and vehicles and other aftermarket devices that support Alexa Auto.
- The automotive experience introduces another way for customers to interact with skills, while they are on-the-go and their attention is on the road. Now you can adapt your skill experience to be succinct, location-aware, and adaptive to your customer's needs while they're outside the home.


1.9.0
Expand All @@ -133,3 +134,13 @@ This release contains the following changes :

- Dynamic entities for customized interactions
- Add additional 'entitlementReason' field in In-Skill products


1.10.0
~~~~~~~

This release contains the following changes :

- The `Skill Messaging API <https://developer.amazon.com/docs/smapi/skill-messaging-api-reference.html>`__ is now supported. Use the Skill Messaging API to send a message request to a skill for a specified user.
- Adds support for additional `APL Standard Commands <https://developer.amazon.com/docs/alexa-presentation-language/apl-standard-commands.html>`__.
- Packaged type information in models as per `PEP 0561 <https://www.python.org/dev/peps/pep-0561/>`__.
3 changes: 2 additions & 1 deletion ask-sdk-model/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.rst
include CHANGELOG.rst
include LICENSE
include requirements.txt
include requirements.txt
recursive-include ask_sdk_model py.typed
2 changes: 1 addition & 1 deletion ask-sdk-model/ask_sdk_model/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
__pip_package_name__ = 'ask-sdk-model'
__description__ = 'The ASK SDK Model package provides model definitions, for building Alexa Skills.'
__url__ = 'https://github.com/alexa/alexa-apis-for-python'
__version__ = '1.9.0'
__version__ = '1.10.0'
__author__ = 'Alexa Skills Kit'
__author_email__ = 'ask-sdk-dynamic@amazon.com'
__license__ = 'Apache 2.0'
Expand Down
8 changes: 4 additions & 4 deletions ask-sdk-model/ask_sdk_model/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ class Application(object):
"""
deserialized_types = {
'application_id': 'str'
}
} # type: Dict

attribute_map = {
'application_id': 'applicationId'
}
} # type: Dict

def __init__(self, application_id=None):
# type: (Optional[str]) -> None
Expand All @@ -49,14 +49,14 @@ def __init__(self, application_id=None):
:param application_id: A string representing the application identifier for your skill.
:type application_id: (optional) str
"""
self.__discriminator_value = None
self.__discriminator_value = None # type: str

self.application_id = application_id

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
result = {}
result = {} # type: Dict

for attr, _ in six.iteritems(self.deserialized_types):
value = getattr(self, attr)
Expand Down
8 changes: 4 additions & 4 deletions ask-sdk-model/ask_sdk_model/canfulfill/can_fulfill_intent.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ class CanFulfillIntent(object):
deserialized_types = {
'can_fulfill': 'ask_sdk_model.canfulfill.can_fulfill_intent_values.CanFulfillIntentValues',
'slots': 'dict(str, ask_sdk_model.canfulfill.can_fulfill_slot.CanFulfillSlot)'
}
} # type: Dict

attribute_map = {
'can_fulfill': 'canFulfill',
'slots': 'slots'
}
} # type: Dict

def __init__(self, can_fulfill=None, slots=None):
# type: (Optional[CanFulfillIntentValues], Optional[Dict[str, CanFulfillSlot]]) -> None
Expand All @@ -57,15 +57,15 @@ def __init__(self, can_fulfill=None, slots=None):
:param slots: A map that represents skill&#39;s detailed response to each detected slot within the intent such as if skill can understand and fulfill the detected slot. This supplements the overall canFulfillIntent response and help Alexa make better ranking and arbitration decisions. The key is the name of the slot. The value is an object of type CanFulfillSlot.
:type slots: (optional) dict(str, ask_sdk_model.canfulfill.can_fulfill_slot.CanFulfillSlot)
"""
self.__discriminator_value = None
self.__discriminator_value = None # type: str

self.can_fulfill = can_fulfill
self.slots = slots

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
result = {}
result = {} # type: Dict

for attr, _ in six.iteritems(self.deserialized_types):
value = getattr(self, attr)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class CanFulfillIntentRequest(Request):
'locale': 'str',
'dialog_state': 'ask_sdk_model.dialog_state.DialogState',
'intent': 'ask_sdk_model.intent.Intent'
}
} # type: Dict

attribute_map = {
'object_type': 'type',
Expand All @@ -61,7 +61,7 @@ class CanFulfillIntentRequest(Request):
'locale': 'locale',
'dialog_state': 'dialogState',
'intent': 'intent'
}
} # type: Dict

def __init__(self, request_id=None, timestamp=None, locale=None, dialog_state=None, intent=None):
# type: (Optional[str], Optional[datetime], Optional[str], Optional[DialogState], Optional[Intent]) -> None
Expand All @@ -78,7 +78,7 @@ def __init__(self, request_id=None, timestamp=None, locale=None, dialog_state=No
:param intent:
:type intent: (optional) ask_sdk_model.intent.Intent
"""
self.__discriminator_value = "CanFulfillIntentRequest"
self.__discriminator_value = "CanFulfillIntentRequest" # type: str

self.object_type = self.__discriminator_value
super(CanFulfillIntentRequest, self).__init__(object_type=self.__discriminator_value, request_id=request_id, timestamp=timestamp, locale=locale)
Expand All @@ -88,7 +88,7 @@ def __init__(self, request_id=None, timestamp=None, locale=None, dialog_state=No
def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
result = {}
result = {} # type: Dict

for attr, _ in six.iteritems(self.deserialized_types):
value = getattr(self, attr)
Expand Down
8 changes: 4 additions & 4 deletions ask-sdk-model/ask_sdk_model/canfulfill/can_fulfill_slot.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ class CanFulfillSlot(object):
deserialized_types = {
'can_understand': 'ask_sdk_model.canfulfill.can_understand_slot_values.CanUnderstandSlotValues',
'can_fulfill': 'ask_sdk_model.canfulfill.can_fulfill_slot_values.CanFulfillSlotValues'
}
} # type: Dict

attribute_map = {
'can_understand': 'canUnderstand',
'can_fulfill': 'canFulfill'
}
} # type: Dict

def __init__(self, can_understand=None, can_fulfill=None):
# type: (Optional[CanUnderstandSlotValues], Optional[CanFulfillSlotValues]) -> None
Expand All @@ -57,15 +57,15 @@ def __init__(self, can_understand=None, can_fulfill=None):
:param can_fulfill:
:type can_fulfill: (optional) ask_sdk_model.canfulfill.can_fulfill_slot_values.CanFulfillSlotValues
"""
self.__discriminator_value = None
self.__discriminator_value = None # type: str

self.can_understand = can_understand
self.can_fulfill = can_fulfill

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
result = {}
result = {} # type: Dict

for attr, _ in six.iteritems(self.deserialized_types):
value = getattr(self, attr)
Expand Down
Empty file.
8 changes: 4 additions & 4 deletions ask-sdk-model/ask_sdk_model/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Context(object):
'display': 'ask_sdk_model.interfaces.display.display_state.DisplayState',
'geolocation': 'ask_sdk_model.interfaces.geolocation.geolocation_state.GeolocationState',
'viewport': 'ask_sdk_model.interfaces.viewport.viewport_state.ViewportState'
}
} # type: Dict

attribute_map = {
'system': 'System',
Expand All @@ -64,7 +64,7 @@ class Context(object):
'display': 'Display',
'geolocation': 'Geolocation',
'viewport': 'Viewport'
}
} # type: Dict

def __init__(self, system=None, audio_player=None, automotive=None, display=None, geolocation=None, viewport=None):
# type: (Optional[SystemState], Optional[AudioPlayerState], Optional[AutomotiveState], Optional[DisplayState], Optional[GeolocationState], Optional[ViewportState]) -> None
Expand All @@ -83,7 +83,7 @@ def __init__(self, system=None, audio_player=None, automotive=None, display=None
:param viewport: Provides the characteristics of a device&#39;s viewport.
:type viewport: (optional) ask_sdk_model.interfaces.viewport.viewport_state.ViewportState
"""
self.__discriminator_value = None
self.__discriminator_value = None # type: str

self.system = system
self.audio_player = audio_player
Expand All @@ -95,7 +95,7 @@ def __init__(self, system=None, audio_player=None, automotive=None, display=None
def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
result = {}
result = {} # type: Dict

for attr, _ in six.iteritems(self.deserialized_types):
value = getattr(self, attr)
Expand Down
8 changes: 4 additions & 4 deletions ask-sdk-model/ask_sdk_model/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ class Device(object):
deserialized_types = {
'device_id': 'str',
'supported_interfaces': 'ask_sdk_model.supported_interfaces.SupportedInterfaces'
}
} # type: Dict

attribute_map = {
'device_id': 'deviceId',
'supported_interfaces': 'supportedInterfaces'
}
} # type: Dict

def __init__(self, device_id=None, supported_interfaces=None):
# type: (Optional[str], Optional[SupportedInterfaces]) -> None
Expand All @@ -56,15 +56,15 @@ def __init__(self, device_id=None, supported_interfaces=None):
:param supported_interfaces: Lists each interface that the device supports. For example, if supportedInterfaces includes AudioPlayer {}, then you know that the device supports streaming audio using the AudioPlayer interface
:type supported_interfaces: (optional) ask_sdk_model.supported_interfaces.SupportedInterfaces
"""
self.__discriminator_value = None
self.__discriminator_value = None # type: str

self.device_id = device_id
self.supported_interfaces = supported_interfaces

def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
result = {}
result = {} # type: Dict

for attr, _ in six.iteritems(self.deserialized_types):
value = getattr(self, attr)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ class ConfirmIntentDirective(Directive):
deserialized_types = {
'object_type': 'str',
'updated_intent': 'ask_sdk_model.intent.Intent'
}
} # type: Dict

attribute_map = {
'object_type': 'type',
'updated_intent': 'updatedIntent'
}
} # type: Dict

def __init__(self, updated_intent=None):
# type: (Optional[Intent]) -> None
Expand All @@ -51,7 +51,7 @@ def __init__(self, updated_intent=None):
:param updated_intent:
:type updated_intent: (optional) ask_sdk_model.intent.Intent
"""
self.__discriminator_value = "Dialog.ConfirmIntent"
self.__discriminator_value = "Dialog.ConfirmIntent" # type: str

self.object_type = self.__discriminator_value
super(ConfirmIntentDirective, self).__init__(object_type=self.__discriminator_value)
Expand All @@ -60,7 +60,7 @@ def __init__(self, updated_intent=None):
def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
result = {}
result = {} # type: Dict

for attr, _ in six.iteritems(self.deserialized_types):
value = getattr(self, attr)
Expand Down
8 changes: 4 additions & 4 deletions ask-sdk-model/ask_sdk_model/dialog/confirm_slot_directive.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ class ConfirmSlotDirective(Directive):
'object_type': 'str',
'updated_intent': 'ask_sdk_model.intent.Intent',
'slot_to_confirm': 'str'
}
} # type: Dict

attribute_map = {
'object_type': 'type',
'updated_intent': 'updatedIntent',
'slot_to_confirm': 'slotToConfirm'
}
} # type: Dict

def __init__(self, updated_intent=None, slot_to_confirm=None):
# type: (Optional[Intent], Optional[str]) -> None
Expand All @@ -57,7 +57,7 @@ def __init__(self, updated_intent=None, slot_to_confirm=None):
:param slot_to_confirm:
:type slot_to_confirm: (optional) str
"""
self.__discriminator_value = "Dialog.ConfirmSlot"
self.__discriminator_value = "Dialog.ConfirmSlot" # type: str

self.object_type = self.__discriminator_value
super(ConfirmSlotDirective, self).__init__(object_type=self.__discriminator_value)
Expand All @@ -67,7 +67,7 @@ def __init__(self, updated_intent=None, slot_to_confirm=None):
def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
result = {}
result = {} # type: Dict

for attr, _ in six.iteritems(self.deserialized_types):
value = getattr(self, attr)
Expand Down
8 changes: 4 additions & 4 deletions ask-sdk-model/ask_sdk_model/dialog/delegate_directive.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ class DelegateDirective(Directive):
deserialized_types = {
'object_type': 'str',
'updated_intent': 'ask_sdk_model.intent.Intent'
}
} # type: Dict

attribute_map = {
'object_type': 'type',
'updated_intent': 'updatedIntent'
}
} # type: Dict

def __init__(self, updated_intent=None):
# type: (Optional[Intent]) -> None
Expand All @@ -51,7 +51,7 @@ def __init__(self, updated_intent=None):
:param updated_intent:
:type updated_intent: (optional) ask_sdk_model.intent.Intent
"""
self.__discriminator_value = "Dialog.Delegate"
self.__discriminator_value = "Dialog.Delegate" # type: str

self.object_type = self.__discriminator_value
super(DelegateDirective, self).__init__(object_type=self.__discriminator_value)
Expand All @@ -60,7 +60,7 @@ def __init__(self, updated_intent=None):
def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
result = {}
result = {} # type: Dict

for attr, _ in six.iteritems(self.deserialized_types):
value = getattr(self, attr)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ class DynamicEntitiesDirective(Directive):
'object_type': 'str',
'update_behavior': 'ask_sdk_model.er.dynamic.update_behavior.UpdateBehavior',
'types': 'list[ask_sdk_model.er.dynamic.entity_list_item.EntityListItem]'
}
} # type: Dict

attribute_map = {
'object_type': 'type',
'update_behavior': 'updateBehavior',
'types': 'types'
}
} # type: Dict

def __init__(self, update_behavior=None, types=None):
# type: (Optional[UpdateBehavior], Optional[List[EntityListItem]]) -> None
Expand All @@ -58,7 +58,7 @@ def __init__(self, update_behavior=None, types=None):
:param types:
:type types: (optional) list[ask_sdk_model.er.dynamic.entity_list_item.EntityListItem]
"""
self.__discriminator_value = "Dialog.UpdateDynamicEntities"
self.__discriminator_value = "Dialog.UpdateDynamicEntities" # type: str

self.object_type = self.__discriminator_value
super(DynamicEntitiesDirective, self).__init__(object_type=self.__discriminator_value)
Expand All @@ -68,7 +68,7 @@ def __init__(self, update_behavior=None, types=None):
def to_dict(self):
# type: () -> Dict[str, object]
"""Returns the model properties as a dict"""
result = {}
result = {} # type: Dict

for attr, _ in six.iteritems(self.deserialized_types):
value = getattr(self, attr)
Expand Down
Loading

0 comments on commit dd22f52

Please sign in to comment.