Skip to content

Commit 406f8a8

Browse files
author
ask-pyth
committed
Release 1.29.0. For changelog, check CHANGELOG.rst
1 parent d22c171 commit 406f8a8

File tree

248 files changed

+1760
-703
lines changed

Some content is hidden

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

248 files changed

+1760
-703
lines changed

ask-sdk-model/CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,3 +364,10 @@ This release contains the following changes :
364364
This release contains the following changes :
365365

366366
- Updating model definitions
367+
368+
369+
1.29.0
370+
~~~~~~
371+
372+
This release contains the following changes :
373+
- APL for Audio now sends RuntimeError requests that notify developer of any errors that happened during APLA processing.

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.28.1'
17+
__version__ = '1.29.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/authorization/authorization_grant_body.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
if typing.TYPE_CHECKING:
2424
from typing import Dict, List, Optional, Union, Any
2525
from datetime import datetime
26-
from ask_sdk_model.authorization.grant import Grant
26+
from ask_sdk_model.authorization.grant import Grant as Grant_b5a32265
2727

2828

2929
class AuthorizationGrantBody(object):
@@ -45,7 +45,7 @@ class AuthorizationGrantBody(object):
4545
supports_multiple_types = False
4646

4747
def __init__(self, grant=None):
48-
# type: (Optional[Grant]) -> None
48+
# type: (Optional[Grant_b5a32265]) -> None
4949
"""Authorization grant body.
5050
5151
:param grant:

ask-sdk-model/ask_sdk_model/authorization/authorization_grant_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.authorization.authorization_grant_body import AuthorizationGrantBody
27+
from ask_sdk_model.authorization.authorization_grant_body import AuthorizationGrantBody as AuthorizationGrantBody_afdf2aa3
2828

2929

3030
class AuthorizationGrantRequest(Request):
@@ -60,7 +60,7 @@ class AuthorizationGrantRequest(Request):
6060
supports_multiple_types = False
6161

6262
def __init__(self, request_id=None, timestamp=None, locale=None, body=None):
63-
# type: (Optional[str], Optional[datetime], Optional[str], Optional[AuthorizationGrantBody]) -> None
63+
# type: (Optional[str], Optional[datetime], Optional[str], Optional[AuthorizationGrantBody_afdf2aa3]) -> None
6464
"""Represents an authorization code delivered to a skill that has out-of-session permissions without requiring account linking.
6565
6666
:param request_id: Represents the unique identifier for the specific request.

ask-sdk-model/ask_sdk_model/authorization/grant.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
if typing.TYPE_CHECKING:
2424
from typing import Dict, List, Optional, Union, Any
2525
from datetime import datetime
26-
from ask_sdk_model.authorization.grant_type import GrantType
26+
from ask_sdk_model.authorization.grant_type import GrantType as GrantType_1a5423ca
2727

2828

2929
class Grant(object):
@@ -49,7 +49,7 @@ class Grant(object):
4949
supports_multiple_types = False
5050

