@maxim_mazurok/gapi.client.androidpublisher-v3 0.0.20250521 → 0.0.20250602

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 +19 -17
  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: 20250521
12
+ // Revision: 20250602
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -217,7 +217,7 @@ declare namespace gapi.client {
217
217
  installmentDetails?: InstallmentPlan;
218
218
  /** The information of the last price change for the item since subscription signup. */
219
219
  priceChangeDetails?: SubscriptionItemPriceChangeDetails;
220
- /** The current recurring price of the auto renewing plan. */
220
+ /** The current recurring price of the auto renewing plan. Note that the price does not take into account discounts and taxes, call orders.get API instead if transaction details are needed. */
221
221
  recurringPrice?: Money;
222
222
  }
223
223
  interface BasePlan {
@@ -1248,7 +1248,7 @@ declare namespace gapi.client {
1248
1248
  regionCode?: string[];
1249
1249
  }
1250
1250
  interface RegionsVersion {
1251
- /** Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. The latest supported version is available in this article. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
1251
+ /** Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
1252
1252
  version?: string;
1253
1253
  }
1254
1254
  interface RemoteInAppUpdate {
@@ -1303,16 +1303,16 @@ declare namespace gapi.client {
1303
1303
  result?: ReviewReplyResult;
1304
1304
  }
1305
1305
  interface RevocationContext {
1306
- /** Optional. Used when users should be refunded the full amount of the latest order of the subscription. */
1306
+ /** Optional. Used when users should be refunded the full amount of latest charge on each item in the subscription. */
1307
1307
  fullRefund?: any;
1308
- /** Optional. Used when a specific item should be refunded in a subscription with multiple items. */
1308
+ /** Optional. Used when a specific item should be refunded in a subscription with add-on items. */
1309
1309
  itemBasedRefund?: RevocationContextItemBasedRefund;
1310
1310
  /** Optional. Used when users should be refunded a prorated amount they paid for their subscription based on the amount of time remaining in a subscription. */
1311
1311
  proratedRefund?: any;
1312
1312
  }
1313
1313
  interface RevocationContextFullRefund {}
1314
1314
  interface RevocationContextItemBasedRefund {
1315
- /** Required. If the subscription is a subscription bundle, the product id of the subscription to revoke. */
1315
+ /** Required. If the subscription is a subscription with add-ons, the product id of the subscription item to revoke. */
1316
1316
  productId?: string;
1317
1317
  }
1318
1318
  interface RevocationContextProratedRefund {}
@@ -1555,6 +1555,8 @@ declare namespace gapi.client {
1555
1555
  deferredItemReplacement?: DeferredItemReplacement;
1556
1556
  /** Time at which the subscription expired or will expire unless the access is extended (ex. renews). */
1557
1557
  expiryTime?: string;
1558
+ /** The order id of the latest successful order associated with this item. Not present if the item is not owned by the user yet (e.g. the item being deferred replaced to). */
1559
+ latestSuccessfulOrderId?: string;
1558
1560
  /** The offer details for this item. */
1559
1561
  offerDetails?: OfferDetails;
1560
1562
  /** The item is prepaid. */
@@ -5141,7 +5143,7 @@ declare namespace gapi.client {
5141
5143
  productId: string;
5142
5144
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5143
5145
  quotaUser?: string;
5144
- /** Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. The latest supported version is available in this article. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
5146
+ /** Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
5145
5147
  'regionsVersion.version'?: string;
5146
5148
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5147
5149
  upload_protocol?: string;
@@ -5178,7 +5180,7 @@ declare namespace gapi.client {
5178
5180
  productId: string;
5179
5181
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5180
5182
  quotaUser?: string;
5181
- /** Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. The latest supported version is available in this article. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
5183
+ /** Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
5182
5184
  'regionsVersion.version'?: string;
5183
5185
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5184
5186
  upload_protocol?: string;
@@ -5390,7 +5392,7 @@ declare namespace gapi.client {
5390
5392
  productId: string;
5391
5393
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5392
5394
  quotaUser?: string;
5393
- /** Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. The latest supported version is available in this article. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
5395
+ /** Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
5394
5396
  'regionsVersion.version'?: string;
5395
5397
  /** Required. The list of fields to be updated. */
5396
5398
  updateMask?: string;
@@ -5433,7 +5435,7 @@ declare namespace gapi.client {
5433
5435
  productId: string;
5434
5436
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5435
5437
  quotaUser?: string;
5436
- /** Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. The latest supported version is available in this article. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
5438
+ /** Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
5437
5439
  'regionsVersion.version'?: string;
5438
5440
  /** Required. The list of fields to be updated. */
5439
5441
  updateMask?: string;
@@ -5975,7 +5977,7 @@ declare namespace gapi.client {
5975
5977
  productId?: string;
5976
5978
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5977
5979
  quotaUser?: string;
5978
- /** Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. The latest supported version is available in this article. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
5980
+ /** Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
5979
5981
  'regionsVersion.version'?: string;
5980
5982
  /** Upload protocol for media (e.g. "raw", "multipart"). */
5981
5983
  upload_protocol?: string;
@@ -6008,7 +6010,7 @@ declare namespace gapi.client {
6008
6010
  productId?: string;
6009
6011
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6010
6012
  quotaUser?: string;
6011
- /** Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. The latest supported version is available in this article. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
6013
+ /** Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
6012
6014
  'regionsVersion.version'?: string;
6013
6015
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6014
6016
  upload_protocol?: string;
@@ -6136,7 +6138,7 @@ declare namespace gapi.client {
6136
6138
  productId: string;
6137
6139
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6138
6140
  quotaUser?: string;
6139
- /** Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. The latest supported version is available in this article. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
6141
+ /** Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
6140
6142
  'regionsVersion.version'?: string;
6141
6143
  /** Required. The list of fields to be updated. */
6142
6144
  updateMask?: string;
@@ -6175,7 +6177,7 @@ declare namespace gapi.client {
6175
6177
  productId: string;
6176
6178
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6177
6179
  quotaUser?: string;
6178
- /** Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. The latest supported version is available in this article. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
6180
+ /** Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. */
6179
6181
  'regionsVersion.version'?: string;
6180
6182
  /** Required. The list of fields to be updated. */
6181
6183
  updateMask?: string;
@@ -6493,7 +6495,7 @@ declare namespace gapi.client {
6493
6495
  prettyPrint?: boolean;
6494
6496
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6495
6497
  quotaUser?: string;
6496
- /** The purchased subscription ID (for example, 'monthly001'). */
6498
+ /** Note: Since May 21, 2025, subscription_id is not required, and not recommended for subscription with add-ons. The purchased subscription ID (for example, 'monthly001'). */
6497
6499
  subscriptionId: string;
6498
6500
  /** The token provided to the user's device when the subscription was purchased. */
6499
6501
  token: string;
@@ -6526,7 +6528,7 @@ declare namespace gapi.client {
6526
6528
  prettyPrint?: boolean;
6527
6529
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6528
6530
  quotaUser?: string;
6529
- /** The purchased subscription ID (for example, 'monthly001'). */
6531
+ /** Note: Since May 21, 2025, subscription_id is not required, and not recommended for subscription with add-ons. The purchased subscription ID (for example, 'monthly001'). */
6530
6532
  subscriptionId: string;
6531
6533
  /** The token provided to the user's device when the subscription was purchased. */
6532
6534
  token: string;
@@ -6559,7 +6561,7 @@ declare namespace gapi.client {
6559
6561
  prettyPrint?: boolean;
6560
6562
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6561
6563
  quotaUser?: string;
6562
- /** The purchased subscription ID (for example, 'monthly001'). */
6564
+ /** Note: Since May 21, 2025, subscription_id is not required, and not recommended for subscription with add-ons. The purchased subscription ID (for example, 'monthly001'). */
6563
6565
  subscriptionId: string;
6564
6566
  /** The token provided to the user's device when the subscription was purchased. */
6565
6567
  token: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.androidpublisher-v3",
3
- "version": "0.0.20250521",
3
+ "version": "0.0.20250602",
4
4
  "description": "TypeScript typings for Google Play Android Developer API v3",
5
5
  "repository": {
6
6
  "type": "git",