Skip to content

Commit dd22f52

Browse files
author
ask-pyth
committed
Release 1.10.0. For changelog, check CHANGELOG.rst
1 parent 900fd37 commit dd22f52

File tree

333 files changed

+3356
-1183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

333 files changed

+3356
-1183
lines changed

ask-sdk-model/CHANGELOG.rst

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ This release contains the following changes :
121121
1.8.0
122122
~~~~~~~
123123

124-
This release contains the following :
125-
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.
126-
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.
124+
This release contains the following changes :
125+
126+
- 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.
127+
- 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.
127128

128129

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

134135
- Dynamic entities for customized interactions
135136
- Add additional 'entitlementReason' field in In-Skill products
137+
138+
139+
1.10.0
140+
~~~~~~~
141+
142+
This release contains the following changes :
143+
144+
- 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.
145+
- Adds support for additional `APL Standard Commands <https://developer.amazon.com/docs/alexa-presentation-language/apl-standard-commands.html>`__.
146+
- Packaged type information in models as per `PEP 0561 <https://www.python.org/dev/peps/pep-0561/>`__.

ask-sdk-model/MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include README.rst
22
include CHANGELOG.rst
33
include LICENSE
4-
include requirements.txt
4+
include requirements.txt
5+
recursive-include ask_sdk_model py.typed

ask-sdk-model/ask_sdk_model/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
__pip_package_name__ = 'ask-sdk-model'
1515
__description__ = 'The ASK SDK Model package provides model definitions, for building Alexa Skills.'
1616
__url__ = 'https://github.com/alexa/alexa-apis-for-python'
17-
__version__ = '1.9.0'
17+
__version__ = '1.10.0'
1818
__author__ = 'Alexa Skills Kit'
1919
__author_email__ = 'ask-sdk-dynamic@amazon.com'
2020
__license__ = 'Apache 2.0'

ask-sdk-model/ask_sdk_model/application.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ class Application(object):
3636
"""
3737
deserialized_types = {
3838
'application_id': 'str'
39-
}
39+
} # type: Dict
4040

4141
attribute_map = {
4242
'application_id': 'applicationId'
43-
}
43+
} # type: Dict
4444

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

5454
self.application_id = application_id
5555

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

6161
for attr, _ in six.iteritems(self.deserialized_types):
6262
value = getattr(self, attr)

ask-sdk-model/ask_sdk_model/canfulfill/can_fulfill_intent.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ class CanFulfillIntent(object):
4141
deserialized_types = {
4242
'can_fulfill': 'ask_sdk_model.canfulfill.can_fulfill_intent_values.CanFulfillIntentValues',
4343
'slots': 'dict(str, ask_sdk_model.canfulfill.can_fulfill_slot.CanFulfillSlot)'
44-
}
44+
} # type: Dict
4545

4646
attribute_map = {
4747
'can_fulfill': 'canFulfill',
4848
'slots': 'slots'
49-
}
49+
} # type: Dict
5050

5151
def __init__(self, can_fulfill=None, slots=None):
5252
# type: (Optional[CanFulfillIntentValues], Optional[Dict[str, CanFulfillSlot]]) -> None
@@ -57,15 +57,15 @@ def __init__(self, can_fulfill=None, slots=None):
5757
: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.
5858
:type slots: (optional) dict(str, ask_sdk_model.canfulfill.can_fulfill_slot.CanFulfillSlot)
5959
"""
60-
self.__discriminator_value = None
60+
self.__discriminator_value = None # type: str
6161

6262
self.can_fulfill = can_fulfill
6363
self.slots = slots
6464

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

7070
for attr, _ in six.iteritems(self.deserialized_types):
7171
value = getattr(self, attr)

ask-sdk-model/ask_sdk_model/canfulfill/can_fulfill_intent_request.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class CanFulfillIntentRequest(Request):
5252
'locale': 'str',
5353
'dialog_state': 'ask_sdk_model.dialog_state.DialogState',
5454
'intent': 'ask_sdk_model.intent.Intent'
55-
}
55+
} # type: Dict
5656

