Skip to content

Commit 39227ab

Browse files
yoshi-automationsofisl
authored andcommittedAug 27, 2024
feat(androidpublisher): update the API
#### 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
1 parent 5366254 commit 39227ab

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed
 

‎discovery/androidpublisher-v3.json

+18-2
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,8 @@
741741
],
742742
"parameters": {
743743
"ackBundleInstallationWarning": {
744-
"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).",
744+
"deprecated": true,
745+
"description": "Deprecated. The installation warning has been removed, it's not necessary to set this field anymore.",
745746
"location": "query",
746747
"type": "boolean"
747748
},
@@ -4731,7 +4732,7 @@
47314732
}
47324733
}
47334734
},
4734-
"revision": "20240814",
4735+
"revision": "20240821",
47354736
"rootUrl": "https://androidpublisher.googleapis.com/",
47364737
"schemas": {
47374738
"Abi": {
@@ -6226,6 +6227,17 @@
62266227
},
62276228
"type": "object"
62286229
},
6230+
"ExternalOfferInitialAcquisitionDetails": {
6231+
"description": "Details about the first time a user/device completed a transaction using external offers.",
6232+
"id": "ExternalOfferInitialAcquisitionDetails",
6233+
"properties": {
6234+
"externalTransactionId": {
6235+
"description": "Required. The external transaction id of the first completed purchase made by the user.",
6236+
"type": "string"
6237+
}
6238+
},
6239+
"type": "object"
6240+
},
62296241
"ExternalSubscription": {
62306242
"description": "Details of an external subscription.",
62316243
"id": "ExternalSubscription",
@@ -6267,6 +6279,10 @@
62676279
"description": "Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction.",
62686280
"readOnly": true
62696281
},
6282+
"externalOfferInitialAcquisitionDetails": {
6283+
"$ref": "ExternalOfferInitialAcquisitionDetails",
6284+
"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."
6285+
},
62706286
"externalTransactionId": {
62716287
"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.",
62726288
"readOnly": true,

‎src/apis/androidpublisher/v3.ts

+14-1
Original file line numberDiff line numberDiff line change
@@ -1273,6 +1273,15 @@ export namespace androidpublisher_v3 {
12731273
*/
12741274
versionName?: string | null;
12751275
}
1276+
/**
1277+
* Details about the first time a user/device completed a transaction using external offers.
1278+
*/
1279+
export interface Schema$ExternalOfferInitialAcquisitionDetails {
1280+
/**
1281+
* Required. The external transaction id of the first completed purchase made by the user.
1282+
*/
1283+
externalTransactionId?: string | null;
1284+
}
12761285
/**
12771286
* Details of an external subscription.
12781287
*/
@@ -1298,6 +1307,10 @@ export namespace androidpublisher_v3 {
12981307
* Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction.
12991308
*/
13001309
currentTaxAmount?: Schema$Price;
1310+
/**
1311+
* 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.
1312+
*/
1313+
externalOfferInitialAcquisitionDetails?: Schema$ExternalOfferInitialAcquisitionDetails;
13011314
/**
13021315
* Output only. The id of this transaction. All transaction ids under the same package name must be unique. Set when creating the external transaction.
13031316
*/
@@ -5911,7 +5924,7 @@ export namespace androidpublisher_v3 {
59115924
export interface Params$Resource$Edits$Bundles$Upload
59125925
extends StandardParameters {
59135926
/**
5914-
* 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).
5927+
* Deprecated. The installation warning has been removed, it's not necessary to set this field anymore.
59155928
*/
59165929
ackBundleInstallationWarning?: boolean;
59175930
/**

0 commit comments

Comments
 (0)
Please sign in to comment.