@maxim_mazurok/gapi.client.androidpublisher-v3 0.1.20251209 → 0.1.20251216
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.
- package/index.d.ts +19 -5
- 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:
|
|
12
|
+
// Revision: 20251216
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -731,6 +731,16 @@ declare namespace gapi.client {
|
|
|
731
731
|
/** The version name of this APK. */
|
|
732
732
|
versionName?: string;
|
|
733
733
|
}
|
|
734
|
+
interface ExternalOfferDetails {
|
|
735
|
+
/** Optional. The external transaction id associated with the app download event through an external link. Required when reporting transactions made in externally installed apps. */
|
|
736
|
+
appDownloadEventExternalTransactionId?: string;
|
|
737
|
+
/** Optional. The category of the downloaded app though this transaction. This must match the category provided in Play Console during the external app verification process. Only required for app downloads. */
|
|
738
|
+
installedAppCategory?: string;
|
|
739
|
+
/** Optional. The package name of the app downloaded through this transaction. Required when link_type is LINK_TO_APP_DOWNLOAD. */
|
|
740
|
+
installedAppPackage?: string;
|
|
741
|
+
/** Optional. The type of content being reported by this transaction. Required when reporting app downloads or purchased digital content offers made in app installed through Google Play. */
|
|
742
|
+
linkType?: string;
|
|
743
|
+
}
|
|
734
744
|
interface ExternalSubscription {
|
|
735
745
|
/** Required. The type of the external subscription. */
|
|
736
746
|
subscriptionType?: string;
|
|
@@ -742,6 +752,8 @@ declare namespace gapi.client {
|
|
|
742
752
|
currentPreTaxAmount?: Price;
|
|
743
753
|
/** Output only. The current tax amount. This represents the current tax amount including any refunds that may have been applied to this transaction. */
|
|
744
754
|
currentTaxAmount?: Price;
|
|
755
|
+
/** Optional. Details necessary to accurately report external offers transactions. */
|
|
756
|
+
externalOfferDetails?: ExternalOfferDetails;
|
|
745
757
|
/** Output only. The id of this transaction. All transaction ids under the same package name must be unique. Set when creating the external transaction. */
|
|
746
758
|
externalTransactionId?: string;
|
|
747
759
|
/** This is a one-time transaction and not part of a subscription. */
|
|
@@ -1116,6 +1128,8 @@ declare namespace gapi.client {
|
|
|
1116
1128
|
eeaWithdrawalRightType?: string;
|
|
1117
1129
|
/** Whether this in-app product is declared as a product representing a tokenized digital asset. */
|
|
1118
1130
|
isTokenizedDigitalAsset?: boolean;
|
|
1131
|
+
/** Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information. */
|
|
1132
|
+
productTaxCategoryCode?: string;
|
|
1119
1133
|
/** A mapping from region code to tax rate details. The keys are region codes as defined by Unicode's "CLDR". */
|
|
1120
1134
|
taxRateInfoByRegionCode?: {[P in string]: RegionalTaxRateInfo};
|
|
1121
1135
|
}
|
|
@@ -1327,6 +1341,8 @@ declare namespace gapi.client {
|
|
|
1327
1341
|
interface OneTimeProductTaxAndComplianceSettings {
|
|
1328
1342
|
/** Whether this one-time product is declared as a product representing a tokenized digital asset. */
|
|
1329
1343
|
isTokenizedDigitalAsset?: boolean;
|
|
1344
|
+
/** Product tax category code to assign to the one-time product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information. */
|
|
1345
|
+
productTaxCategoryCode?: string;
|
|
1330
1346
|
/** Regional tax configuration. */
|
|
1331
1347
|
regionalTaxConfigs?: RegionalTaxConfig[];
|
|
1332
1348
|
}
|
|
@@ -1580,8 +1596,6 @@ declare namespace gapi.client {
|
|
|
1580
1596
|
testPurchaseContext?: TestPurchaseContext;
|
|
1581
1597
|
}
|
|
1582
1598
|
interface ProrationPeriodDetails {
|
|
1583
|
-
/** The last order id of the original subscription purchase prior to the plan change. This is only populated if this proration period is from an ugrade/downgrade from a previous subscription and carries the remaining offer phase from the linked order of the previous subscription. */
|
|
1584
|
-
linkedOrderId?: string;
|
|
1585
1599
|
/** Represent the original offer phase from the purchased the line item if the proration period contains any of them. For example, a proration period from CHARGE_FULL_PRICE plan change may merge the 1st offer phase of the subscription offer of the new product user purchased. In this case, the original offer phase will be set here. */
|
|
1586
1600
|
originalOfferPhase?: string;
|
|
1587
1601
|
}
|
|
@@ -2060,6 +2074,8 @@ declare namespace gapi.client {
|
|
|
2060
2074
|
eeaWithdrawalRightType?: string;
|
|
2061
2075
|
/** Whether this subscription is declared as a product representing a tokenized digital asset. */
|
|
2062
2076
|
isTokenizedDigitalAsset?: boolean;
|
|
2077
|
+
/** Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information. */
|
|
2078
|
+
productTaxCategoryCode?: string;
|
|
2063
2079
|
/** A mapping from region code to tax rate details. The keys are region codes as defined by Unicode's "CLDR". */
|
|
2064
2080
|
taxRateInfoByRegionCode?: {[P in string]: RegionalTaxRateInfo};
|
|
2065
2081
|
}
|
|
@@ -4304,8 +4320,6 @@ declare namespace gapi.client {
|
|
|
4304
4320
|
editId: string;
|
|
4305
4321
|
/** Selector specifying which fields to include in a partial response. */
|
|
4306
4322
|
fields?: string;
|
|
4307
|
-
/** Optional. The behavior of committing a new edit while a submission is already in review. */
|
|
4308
|
-
inProgressReviewBehaviour?: string;
|
|
4309
4323
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4310
4324
|
key?: string;
|
|
4311
4325
|
/** OAuth 2.0 token for the current user. */
|