Skip to content

Commit 02935fc

Browse files
author
ask-pyth
committed
Release 1.10.0. For changelog, check CHANGELOG.rst
1 parent 33bff90 commit 02935fc

116 files changed

Lines changed: 5697 additions & 650 deletions

File tree

Some content is hidden

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

ask-smapi-model/CHANGELOG.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,14 @@ This release contains the following changes :
163163
This release contains the following changes :
164164
- Add `Smart Home Evaluation APIs <https://developer.amazon.com/en-US/docs/alexa/smapi/smart-home-evaluation-api.html>`__.
165165
- Add `get resource schema API <https://developer.amazon.com/en-US/docs/alexa/smapi/skill-operations.html#get-skill-information>`__.
166+
167+
168+
1.10.0
169+
~~~~~~
170+
171+
This release contains the following changes :
172+
173+
174+
- General bug fixes and updates.
175+
- API and model definition updates to support `AlexaCustomerFeedbackEvent.SkillReviewPublish <https://developer.amazon.com/en-US/docs/alexa/sdns/skill-development-event-schemas.html#events-summary>`__ event notifications for skill developers in SMAPI.
176+
- Developers can subscribe to this `new event and get notified <https://developer.amazon.com/en-US/docs/alexa/sdns/use-skill-development-notifications.html>`__ whenever there is a customer-review published for their skills.

ask-smapi-model/ask_smapi_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-smapi-model'
1515
__description__ = 'The SMAPI SDK Model package provides model definitions for making Skill Management API calls.'
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-smapi-model/ask_smapi_model/services/skill_management/skill_management_service_client.py

Lines changed: 93 additions & 83 deletions
Large diffs are not rendered by default.

ask-smapi-model/ask_smapi_model/v0/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,3 @@
1616

1717
from .bad_request_error import BadRequestError
1818
from .error import Error
19-
from .link import Link
20-
from .links import Links

ask-smapi-model/ask_smapi_model/v0/catalog/catalog_type.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CatalogType(Enum):
3131
3232
3333
34-
Allowed enum values: [AMAZON_BroadcastChannel, AMAZON_Genre, AMAZON_MusicAlbum, AMAZON_MusicGroup, AMAZON_MusicPlaylist, AMAZON_MusicRecording, AMAZON_TerrestrialRadioChannel, AMAZON_AudioRecording]
34+
Allowed enum values: [AMAZON_BroadcastChannel, AMAZON_Genre, AMAZON_MusicAlbum, AMAZON_MusicGroup, AMAZON_MusicPlaylist, AMAZON_MusicRecording, AMAZON_TerrestrialRadioChannel, AMAZON_AudioRecording, AMAZON_PreviewMedia]
3535
"""
3636
AMAZON_BroadcastChannel = "AMAZON.BroadcastChannel"
3737
AMAZON_Genre = "AMAZON.Genre"
@@ -41,6 +41,7 @@ class CatalogType(Enum):
4141
AMAZON_MusicRecording = "AMAZON.MusicRecording"
4242
AMAZON_TerrestrialRadioChannel = "AMAZON.TerrestrialRadioChannel"
4343
AMAZON_AudioRecording = "AMAZON.AudioRecording"
44+
AMAZON_PreviewMedia = "AMAZON.PreviewMedia"
4445

4546
def to_dict(self):
4647
# type: () -> Dict[str, Any]

ask-smapi-model/ask_smapi_model/v0/catalog/catalog_usage.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CatalogUsage(Enum):
3131
3232
3333
34-
Allowed enum values: [AlexaMusic_Catalog_BroadcastChannel, AlexaMusic_Catalog_Genre, AlexaMusic_Catalog_MusicAlbum, AlexaMusic_Catalog_MusicGroup, AlexaMusic_Catalog_MusicPlaylist, AlexaMusic_Catalog_MusicRecording, AlexaMusic_Catalog_TerrestrialRadioChannel, AlexaTest_Catalog_AudioRecording]
34+
Allowed enum values: [AlexaMusic_Catalog_BroadcastChannel, AlexaMusic_Catalog_Genre, AlexaMusic_Catalog_MusicAlbum, AlexaMusic_Catalog_MusicGroup, AlexaMusic_Catalog_MusicPlaylist, AlexaMusic_Catalog_MusicRecording, AlexaMusic_Catalog_TerrestrialRadioChannel, AlexaTest_Catalog_AudioRecording, AlexaSkillStore_Catalog_PreviewMedia]
3535
"""
3636
AlexaMusic_Catalog_BroadcastChannel = "AlexaMusic.Catalog.BroadcastChannel"
3737
AlexaMusic_Catalog_Genre = "AlexaMusic.Catalog.Genre"
@@ -41,6 +41,7 @@ class CatalogUsage(Enum):
4141
AlexaMusic_Catalog_MusicRecording = "AlexaMusic.Catalog.MusicRecording"
4242
AlexaMusic_Catalog_TerrestrialRadioChannel = "AlexaMusic.Catalog.TerrestrialRadioChannel"
4343
AlexaTest_Catalog_AudioRecording = "AlexaTest.Catalog.AudioRecording"
44+
AlexaSkillStore_Catalog_PreviewMedia = "AlexaSkillStore.Catalog.PreviewMedia"
4445