5151
def __init__(self, object_type=None, code=None):
52-
# type: (Optional[GrantType], Optional[str]) -> None
52+
# type: (Optional[GrantType_1a5423ca], Optional[str]) -> None
5353
"""Information that identifies a user in Amazon Alexa systems.
5454
5555
:param object_type: Type of the grant.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
if typing.TYPE_CHECKING:
2424
from typing import Dict, List, Optional, Union, Any
2525
from datetime import datetime
26-
from ask_sdk_model.canfulfill.can_fulfill_intent_values import CanFulfillIntentValues
27-
from ask_sdk_model.canfulfill.can_fulfill_slot import CanFulfillSlot
26+
from ask_sdk_model.canfulfill.can_fulfill_intent_values import CanFulfillIntentValues as CanFulfillIntentValues_912ef433
27+
from ask_sdk_model.canfulfill.can_fulfill_slot import CanFulfillSlot as CanFulfillSlot_d32230a2
2828

2929

3030
class CanFulfillIntent(object):
@@ -50,7 +50,7 @@ class CanFulfillIntent(object):
5050
supports_multiple_types = False
5151

5252
def __init__(self, can_fulfill=None, slots=None):
53-
# type: (Optional[CanFulfillIntentValues], Optional[Dict[str, CanFulfillSlot]]) -> None
53+
# type: (Optional[CanFulfillIntentValues_912ef433], Optional[Dict[str, CanFulfillSlot_d32230a2]]) -> None
5454
"""CanFulfillIntent represents the response to canFulfillIntentRequest includes the details about whether the skill can understand and fulfill the intent request with detected slots.
5555
5656
:param can_fulfill:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.dialog_state import DialogState
28-
from ask_sdk_model.intent import Intent
27+
from ask_sdk_model.dialog_state import DialogState as DialogState_2ba20645
28+
from ask_sdk_model.intent import Intent as Intent_fd0ef0fe
2929

3030

3131
class CanFulfillIntentRequest(Request):
@@ -65,7 +65,7 @@ class CanFulfillIntentRequest(Request):
6565
supports_multiple_types = False
6666

6767
def __init__(self, request_id=None, timestamp=None, locale=None, dialog_state=None, intent=None):
68-
# type: (Optional[str], Optional[datetime], Optional[str], Optional[DialogState], Optional[Intent]) -> None
68+
# type: (Optional[str], Optional[datetime], Optional[str], Optional[DialogState_2ba20645], Optional[Intent_fd0ef0fe]) -> None
6969
"""An object that represents a request made to skill to query whether the skill can understand and fulfill the intent request with detected slots, before actually asking the skill to take action. Skill should be aware this is not to actually take action, skill should handle this request without causing side-effect, skill should not modify some state outside its scope or has an observable interaction with its calling functions or the outside world besides returning a value, such as playing sound,turning on/off lights, committing a transaction or a charge.
7070
7171
:param request_id: Represents the unique identifier for the specific request.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
if typing.TYPE_CHECKING:
2424
from typing import Dict, List, Optional, Union, Any
2525
from datetime import datetime
26-
from ask_sdk_model.canfulfill.can_fulfill_slot_values import CanFulfillSlotValues
27-
from ask_sdk_model.canfulfill.can_understand_slot_values import CanUnderstandSlotValues
26+
from ask_sdk_model.canfulfill.can_fulfill_slot_values import CanFulfillSlotValues as CanFulfillSlotValues_5e21cab7
27+
from ask_sdk_model.canfulfill.can_understand_slot_values import CanUnderstandSlotValues as CanUnderstandSlotValues_83ff9bff
2828

2929

3030
class CanFulfillSlot(object):
@@ -50,7 +50,7 @@ class CanFulfillSlot(object):
5050
supports_multiple_types = False
5151

5252
def __init__(self, can_understand=None, can_fulfill=None):
53-
# type: (Optional[CanUnderstandSlotValues], Optional[CanFulfillSlotValues]) -> None
53+
# type: (Optional[CanUnderstandSlotValues_83ff9bff], Optional[CanFulfillSlotValues_5e21cab7]) -> None
5454
"""This represents skill's capability to understand and fulfill each detected slot.
5555
5656
:param can_understand:

ask-sdk-model/ask_sdk_model/connection_completed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.status import Status
27+
from ask_sdk_model.status import Status as Status_7705e43e
2828

2929

3030
class ConnectionCompleted(Cause):
@@ -56,7 +56,7 @@ class ConnectionCompleted(Cause):
5656
supports_multiple_types = False
5757

