@maxim_mazurok/gapi.client.androidpublisher-v3 0.5.20260826 → 0.5.20260902

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +21 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://androidpublisher.googleapis.com/$discovery/rest?version=v3
12
- // Revision: 20260826
12
+ // Revision: 20260902
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1058,6 +1058,18 @@ declare namespace gapi.client {
1058
1058
  /** Optional. Specifies an optional obfuscated string that is uniquely associated with the purchaser's user profile in your app. If you pass this value, Google Play can use it to detect irregular activity. Do not use this field to store any Personally Identifiable Information (PII) such as emails in cleartext. Attempting to store PII in this field will result in purchases being blocked. Google Play recommends that you use either encryption or a one-way hash to generate an obfuscated identifier to send to Google Play. This identifier is limited to 64 characters. This field can only be set for resubscription purchases. See https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid to set this field for purchases made using the standard in-app billing flow. */
1059
1059
  obfuscatedProfileId?: string;
1060
1060
  }
1061
+ interface ExternalContentLinkDetails {
1062
+ /** Optional. The category of the downlaoded app. This must match the category provided in Play Console during the external app verification process. Only required for app installs. */
1063
+ externalAppCategory?:
1064
+ 'EXTERNAL_CONTENT_APP_CATEGORY_UNSPECIFIED' | 'APP' | 'GAME';
1065
+ /** Optional. The package name of the app downloaded through this transaction. Only required for app installs. */
1066
+ installedAppPackage?: string;
1067
+ /** Required. The type content being reported by this transaction. */
1068
+ linkType?:
1069
+ | 'EXTERNAL_CONTENT_LINK_TYPE_UNSPECIFIED'
1070
+ | 'LINK_TO_DIGITAL_CONTENT_OFFER'
1071
+ | 'LINK_TO_APP_DOWNLOAD';
1072
+ }
1061
1073
  interface ExternallyHostedApk {
1062
1074
  /** The application label. */
1063
1075
  applicationLabel?: string;
@@ -1116,6 +1128,8 @@ declare namespace gapi.client {
1116
1128
  currentPreTaxAmount?: Price;
1117
1129
  /** Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction. */
1118
1130
  currentTaxAmount?: Price;
1131
+ /** Optional. Details necessary to accurately report external content link transactions. */
1132
+ externalContentLinkDetails?: ExternalContentLinkDetails;
1119
1133
  /** Optional. Details necessary to accurately report external offers transactions. */
1120
1134
  externalOfferDetails?: ExternalOfferDetails;
1121
1135
  /** Output only. The id of this transaction. All transaction ids under the same package name must be unique. Set when creating the external transaction. */
@@ -1750,6 +1764,10 @@ declare namespace gapi.client {
1750
1764
  /** Time when the offer will start being available. */
1751
1765
  startTime?: string;
1752
1766
  }
1767
+ interface OneTimeProductGameRewardOffer {
1768
+ /** Optional. The number of times this offer can be redeemed. If unset or set to 0, allows for unlimited offer redemptions. Otherwise must be a number between 1 and 50 inclusive. */
1769
+ redemptionLimit?: string;
1770
+ }
1753
1771
  interface OneTimeProductListing {
1754
1772
  /** Required. The description of this product in the language of this listing. The maximum length is 200 characters. */
1755
1773
  description?: string;
@@ -1761,6 +1779,8 @@ declare namespace gapi.client {
1761
1779
  interface OneTimeProductOffer {
1762
1780
  /** A discounted offer. */
1763
1781
  discountedOffer?: OneTimeProductDiscountedOffer;
1782
+ /** A game reward offer. */
1783
+ gameRewardOffer?: OneTimeProductGameRewardOffer;
1764
1784
  /** Required. Immutable. The ID of this product offer. Must be unique within the purchase option. It must start with a number or lower-case letter, and can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-). The maximum length is 63 characters. */
1765
1785
  offerId?: string;
1766
1786
  /** Optional. List of up to 20 custom tags specified for this offer, and returned to the app through the billing library. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.androidpublisher-v3",
3
- "version": "0.5.20260826",
3
+ "version": "0.5.20260902",
4
4
  "description": "TypeScript typings for Google Play Android Developer API v3",
5
5
  "repository": {
6
6
  "type": "git",