4546
def to_dict(self):
4647
# type: () -> Dict[str, Any]

ask-smapi-model/ask_smapi_model/v0/catalog/list_catalogs_response.py

Lines changed: 5 additions & 5 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_smapi_model.v0.links import Links as Links_cdc03ffa
26+
from ask_smapi_model.v1.links import Links as Links_bc43467b
2727
from ask_smapi_model.v0.catalog.catalog_summary import CatalogSummary as CatalogSummary_c8609f7a
2828

2929

@@ -33,7 +33,7 @@ class ListCatalogsResponse(object):
3333
3434
3535
:param links:
36-
:type links: (optional) ask_smapi_model.v0.links.Links
36+
:type links: (optional) ask_smapi_model.v1.links.Links
3737
:param catalogs: List of catalog summaries.
3838
:type catalogs: (optional) list[ask_smapi_model.v0.catalog.catalog_summary.CatalogSummary]
3939
:param is_truncated:
@@ -43,7 +43,7 @@ class ListCatalogsResponse(object):
4343
4444
"""
4545
deserialized_types = {
46-
'links': 'ask_smapi_model.v0.links.Links',
46+
'links': 'ask_smapi_model.v1.links.Links',
4747
'catalogs': 'list[ask_smapi_model.v0.catalog.catalog_summary.CatalogSummary]',
4848
'is_truncated': 'bool',
4949
'next_token': 'str'
@@ -58,11 +58,11 @@ class ListCatalogsResponse(object):
5858
supports_multiple_types = False
5959

6060
def __init__(self, links=None, catalogs=None, is_truncated=None, next_token=None):
61-
# type: (Optional[Links_cdc03ffa], Optional[List[CatalogSummary_c8609f7a]], Optional[bool], Optional[str]) -> None
61+
# type: (Optional[Links_bc43467b], Optional[List[CatalogSummary_c8609f7a]], Optional[bool], Optional[str]) -> None
6262
"""Information about catalogs.
6363
6464
:param links:
65-
:type links: (optional) ask_smapi_model.v0.links.Links
65+
:type links: (optional) ask_smapi_model.v1.links.Links
6666
:param catalogs: List of catalog summaries.
6767
:type catalogs: (optional) list[ask_smapi_model.v0.catalog.catalog_summary.CatalogSummary]
6868
:param is_truncated:

ask-smapi-model/ask_smapi_model/v0/catalog/upload/list_uploads_response.py

Lines changed: 5 additions & 5 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_smapi_model.v0.links import Links as Links_cdc03ffa
26+
from ask_smapi_model.v1.links import Links as Links_bc43467b
2727
from ask_smapi_model.v0.catalog.upload.content_upload_summary import ContentUploadSummary as ContentUploadSummary_8ef77e7e
2828

2929

