@maxim_mazurok/gapi.client.androidpublisher-v3 0.4.20260706 → 0.4.20260720
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 +536 -178
- package/package.json +1 -1
- package/readme.md +44 -0
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: 20260720
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -218,6 +218,46 @@ declare namespace gapi.client {
|
|
|
218
218
|
/** Specifies targeting criteria for the recovery action such as regions, android sdk versions, app versions etc. */
|
|
219
219
|
targeting?: Targeting;
|
|
220
220
|
}
|
|
221
|
+
interface AppStoreAppActiveApks {
|
|
222
|
+
/** Required. List specifying which APK sets are distributed together. This list should contain all APKs that you're distributing for this app. Add an entry for each individual installable set of APKs. */
|
|
223
|
+
activeApkSets?: AppStoreAppActiveApkSet[];
|
|
224
|
+
}
|
|
225
|
+
interface AppStoreAppActiveApkSet {
|
|
226
|
+
/** Required. The ID for the main base application module. Example: base.apk or app.apk. */
|
|
227
|
+
baseApkId?: string;
|
|
228
|
+
/** Optional. IDs for split modules that might be installed in combination with the base APK. Can be empty if app bundles (or a similar technology) are not used. Example: config.en.apk. */
|
|
229
|
+
splitApkId?: string[];
|
|
230
|
+
}
|
|
231
|
+
interface AppStoreAppDetails {
|
|
232
|
+
/** Required. The app developer's contact email address. */
|
|
233
|
+
contactEmail?: string;
|
|
234
|
+
/** Required. The app developer's name. */
|
|
235
|
+
developerName?: string;
|
|
236
|
+
/** Optional. Website link for the developer or app. */
|
|
237
|
+
developerWebsite?: string;
|
|
238
|
+
}
|
|
239
|
+
interface AppStoreAppPolicyDeclaration {
|
|
240
|
+
/** Required. ID of the policy declaration. */
|
|
241
|
+
declarationId?: string;
|
|
242
|
+
/** Required. Responses provided for this declaration. */
|
|
243
|
+
responses?: PolicyResponse[];
|
|
244
|
+
}
|
|
245
|
+
interface AppStoreAppStoreListing {
|
|
246
|
+
/** Required. Image ID generated from UploadImage for the main app icon. */
|
|
247
|
+
appIconId?: string;
|
|
248
|
+
/** Required. The title of the app. */
|
|
249
|
+
appName?: string;
|
|
250
|
+
/** Required. Comprehensive description text about the app. */
|
|
251
|
+
fullDescription?: string;
|
|
252
|
+
/** Required. Language code (e.g., "en-US") of the listing. */
|
|
253
|
+
languageCode?: string;
|
|
254
|
+
/** Required. Multiple image IDs for screenshot galleries. */
|
|
255
|
+
screenshotId?: string[];
|
|
256
|
+
/** Optional. Quick summary about the app. */
|
|
257
|
+
shortDescription?: string;
|
|
258
|
+
/** Optional. Link to a video about the app. */
|
|
259
|
+
videoLink?: string;
|
|
260
|
+
}
|
|
221
261
|
interface AppVersionList {
|
|
222
262
|
/** List of app version codes. */
|
|
223
263
|
versionCodes?: string[];
|
|
@@ -552,12 +592,25 @@ declare namespace gapi.client {
|
|
|
552
592
|
/** Include "rest of world" as well as explicitly targeted countries. */
|
|
553
593
|
includeRestOfWorld?: boolean;
|
|
554
594
|
}
|
|
595
|
+
interface CreateAppStoreHostedAppRequest {
|
|
596
|
+
/** Required. Package name of the app. */
|
|
597
|
+
packageName?: string;
|
|
598
|
+
}
|
|
599
|
+
interface CreateAppStoreHostedAppResponse {}
|
|
555
600
|
interface CreateDraftAppRecoveryRequest {
|
|
556
601
|
/** Action type is remote in-app update. As a consequence of this action, a downloadable recovery module is also created for testing purposes. */
|
|
557
602
|
remoteInAppUpdate?: RemoteInAppUpdate;
|
|
558
603
|
/** Specifies targeting criteria for the recovery action such as regions, android sdk versions, app versions etc. */
|
|
559
604
|
targeting?: Targeting;
|
|
560
605
|
}
|
|
606
|
+
interface Date {
|
|
607
|
+
/** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
|
|
608
|
+
day?: number;
|
|
609
|
+
/** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
|
|
610
|
+
month?: number;
|
|
611
|
+
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
612
|
+
year?: number;
|
|
613
|
+
}
|
|
561
614
|
interface DeactivateBasePlanRequest {
|
|
562
615
|
/** Required. The unique base plan ID of the base plan to deactivate. */
|
|
563
616
|
basePlanId?: string;
|
|
@@ -1021,6 +1074,10 @@ declare namespace gapi.client {
|
|
|
1021
1074
|
/** Immutable. The package name of the app. This will be empty for draft apps. */
|
|
1022
1075
|
packageName?: string;
|
|
1023
1076
|
}
|
|
1077
|
+
interface Group {
|
|
1078
|
+
/** Required. Responses within a group. */
|
|
1079
|
+
responses?: NestedPolicyResponse[];
|
|
1080
|
+
}
|
|
1024
1081
|
interface Image {
|
|
1025
1082
|
/** Optional. Whether the image was generated by AI. Attested by the developer. */
|
|
1026
1083
|
aiGeneratedState?:
|
|
@@ -1186,16 +1243,6 @@ declare namespace gapi.client {
|
|
|
1186
1243
|
sha256?: string;
|
|
1187
1244
|
}
|
|
1188
1245
|
interface IntroductoryPriceDetails {}
|
|
1189
|
-
interface IntroductoryPriceInfo {
|
|
1190
|
-
/** Introductory price of the subscription, not including tax. The currency is the same as price_currency_code. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For example, if the subscription price is €1.99, price_amount_micros is 1990000. */
|
|
1191
|
-
introductoryPriceAmountMicros?: string;
|
|
1192
|
-
/** ISO 4217 currency code for the introductory subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is "GBP". */
|
|
1193
|
-
introductoryPriceCurrencyCode?: string;
|
|
1194
|
-
/** The number of billing period to offer introductory pricing. */
|
|
1195
|
-
introductoryPriceCycles?: number;
|
|
1196
|
-
/** Introductory price period, specified in ISO 8601 format. Common values are (but not limited to) "P1W" (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), and "P1Y" (one year). */
|
|
1197
|
-
introductoryPricePeriod?: string;
|
|
1198
|
-
}
|
|
1199
1246
|
interface IntroductoryPriceOfferPhase {}
|
|
1200
1247
|
interface ItemExpiryTimeDetails {
|
|
1201
1248
|
/** The new expiry time for this subscription item. */
|
|
@@ -1220,6 +1267,12 @@ declare namespace gapi.client {
|
|
|
1220
1267
|
| 'DEFERRED'
|
|
1221
1268
|
| 'KEEP_EXISTING';
|
|
1222
1269
|
}
|
|
1270
|
+
interface KeyedGroup {
|
|
1271
|
+
/** Required. Key for this group. */
|
|
1272
|
+
key?: string;
|
|
1273
|
+
/** Required. Responses in this group. */
|
|
1274
|
+
responses?: NestedPolicyResponse[];
|
|
1275
|
+
}
|
|
1223
1276
|
interface LanguageTargeting {
|
|
1224
1277
|
/** Alternative languages. */
|
|
1225
1278
|
alternatives?: string[];
|
|
@@ -1384,6 +1437,20 @@ declare namespace gapi.client {
|
|
|
1384
1437
|
/** Value of a multi abi. */
|
|
1385
1438
|
value?: MultiAbi[];
|
|
1386
1439
|
}
|
|
1440
|
+
interface NestedPolicyResponse {
|
|
1441
|
+
/** Optional. A boolean response. */
|
|
1442
|
+
booleanResponse?: PolicyBooleanResponse;
|
|
1443
|
+
/** Optional. A document response. */
|
|
1444
|
+
documentResponse?: PolicyDocumentResponse;
|
|
1445
|
+
/** Optional. A multiple choice response. */
|
|
1446
|
+
multipleChoiceResponse?: PolicyMultipleChoiceResponse;
|
|
1447
|
+
/** Required. ID of the question being answered. */
|
|
1448
|
+
questionId?: string;
|
|
1449
|
+
/** Optional. A single choice response. */
|
|
1450
|
+
singleChoiceResponse?: PolicySingleChoiceResponse;
|
|
1451
|
+
/** Optional. A string response. */
|
|
1452
|
+
stringResponse?: PolicyStringResponse;
|
|
1453
|
+
}
|
|
1387
1454
|
interface OfferDetails {
|
|
1388
1455
|
/** The base plan ID. Present for all base plan and offers. */
|
|
1389
1456
|
basePlanId?: string;
|
|
@@ -1734,6 +1801,56 @@ declare namespace gapi.client {
|
|
|
1734
1801
|
/** The number of Play Points applied in this order. E.g. for a 100 points for $2 coupon, this is 100. For coupon stacked with base offer, this is the total points spent across both. */
|
|
1735
1802
|
pointsSpent?: string;
|
|
1736
1803
|
}
|
|
1804
|
+
interface PolicyBooleanResponse {
|
|
1805
|
+
/** Required. Provided boolean value. */
|
|
1806
|
+
value?: boolean;
|
|
1807
|
+
}
|
|
1808
|
+
interface PolicyDocumentResponse {
|
|
1809
|
+
/** Required. ID of the uploaded document. */
|
|
1810
|
+
documentId?: string;
|
|
1811
|
+
/** Optional. Expiry date for the document. */
|
|
1812
|
+
expiryDate?: Date;
|
|
1813
|
+
/** Optional. True if confirmed that the document does not have an expiry date. */
|
|
1814
|
+
nonExpiring?: boolean;
|
|
1815
|
+
}
|
|
1816
|
+
interface PolicyGroupResponse {
|
|
1817
|
+
/** Optional. Groups of responses to questions. */
|
|
1818
|
+
groups?: Group[];
|
|
1819
|
+
}
|
|
1820
|
+
interface PolicyKeyedGroupResponse {
|
|
1821
|
+
/** Optional. Groups of responses to questions. Each KeyedGroup.key must be unique within this list. */
|
|
1822
|
+
groups?: KeyedGroup[];
|
|
1823
|
+
}
|
|
1824
|
+
interface PolicyMultipleChoiceResponse {
|
|
1825
|
+
/** Optional. Provided values. */
|
|
1826
|
+
values?: string[];
|
|
1827
|
+
}
|
|
1828
|
+
interface PolicyResponse {
|
|
1829
|
+
/** Optional. A boolean response. */
|
|
1830
|
+
booleanResponse?: PolicyBooleanResponse;
|
|
1831
|
+
/** Optional. A document response. */
|
|
1832
|
+
documentResponse?: PolicyDocumentResponse;
|
|
1833
|
+
/** Optional. A group response. */
|
|
1834
|
+
groupResponse?: PolicyGroupResponse;
|
|
1835
|
+
/** Optional. A keyed group response. */
|
|
1836
|
+
keyedGroupResponse?: PolicyKeyedGroupResponse;
|
|
1837
|
+
/** Optional. A multiple choice response. */
|
|
1838
|
+
multipleChoiceResponse?: PolicyMultipleChoiceResponse;
|
|
1839
|
+
/** Required. ID of the question being answered. */
|
|
1840
|
+
questionId?: string;
|
|
1841
|
+
/** Optional. A single choice response. */
|
|
1842
|
+
singleChoiceResponse?: PolicySingleChoiceResponse;
|
|
1843
|
+
/** Optional. A string response. */
|
|
1844
|
+
stringResponse?: PolicyStringResponse;
|
|
1845
|
+
}
|
|
1846
|
+
interface PolicySingleChoiceResponse {
|
|
1847
|
+
/** Required. Provided value. */
|
|
1848
|
+
value?: string;
|
|
1849
|
+
}
|
|
1850
|
+
interface PolicyStringResponse {
|
|
1851
|
+
/** Required. Provided string value. */
|
|
1852
|
+
value?: string;
|
|
1853
|
+
}
|
|
1737
1854
|
interface PreorderDetails {}
|
|
1738
1855
|
interface PreorderOfferDetails {
|
|
1739
1856
|
/** The time when a preordered item is released for a preorder purchase. */
|
|
@@ -2205,12 +2322,6 @@ declare namespace gapi.client {
|
|
|
2205
2322
|
/** Details about taxes and legal compliance. */
|
|
2206
2323
|
taxAndComplianceSettings?: SubscriptionTaxAndComplianceSettings;
|
|
2207
2324
|
}
|
|
2208
|
-
interface SubscriptionCancelSurveyResult {
|
|
2209
|
-
/** The cancellation reason the user chose in the survey. Possible values are: 0. Other 1. I don't use this service enough 2. Technical issues 3. Cost-related reasons 4. I found a better app */
|
|
2210
|
-
cancelSurveyReason?: number;
|
|
2211
|
-
/** The customized input cancel reason from the user. Only present when cancelReason is 0. */
|
|
2212
|
-
userInputCancelReason?: string;
|
|
2213
|
-
}
|
|
2214
2325
|
interface SubscriptionDeferralInfo {
|
|
2215
2326
|
/** The desired next expiry time to assign to the subscription, in milliseconds since the Epoch. The given time must be later/greater than the current expiry time for the subscription. */
|
|
2216
2327
|
desiredExpiryTimeMillis?: string;
|
|
@@ -2299,72 +2410,6 @@ declare namespace gapi.client {
|
|
|
2299
2410
|
/** Offer targeting rule for upgrading users' existing plans. */
|
|
2300
2411
|
upgradeRule?: UpgradeTargetingRule;
|
|
2301
2412
|
}
|
|
2302
|
-
interface SubscriptionPriceChange {
|
|
2303
|
-
/** The new price the subscription will renew with if the price change is accepted by the user. */
|
|
2304
|
-
newPrice?: Price;
|
|
2305
|
-
/** The current state of the price change. Possible values are: 0. Outstanding: State for a pending price change waiting for the user to agree. In this state, you can optionally seek confirmation from the user using the In-App API. 1. Accepted: State for an accepted price change that the subscription will renew with unless it's canceled. The price change takes effect on a future date when the subscription renews. Note that the change might not occur when the subscription is renewed next. */
|
|
2306
|
-
state?: number;
|
|
2307
|
-
}
|
|
2308
|
-
interface SubscriptionPurchase {
|
|
2309
|
-
/** The acknowledgement state of the subscription product. Possible values are: 0. Yet to be acknowledged 1. Acknowledged */
|
|
2310
|
-
acknowledgementState?: number;
|
|
2311
|
-
/** Whether the subscription will automatically be renewed when it reaches its current expiry time. */
|
|
2312
|
-
autoRenewing?: boolean;
|
|
2313
|
-
/** Time at which the subscription will be automatically resumed, in milliseconds since the Epoch. Only present if the user has requested to pause the subscription. */
|
|
2314
|
-
autoResumeTimeMillis?: string;
|
|
2315
|
-
/** The reason why a subscription was canceled or is not auto-renewing. Possible values are: 0. User canceled the subscription 1. Subscription was canceled by the system, for example because of a billing problem 2. Subscription was replaced with a new subscription 3. Subscription was canceled by the developer */
|
|
2316
|
-
cancelReason?: number;
|
|
2317
|
-
/** Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey). */
|
|
2318
|
-
cancelSurveyResult?: SubscriptionCancelSurveyResult;
|
|
2319
|
-
/** ISO 3166-1 alpha-2 billing country/region code of the user at the time the subscription was granted. */
|
|
2320
|
-
countryCode?: string;
|
|
2321
|
-
/** A developer-specified string that contains supplemental information about an order. */
|
|
2322
|
-
developerPayload?: string;
|
|
2323
|
-
/** The email address of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'. */
|
|
2324
|
-
emailAddress?: string;
|
|
2325
|
-
/** Time at which the subscription will expire, in milliseconds since the Epoch. */
|
|
2326
|
-
expiryTimeMillis?: string;
|
|
2327
|
-
/** User account identifier in the third-party service. Only present if account linking happened as part of the subscription purchase flow. */
|
|
2328
|
-
externalAccountId?: string;
|
|
2329
|
-
/** The family name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'. */
|
|
2330
|
-
familyName?: string;
|
|
2331
|
-
/** The given name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'. */
|
|
2332
|
-
givenName?: string;
|
|
2333
|
-
/** Introductory price information of the subscription. This is only present when the subscription was purchased with an introductory price. This field does not indicate the subscription is currently in introductory price period. */
|
|
2334
|
-
introductoryPriceInfo?: IntroductoryPriceInfo;
|
|
2335
|
-
/** This kind represents a subscriptionPurchase object in the androidpublisher service. */
|
|
2336
|
-
kind?: string;
|
|
2337
|
-
/** The purchase token of the originating purchase if this subscription is one of the following: 0. Re-signup of a canceled but non-lapsed subscription 1. Upgrade/downgrade from a previous subscription For example, suppose a user originally signs up and you receive purchase token X, then the user cancels and goes through the resignup flow (before their subscription lapses) and you receive purchase token Y, and finally the user upgrades their subscription and you receive purchase token Z. If you call this API with purchase token Z, this field will be set to Y. If you call this API with purchase token Y, this field will be set to X. If you call this API with purchase token X, this field will not be set. */
|
|
2338
|
-
linkedPurchaseToken?: string;
|
|
2339
|
-
/** An obfuscated version of the id that is uniquely associated with the user's account in your app. Present for the following purchases: * If account linking happened as part of the subscription purchase flow. * It was specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made. */
|
|
2340
|
-
obfuscatedExternalAccountId?: string;
|
|
2341
|
-
/** An obfuscated version of the id that is uniquely associated with the user's profile in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid when the purchase was made. */
|
|
2342
|
-
obfuscatedExternalProfileId?: string;
|
|
2343
|
-
/** The order id of the latest recurring order associated with the purchase of the subscription. If the subscription was canceled because payment was declined, this will be the order id from the payment declined order. */
|
|
2344
|
-
orderId?: string;
|
|
2345
|
-
/** The payment state of the subscription. Possible values are: 0. Payment pending 1. Payment received 2. Free trial 3. Pending deferred upgrade/downgrade Not present for canceled, expired subscriptions. */
|
|
2346
|
-
paymentState?: number;
|
|
2347
|
-
/** Price of the subscription, For tax exclusive countries, the price doesn't include tax. For tax inclusive countries, the price includes tax. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For example, if the subscription price is €1.99, price_amount_micros is 1990000. */
|
|
2348
|
-
priceAmountMicros?: string;
|
|
2349
|
-
/** The latest price change information available. This is present only when there is an upcoming price change for the subscription yet to be applied. Once the subscription renews with the new price or the subscription is canceled, no price change information will be returned. */
|
|
2350
|
-
priceChange?: SubscriptionPriceChange;
|
|
2351
|
-
/** ISO 4217 currency code for the subscription price. For example, if the price is specified in British pounds sterling, price_currency_code is "GBP". */
|
|
2352
|
-
priceCurrencyCode?: string;
|
|
2353
|
-
/** The Google profile id of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'. */
|
|
2354
|
-
profileId?: string;
|
|
2355
|
-
/** The profile name of the user when the subscription was purchased. Only present for purchases made with 'Subscribe with Google'. */
|
|
2356
|
-
profileName?: string;
|
|
2357
|
-
/** The promotion code applied on this purchase. This field is only set if a vanity code promotion is applied when the subscription was purchased. */
|
|
2358
|
-
promotionCode?: string;
|
|
2359
|
-
/** The type of promotion applied on this purchase. This field is only set if a promotion is applied when the subscription was purchased. Possible values are: 0. One time code 1. Vanity code */
|
|
2360
|
-
promotionType?: number;
|
|
2361
|
-
/** The type of purchase of the subscription. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e. purchased using a promo code) */
|
|
2362
|
-
purchaseType?: number;
|
|
2363
|
-
/** Time at which the subscription was granted, in milliseconds since the Epoch. */
|
|
2364
|
-
startTimeMillis?: string;
|
|
2365
|
-
/** The time at which the subscription was canceled by the user, in milliseconds since the epoch. Only present if cancelReason is 0. */
|
|
2366
|
-
userCancellationTimeMillis?: string;
|
|
2367
|
-
}
|
|
2368
2413
|
interface SubscriptionPurchaseLineItem {
|
|
2369
2414
|
/** The item is auto renewing. */
|
|
2370
2415
|
autoRenewingPlan?: AutoRenewingPlan;
|
|
@@ -2419,8 +2464,6 @@ declare namespace gapi.client {
|
|
|
2419
2464
|
inGracePeriodStateContext?: InGracePeriodStateContext;
|
|
2420
2465
|
/** This kind represents a SubscriptionPurchaseV2 object in the androidpublisher service. */
|
|
2421
2466
|
kind?: string;
|
|
2422
|
-
/** Deprecated: Use line_items.latest_successful_order_id instead. The order id of the latest order associated with the purchase of the subscription. For autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or the last recurring order id (success, pending, or declined order). For prepaid subscription, this is the order id associated with the queried purchase token. */
|
|
2423
|
-
latestOrderId?: string;
|
|
2424
2467
|
/** Item-level info for a subscription purchase. The items in the same purchase should be either all with AutoRenewingPlan or all with PrepaidPlan. */
|
|
2425
2468
|
lineItems?: SubscriptionPurchaseLineItem[];
|
|
2426
2469
|
/** The purchase token of the old subscription if this subscription is one of the following: * Re-signup of a canceled but non-lapsed subscription * Upgrade/downgrade from a previous subscription. * Convert from prepaid to auto renewing subscription. * Convert from an auto renewing subscription to prepaid. * Topup a prepaid subscription. */
|
|
@@ -2618,6 +2661,27 @@ declare namespace gapi.client {
|
|
|
2618
2661
|
/** The country that can be targeted, as a two-letter CLDR code. */
|
|
2619
2662
|
countryCode?: string;
|
|
2620
2663
|
}
|
|
2664
|
+
interface UpdateAppStoreHostedAppPublishStatusRequest {
|
|
2665
|
+
/** Required. The new publish state for the hosted app. */
|
|
2666
|
+
publishState?:
|
|
2667
|
+
| 'APP_STORE_APP_PUBLISH_STATE_UNSPECIFIED'
|
|
2668
|
+
| 'APP_STORE_APP_PUBLISH_STATE_PUBLISHED'
|
|
2669
|
+
| 'APP_STORE_APP_PUBLISH_STATE_UNPUBLISHED';
|
|
2670
|
+
}
|
|
2671
|
+
interface UpdateAppStoreHostedAppPublishStatusResponse {}
|
|
2672
|
+
interface UpdateAppStoreHostedAppRequest {
|
|
2673
|
+
/** Required. Actively distributed APKs of the app. */
|
|
2674
|
+
activeApks?: AppStoreAppActiveApks;
|
|
2675
|
+
/** Required. Localized store listings details of the update. */
|
|
2676
|
+
activeLocalizedStoreListings?: AppStoreAppStoreListing[];
|
|
2677
|
+
/** Required. General developer details for the app. */
|
|
2678
|
+
appDetails?: AppStoreAppDetails;
|
|
2679
|
+
/** Required. Package name of the app. */
|
|
2680
|
+
packageName?: string;
|
|
2681
|
+
/** Required. Policy declarations provided for the app. */
|
|
2682
|
+
policyDeclarations?: AppStoreAppPolicyDeclaration[];
|
|
2683
|
+
}
|
|
2684
|
+
interface UpdateAppStoreHostedAppResponse {}
|
|
2621
2685
|
interface UpdateBasePlanStateRequest {
|
|
2622
2686
|
/** Activates a base plan. Once activated, base plans will be available to new subscribers. */
|
|
2623
2687
|
activateBasePlanRequest?: ActivateBasePlanRequest;
|
|
@@ -2712,6 +2776,25 @@ declare namespace gapi.client {
|
|
|
2712
2776
|
/** Required. The scope of subscriptions this rule considers. Only allows "this subscription" and "specific subscription in app". */
|
|
2713
2777
|
scope?: TargetingRuleScope;
|
|
2714
2778
|
}
|
|
2779
|
+
interface UploadApkRequest {}
|
|
2780
|
+
interface UploadApkResponse {
|
|
2781
|
+
/** The unique ID of the uploaded APK. */
|
|
2782
|
+
apkId?: string;
|
|
2783
|
+
}
|
|
2784
|
+
interface UploadAppStoreAppPolicyDeclarationFileRequest {
|
|
2785
|
+
/** Required. Type of the policy declaration file. */
|
|
2786
|
+
fileType?:
|
|
2787
|
+
'DECLARATION_FILE_TYPE_UNSPECIFIED' | 'DECLARATION_FILE_TYPE_DOCUMENT';
|
|
2788
|
+
}
|
|
2789
|
+
interface UploadAppStoreAppPolicyDeclarationFileResponse {
|
|
2790
|
+
/** The unique ID of the uploaded file. */
|
|
2791
|
+
fileId?: string;
|
|
2792
|
+
}
|
|
2793
|
+
interface UploadImageRequest {}
|
|
2794
|
+
interface UploadImageResponse {
|
|
2795
|
+
/** The unique ID of the uploaded image. */
|
|
2796
|
+
imageId?: string;
|
|
2797
|
+
}
|
|
2715
2798
|
interface User {
|
|
2716
2799
|
/** Output only. The state of the user's access to the Play Console. */
|
|
2717
2800
|
accessState?:
|
|
@@ -3346,6 +3429,372 @@ declare namespace gapi.client {
|
|
|
3346
3429
|
versionCode?: string;
|
|
3347
3430
|
}): Request<ListAppRecoveriesResponse>;
|
|
3348
3431
|
}
|
|
3432
|
+
interface AppstoreappsreviewResource {
|
|
3433
|
+
/** Creates an app store hosted app. This must be called before any other RPCs for this hosted app. */
|
|
3434
|
+
createappstorehostedapp(request: {
|
|
3435
|
+
/** V1 error format. */
|
|
3436
|
+
'$.xgafv'?: '1' | '2';
|
|
3437
|
+
/** OAuth access token. */
|
|
3438
|
+
access_token?: string;
|
|
3439
|
+
/** Data format for response. */
|
|
3440
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3441
|
+
/** Required. Package name of the third-party app store. */
|
|
3442
|
+
appStorePackageName: string;
|
|
3443
|
+
/** JSONP */
|
|
3444
|
+
callback?: string;
|
|
3445
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3446
|
+
fields?: string;
|
|
3447
|
+
/** 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. */
|
|
3448
|
+
key?: string;
|
|
3449
|
+
/** OAuth 2.0 token for the current user. */
|
|
3450
|
+
oauth_token?: string;
|
|
3451
|
+
/** Returns response with indentations and line breaks. */
|
|
3452
|
+
prettyPrint?: boolean;
|
|
3453
|
+
/** 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. */
|
|
3454
|
+
quotaUser?: string;
|
|
3455
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3456
|
+
upload_protocol?: string;
|
|
3457
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3458
|
+
uploadType?: string;
|
|
3459
|
+
/** Request body */
|
|
3460
|
+
resource: CreateAppStoreHostedAppRequest;
|
|
3461
|
+
}): Request<{}>;
|
|
3462
|
+
createappstorehostedapp(
|
|
3463
|
+
request: {
|
|
3464
|
+
/** V1 error format. */
|
|
3465
|
+
'$.xgafv'?: '1' | '2';
|
|
3466
|
+
/** OAuth access token. */
|
|
3467
|
+
access_token?: string;
|
|
3468
|
+
/** Data format for response. */
|
|
3469
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3470
|
+
/** Required. Package name of the third-party app store. */
|
|
3471
|
+
appStorePackageName: string;
|
|
3472
|
+
/** JSONP */
|
|
3473
|
+
callback?: string;
|
|
3474
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3475
|
+
fields?: string;
|
|
3476
|
+
/** 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. */
|
|
3477
|
+
key?: string;
|
|
3478
|
+
/** OAuth 2.0 token for the current user. */
|
|
3479
|
+
oauth_token?: string;
|
|
3480
|
+
/** Returns response with indentations and line breaks. */
|
|
3481
|
+
prettyPrint?: boolean;
|
|
3482
|
+
/** 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. */
|
|
3483
|
+
quotaUser?: string;
|
|
3484
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3485
|
+
upload_protocol?: string;
|
|
3486
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3487
|
+
uploadType?: string;
|
|
3488
|
+
},
|
|
3489
|
+
body: CreateAppStoreHostedAppRequest,
|
|
3490
|
+
): Request<{}>;
|
|
3491
|
+
/** Updates details for an app hosted on an app store. Use this to provide details for a new app, or to update details for an existing app. The update will be sent for review immediately after creation. */
|
|
3492
|
+
updateappstorehostedapp(request: {
|
|
3493
|
+
/** V1 error format. */
|
|
3494
|
+
'$.xgafv'?: '1' | '2';
|
|
3495
|
+
/** OAuth access token. */
|
|
3496
|
+
access_token?: string;
|
|
3497
|
+
/** Data format for response. */
|
|
3498
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3499
|
+
/** Required. Package name of the third-party app store. */
|
|
3500
|
+
appStorePackageName: string;
|
|
3501
|
+
/** JSONP */
|
|
3502
|
+
callback?: string;
|
|
3503
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3504
|
+
fields?: string;
|
|
3505
|
+
/** 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. */
|
|
3506
|
+
key?: string;
|
|
3507
|
+
/** OAuth 2.0 token for the current user. */
|
|
3508
|
+
oauth_token?: string;
|
|
3509
|
+
/** Returns response with indentations and line breaks. */
|
|
3510
|
+
prettyPrint?: boolean;
|
|
3511
|
+
/** 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. */
|
|
3512
|
+
quotaUser?: string;
|
|
3513
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3514
|
+
upload_protocol?: string;
|
|
3515
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3516
|
+
uploadType?: string;
|
|
3517
|
+
/** Request body */
|
|
3518
|
+
resource: UpdateAppStoreHostedAppRequest;
|
|
3519
|
+
}): Request<{}>;
|
|
3520
|
+
updateappstorehostedapp(
|
|
3521
|
+
request: {
|
|
3522
|
+
/** V1 error format. */
|
|
3523
|
+
'$.xgafv'?: '1' | '2';
|
|
3524
|
+
/** OAuth access token. */
|
|
3525
|
+
access_token?: string;
|
|
3526
|
+
/** Data format for response. */
|
|
3527
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3528
|
+
/** Required. Package name of the third-party app store. */
|
|
3529
|
+
appStorePackageName: string;
|
|
3530
|
+
/** JSONP */
|
|
3531
|
+
callback?: string;
|
|
3532
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3533
|
+
fields?: string;
|
|
3534
|
+
/** 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. */
|
|
3535
|
+
key?: string;
|
|
3536
|
+
/** OAuth 2.0 token for the current user. */
|
|
3537
|
+
oauth_token?: string;
|
|
3538
|
+
/** Returns response with indentations and line breaks. */
|
|
3539
|
+
prettyPrint?: boolean;
|
|
3540
|
+
/** 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. */
|
|
3541
|
+
quotaUser?: string;
|
|
3542
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3543
|
+
upload_protocol?: string;
|
|
3544
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3545
|
+
uploadType?: string;
|
|
3546
|
+
},
|
|
3547
|
+
body: UpdateAppStoreHostedAppRequest,
|
|
3548
|
+
): Request<{}>;
|
|
3549
|
+
/** Updates the publish status of an app store hosted app. The default state after calling UpdateAppStoreHostedApp is PUBLISHED. It is not necessary to call this RPC explicitly to set an app to PUBLISHED. */
|
|
3550
|
+
updateappstorehostedapppublishstatus(request: {
|
|
3551
|
+
/** V1 error format. */
|
|
3552
|
+
'$.xgafv'?: '1' | '2';
|
|
3553
|
+
/** OAuth access token. */
|
|
3554
|
+
access_token?: string;
|
|
3555
|
+
/** Data format for response. */
|
|
3556
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3557
|
+
/** Required. Package name of the third-party app store. */
|
|
3558
|
+
appStorePackageName: string;
|
|
3559
|
+
/** JSONP */
|
|
3560
|
+
callback?: string;
|
|
3561
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3562
|
+
fields?: string;
|
|
3563
|
+
/** 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. */
|
|
3564
|
+
key?: string;
|
|
3565
|
+
/** OAuth 2.0 token for the current user. */
|
|
3566
|
+
oauth_token?: string;
|
|
3567
|
+
/** Required. Package name of the app. */
|
|
3568
|
+
packageName: string;
|
|
3569
|
+
/** Returns response with indentations and line breaks. */
|
|
3570
|
+
prettyPrint?: boolean;
|
|
3571
|
+
/** 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. */
|
|
3572
|
+
quotaUser?: string;
|
|
3573
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3574
|
+
upload_protocol?: string;
|
|
3575
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3576
|
+
uploadType?: string;
|
|
3577
|
+
/** Request body */
|
|
3578
|
+
resource: UpdateAppStoreHostedAppPublishStatusRequest;
|
|
3579
|
+
}): Request<{}>;
|
|
3580
|
+
updateappstorehostedapppublishstatus(
|
|
3581
|
+
request: {
|
|
3582
|
+
/** V1 error format. */
|
|
3583
|
+
'$.xgafv'?: '1' | '2';
|
|
3584
|
+
/** OAuth access token. */
|
|
3585
|
+
access_token?: string;
|
|
3586
|
+
/** Data format for response. */
|
|
3587
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3588
|
+
/** Required. Package name of the third-party app store. */
|
|
3589
|
+
appStorePackageName: string;
|
|
3590
|
+
/** JSONP */
|
|
3591
|
+
callback?: string;
|
|
3592
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3593
|
+
fields?: string;
|
|
3594
|
+
/** 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. */
|
|
3595
|
+
key?: string;
|
|
3596
|
+
/** OAuth 2.0 token for the current user. */
|
|
3597
|
+
oauth_token?: string;
|
|
3598
|
+
/** Required. Package name of the app. */
|
|
3599
|
+
packageName: string;
|
|
3600
|
+
/** Returns response with indentations and line breaks. */
|
|
3601
|
+
prettyPrint?: boolean;
|
|
3602
|
+
/** 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. */
|
|
3603
|
+
quotaUser?: string;
|
|
3604
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3605
|
+
upload_protocol?: string;
|
|
3606
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3607
|
+
uploadType?: string;
|
|
3608
|
+
},
|
|
3609
|
+
body: UpdateAppStoreHostedAppPublishStatusRequest,
|
|
3610
|
+
): Request<{}>;
|
|
3611
|
+
/** Upload an APK file for the hosted app. Returns an ID to track this APK. */
|
|
3612
|
+
uploadapk(request: {
|
|
3613
|
+
/** V1 error format. */
|
|
3614
|
+
'$.xgafv'?: '1' | '2';
|
|
3615
|
+
/** OAuth access token. */
|
|
3616
|
+
access_token?: string;
|
|
3617
|
+
/** Data format for response. */
|
|
3618
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3619
|
+
/** Required. Package name of the third-party app store. */
|
|
3620
|
+
appStorePackageName: string;
|
|
3621
|
+
/** JSONP */
|
|
3622
|
+
callback?: string;
|
|
3623
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3624
|
+
fields?: string;
|
|
3625
|
+
/** 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. */
|
|
3626
|
+
key?: string;
|
|
3627
|
+
/** OAuth 2.0 token for the current user. */
|
|
3628
|
+
oauth_token?: string;
|
|
3629
|
+
/** Required. Package name of the app. */
|
|
3630
|
+
packageName: string;
|
|
3631
|
+
/** Returns response with indentations and line breaks. */
|
|
3632
|
+
prettyPrint?: boolean;
|
|
3633
|
+
/** 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. */
|
|
3634
|
+
quotaUser?: string;
|
|
3635
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3636
|
+
upload_protocol?: string;
|
|
3637
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3638
|
+
uploadType?: string;
|
|
3639
|
+
/** Request body */
|
|
3640
|
+
resource: UploadApkRequest;
|
|
3641
|
+
}): Request<UploadApkResponse>;
|
|
3642
|
+
uploadapk(
|
|
3643
|
+
request: {
|
|
3644
|
+
/** V1 error format. */
|
|
3645
|
+
'$.xgafv'?: '1' | '2';
|
|
3646
|
+
/** OAuth access token. */
|
|
3647
|
+
access_token?: string;
|
|
3648
|
+
/** Data format for response. */
|
|
3649
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3650
|
+
/** Required. Package name of the third-party app store. */
|
|
3651
|
+
appStorePackageName: string;
|
|
3652
|
+
/** JSONP */
|
|
3653
|
+
callback?: string;
|
|
3654
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3655
|
+
fields?: string;
|
|
3656
|
+
/** 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. */
|
|
3657
|
+
key?: string;
|
|
3658
|
+
/** OAuth 2.0 token for the current user. */
|
|
3659
|
+
oauth_token?: string;
|
|
3660
|
+
/** Required. Package name of the app. */
|
|
3661
|
+
packageName: string;
|
|
3662
|
+
/** Returns response with indentations and line breaks. */
|
|
3663
|
+
prettyPrint?: boolean;
|
|
3664
|
+
/** 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. */
|
|
3665
|
+
quotaUser?: string;
|
|
3666
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3667
|
+
upload_protocol?: string;
|
|
3668
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3669
|
+
uploadType?: string;
|
|
3670
|
+
},
|
|
3671
|
+
body: UploadApkRequest,
|
|
3672
|
+
): Request<UploadApkResponse>;
|
|
3673
|
+
/** Upload a policy declaration file for the hosted app. Returns an ID to track the file. */
|
|
3674
|
+
uploadappstoreapppolicydeclarationfile(request: {
|
|
3675
|
+
/** V1 error format. */
|
|
3676
|
+
'$.xgafv'?: '1' | '2';
|
|
3677
|
+
/** OAuth access token. */
|
|
3678
|
+
access_token?: string;
|
|
3679
|
+
/** Data format for response. */
|
|
3680
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3681
|
+
/** Required. Package name of the third-party app store. */
|
|
3682
|
+
appStorePackageName: string;
|
|
3683
|
+
/** JSONP */
|
|
3684
|
+
callback?: string;
|
|
3685
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3686
|
+
fields?: string;
|
|
3687
|
+
/** 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. */
|
|
3688
|
+
key?: string;
|
|
3689
|
+
/** OAuth 2.0 token for the current user. */
|
|
3690
|
+
oauth_token?: string;
|
|
3691
|
+
/** Required. Package name of the app. */
|
|
3692
|
+
packageName: string;
|
|
3693
|
+
/** Returns response with indentations and line breaks. */
|
|
3694
|
+
prettyPrint?: boolean;
|
|
3695
|
+
/** 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. */
|
|
3696
|
+
quotaUser?: string;
|
|
3697
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3698
|
+
upload_protocol?: string;
|
|
3699
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3700
|
+
uploadType?: string;
|
|
3701
|
+
/** Request body */
|
|
3702
|
+
resource: UploadAppStoreAppPolicyDeclarationFileRequest;
|
|
3703
|
+
}): Request<UploadAppStoreAppPolicyDeclarationFileResponse>;
|
|
3704
|
+
uploadappstoreapppolicydeclarationfile(
|
|
3705
|
+
request: {
|
|
3706
|
+
/** V1 error format. */
|
|
3707
|
+
'$.xgafv'?: '1' | '2';
|
|
3708
|
+
/** OAuth access token. */
|
|
3709
|
+
access_token?: string;
|
|
3710
|
+
/** Data format for response. */
|
|
3711
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3712
|
+
/** Required. Package name of the third-party app store. */
|
|
3713
|
+
appStorePackageName: string;
|
|
3714
|
+
/** JSONP */
|
|
3715
|
+
callback?: string;
|
|
3716
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3717
|
+
fields?: string;
|
|
3718
|
+
/** 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. */
|
|
3719
|
+
key?: string;
|
|
3720
|
+
/** OAuth 2.0 token for the current user. */
|
|
3721
|
+
oauth_token?: string;
|
|
3722
|
+
/** Required. Package name of the app. */
|
|
3723
|
+
packageName: string;
|
|
3724
|
+
/** Returns response with indentations and line breaks. */
|
|
3725
|
+
prettyPrint?: boolean;
|
|
3726
|
+
/** 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. */
|
|
3727
|
+
quotaUser?: string;
|
|
3728
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3729
|
+
upload_protocol?: string;
|
|
3730
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3731
|
+
uploadType?: string;
|
|
3732
|
+
},
|
|
3733
|
+
body: UploadAppStoreAppPolicyDeclarationFileRequest,
|
|
3734
|
+
): Request<UploadAppStoreAppPolicyDeclarationFileResponse>;
|
|
3735
|
+
/** Upload a screenshot or app icon for the hosted app. Returns an ID to track the image. */
|
|
3736
|
+
uploadimage(request: {
|
|
3737
|
+
/** V1 error format. */
|
|
3738
|
+
'$.xgafv'?: '1' | '2';
|
|
3739
|
+
/** OAuth access token. */
|
|
3740
|
+
access_token?: string;
|
|
3741
|
+
/** Data format for response. */
|
|
3742
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3743
|
+
/** Required. Package name of the third-party app store. */
|
|
3744
|
+
appStorePackageName: string;
|
|
3745
|
+
/** JSONP */
|
|
3746
|
+
callback?: string;
|
|
3747
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3748
|
+
fields?: string;
|
|
3749
|
+
/** 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. */
|
|
3750
|
+
key?: string;
|
|
3751
|
+
/** OAuth 2.0 token for the current user. */
|
|
3752
|
+
oauth_token?: string;
|
|
3753
|
+
/** Required. Package name of the app. */
|
|
3754
|
+
packageName: string;
|
|
3755
|
+
/** Returns response with indentations and line breaks. */
|
|
3756
|
+
prettyPrint?: boolean;
|
|
3757
|
+
/** 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. */
|
|
3758
|
+
quotaUser?: string;
|
|
3759
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3760
|
+
upload_protocol?: string;
|
|
3761
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3762
|
+
uploadType?: string;
|
|
3763
|
+
/** Request body */
|
|
3764
|
+
resource: UploadImageRequest;
|
|
3765
|
+
}): Request<UploadImageResponse>;
|
|
3766
|
+
uploadimage(
|
|
3767
|
+
request: {
|
|
3768
|
+
/** V1 error format. */
|
|
3769
|
+
'$.xgafv'?: '1' | '2';
|
|
3770
|
+
/** OAuth access token. */
|
|
3771
|
+
access_token?: string;
|
|
3772
|
+
/** Data format for response. */
|
|
3773
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3774
|
+
/** Required. Package name of the third-party app store. */
|
|
3775
|
+
appStorePackageName: string;
|
|
3776
|
+
/** JSONP */
|
|
3777
|
+
callback?: string;
|
|
3778
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3779
|
+
fields?: string;
|
|
3780
|
+
/** 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. */
|
|
3781
|
+
key?: string;
|
|
3782
|
+
/** OAuth 2.0 token for the current user. */
|
|
3783
|
+
oauth_token?: string;
|
|
3784
|
+
/** Required. Package name of the app. */
|
|
3785
|
+
packageName: string;
|
|
3786
|
+
/** Returns response with indentations and line breaks. */
|
|
3787
|
+
prettyPrint?: boolean;
|
|
3788
|
+
/** 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. */
|
|
3789
|
+
quotaUser?: string;
|
|
3790
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3791
|
+
upload_protocol?: string;
|
|
3792
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3793
|
+
uploadType?: string;
|
|
3794
|
+
},
|
|
3795
|
+
body: UploadImageRequest,
|
|
3796
|
+
): Request<UploadImageResponse>;
|
|
3797
|
+
}
|
|
3349
3798
|
interface ApksResource {
|
|
3350
3799
|
/** Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to organizations using Managed Play whose application is configured to restrict distribution to the organizations. */
|
|
3351
3800
|
addexternallyhosted(request: {
|
|
@@ -8746,99 +9195,6 @@ declare namespace gapi.client {
|
|
|
8746
9195
|
},
|
|
8747
9196
|
body: SubscriptionPurchasesDeferRequest,
|
|
8748
9197
|
): Request<SubscriptionPurchasesDeferResponse>;
|
|
8749
|
-
/** Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's subscription purchase is valid and returns its expiry time. */
|
|
8750
|
-
get(request?: {
|
|
8751
|
-
/** V1 error format. */
|
|
8752
|
-
'$.xgafv'?: '1' | '2';
|
|
8753
|
-
/** OAuth access token. */
|
|
8754
|
-
access_token?: string;
|
|
8755
|
-
/** Data format for response. */
|
|
8756
|
-
alt?: 'json' | 'media' | 'proto';
|
|
8757
|
-
/** JSONP */
|
|
8758
|
-
callback?: string;
|
|
8759
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
8760
|
-
fields?: string;
|
|
8761
|
-
/** 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. */
|
|
8762
|
-
key?: string;
|
|
8763
|
-
/** OAuth 2.0 token for the current user. */
|
|
8764
|
-
oauth_token?: string;
|
|
8765
|
-
/** The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). */
|
|
8766
|
-
packageName: string;
|
|
8767
|
-
/** Returns response with indentations and line breaks. */
|
|
8768
|
-
prettyPrint?: boolean;
|
|
8769
|
-
/** 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. */
|
|
8770
|
-
quotaUser?: string;
|
|
8771
|
-
/** The purchased subscription ID (for example, 'monthly001'). */
|
|
8772
|
-
subscriptionId: string;
|
|
8773
|
-
/** The token provided to the user's device when the subscription was purchased. */
|
|
8774
|
-
token: string;
|
|
8775
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8776
|
-
upload_protocol?: string;
|
|
8777
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8778
|
-
uploadType?: string;
|
|
8779
|
-
}): Request<SubscriptionPurchase>;
|
|
8780
|
-
/** Deprecated: Use orders.refund instead. Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur. */
|
|
8781
|
-
refund(request?: {
|
|
8782
|
-
/** V1 error format. */
|
|
8783
|
-
'$.xgafv'?: '1' | '2';
|
|
8784
|
-
/** OAuth access token. */
|
|
8785
|
-
access_token?: string;
|
|
8786
|
-
/** Data format for response. */
|
|
8787
|
-
alt?: 'json' | 'media' | 'proto';
|
|
8788
|
-
/** JSONP */
|
|
8789
|
-
callback?: string;
|
|
8790
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
8791
|
-
fields?: string;
|
|
8792
|
-
/** 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. */
|
|
8793
|
-
key?: string;
|
|
8794
|
-
/** OAuth 2.0 token for the current user. */
|
|
8795
|
-
oauth_token?: string;
|
|
8796
|
-
/** The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). */
|
|
8797
|
-
packageName: string;
|
|
8798
|
-
/** Returns response with indentations and line breaks. */
|
|
8799
|
-
prettyPrint?: boolean;
|
|
8800
|
-
/** 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. */
|
|
8801
|
-
quotaUser?: string;
|
|
8802
|
-
/** "The purchased subscription ID (for example, 'monthly001'). */
|
|
8803
|
-
subscriptionId: string;
|
|
8804
|
-
/** The token provided to the user's device when the subscription was purchased. */
|
|
8805
|
-
token: string;
|
|
8806
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8807
|
-
upload_protocol?: string;
|
|
8808
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8809
|
-
uploadType?: string;
|
|
8810
|
-
}): Request<void>;
|
|
8811
|
-
/** Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring. */
|
|
8812
|
-
revoke(request?: {
|
|
8813
|
-
/** V1 error format. */
|
|
8814
|
-
'$.xgafv'?: '1' | '2';
|
|
8815
|
-
/** OAuth access token. */
|
|
8816
|
-
access_token?: string;
|
|
8817
|
-
/** Data format for response. */
|
|
8818
|
-
alt?: 'json' | 'media' | 'proto';
|
|
8819
|
-
/** JSONP */
|
|
8820
|
-
callback?: string;
|
|
8821
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
8822
|
-
fields?: string;
|
|
8823
|
-
/** 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. */
|
|
8824
|
-
key?: string;
|
|
8825
|
-
/** OAuth 2.0 token for the current user. */
|
|
8826
|
-
oauth_token?: string;
|
|
8827
|
-
/** The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). */
|
|
8828
|
-
packageName: string;
|
|
8829
|
-
/** Returns response with indentations and line breaks. */
|
|
8830
|
-
prettyPrint?: boolean;
|
|
8831
|
-
/** 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. */
|
|
8832
|
-
quotaUser?: string;
|
|
8833
|
-
/** The purchased subscription ID (for example, 'monthly001'). */
|
|
8834
|
-
subscriptionId: string;
|
|
8835
|
-
/** The token provided to the user's device when the subscription was purchased. */
|
|
8836
|
-
token: string;
|
|
8837
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
8838
|
-
upload_protocol?: string;
|
|
8839
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
8840
|
-
uploadType?: string;
|
|
8841
|
-
}): Request<void>;
|
|
8842
9198
|
}
|
|
8843
9199
|
interface Subscriptionsv2Resource {
|
|
8844
9200
|
/** Cancel a subscription purchase for the user. */
|
|
@@ -9580,6 +9936,8 @@ declare namespace gapi.client {
|
|
|
9580
9936
|
|
|
9581
9937
|
const apprecovery: ApprecoveryResource;
|
|
9582
9938
|
|
|
9939
|
+
const appstoreappsreview: AppstoreappsreviewResource;
|
|
9940
|
+
|
|
9583
9941
|
const edits: EditsResource;
|
|
9584
9942
|
|
|
9585
9943
|
const externaltransactions: ExternaltransactionsResource;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -131,6 +131,50 @@ await gapi.client.androidpublisher.apprecovery.list({
|
|
|
131
131
|
packageName: 'packageName',
|
|
132
132
|
});
|
|
133
133
|
|
|
134
|
+
/*
|
|
135
|
+
Creates an app store hosted app. This must be called before any other RPCs for this hosted app.
|
|
136
|
+
*/
|
|
137
|
+
await gapi.client.androidpublisher.appstoreappsreview.createappstorehostedapp({
|
|
138
|
+
appStorePackageName: 'appStorePackageName',
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
/*
|
|
142
|
+
Updates details for an app hosted on an app store. Use this to provide details for a new app, or to update details for an existing app. The update will be sent for review immediately after creation.
|
|
143
|
+
*/
|
|
144
|
+
await gapi.client.androidpublisher.appstoreappsreview.updateappstorehostedapp({
|
|
145
|
+
appStorePackageName: 'appStorePackageName',
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
/*
|
|
149
|
+
Updates the publish status of an app store hosted app. The default state after calling UpdateAppStoreHostedApp is PUBLISHED. It is not necessary to call this RPC explicitly to set an app to PUBLISHED.
|
|
150
|
+
*/
|
|
151
|
+
await gapi.client.androidpublisher.appstoreappsreview.updateappstorehostedapppublishstatus(
|
|
152
|
+
{appStorePackageName: 'appStorePackageName', packageName: 'packageName'},
|
|
153
|
+
);
|
|
154
|
+
|
|
155
|
+
/*
|
|
156
|
+
Upload an APK file for the hosted app. Returns an ID to track this APK.
|
|
157
|
+
*/
|
|
158
|
+
await gapi.client.androidpublisher.appstoreappsreview.uploadapk({
|
|
159
|
+
appStorePackageName: 'appStorePackageName',
|
|
160
|
+
packageName: 'packageName',
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
/*
|
|
164
|
+
Upload a policy declaration file for the hosted app. Returns an ID to track the file.
|
|
165
|
+
*/
|
|
166
|
+
await gapi.client.androidpublisher.appstoreappsreview.uploadappstoreapppolicydeclarationfile(
|
|
167
|
+
{appStorePackageName: 'appStorePackageName', packageName: 'packageName'},
|
|
168
|
+
);
|
|
169
|
+
|
|
170
|
+
/*
|
|
171
|
+
Upload a screenshot or app icon for the hosted app. Returns an ID to track the image.
|
|
172
|
+
*/
|
|
173
|
+
await gapi.client.androidpublisher.appstoreappsreview.uploadimage({
|
|
174
|
+
appStorePackageName: 'appStorePackageName',
|
|
175
|
+
packageName: 'packageName',
|
|
176
|
+
});
|
|
177
|
+
|
|
134
178
|
/*
|
|
135
179
|
Commits an app edit.
|
|
136
180
|
*/
|