5858
def __init__(self, token=None, status=None, result=None):
59-
# type: (Optional[str], Optional[Status], Optional[object]) -> None
59+
# type: (Optional[str], Optional[Status_7705e43e], Optional[object]) -> None
6060
"""Represents the status and result needed to resume a skill's suspended session.
6161
6262
:param token: This is an echo back string that skills send when during Connections.StartConnection directive. They will receive it when they get the SessionResumedRequest. It is never sent to the skill handling the request.

ask-sdk-model/ask_sdk_model/context.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
if typing.TYPE_CHECKING:
2424
from typing import Dict, List, Optional, Union, Any
2525
from datetime import datetime
26-
from ask_sdk_model.interfaces.alexa.presentation.apl.rendered_document_state import RenderedDocumentState
27-
from ask_sdk_model.interfaces.system.system_state import SystemState
28-
from ask_sdk_model.interfaces.automotive.automotive_state import AutomotiveState
29-
from ask_sdk_model.interfaces.geolocation.geolocation_state import GeolocationState
30-
from ask_sdk_model.interfaces.audioplayer.audio_player_state import AudioPlayerState
31-
from ask_sdk_model.interfaces.viewport.viewport_state import ViewportState
32-
from ask_sdk_model.interfaces.viewport.typed_viewport_state import TypedViewportState
33-
from ask_sdk_model.interfaces.alexa.extension.extensions_state import ExtensionsState
34-
from ask_sdk_model.interfaces.display.display_state import DisplayState
26+
from ask_sdk_model.interfaces.alexa.presentation.apl.rendered_document_state import RenderedDocumentState as RenderedDocumentState_4fad8b14
27+
from ask_sdk_model.interfaces.viewport.viewport_state import ViewportState as ViewportState_a05eceb9
28+
from ask_sdk_model.interfaces.viewport.typed_viewport_state import TypedViewportState as TypedViewportState_c366f13e
29+
from ask_sdk_model.interfaces.audioplayer.audio_player_state import AudioPlayerState as AudioPlayerState_ac652451
30+
from ask_sdk_model.interfaces.automotive.automotive_state import AutomotiveState as AutomotiveState_2b614eea
31+
from ask_sdk_model.interfaces.alexa.extension.extensions_state import ExtensionsState as ExtensionsState_f02207d3
32+
from ask_sdk_model.interfaces.geolocation.geolocation_state import GeolocationState as GeolocationState_5225020d
33+
from ask_sdk_model.interfaces.system.system_state import SystemState as SystemState_22fcb230
34+
from ask_sdk_model.interfaces.display.display_state import DisplayState as DisplayState_726e4959
3535

3636

3737
class Context(object):
@@ -83,7 +83,7 @@ class Context(object):
8383
supports_multiple_types = False
8484

8585
def __init__(self, system=None, alexa_presentation_apl=None, audio_player=None, automotive=None, display=None, geolocation=None, viewport=None, viewports=None, extensions=None):
86-
# type: (Optional[SystemState], Optional[RenderedDocumentState], Optional[AudioPlayerState], Optional[AutomotiveState], Optional[DisplayState], Optional[GeolocationState], Optional[ViewportState], Optional[List[TypedViewportState]], Optional[ExtensionsState]) -> None
86+
# type: (Optional[SystemState_22fcb230], Optional[RenderedDocumentState_4fad8b14], Optional[AudioPlayerState_ac652451], Optional[AutomotiveState_2b614eea], Optional[DisplayState_726e4959], Optional[GeolocationState_5225020d], Optional[ViewportState_a05eceb9], Optional[List[TypedViewportState_c366f13e]], Optional[ExtensionsState_f02207d3]) -> None
8787
"""
8888
8989
:param system: Provides information about the current state of the Alexa service and the device interacting with your skill.

ask-sdk-model/ask_sdk_model/device.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
if typing.TYPE_CHECKING:
2424
from typing import Dict, List, Optional, Union, Any
2525
from datetime import datetime
26-
from ask_sdk_model.supported_interfaces import SupportedInterfaces
26+
from ask_sdk_model.supported_interfaces import SupportedInterfaces as SupportedInterfaces_8ec830f5
2727

