@maxim_mazurok/gapi.client.androidpublisher-v3 0.0.20231003 → 0.0.20231012
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 +9 -6
- package/package.json +1 -1
- package/readme.md +1 -1
- package/tests.ts +2 -2
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: 20231012
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1207,9 +1207,9 @@ declare namespace gapi.client {
|
|
|
1207
1207
|
}
|
|
1208
1208
|
interface RegionalPriceMigrationConfig {
|
|
1209
1209
|
/**
|
|
1210
|
-
* Required. The cutoff time for historical prices that subscribers can remain paying. Subscribers
|
|
1211
|
-
*
|
|
1212
|
-
* subscription ended at the next renewal.
|
|
1210
|
+
* Required. The cutoff time for historical prices that subscribers can remain paying. Subscribers on prices which were available at this cutoff time or later will stay on their
|
|
1211
|
+
* existing price. Subscribers on older prices will be migrated to the currently-offered price. The migrated subscribers will receive a notification that they will be paying a
|
|
1212
|
+
* different price. Subscribers who do not agree to the new price will have their subscription ended at the next renewal.
|
|
1213
1213
|
*/
|
|
1214
1214
|
oldestAllowedPriceVersionTime?:
|
|
1215
1215
|
string;
|
|
@@ -1441,7 +1441,10 @@ declare namespace gapi.client {
|
|
|
1441
1441
|
string;
|
|
1442
1442
|
}
|
|
1443
1443
|
interface SubscriptionItemPriceChangeDetails {
|
|
1444
|
-
/**
|
|
1444
|
+
/**
|
|
1445
|
+
* The renewal time at which the price change will become effective for the user. This is subject to change(to a future time) due to cases where the renewal time shifts like pause.
|
|
1446
|
+
* This field is only populated if the price change has not taken effect.
|
|
1447
|
+
*/
|
|
1445
1448
|
expectedNewPriceChargeTime?:
|
|
1446
1449
|
string;
|
|
1447
1450
|
/** New recurring price for the subscription item. */
|
|
@@ -6975,7 +6978,7 @@ declare namespace gapi.client {
|
|
|
6975
6978
|
SubscriptionsResource;
|
|
6976
6979
|
}
|
|
6977
6980
|
interface OrdersResource {
|
|
6978
|
-
/** Refunds a user's subscription or in-app purchase order. Orders older than
|
|
6981
|
+
/** Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded. */
|
|
6979
6982
|
refund(request?: {
|
|
6980
6983
|
/** V1 error format. */
|
|
6981
6984
|
"$.xgafv"?:
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -177,7 +177,7 @@ Calculates the region prices, using today's exchange rate and country-specific p
|
|
|
177
177
|
await gapi.client.androidpublisher.monetization.convertRegionPrices({ packageName: "packageName", });
|
|
178
178
|
|
|
179
179
|
/*
|
|
180
|
-
Refunds a user's subscription or in-app purchase order. Orders older than
|
|
180
|
+
Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded.
|
|
181
181
|
*/
|
|
182
182
|
await gapi.client.androidpublisher.orders.refund({ orderId: "orderId", packageName: "packageName", });
|
|
183
183
|
|
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20231012
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1206,7 +1206,7 @@ gapi.load('client', async () => {
|
|
|
1206
1206
|
},
|
|
1207
1207
|
},
|
|
1208
1208
|
});
|
|
1209
|
-
/** Refunds a user's subscription or in-app purchase order. Orders older than
|
|
1209
|
+
/** Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded. */
|
|
1210
1210
|
await gapi.client.androidpublisher.orders.refund({
|
|
1211
1211
|
orderId: "Test string",
|
|
1212
1212
|
packageName: "Test string",
|