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:
- resources.edits.resources.bundles.methods.upload.parameters.ackBundleInstallationWarning.deprecated
- schemas.ExternalOfferInitialAcquisitionDetails.description
- schemas.ExternalOfferInitialAcquisitionDetails.id
- schemas.ExternalOfferInitialAcquisitionDetails.properties.externalTransactionId.description
- schemas.ExternalOfferInitialAcquisitionDetails.properties.externalTransactionId.type
- schemas.ExternalOfferInitialAcquisitionDetails.type
- schemas.ExternalTransaction.properties.externalOfferInitialAcquisitionDetails.$ref
- schemas.ExternalTransaction.properties.externalOfferInitialAcquisitionDetails.description

The following keys were changed:
- resources.edits.resources.bundles.methods.upload.parameters.ackBundleInstallationWarning.description
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 27, 2024
1 parent 5366254 commit 39227ab
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
20 changes: 18 additions & 2 deletions discovery/androidpublisher-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,8 @@
],
"parameters": {
"ackBundleInstallationWarning": {
"description": "Must be set to true if the app bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).",
"deprecated": true,
"description": "Deprecated. The installation warning has been removed, it's not necessary to set this field anymore.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -4731,7 +4732,7 @@
}
}
},
"revision": "20240814",
"revision": "20240821",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"Abi": {
Expand Down Expand Up @@ -6226,6 +6227,17 @@
},
"type": "object"
},
"ExternalOfferInitialAcquisitionDetails": {
"description": "Details about the first time a user/device completed a transaction using external offers.",
"id": "ExternalOfferInitialAcquisitionDetails",
"properties": {
"externalTransactionId": {
"description": "Required. The external transaction id of the first completed purchase made by the user.",
"type": "string"
}
},
"type": "object"
},
"ExternalSubscription": {
"description": "Details of an external subscription.",
"id": "ExternalSubscription",
Expand Down Expand Up @@ -6267,6 +6279,10 @@
"description": "Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction.",
"readOnly": true
},
"externalOfferInitialAcquisitionDetails": {
"$ref": "ExternalOfferInitialAcquisitionDetails",
"description": "Optional. Details about the first time a user/device completed a transaction using external offers. Not required for transactions made using user choice billing or alternative billing only."
},
"externalTransactionId": {
"description": "Output only. The id of this transaction. All transaction ids under the same package name must be unique. Set when creating the external transaction.",
"readOnly": true,
Expand Down
15 changes: 14 additions & 1 deletion src/apis/androidpublisher/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1273,6 +1273,15 @@ export namespace androidpublisher_v3 {
*/
versionName?: string | null;
}
/**
* Details about the first time a user/device completed a transaction using external offers.
*/
export interface Schema$ExternalOfferInitialAcquisitionDetails {
/**
* Required. The external transaction id of the first completed purchase made by the user.
*/
externalTransactionId?: string | null;
}
/**
* Details of an external subscription.
*/
Expand All @@ -1298,6 +1307,10 @@ export namespace androidpublisher_v3 {
* Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction.
*/
currentTaxAmount?: Schema$Price;
/**
* Optional. Details about the first time a user/device completed a transaction using external offers. Not required for transactions made using user choice billing or alternative billing only.
*/
externalOfferInitialAcquisitionDetails?: Schema$ExternalOfferInitialAcquisitionDetails;
/**
* Output only. The id of this transaction. All transaction ids under the same package name must be unique. Set when creating the external transaction.
*/
Expand Down Expand Up @@ -5911,7 +5924,7 @@ export namespace androidpublisher_v3 {
export interface Params$Resource$Edits$Bundles$Upload
extends StandardParameters {
/**
* Must be set to true if the app bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).
* Deprecated. The installation warning has been removed, it's not necessary to set this field anymore.
*/
ackBundleInstallationWarning?: boolean;
/**
Expand Down

0 comments on commit 39227ab

Please sign in to comment.