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.OtherRecurringProduct.description
- schemas.OtherRecurringProduct.id
- schemas.OtherRecurringProduct.type
- schemas.OtherRegionsSubscriptionOfferPhaseConfig.properties.free.$ref
- schemas.OtherRegionsSubscriptionOfferPhaseConfig.properties.free.description
- schemas.OtherRegionsSubscriptionOfferPhaseFreePriceOverride.description
- schemas.OtherRegionsSubscriptionOfferPhaseFreePriceOverride.id
- schemas.OtherRegionsSubscriptionOfferPhaseFreePriceOverride.type
- schemas.RecurringExternalTransaction.properties.otherRecurringProduct.$ref
- schemas.RecurringExternalTransaction.properties.otherRecurringProduct.description
- schemas.RegionalSubscriptionOfferPhaseConfig.properties.free.$ref
- schemas.RegionalSubscriptionOfferPhaseConfig.properties.free.description
- schemas.RegionalSubscriptionOfferPhaseFreePriceOverride.description
- schemas.RegionalSubscriptionOfferPhaseFreePriceOverride.id
- schemas.RegionalSubscriptionOfferPhaseFreePriceOverride.type
- schemas.TargetingRuleScope.properties.anySubscriptionInApp.$ref
- schemas.TargetingRuleScope.properties.anySubscriptionInApp.description
- schemas.TargetingRuleScope.properties.thisSubscription.$ref
- schemas.TargetingRuleScope.properties.thisSubscription.description
- schemas.TargetingRuleScopeAnySubscriptionInApp.description
- schemas.TargetingRuleScopeAnySubscriptionInApp.id
- schemas.TargetingRuleScopeAnySubscriptionInApp.type
- schemas.TargetingRuleScopeThisSubscription.description
- schemas.TargetingRuleScopeThisSubscription.id
- schemas.TargetingRuleScopeThisSubscription.type