2828

2929
class Device(object):
@@ -49,7 +49,7 @@ class Device(object):
4949
supports_multiple_types = False
5050

5151
def __init__(self, device_id=None, supported_interfaces=None):
52-
# type: (Optional[str], Optional[SupportedInterfaces]) -> None
52+
# type: (Optional[str], Optional[SupportedInterfaces_8ec830f5]) -> None
5353
"""An object providing information about the device used to send the request. The device object contains both deviceId and supportedInterfaces properties. The deviceId property uniquely identifies the device. The supportedInterfaces property 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.
5454
5555
:param device_id: The deviceId property uniquely identifies the device.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.intent import Intent
27+
from ask_sdk_model.intent import Intent as Intent_fd0ef0fe
2828

2929

3030
class ConfirmIntentDirective(Directive):
@@ -46,7 +46,7 @@ class ConfirmIntentDirective(Directive):
4646
supports_multiple_types = False
4747

4848
def __init__(self, updated_intent=None):
49-
# type: (Optional[Intent]) -> None
49+
# type: (Optional[Intent_fd0ef0fe]) -> None
5050
"""
5151
5252
:param updated_intent:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.intent import Intent
27+
from ask_sdk_model.intent import Intent as Intent_fd0ef0fe
2828

2929

3030
class ConfirmSlotDirective(Directive):
@@ -50,7 +50,7 @@ class ConfirmSlotDirective(Directive):
5050
supports_multiple_types = False
5151

5252
def __init__(self, updated_intent=None, slot_to_confirm=None):
53-
# type: (Optional[Intent], Optional[str]) -> None
53+
# type: (Optional[Intent_fd0ef0fe], Optional[str]) -> None
5454
"""
5555
5656
:param updated_intent:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.intent import Intent
27+
from ask_sdk_model.intent import Intent as Intent_fd0ef0fe
2828

2929

3030
class DelegateDirective(Directive):
@@ -46,7 +46,7 @@ class DelegateDirective(Directive):
4646
supports_multiple_types = False
4747

4848
def __init__(self, updated_intent=None):
49-
# type: (Optional[Intent]) -> None
49+
# type: (Optional[Intent_fd0ef0fe]) -> None
5050
"""
5151
5252
:param updated_intent:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.dialog.delegation_period import DelegationPeriod
28-
from ask_sdk_model.dialog.updated_request import UpdatedRequest
27+
from ask_sdk_model.dialog.delegation_period import DelegationPeriod as DelegationPeriod_79d528b5
28+
from ask_sdk_model.dialog.updated_request import UpdatedRequest as UpdatedRequest_cb727acd
2929

3030

3131
class DelegateRequestDirective(Directive):
@@ -55,7 +55,7 @@ class DelegateRequestDirective(Directive):
5555
supports_multiple_types = False
5656

5757
def __init__(self, target=None, period=None, updated_request=None):
58-
# type: (Optional[str], Optional[DelegationPeriod], Optional[UpdatedRequest]) -> None
58+
# type: (Optional[str], Optional[DelegationPeriod_79d528b5], Optional[UpdatedRequest_cb727acd]) -> None
5959
"""
6060
6161
:param target: The delegation target.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
if typing.TYPE_CHECKING:
2424
from typing import Dict, List, Optional, Union, Any
2525
from datetime import datetime
26-
from ask_sdk_model.dialog.delegation_period_until import DelegationPeriodUntil
26+
from ask_sdk_model.dialog.delegation_period_until import DelegationPeriodUntil as DelegationPeriodUntil_20703f48
2727

2828

2929
class DelegationPeriod(object):
@@ -45,7 +45,7 @@ class DelegationPeriod(object):
4545
supports_multiple_types = False
4646

4747
def __init__(self, until=None):
48-
# type: (Optional[DelegationPeriodUntil]) -> None
48+
# type: (Optional[DelegationPeriodUntil_20703f48]) -> None
4949
"""The delegation period.
5050
5151
:param until:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.er.dynamic.update_behavior import UpdateBehavior
28-
from ask_sdk_model.er.dynamic.entity_list_item import EntityListItem
27+
from ask_sdk_model.er.dynamic.update_behavior import UpdateBehavior as UpdateBehavior_3fa306a1
28+
from ask_sdk_model.er.dynamic.entity_list_item import EntityListItem as EntityListItem_51f574a
2929

