Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1746)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Nov 15, 2022
1 parent 02077fd commit 292129c
Show file tree
Hide file tree
Showing 18 changed files with 490 additions and 86 deletions.
78 changes: 77 additions & 1 deletion androidpublisher/v3/androidpublisher-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -3920,7 +3920,7 @@
}
}
},
"revision": "20221101",
"revision": "20221108",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"AcquisitionTargetingRule": {
Expand Down Expand Up @@ -4121,6 +4121,10 @@
"autoRenewEnabled": {
"description": "If the subscription is currently set to auto-renew, e.g. the user has not canceled the subscription",
"type": "boolean"
},
"priceChangeDetails": {
"$ref": "SubscriptionItemPriceChangeDetails",
"description": "The information of the last price change for the item since subscription signup."
}
},
"type": "object"
Expand Down Expand Up @@ -5407,6 +5411,28 @@
},
"type": "object"
},
"OfferDetails": {
"description": "Offer details information related to a purchase line item.",
"id": "OfferDetails",
"properties": {
"basePlanId": {
"description": "The base plan ID. Present for all base plan and offers.",
"type": "string"
},
"offerId": {
"description": "The offer ID. Only present for discounted offers.",
"type": "string"
},
"offerTags": {
"description": "The latest offer tags associated with the offer. It includes tags inherited from the base plan.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"OfferTag": {
"description": "Represents a custom tag specified for base plans and subscription offers.",
"id": "OfferTag",
Expand Down Expand Up @@ -5972,6 +5998,52 @@
},
"type": "object"
},
"SubscriptionItemPriceChangeDetails": {
"description": "Price change related information of a subscription item.",
"id": "SubscriptionItemPriceChangeDetails",
"properties": {
"expectedNewPriceChargeTime": {
"description": "The renewal time at which the price change will become effective for the user. This is subject to change(to a future time) due to cases where the renewal time shifts like pause.",
"format": "google-datetime",
"type": "string"
},
"newPrice": {
"$ref": "Money",
"description": "New recurring price for the subscription item."
},
"priceChangeMode": {
"description": "Price change mode specifies how the subscription item price is changing.",
"enum": [
"PRICE_CHANGE_MODE_UNSPECIFIED",
"PRICE_DECREASE",
"PRICE_INCREASE"
],
"enumDescriptions": [
"Price change mode unspecified. This value should never be set.",
"If the subscription price is decreasing.",
"If the subscription price is increasing and the user needs to accept it."
],
"type": "string"
},
"priceChangeState": {
"description": "State the price change is currently in.",
"enum": [
"PRICE_CHANGE_STATE_UNSPECIFIED",
"OUTSTANDING",
"CONFIRMED",
"APPLIED"
],
"enumDescriptions": [
"Price change state unspecified. This value should not be used.",
"Waiting for the user to agree for the price change.",
"The price change is confirmed to happen for the user.",
"The price change is applied, i.e. the user has started being charged the new price."
],
"type": "string"
}
},
"type": "object"
},
"SubscriptionListing": {
"description": "The consumer-visible metadata of a subscription.",
"id": "SubscriptionListing",
Expand Down Expand Up @@ -6271,6 +6343,10 @@
"format": "google-datetime",
"type": "string"
},
"offerDetails": {
"$ref": "OfferDetails",
"description": "The offer details for this item."
},
"prepaidPlan": {
"$ref": "PrepaidPlan",
"description": "The item is prepaid."
Expand Down
102 changes: 102 additions & 0 deletions androidpublisher/v3/androidpublisher-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 292129c

Please sign in to comment.