5757
attribute_map = {
5858
'object_type': 'type',
@@ -61,7 +61,7 @@ class CanFulfillIntentRequest(Request):
6161
'locale': 'locale',
6262
'dialog_state': 'dialogState',
6363
'intent': 'intent'
64-
}
64+
} # type: Dict
6565

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

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

9393
for attr, _ in six.iteritems(self.deserialized_types):
9494
value = getattr(self, attr)

ask-sdk-model/ask_sdk_model/canfulfill/can_fulfill_slot.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ class CanFulfillSlot(object):
4141
deserialized_types = {
4242
'can_understand': 'ask_sdk_model.canfulfill.can_understand_slot_values.CanUnderstandSlotValues',
4343
'can_fulfill': 'ask_sdk_model.canfulfill.can_fulfill_slot_values.CanFulfillSlotValues'
44-
}
44+
} # type: Dict
4545

4646
attribute_map = {
4747
'can_understand': 'canUnderstand',
4848
'can_fulfill': 'canFulfill'
49-
}
49+
} # type: Dict
5050

5151
def __init__(self, can_understand=None, can_fulfill=None):
5252
# type: (Optional[CanUnderstandSlotValues], Optional[CanFulfillSlotValues]) -> None
@@ -57,15 +57,15 @@ def __init__(self, can_understand=None, can_fulfill=None):
5757
:param can_fulfill:
5858
:type can_fulfill: (optional) ask_sdk_model.canfulfill.can_fulfill_slot_values.CanFulfillSlotValues
5959
"""
60-
self.__discriminator_value = None
60+
self.__discriminator_value = None # type: str
6161

6262
self.can_understand = can_understand
6363
self.can_fulfill = can_fulfill
6464

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

7070
for attr, _ in six.iteritems(self.deserialized_types):
7171
value = getattr(self, attr)

ask-sdk-model/ask_sdk_model/canfulfill/py.typed

Whitespace-only changes.

ask-sdk-model/ask_sdk_model/context.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Context(object):
5555
'display': 'ask_sdk_model.interfaces.display.display_state.DisplayState',
5656
'geolocation': 'ask_sdk_model.interfaces.geolocation.geolocation_state.GeolocationState',
5757
'viewport': 'ask_sdk_model.interfaces.viewport.viewport_state.ViewportState'
58-
}
58+
} # type: Dict
5959

6060
attribute_map = {
6161
'system': 'System',
@@ -64,7 +64,7 @@ class Context(object):
6464
'display': 'Display',
6565
'geolocation': 'Geolocation',
6666
'viewport': 'Viewport'
67-
}
67+
} # type: Dict
6868

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

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

100100
for attr, _ in six.iteritems(self.deserialized_types):
101101
value = getattr(self, attr)

ask-sdk-model/ask_sdk_model/device.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ class Device(object):
4040
deserialized_types = {
4141
'device_id': 'str',
4242
'supported_interfaces': 'ask_sdk_model.supported_interfaces.SupportedInterfaces'
43-
}
43+
} # type: Dict
4444

4545
attribute_map = {
4646
'device_id': 'deviceId',
4747
'supported_interfaces': 'supportedInterfaces'
48-
}
48+
} # type: Dict
4949

5050
def __init__(self, device_id=None, supported_interfaces=None):
5151
# type: (Optional[str], Optional[SupportedInterfaces]) -> None
@@ -56,15 +56,15 @@ def __init__(self, device_id=None, supported_interfaces=None):
5656
: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
5757
:type supported_interfaces: (optional) ask_sdk_model.supported_interfaces.SupportedInterfaces
5858
"""
59-
self.__discriminator_value = None
59+
self.__discriminator_value = None # type: str
6060

6161
self.device_id = device_id
6262
self.supported_interfaces = supported_interfaces
6363

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

6969
for attr, _ in six.iteritems(self.deserialized_types):
7070
value = getattr(self, attr)

