Skip to content

Commit

Permalink
feat(androidpublisher): update the API
Browse files Browse the repository at this point in the history
#### androidpublisher:v3
The following keys were added:
- schemas.InAppProduct.properties.resubscribeEligibility.description
- schemas.InAppProduct.properties.resubscribeEligibility.type
- schemas.InAppProductListing.properties.benefits.description
- schemas.InAppProductListing.properties.benefits.items.type
- schemas.InAppProductListing.properties.benefits.type
- schemas.InAppProductListing.properties.description.description
- schemas.InAppProductListing.properties.title.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jun 5, 2020
1 parent fe47e5f commit fa57e04
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
17 changes: 15 additions & 2 deletions discovery/androidpublisher-v3.json
Expand Up @@ -15,7 +15,7 @@
"description": "Accesses Android application developers' Google Play accounts.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/android-publisher",
"etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/SetFLBXGvnz8NnoZq8WRUMdUaG4\"",
"etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/944s_nQUBB2zQT_SQbdy8UnEiHI\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/android-16.png",
"x32": "https://www.google.com/images/icons/product/android-32.png"
Expand Down Expand Up @@ -2555,7 +2555,7 @@
}
}
},
"revision": "20200505",
"revision": "20200602",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"Apk": {
Expand Down Expand Up @@ -3084,6 +3084,10 @@
"description": "Purchase type enum value. Unmodifiable after creation.",
"type": "string"
},
"resubscribeEligibility": {
"description": "Whether or not the developer wants the specific subscription to be resubscribable. If the developer doesn't use PBL2.0, this value is ignored since the feature is only for developers using PBL2.0. This feature allows users to resubscribe to an expired subscription directly from the subscription center by clicking on a \"Resubscribe\" CTA under the entry for the expired subscription.",
"type": "string"
},
"sku": {
"description": "The stock-keeping-unit (SKU) of the product, unique within an app.",
"type": "string"
Expand All @@ -3105,10 +3109,19 @@
"InAppProductListing": {
"id": "InAppProductListing",
"properties": {
"benefits": {
"description": "The localized entitlement benefits of the in-app product. These are supported only for subscriptions.",
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"description": "The localized description of the in-app product. These are deprecated for subscriptions.",
"type": "string"
},
"title": {
"description": "The localized title of the in-app product.",
"type": "string"
}
},
Expand Down
21 changes: 21 additions & 0 deletions src/apis/androidpublisher/v3.ts
Expand Up @@ -459,6 +459,10 @@ export namespace androidpublisher_v3 {
* Purchase type enum value. Unmodifiable after creation.
*/
purchaseType?: string | null;
/**
* Whether or not the developer wants the specific subscription to be resubscribable. If the developer doesn't use PBL2.0, this value is ignored since the feature is only for developers using PBL2.0. This feature allows users to resubscribe to an expired subscription directly from the subscription center by clicking on a "Resubscribe" CTA under the entry for the expired subscription.
*/
resubscribeEligibility?: string | null;
/**
* The stock-keeping-unit (SKU) of the product, unique within an app.
*/
Expand All @@ -474,7 +478,17 @@ export namespace androidpublisher_v3 {
trialPeriod?: string | null;
}
export interface Schema$InAppProductListing {
/**
* The localized entitlement benefits of the in-app product. These are supported only for subscriptions.
*/
benefits?: string[] | null;
/**
* The localized description of the in-app product. These are deprecated for subscriptions.
*/
description?: string | null;
/**
* The localized title of the in-app product.
*/
title?: string | null;
}
export interface Schema$InappproductsListResponse {
Expand Down Expand Up @@ -7076,6 +7090,7 @@ export namespace androidpublisher_v3 {
* // "packageName": "my_packageName",
* // "prices": {},
* // "purchaseType": "my_purchaseType",
* // "resubscribeEligibility": "my_resubscribeEligibility",
* // "sku": "my_sku",
* // "status": "my_status",
* // "subscriptionPeriod": "my_subscriptionPeriod",
Expand Down Expand Up @@ -7220,6 +7235,7 @@ export namespace androidpublisher_v3 {
* // "packageName": "my_packageName",
* // "prices": {},
* // "purchaseType": "my_purchaseType",
* // "resubscribeEligibility": "my_resubscribeEligibility",
* // "sku": "my_sku",
* // "status": "my_status",
* // "subscriptionPeriod": "my_subscriptionPeriod",
Expand All @@ -7238,6 +7254,7 @@ export namespace androidpublisher_v3 {
* // "packageName": "my_packageName",
* // "prices": {},
* // "purchaseType": "my_purchaseType",
* // "resubscribeEligibility": "my_resubscribeEligibility",
* // "sku": "my_sku",
* // "status": "my_status",
* // "subscriptionPeriod": "my_subscriptionPeriod",
Expand Down Expand Up @@ -7534,6 +7551,7 @@ export namespace androidpublisher_v3 {
* // "packageName": "my_packageName",
* // "prices": {},
* // "purchaseType": "my_purchaseType",
* // "resubscribeEligibility": "my_resubscribeEligibility",
* // "sku": "my_sku",
* // "status": "my_status",
* // "subscriptionPeriod": "my_subscriptionPeriod",
Expand All @@ -7552,6 +7570,7 @@ export namespace androidpublisher_v3 {
* // "packageName": "my_packageName",
* // "prices": {},
* // "purchaseType": "my_purchaseType",
* // "resubscribeEligibility": "my_resubscribeEligibility",
* // "sku": "my_sku",
* // "status": "my_status",
* // "subscriptionPeriod": "my_subscriptionPeriod",
Expand Down Expand Up @@ -7700,6 +7719,7 @@ export namespace androidpublisher_v3 {
* // "packageName": "my_packageName",
* // "prices": {},
* // "purchaseType": "my_purchaseType",
* // "resubscribeEligibility": "my_resubscribeEligibility",
* // "sku": "my_sku",
* // "status": "my_status",
* // "subscriptionPeriod": "my_subscriptionPeriod",
Expand All @@ -7718,6 +7738,7 @@ export namespace androidpublisher_v3 {
* // "packageName": "my_packageName",
* // "prices": {},
* // "purchaseType": "my_purchaseType",
* // "resubscribeEligibility": "my_resubscribeEligibility",
* // "sku": "my_sku",
* // "status": "my_status",
* // "subscriptionPeriod": "my_subscriptionPeriod",
Expand Down

0 comments on commit fa57e04

Please sign in to comment.