Skip to content

Commit

Permalink
chore: release model
Browse files Browse the repository at this point in the history
  • Loading branch information
ask-sdk committed Oct 20, 2020
1 parent 29b9b16 commit ff2ef43
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
12 changes: 11 additions & 1 deletion ask-smapi-model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,7 @@ export namespace v1.isp {
'type'?: v1.isp.ProductType;
'referenceName'?: string;
'purchasableState'?: v1.isp.PurchasableState;
'promotableState'?: v1.isp.PromotableState;
'subscriptionInformation'?: v1.isp.SubscriptionInformation;
'publishingInformation'?: v1.isp.PublishingInformation;
'privacyAndCompliance'?: v1.isp.PrivacyAndCompliance;
Expand Down Expand Up @@ -963,6 +964,7 @@ export namespace v1.isp {
'stage'?: v1.isp.Stage;
'editableState'?: v1.isp.EditableState;
'purchasableState'?: v1.isp.PurchasableState;
'promotableState'?: v1.isp.PromotableState;
'_links'?: v1.isp.IspSummaryLinks;
'pricing'?: { [key: string]: v1.isp.SummaryMarketplacePricing; };
}
Expand Down Expand Up @@ -1088,6 +1090,14 @@ export namespace v1.isp {
export type ProductType = 'SUBSCRIPTION' | 'ENTITLEMENT' | 'CONSUMABLE';
}

export namespace v1.isp {
/**
* Promote this ISP on Amazon channels such as Amazon.com. Enabling this setting will allow customers to view ISP detail pages and purchase the ISP on Amazon.com.
* @enum
*/
export type PromotableState = 'IN_SKILL_ONLY' | 'ALL_AMAZON_CHANNELS';
}

export namespace v1.isp {
/**
* Defines the structure for in-skill product publishing information.
Expand Down Expand Up @@ -2384,7 +2394,7 @@ export namespace v1.skill.Manifest {
* Defines the mode of viewport that comply with this specification. E.g. HUB TV.
* @enum
*/
export type ViewportMode = 'HUB' | 'TV';
export type ViewportMode = 'HUB' | 'TV' | 'MOBILE' | 'PC' | 'AUTO';
}

export namespace v1.skill.Manifest {
Expand Down
2 changes: 1 addition & 1 deletion ask-smapi-model/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ask-smapi-model",
"version": "1.12.3",
"version": "1.13.0",
"description": "Model package for Skill Management API (SMAPI) SDK",
"main": "index.js",
"types": "index.d.ts",
Expand Down
21 changes: 20 additions & 1 deletion ask-smapi-model/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -15364,6 +15364,14 @@
"NOT_PURCHASABLE"
]
},
"v1.isp.PromotableState": {
"type": "string",
"description": "Promote this ISP on Amazon channels such as Amazon.com. Enabling this setting will allow customers to view ISP detail pages and purchase the ISP on Amazon.com.",
"enum": [
"IN_SKILL_ONLY",
"ALL_AMAZON_CHANNELS"
]
},
"v1.isp.InSkillProductSummaryResponse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -15415,6 +15423,10 @@
"$ref": "#/definitions/v1.isp.PurchasableState",
"x-isEnum": true
},
"promotableState": {
"$ref": "#/definitions/v1.isp.PromotableState",
"x-isEnum": true
},
"_links": {
"$ref": "#/definitions/v1.isp.IspSummaryLinks"
},
Expand Down Expand Up @@ -15546,6 +15558,10 @@
"$ref": "#/definitions/v1.isp.PurchasableState",
"x-isEnum": true
},
"promotableState": {
"$ref": "#/definitions/v1.isp.PromotableState",
"x-isEnum": true
},
"subscriptionInformation": {
"$ref": "#/definitions/v1.isp.SubscriptionInformation"
},
Expand Down Expand Up @@ -20253,7 +20269,10 @@
"description": "Defines the mode of viewport that comply with this specification. E.g. HUB TV.",
"enum": [
"HUB",
"TV"
"TV",
"MOBILE",
"PC",
"AUTO"
]
},
"v1.skill.Manifest.ViewportShape": {
Expand Down

0 comments on commit ff2ef43

Please sign in to comment.