ask-sdk-model/ask_sdk_model/dialog/confirm_intent_directive.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ class ConfirmIntentDirective(Directive):
3737
deserialized_types = {
3838
'object_type': 'str',
3939
'updated_intent': 'ask_sdk_model.intent.Intent'
40-
}
40+
} # type: Dict
4141

4242
attribute_map = {
4343
'object_type': 'type',
4444
'updated_intent': 'updatedIntent'
45-
}
45+
} # type: Dict
4646

4747
def __init__(self, updated_intent=None):
4848
# type: (Optional[Intent]) -> None
@@ -51,7 +51,7 @@ def __init__(self, updated_intent=None):
5151
:param updated_intent:
5252
:type updated_intent: (optional) ask_sdk_model.intent.Intent
5353
"""
54-
self.__discriminator_value = "Dialog.ConfirmIntent"
54+
self.__discriminator_value = "Dialog.ConfirmIntent" # type: str
5555

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

6565
for attr, _ in six.iteritems(self.deserialized_types):
6666
value = getattr(self, attr)

ask-sdk-model/ask_sdk_model/dialog/confirm_slot_directive.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ class ConfirmSlotDirective(Directive):
4040
'object_type': 'str',
4141
'updated_intent': 'ask_sdk_model.intent.Intent',
4242
'slot_to_confirm': 'str'
43-
}
43+
} # type: Dict
4444

4545
attribute_map = {
4646
'object_type': 'type',
4747
'updated_intent': 'updatedIntent',
4848
'slot_to_confirm': 'slotToConfirm'
49-
}
49+
} # type: Dict
5050

5151
def __init__(self, updated_intent=None, slot_to_confirm=None):
5252
# type: (Optional[Intent], Optional[str]) -> None
@@ -57,7 +57,7 @@ def __init__(self, updated_intent=None, slot_to_confirm=None):
5757
:param slot_to_confirm:
5858
:type slot_to_confirm: (optional) str
5959
"""
60-
self.__discriminator_value = "Dialog.ConfirmSlot"
60+
self.__discriminator_value = "Dialog.ConfirmSlot" # type: str
6161

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

7272
for attr, _ in six.iteritems(self.deserialized_types):
7373
value = getattr(self, attr)

ask-sdk-model/ask_sdk_model/dialog/delegate_directive.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ class DelegateDirective(Directive):
3737
deserialized_types = {
3838
'object_type': 'str',
3939
'updated_intent': 'ask_sdk_model.intent.Intent'
40-
}
40+
} # type: Dict
4141

4242
attribute_map = {
4343
'object_type': 'type',
4444
'updated_intent': 'updatedIntent'
45-
}
45+
} # type: Dict
4646

4747
def __init__(self, updated_intent=None):
4848
# type: (Optional[Intent]) -> None
@@ -51,7 +51,7 @@ def __init__(self, updated_intent=None):
5151
:param updated_intent:
5252
:type updated_intent: (optional) ask_sdk_model.intent.Intent
5353
"""
54-
self.__discriminator_value = "Dialog.Delegate"
54+
self.__discriminator_value = "Dialog.Delegate" # type: str
5555

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

6565
for attr, _ in six.iteritems(self.deserialized_types):
6666
value = getattr(self, attr)

ask-sdk-model/ask_sdk_model/dialog/dynamic_entities_directive.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ class DynamicEntitiesDirective(Directive):
4141
'object_type': 'str',
4242
'update_behavior': 'ask_sdk_model.er.dynamic.update_behavior.UpdateBehavior',
4343
'types': 'list[ask_sdk_model.er.dynamic.entity_list_item.EntityListItem]'
44-
}
44+
} # type: Dict
4545

4646
attribute_map = {
4747
'object_type': 'type',
4848
'update_behavior': 'updateBehavior',
4949
'types': 'types'
50-
}
50+
} # type: Dict
5151

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

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

7373
for attr, _ in six.iteritems(self.deserialized_types):
7474
value = getattr(self, attr)

0 commit comments

Comments
 (0)