3030
class ListUploadsResponse(object):
3131
"""
3232
3333
:param links:
34-
:type links: (optional) ask_smapi_model.v0.links.Links
34+
:type links: (optional) ask_smapi_model.v1.links.Links
3535
:param is_truncated:
3636
:type is_truncated: (optional) bool
3737
:param next_token:
@@ -41,7 +41,7 @@ class ListUploadsResponse(object):
4141
4242
"""
4343
deserialized_types = {
44-
'links': 'ask_smapi_model.v0.links.Links',
44+
'links': 'ask_smapi_model.v1.links.Links',
4545
'is_truncated': 'bool',
4646
'next_token': 'str',
4747
'uploads': 'list[ask_smapi_model.v0.catalog.upload.content_upload_summary.ContentUploadSummary]'
@@ -56,11 +56,11 @@ class ListUploadsResponse(object):
5656
supports_multiple_types = False
5757

5858
def __init__(self, links=None, is_truncated=None, next_token=None, uploads=None):
59-
# type: (Optional[Links_cdc03ffa], Optional[bool], Optional[str], Optional[List[ContentUploadSummary_8ef77e7e]]) -> None
59+
# type: (Optional[Links_bc43467b], Optional[bool], Optional[str], Optional[List[ContentUploadSummary_8ef77e7e]]) -> None
6060
"""
6161
6262
:param links:
63-
:type links: (optional) ask_smapi_model.v0.links.Links
63+
:type links: (optional) ask_smapi_model.v1.links.Links
6464
:param is_truncated:
6565
:type is_truncated: (optional) bool
6666
:param next_token:

ask-smapi-model/ask_smapi_model/v0/development_events/subscriber/list_subscribers_response.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@
2323
if typing.TYPE_CHECKING:
2424
from typing import Dict, List, Optional, Union, Any
2525
from datetime import datetime
26-
from ask_smapi_model.v0.links import Links as Links_cdc03ffa
26+
from ask_smapi_model.v1.links import Links as Links_bc43467b
2727
from ask_smapi_model.v0.development_events.subscriber.subscriber_summary import SubscriberSummary as SubscriberSummary_3b34977e
2828

2929

3030
class ListSubscribersResponse(object):
3131
"""
3232
3333
:param links:
34-
:type links: (optional) ask_smapi_model.v0.links.Links
34+
:type links: (optional) ask_smapi_model.v1.links.Links
3535
:param next_token:
3636
:type next_token: (optional) str
3737
:param subscribers: List containing subscriber summary.
3838
:type subscribers: (optional) list[ask_smapi_model.v0.development_events.subscriber.subscriber_summary.SubscriberSummary]
3939
4040
"""
4141
deserialized_types = {
42-
'links': 'ask_smapi_model.v0.links.Links',
42+
'links': 'ask_smapi_model.v1.links.Links',
4343
'next_token': 'str',
4444
'subscribers': 'list[ask_smapi_model.v0.development_events.subscriber.subscriber_summary.SubscriberSummary]'
4545
} # type: Dict
@@ -52,11 +52,11 @@ class ListSubscribersResponse(object):
5252
supports_multiple_types = False
5353

5454
def __init__(self, links=None, next_token=None, subscribers=None):
55-
# type: (Optional[Links_cdc03ffa], Optional[str], Optional[List[SubscriberSummary_3b34977e]]) -> None
55+
# type: (Optional[Links_bc43467b], Optional[str], Optional[List[SubscriberSummary_3b34977e]]) -> None
5656
"""
5757
5858
:param links:
59-
:type links: (optional) ask_smapi_model.v0.links.Links
59+
:type links: (optional) ask_smapi_model.v1.links.Links
6060
:param next_token:
6161
:type next_token: (optional) str
6262
:param subscribers: List containing subscriber summary.

ask-smapi-model/ask_smapi_model/v0/development_events/subscription/event.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,18 @@
2727

2828
class Event(Enum):
2929
"""
30-
Represents an event that the subscriber is interested in. The event is of the format AlexaDevelopmentEvent.OPERATION. You can use wildcard event &#39;AlexaDevelopmentEvent.All&#39; for recieving all developer notifications listed below. * &#39;AlexaDevelopmentEvent.ManifestUpdate&#39; - The event representing the status of the update request on the Manifest. * &#39;AlexaDevelopmentEvent.SkillPublish&#39; - The event representing the status of the skill publish process. * &#39;AlexaDevelopmentEvent.SkillCertification&#39; - The event represents if a skill has been certified or not. * &#39;AlexaDevelopmentEvent.InteractionModelUpdate&#39; - The event represents the status of an Interaction Model build for a particular locale. * &#39;AlexaDevelopmentEvent.All&#39; - A wildcard event name that allows subscription to all the existing events. While using this, you must not specify any other event name. AlexaDevelopmentEvent.All avoids the need of specifying every development event name in order to receive all events pertaining to a vendor account. Similarly, it avoids the need of updating an existing subscription to be able to receive new events, whenever supproted by notification service. Test Subscriber API cannot use this wildcard. Please make sure that your code can gracefully handle new/previously unknown events, if you are using this wildcard.
30+
Represents an event that the subscriber is interested in. The event is of the format EventCategory.OPERATION. You can use wildcard event &#39;AlexaDevelopmentEvent.All&#39; for recieving all AlexaDevelopmentEvent notifications listed below. We do not support &#39;AlexaCustomerFeedbackEvent.All&#39; at this point as we only have one event in this category. * &#39;AlexaDevelopmentEvent.ManifestUpdate&#39; - The event representing the status of the update request on the Manifest. * &#39;AlexaDevelopmentEvent.SkillPublish&#39; - The event representing the status of the skill publish process. * &#39;AlexaDevelopmentEvent.SkillCertification&#39; - The event represents if a skill has been certified or not. * &#39;AlexaDevelopmentEvent.InteractionModelUpdate&#39; - The event represents the status of an Interaction Model build for a particular locale. * &#39;AlexaDevelopmentEvent.All&#39; - A wildcard event name that allows subscription to all the existing events. While using this, you must not specify any other event name. AlexaDevelopmentEvent.All avoids the need of specifying every development event name in order to receive all events pertaining to a vendor account. Similarly, it avoids the need of updating an existing subscription to be able to receive new events, whenever supproted by notification service. Test Subscriber API cannot use this wildcard. Please make sure that your code can gracefully handle new/previously unknown events, if you are using this wildcard. * &#39;AlexaCustomerFeedbackEvent.SkillReviewPublish&#39; - The event represents the publishing of a new/updated customer review for a skill on the skill store.
3131
3232
3333
34-
Allowed enum values: [AlexaDevelopmentEvent_ManifestUpdate, AlexaDevelopmentEvent_SkillPublish, AlexaDevelopmentEvent_SkillCertification, AlexaDevelopmentEvent_InteractionModelUpdate, AlexaDevelopmentEvent_All]
34+
Allowed enum values: [AlexaDevelopmentEvent_ManifestUpdate, AlexaDevelopmentEvent_SkillPublish, AlexaDevelopmentEvent_SkillCertification, AlexaDevelopmentEvent_InteractionModelUpdate, AlexaDevelopmentEvent_All, AlexaCustomerFeedbackEvent_SkillReviewPublish]
3535
"""
3636
AlexaDevelopmentEvent_ManifestUpdate = "AlexaDevelopmentEvent.ManifestUpdate"
3737
AlexaDevelopmentEvent_SkillPublish = "AlexaDevelopmentEvent.SkillPublish"
3838
AlexaDevelopmentEvent_SkillCertification = "AlexaDevelopmentEvent.SkillCertification"
3939
AlexaDevelopmentEvent_InteractionModelUpdate = "AlexaDevelopmentEvent.InteractionModelUpdate"
4040
AlexaDevelopmentEvent_All = "AlexaDevelopmentEvent.All"
41+
AlexaCustomerFeedbackEvent_SkillReviewPublish = "AlexaCustomerFeedbackEvent.SkillReviewPublish"
4142

4243
def to_dict(self):
4344
# type: () -> Dict[str, Any]

0 commit comments

Comments
 (0)