3030

3131
class DynamicEntitiesDirective(Directive):
@@ -51,7 +51,7 @@ class DynamicEntitiesDirective(Directive):
5151
supports_multiple_types = False
5252

5353
def __init__(self, update_behavior=None, types=None):
54-
# type: (Optional[UpdateBehavior], Optional[List[EntityListItem]]) -> None
54+
# type: (Optional[UpdateBehavior_3fa306a1], Optional[List[EntityListItem_51f574a]]) -> None
5555
"""
5656
5757
:param update_behavior:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.intent import Intent
27+
from ask_sdk_model.intent import Intent as Intent_fd0ef0fe
2828

2929

3030
class ElicitSlotDirective(Directive):
@@ -50,7 +50,7 @@ class ElicitSlotDirective(Directive):
5050
supports_multiple_types = False
5151

5252
def __init__(self, updated_intent=None, slot_to_elicit=None):
53-
# type: (Optional[Intent], Optional[str]) -> None
53+
# type: (Optional[Intent_fd0ef0fe], Optional[str]) -> None
5454
"""
5555
5656
:param updated_intent:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
if typing.TYPE_CHECKING:
2424
from typing import Dict, List, Optional, Union, Any
2525
from datetime import datetime
26-
from ask_sdk_model.slot import Slot
26+
from ask_sdk_model.slot import Slot as Slot_9e3ddabe
2727

2828

2929
class Input(object):
@@ -49,7 +49,7 @@ class Input(object):
4949
supports_multiple_types = False
5050

5151
def __init__(self, name=None, slots=None):
52-
# type: (Optional[str], Optional[Dict[str, Slot]]) -> None
52+
# type: (Optional[str], Optional[Dict[str, Slot_9e3ddabe]]) -> None
5353
"""Structured input data to send to a dialog manager. Currently, this is an Alexa Conversations input instance.
5454
5555
:param name: The Alexa Conversations input name as dictated in the Conversations model.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.dialog.input import Input
27+
from ask_sdk_model.dialog.input import Input as Input_de301c30
2828

2929

3030
class InputRequest(Request):
@@ -60,7 +60,7 @@ class InputRequest(Request):
6060
supports_multiple_types = False
6161

6262
def __init__(self, request_id=None, timestamp=None, locale=None, input=None):
63-
# type: (Optional[str], Optional[datetime], Optional[str], Optional[Input]) -> None
63+
# type: (Optional[str], Optional[datetime], Optional[str], Optional[Input_de301c30]) -> None
6464
"""A request representing structured data used to provide dialog input to a dialog manager.
6565
6666
:param request_id: Represents the unique identifier for the specific request.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
if typing.TYPE_CHECKING:
2525
from typing import Dict, List, Optional, Union, Any
2626
from datetime import datetime
27-
from ask_sdk_model.dialog.input import Input
27+
from ask_sdk_model.dialog.input import Input as Input_de301c30
2828

2929

3030
class UpdatedInputRequest(UpdatedRequest):
@@ -46,7 +46,7 @@ class UpdatedInputRequest(UpdatedRequest):
4646
supports_multiple_types = False
4747

4848
def __init__(self, input=None):
49-
# type: (Optional[Input]) -> None
49+
# type: (Optional[Input_de301c30]) -> None
5050
"""
5151
5252
:param input:

0 commit comments

Comments
 (0)