@maxim_mazurok/gapi.client.androidpublisher-v3 0.0.20240513 → 0.0.20240515
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 +38 -1
- 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: 20240515
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -213,6 +213,8 @@ declare namespace gapi.client {
|
|
|
213
213
|
interface AutoRenewingPlan {
|
|
214
214
|
/** If the subscription is currently set to auto-renew, e.g. the user has not canceled the subscription */
|
|
215
215
|
autoRenewEnabled?: boolean;
|
|
216
|
+
/** The installment plan commitment and state related info for the auto renewing plan. */
|
|
217
|
+
installmentDetails?: InstallmentPlan;
|
|
216
218
|
/** The information of the last price change for the item since subscription signup. */
|
|
217
219
|
priceChangeDetails?: SubscriptionItemPriceChangeDetails;
|
|
218
220
|
}
|
|
@@ -221,6 +223,8 @@ declare namespace gapi.client {
|
|
|
221
223
|
autoRenewingBasePlanType?: AutoRenewingBasePlanType;
|
|
222
224
|
/** Required. Immutable. The unique identifier of this base plan. Must be unique within the subscription, and conform with RFC-1034. That is, this ID can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 63 characters. */
|
|
223
225
|
basePlanId?: string;
|
|
226
|
+
/** Set for installments base plans where a user is committed to a specified number of payments. */
|
|
227
|
+
installmentsBasePlanType?: InstallmentsBasePlanType;
|
|
224
228
|
/** List of up to 20 custom tags specified for this base plan, and returned to the app through the billing library. Subscription offers for this base plan will also receive these offer tags in the billing library. */
|
|
225
229
|
offerTags?: OfferTag[];
|
|
226
230
|
/** Pricing information for any new locations Play may launch in the future. If omitted, the BasePlan will not be automatically available any new locations Play may launch in the future. */
|
|
@@ -766,6 +770,32 @@ declare namespace gapi.client {
|
|
|
766
770
|
/** Unique identifier for the in-app product. */
|
|
767
771
|
sku?: string;
|
|
768
772
|
}
|
|
773
|
+
interface InstallmentPlan {
|
|
774
|
+
/** Total number of payments the user is initially committed for. */
|
|
775
|
+
initialCommittedPaymentsCount?: number;
|
|
776
|
+
/** If present, this installment plan is pending to be canceled. The cancellation will happen only after the user finished all committed payments. */
|
|
777
|
+
pendingCancellation?: any;
|
|
778
|
+
/** Total number of committed payments remaining to be paid for in this renewal cycle. */
|
|
779
|
+
remainingCommittedPaymentsCount?: number;
|
|
780
|
+
/** Total number of payments the user will be committed for after each commitment period. Empty means the installment plan will fall back to a normal auto-renew subscription after initial commitment. */
|
|
781
|
+
subsequentCommittedPaymentsCount?: number;
|
|
782
|
+
}
|
|
783
|
+
interface InstallmentsBasePlanType {
|
|
784
|
+
/** Optional. Account hold period of the subscription, specified exclusively in days and in ISO 8601 format. Acceptable values are P0D (zero days) to P30D (30days). If not specified, the default value is P30D (30 days). */
|
|
785
|
+
accountHoldDuration?: string;
|
|
786
|
+
/** Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. */
|
|
787
|
+
billingPeriodDuration?: string;
|
|
788
|
+
/** Required. The number of payments the user is committed to. */
|
|
789
|
+
committedPaymentsCount?: number;
|
|
790
|
+
/** Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration. */
|
|
791
|
+
gracePeriodDuration?: string;
|
|
792
|
+
/** The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE. */
|
|
793
|
+
prorationMode?: string;
|
|
794
|
+
/** Required. Installments base plan renewal type. Determines the behavior at the end of the initial commitment. */
|
|
795
|
+
renewalType?: string;
|
|
796
|
+
/** Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified. */
|
|
797
|
+
resubscribeState?: string;
|
|
798
|
+
}
|
|
769
799
|
interface InternalAppSharingArtifact {
|
|
770
800
|
/** The sha256 fingerprint of the certificate used to sign the generated artifact. */
|
|
771
801
|
certificateFingerprint?: string;
|
|
@@ -967,6 +997,7 @@ declare namespace gapi.client {
|
|
|
967
997
|
/** Time at which the subscription will be automatically resumed. */
|
|
968
998
|
autoResumeTime?: string;
|
|
969
999
|
}
|
|
1000
|
+
interface PendingCancellation {}
|
|
970
1001
|
interface PrepaidBasePlanType {
|
|
971
1002
|
/** Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. */
|
|
972
1003
|
billingPeriodDuration?: string;
|
|
@@ -1107,6 +1138,10 @@ declare namespace gapi.client {
|
|
|
1107
1138
|
versionCode?: string;
|
|
1108
1139
|
}
|
|
1109
1140
|
interface ReplacementCancellation {}
|
|
1141
|
+
interface RestrictedPaymentCountries {
|
|
1142
|
+
/** Required. Region codes to impose payment restrictions on, as defined by ISO 3166-2, e.g. "US". */
|
|
1143
|
+
regionCodes?: string[];
|
|
1144
|
+
}
|
|
1110
1145
|
interface Review {
|
|
1111
1146
|
/** The name of the user who wrote the review. */
|
|
1112
1147
|
authorName?: string;
|
|
@@ -1215,6 +1250,8 @@ declare namespace gapi.client {
|
|
|
1215
1250
|
packageName?: string;
|
|
1216
1251
|
/** Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must be composed of lower-case letters (a-z), numbers (0-9), underscores (_) and dots (.). It must start with a lower-case letter or number, and be between 1 and 40 (inclusive) characters in length. */
|
|
1217
1252
|
productId?: string;
|
|
1253
|
+
/** Optional. Countries where the purchase of this subscription is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed. */
|
|
1254
|
+
restrictedPaymentCountries?: RestrictedPaymentCountries;
|
|
1218
1255
|
/** Details about taxes and legal compliance. */
|
|
1219
1256
|
taxAndComplianceSettings?: SubscriptionTaxAndComplianceSettings;
|
|
1220
1257
|
}
|