The following keys were changed:
- schemas.Grant.properties.appLevelPermissions.items.enum
- schemas.Grant.properties.appLevelPermissions.items.enumDeprecated
- schemas.Grant.properties.appLevelPermissions.items.enumDescriptions
- schemas.ProductPurchase.properties.purchaseType.description
- schemas.User.properties.developerAccountPermissions.items.enum
- schemas.User.properties.developerAccountPermissions.items.enumDeprecated
- schemas.User.properties.developerAccountPermissions.items.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed May 2, 2024
1 parent bb2dc2d commit f58a3c8
Show file tree
Hide file tree
Showing 2 changed files with 217 additions and 7 deletions.
68 changes: 62 additions & 6 deletions discovery/androidpublisher-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -4731,7 +4731,7 @@
}
}
},
"revision": "20240321",
"revision": "20240501",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"Abi": {
Expand Down Expand Up @@ -6647,7 +6647,8 @@
"CAN_MANAGE_ORDERS",
"CAN_MANAGE_APP_CONTENT",
"CAN_VIEW_NON_FINANCIAL_DATA",
"CAN_VIEW_APP_QUALITY"
"CAN_VIEW_APP_QUALITY",
"CAN_MANAGE_DEEPLINKS"
],
"enumDeprecated": [
false,
Expand All @@ -6663,6 +6664,7 @@
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand All @@ -6679,7 +6681,8 @@
"Manage orders and subscriptions.",
"Manage policy related pages.",
"View app information (read-only).",
"View app quality data such as Vitals, Crashes etc."
"View app quality data such as Vitals, Crashes etc.",
"Manage the deep links setup of an app."
],
"type": "string"
},
Expand Down Expand Up @@ -7483,6 +7486,12 @@
},
"type": "object"
},
"OtherRecurringProduct": {
"description": "Details of a recurring external transaction product which doesn't belong to any other more specific category.",
"id": "OtherRecurringProduct",
"properties": {},
"type": "object"
},
"OtherRegionsBasePlanConfig": {
"description": "Pricing information for any new locations Play may launch in.",
"id": "OtherRegionsBasePlanConfig",
Expand Down Expand Up @@ -7521,6 +7530,10 @@
"$ref": "OtherRegionsSubscriptionOfferPhasePrices",
"description": "The absolute amount of money subtracted from the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a $1 absolute discount for a phase of a duration of 3 months would correspond to a price of $2. The resulting price may not be smaller than the minimum price allowed for any new locations Play may launch in."
},
"free": {
"$ref": "OtherRegionsSubscriptionOfferPhaseFreePriceOverride",
"description": "Set to specify this offer is free to obtain."
},
"otherRegionsPrices": {
"$ref": "OtherRegionsSubscriptionOfferPhasePrices",
"description": "The absolute price the user pays for this offer phase. The price must not be smaller than the minimum price allowed for any new locations Play may launch in."
Expand All @@ -7533,6 +7546,12 @@
},
"type": "object"
},
"OtherRegionsSubscriptionOfferPhaseFreePriceOverride": {
"description": "Represents the free price override configuration for any new locations Play may launch for a single offer phase.",
"id": "OtherRegionsSubscriptionOfferPhaseFreePriceOverride",
"properties": {},
"type": "object"
},
"OtherRegionsSubscriptionOfferPhasePrices": {
"description": "Pricing information for any new locations Play may launch in.",
"id": "OtherRegionsSubscriptionOfferPhasePrices",
Expand Down Expand Up @@ -7702,7 +7721,7 @@
"type": "string"
},
"purchaseType": {
"description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e. purchased using a promo code) 2. Rewarded (i.e. from watching a video ad instead of paying)",
"description": "The type of purchase of the inapp product. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e. purchased using a promo code). Does not include Play Points purchases. 2. Rewarded (i.e. from watching a video ad instead of paying)",
"format": "int32",
"type": "integer"
},
Expand Down Expand Up @@ -7763,6 +7782,10 @@
"Alternative billing only, where users may only use developer-manager billing."
],
"type": "string"
},
"otherRecurringProduct": {
"$ref": "OtherRecurringProduct",
"description": "Details of a recurring external transaction product which doesn't belong to any other specific category."
}
},
"type": "object"
Expand Down Expand Up @@ -7859,6 +7882,10 @@
"$ref": "Money",
"description": "The absolute amount of money subtracted from the base plan price prorated over the phase duration that the user pays for this offer phase. For example, if the base plan price for this region is $12 for a period of 1 year, then a $1 absolute discount for a phase of a duration of 3 months would correspond to a price of $2. The resulting price may not be smaller than the minimum price allowed for this region."
},
"free": {
"$ref": "RegionalSubscriptionOfferPhaseFreePriceOverride",
"description": "Set to specify this offer is free to obtain."
},
"price": {
"$ref": "Money",
"description": "The absolute price the user pays for this offer phase. The price must not be smaller than the minimum price allowed for this region."
Expand All @@ -7875,6 +7902,12 @@
},
"type": "object"
},
"RegionalSubscriptionOfferPhaseFreePriceOverride": {
"description": "Represents the free price override configuration for a single phase of a subscription offer",
"id": "RegionalSubscriptionOfferPhaseFreePriceOverride",
"properties": {},
"type": "object"
},
"RegionalTaxRateInfo": {
"description": "Specified details about taxation in a given geographical region.",
"id": "RegionalTaxRateInfo",
Expand Down Expand Up @@ -9012,13 +9045,33 @@
"description": "Defines the scope of subscriptions which a targeting rule can match to target offers to users based on past or current entitlement.",
"id": "TargetingRuleScope",
"properties": {
"anySubscriptionInApp": {
"$ref": "TargetingRuleScopeAnySubscriptionInApp",
"description": "The scope of the current targeting rule is any subscription in the parent app."
},
"specificSubscriptionInApp": {
"description": "The scope of the current targeting rule is the subscription with the specified subscription ID. Must be a subscription within the same parent app.",
"type": "string"
},
"thisSubscription": {
"$ref": "TargetingRuleScopeThisSubscription",
"description": "The scope of the current targeting rule is the subscription in which this offer is defined."
}
},
"type": "object"
},
"TargetingRuleScopeAnySubscriptionInApp": {
"description": "Represents the targeting rule scope corresponding to any subscription in the parent app.",
"id": "TargetingRuleScopeAnySubscriptionInApp",
"properties": {},
"type": "object"
},
"TargetingRuleScopeThisSubscription": {
"description": "Represents the targeting rule scope corresponding to the subscriptions in which this offer is defined.",
"id": "TargetingRuleScopeThisSubscription",
"properties": {},
"type": "object"
},
"TargetingUpdate": {
"description": "Update type for targeting. Note it is always a subset Targeting.",
"id": "TargetingUpdate",
Expand Down Expand Up @@ -9482,7 +9535,8 @@
"CAN_MANAGE_ORDERS_GLOBAL",
"CAN_MANAGE_APP_CONTENT_GLOBAL",
"CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL",
"CAN_VIEW_APP_QUALITY_GLOBAL"
"CAN_VIEW_APP_QUALITY_GLOBAL",
"CAN_MANAGE_DEEPLINKS_GLOBAL"
],
"enumDeprecated": [
false,
Expand All @@ -9502,6 +9556,7 @@
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand All @@ -9522,7 +9577,8 @@
"Manage orders and subscriptions.",
"Manage policy related pages on all apps for the developer.",
"View app information and download bulk reports (read-only).",
"View app quality information for all apps for the developer."
"View app quality information for all apps for the developer.",
"Manage the deep links setup for all apps for the developer."
],
"type": "string"
},
Expand Down
Loading

0 comments on commit f58a3c8

Please sign in to comment.