@maxim_mazurok/gapi.client.androidpublisher-v3 0.5.20261021 → 0.5.20261026
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 +24 -24
- 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: 20261026
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -353,7 +353,7 @@ declare namespace gapi.client {
|
|
|
353
353
|
}
|
|
354
354
|
interface BasePriceOfferPhase {}
|
|
355
355
|
interface BatchDeleteOneTimeProductOffersRequest {
|
|
356
|
-
/** Required. A list of
|
|
356
|
+
/** Required. A list of delete requests of up to 100 elements. All requests must correspond to different offers. */
|
|
357
357
|
requests?: DeleteOneTimeProductOfferRequest[];
|
|
358
358
|
}
|
|
359
359
|
interface BatchDeleteOneTimeProductsRequest {
|
|
@@ -369,7 +369,7 @@ declare namespace gapi.client {
|
|
|
369
369
|
requests?: GetOneTimeProductOfferRequest[];
|
|
370
370
|
}
|
|
371
371
|
interface BatchGetOneTimeProductOffersResponse {
|
|
372
|
-
/** The list of
|
|
372
|
+
/** The list of requested one-time product offers, in the same order as the request. */
|
|
373
373
|
oneTimeProductOffers?: OneTimeProductOffer[];
|
|
374
374
|
}
|
|
375
375
|
interface BatchGetOneTimeProductsResponse {
|
|
@@ -549,7 +549,7 @@ declare namespace gapi.client {
|
|
|
549
549
|
appContactInformation?: AppContactInformation;
|
|
550
550
|
/** The subcategory of the app e.g. "GAME_ACTION". */
|
|
551
551
|
appSubcategory?: string;
|
|
552
|
-
/** The token used for delivery of the app with the Google Play Inline Install API. */
|
|
552
|
+
/** The token used for delivery of the app with the Google Play Inline Install API. The token is unique per Play app and per third-party app store combination and has a limited validity period of 7 days. */
|
|
553
553
|
deliveryToken?: string;
|
|
554
554
|
/** The developer details of the app. */
|
|
555
555
|
developerDetails?: DeveloperDetails;
|
|
@@ -1816,7 +1816,7 @@ declare namespace gapi.client {
|
|
|
1816
1816
|
noOverride?: any;
|
|
1817
1817
|
/** Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., "US". */
|
|
1818
1818
|
regionCode?: string;
|
|
1819
|
-
/** The
|
|
1819
|
+
/** The percentage discount subtracted from the purchase option price, specified as a fraction strictly larger than `0` and strictly smaller than `1`. For example, a value of `0.8` represents an 80% discount, meaning that if the purchase option price is $100, the offer price will be $20. The resulting price will be rounded to the nearest billable unit (e.g. cents for USD). The relative discount is considered invalid if the discounted price ends up being smaller than the minimum price allowed in this region. */
|
|
1820
1820
|
relativeDiscount?: number;
|
|
1821
1821
|
}
|
|
1822
1822
|
interface OneTimeProductPreOrderOffer {
|
|
@@ -1993,13 +1993,13 @@ declare namespace gapi.client {
|
|
|
1993
1993
|
otherRegionsNewSubscriberAvailability?: boolean;
|
|
1994
1994
|
}
|
|
1995
1995
|
interface OtherRegionsSubscriptionOfferPhaseConfig {
|
|
1996
|
-
/** The absolute amount of money subtracted from the base plan price prorated over the phase duration
|
|
1996
|
+
/** The absolute amount of money subtracted from the base plan price prorated over the phase duration. For example, if the base plan price for this region is $12 for a period of 1 year, then a $1 absolute discount for a phase of a duration of 3 months would correspond to a price of $2. The resulting price may not be smaller than the minimum price allowed for any new locations Play may launch in. */
|
|
1997
1997
|
absoluteDiscounts?: OtherRegionsSubscriptionOfferPhasePrices;
|
|
1998
1998
|
/** Set to specify this offer is free to obtain. */
|
|
1999
1999
|
free?: any;
|
|
2000
2000
|
/** The absolute price the user pays for this offer phase. The price must not be smaller than the minimum price allowed for any new locations Play may launch in. */
|
|
2001
2001
|
otherRegionsPrices?: OtherRegionsSubscriptionOfferPhasePrices;
|
|
2002
|
-
/** The
|
|
2002
|
+
/** The percentage discount subtracted from the base plan price prorated over the phase duration, specified as a fraction strictly larger than `0` and strictly smaller than `1`. For example, a value of `0.8` represents an 80% discount, meaning that if the prorated base plan price is $100, the offer price will be $20. The resulting price will be rounded to the nearest billable unit (e.g. cents for USD). The relative discount is considered invalid if the discounted price ends up being smaller than the minimum price allowed in any new locations Play may launch in. */
|
|
2003
2003
|
relativeDiscount?: number;
|
|
2004
2004
|
}
|
|
2005
2005
|
interface OtherRegionsSubscriptionOfferPhaseFreePriceOverride {}
|
|
@@ -2347,7 +2347,7 @@ declare namespace gapi.client {
|
|
|
2347
2347
|
regionCode?: string;
|
|
2348
2348
|
}
|
|
2349
2349
|
interface RegionalSubscriptionOfferPhaseConfig {
|
|
2350
|
-
/** The absolute amount of money subtracted from the base plan price prorated over the phase duration
|
|
2350
|
+
/** The absolute amount of money subtracted from the base plan price prorated over the phase duration. For example, if the base plan price for this region is $12 for a period of 1 year, then a $1 absolute discount for a phase of a duration of 3 months would correspond to a price of $2. The resulting price may not be smaller than the minimum price allowed for this region. */
|
|
2351
2351
|
absoluteDiscount?: Money;
|
|
2352
2352
|
/** Set to specify this offer is free to obtain. */
|
|
2353
2353
|
free?: any;
|
|
@@ -2355,7 +2355,7 @@ declare namespace gapi.client {
|
|
|
2355
2355
|
price?: Money;
|
|
2356
2356
|
/** Required. Immutable. The region to which this config applies. */
|
|
2357
2357
|
regionCode?: string;
|
|
2358
|
-
/** The
|
|
2358
|
+
/** The percentage discount subtracted from the base plan price prorated over the phase duration, specified as a fraction strictly larger than `0` and strictly smaller than `1`. For example, a value of `0.8` represents an 80% discount, meaning that if the prorated base plan price is $100, the offer price will be $20. The resulting price will be rounded to the nearest billable unit (e.g. cents for USD). The relative discount is considered invalid if the discounted price ends up being smaller than the minimum price allowed in this region. */
|
|
2359
2359
|
relativeDiscount?: number;
|
|
2360
2360
|
}
|
|
2361
2361
|
interface RegionalSubscriptionOfferPhaseFreePriceOverride {}
|
|
@@ -3013,7 +3013,7 @@ declare namespace gapi.client {
|
|
|
3013
3013
|
activateOneTimeProductOfferRequest?: ActivateOneTimeProductOfferRequest;
|
|
3014
3014
|
/** Cancels an offer. Once cancelled, the offer is not available to users. Any pending orders related to this offer will be cancelled. This state transition is specific to pre-orders. */
|
|
3015
3015
|
cancelOneTimeProductOfferRequest?: CancelOneTimeProductOfferRequest;
|
|
3016
|
-
/** Deactivates an offer. Once deactivated, the offer is no longer available to users. This state transition is specific to discounted offers. */
|
|
3016
|
+
/** Deactivates an offer. Once deactivated, the offer is no longer available to users. This state transition is specific to discounted and game reward offers. */
|
|
3017
3017
|
deactivateOneTimeProductOfferRequest?: DeactivateOneTimeProductOfferRequest;
|
|
3018
3018
|
}
|
|
3019
3019
|
interface UpdateOneTimeProductRequest {
|
|
@@ -6949,13 +6949,13 @@ declare namespace gapi.client {
|
|
|
6949
6949
|
key?: string;
|
|
6950
6950
|
/** OAuth 2.0 token for the current user. */
|
|
6951
6951
|
oauth_token?: string;
|
|
6952
|
-
/** Required. The parent app (package name) of the offers to delete. Must be equal to the package_name field on all the
|
|
6952
|
+
/** Required. The parent app (package name) of the offers to delete. Must be equal to the package_name field on all the requests. */
|
|
6953
6953
|
packageName: string;
|
|
6954
6954
|
/** Returns response with indentations and line breaks. */
|
|
6955
6955
|
prettyPrint?: boolean;
|
|
6956
6956
|
/** Required. The product ID of the parent one-time product, if all offers to delete belong to the same product. If this request spans multiple one-time products, set this field to "-". */
|
|
6957
6957
|
productId: string;
|
|
6958
|
-
/** Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to
|
|
6958
|
+
/** Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to delete offers from multiple purchase options. */
|
|
6959
6959
|
purchaseOptionId: string;
|
|
6960
6960
|
/** 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. */
|
|
6961
6961
|
quotaUser?: string;
|
|
@@ -6982,13 +6982,13 @@ declare namespace gapi.client {
|
|
|
6982
6982
|
key?: string;
|
|
6983
6983
|
/** OAuth 2.0 token for the current user. */
|
|
6984
6984
|
oauth_token?: string;
|
|
6985
|
-
/** Required. The parent app (package name) of the offers to delete. Must be equal to the package_name field on all the
|
|
6985
|
+
/** Required. The parent app (package name) of the offers to delete. Must be equal to the package_name field on all the requests. */
|
|
6986
6986
|
packageName: string;
|
|
6987
6987
|
/** Returns response with indentations and line breaks. */
|
|
6988
6988
|
prettyPrint?: boolean;
|
|
6989
6989
|
/** Required. The product ID of the parent one-time product, if all offers to delete belong to the same product. If this request spans multiple one-time products, set this field to "-". */
|
|
6990
6990
|
productId: string;
|
|
6991
|
-
/** Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to
|
|
6991
|
+
/** Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to delete offers from multiple purchase options. */
|
|
6992
6992
|
purchaseOptionId: string;
|
|
6993
6993
|
/** 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. */
|
|
6994
6994
|
quotaUser?: string;
|
|
@@ -7015,13 +7015,13 @@ declare namespace gapi.client {
|
|
|
7015
7015
|
key?: string;
|
|
7016
7016
|
/** OAuth 2.0 token for the current user. */
|
|
7017
7017
|
oauth_token?: string;
|
|
7018
|
-
/** Required. The parent app (package name) of the
|
|
7018
|
+
/** Required. The parent app (package name) of the offers to retrieve. Must be equal to the package_name field on all the requests. */
|
|
7019
7019
|
packageName: string;
|
|
7020
7020
|
/** Returns response with indentations and line breaks. */
|
|
7021
7021
|
prettyPrint?: boolean;
|
|
7022
|
-
/** Required. The product ID of the parent one-time product, if all
|
|
7022
|
+
/** Required. The product ID of the parent one-time product, if all offers belong to the same product. If this request spans multiple one-time products, set this field to "-". */
|
|
7023
7023
|
productId: string;
|
|
7024
|
-
/** Required. The parent purchase option (ID) for which the offers should be
|
|
7024
|
+
/** Required. The parent purchase option (ID) for which the offers should be retrieved. May be specified as '-' to retrieve offers from multiple purchase options. */
|
|
7025
7025
|
purchaseOptionId: string;
|
|
7026
7026
|
/** 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. */
|
|
7027
7027
|
quotaUser?: string;
|
|
@@ -7048,13 +7048,13 @@ declare namespace gapi.client {
|
|
|
7048
7048
|
key?: string;
|
|
7049
7049
|
/** OAuth 2.0 token for the current user. */
|
|
7050
7050
|
oauth_token?: string;
|
|
7051
|
-
/** Required. The parent app (package name) of the
|
|
7051
|
+
/** Required. The parent app (package name) of the offers to retrieve. Must be equal to the package_name field on all the requests. */
|
|
7052
7052
|
packageName: string;
|
|
7053
7053
|
/** Returns response with indentations and line breaks. */
|
|
7054
7054
|
prettyPrint?: boolean;
|
|
7055
|
-
/** Required. The product ID of the parent one-time product, if all
|
|
7055
|
+
/** Required. The product ID of the parent one-time product, if all offers belong to the same product. If this request spans multiple one-time products, set this field to "-". */
|
|
7056
7056
|
productId: string;
|
|
7057
|
-
/** Required. The parent purchase option (ID) for which the offers should be
|
|
7057
|
+
/** Required. The parent purchase option (ID) for which the offers should be retrieved. May be specified as '-' to retrieve offers from multiple purchase options. */
|
|
7058
7058
|
purchaseOptionId: string;
|
|
7059
7059
|
/** 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. */
|
|
7060
7060
|
quotaUser?: string;
|
|
@@ -7357,7 +7357,7 @@ declare namespace gapi.client {
|
|
|
7357
7357
|
packageName: string;
|
|
7358
7358
|
/** Optional. The maximum number of offers to return. The service may return fewer than this value. If unspecified, at most 50 offers will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
|
|
7359
7359
|
pageSize?: number;
|
|
7360
|
-
/** Optional. A page token, received from a previous `
|
|
7360
|
+
/** Optional. A page token, received from a previous `ListOneTimeProductOffers` call. Provide this to retrieve the subsequent page. When paginating, product_id, package_name and purchase_option_id provided to `ListOneTimeProductOffersRequest` must match the call that provided the page token. */
|
|
7361
7361
|
pageToken?: string;
|
|
7362
7362
|
/** Returns response with indentations and line breaks. */
|
|
7363
7363
|
prettyPrint?: boolean;
|
|
@@ -7517,7 +7517,7 @@ declare namespace gapi.client {
|
|
|
7517
7517
|
key?: string;
|
|
7518
7518
|
/** OAuth 2.0 token for the current user. */
|
|
7519
7519
|
oauth_token?: string;
|
|
7520
|
-
/** Required. The parent app (package name) for which the one-time products should be deleted. Must be equal to the package_name field on all the
|
|
7520
|
+
/** Required. The parent app (package name) for which the one-time products should be deleted. Must be equal to the package_name field on all the requests. */
|
|
7521
7521
|
packageName: string;
|
|
7522
7522
|
/** Returns response with indentations and line breaks. */
|
|
7523
7523
|
prettyPrint?: boolean;
|
|
@@ -7546,7 +7546,7 @@ declare namespace gapi.client {
|
|
|
7546
7546
|
key?: string;
|
|
7547
7547
|
/** OAuth 2.0 token for the current user. */
|
|
7548
7548
|
oauth_token?: string;
|
|
7549
|
-
/** Required. The parent app (package name) for which the one-time products should be deleted. Must be equal to the package_name field on all the
|
|
7549
|
+
/** Required. The parent app (package name) for which the one-time products should be deleted. Must be equal to the package_name field on all the requests. */
|
|
7550
7550
|
packageName: string;
|
|
7551
7551
|
/** Returns response with indentations and line breaks. */
|
|
7552
7552
|
prettyPrint?: boolean;
|
|
@@ -7575,7 +7575,7 @@ declare namespace gapi.client {
|
|
|
7575
7575
|
key?: string;
|
|
7576
7576
|
/** OAuth 2.0 token for the current user. */
|
|
7577
7577
|
oauth_token?: string;
|
|
7578
|
-
/** Required. The parent app (package name) for which the products should be retrieved.
|
|
7578
|
+
/** Required. The parent app (package name) for which the products should be retrieved. */
|
|
7579
7579
|
packageName: string;
|
|
7580
7580
|
/** Returns response with indentations and line breaks. */
|
|
7581
7581
|
prettyPrint?: boolean;
|