@maxim_mazurok/gapi.client.androidpublisher-v3 0.0.20230626 → 0.0.20230628
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 +248 -1
- package/package.json +1 -1
- package/tests.ts +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: 20230628
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -22,6 +22,19 @@ declare namespace gapi.client {
|
|
|
22
22
|
function load(name: "androidpublisher", version: "v3", callback: () => any): void;
|
|
23
23
|
|
|
24
24
|
namespace androidpublisher {
|
|
25
|
+
interface Abi {
|
|
26
|
+
/** Alias for an abi. */
|
|
27
|
+
alias?:
|
|
28
|
+
string;
|
|
29
|
+
}
|
|
30
|
+
interface AbiTargeting {
|
|
31
|
+
/** Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits. */
|
|
32
|
+
alternatives?:
|
|
33
|
+
Abi[];
|
|
34
|
+
/** Value of an abi. */
|
|
35
|
+
value?:
|
|
36
|
+
Abi[];
|
|
37
|
+
}
|
|
25
38
|
interface AcquisitionTargetingRule {
|
|
26
39
|
/** Required. The scope of subscriptions this rule considers. Only allows "this subscription" and "any subscription in app". */
|
|
27
40
|
scope?:
|
|
@@ -49,6 +62,26 @@ declare namespace gapi.client {
|
|
|
49
62
|
sha256?:
|
|
50
63
|
string;
|
|
51
64
|
}
|
|
65
|
+
interface ApkDescription {
|
|
66
|
+
/** Set only for asset slices. */
|
|
67
|
+
assetSliceMetadata?:
|
|
68
|
+
SplitApkMetadata;
|
|
69
|
+
/** Set only for Instant split APKs. */
|
|
70
|
+
instantApkMetadata?:
|
|
71
|
+
SplitApkMetadata;
|
|
72
|
+
/** Path of the Apk, will be in the following format: .apk where DownloadId is the ID used to download the apk using GeneratedApks.Download API. */
|
|
73
|
+
path?:
|
|
74
|
+
string;
|
|
75
|
+
/** Set only for Split APKs. */
|
|
76
|
+
splitApkMetadata?:
|
|
77
|
+
SplitApkMetadata;
|
|
78
|
+
/** Set only for standalone APKs. */
|
|
79
|
+
standaloneApkMetadata?:
|
|
80
|
+
StandaloneApkMetadata;
|
|
81
|
+
/** Apk-level targeting. */
|
|
82
|
+
targeting?:
|
|
83
|
+
ApkTargeting;
|
|
84
|
+
}
|
|
52
85
|
interface ApksAddExternallyHostedRequest {
|
|
53
86
|
/** The definition of the externally-hosted APK and where it is located. */
|
|
54
87
|
externallyHostedApk?:
|
|
@@ -59,6 +92,14 @@ declare namespace gapi.client {
|
|
|
59
92
|
externallyHostedApk?:
|
|
60
93
|
ExternallyHostedApk;
|
|
61
94
|
}
|
|
95
|
+
interface ApkSet {
|
|
96
|
+
/** Description of the generated apks. */
|
|
97
|
+
apkDescription?:
|
|
98
|
+
ApkDescription[];
|
|
99
|
+
/** Metadata about the module represented by this ApkSet */
|
|
100
|
+
moduleMetadata?:
|
|
101
|
+
ModuleMetadata;
|
|
102
|
+
}
|
|
62
103
|
interface ApksListResponse {
|
|
63
104
|
/** All APKs. */
|
|
64
105
|
apks?:
|
|
@@ -67,6 +108,26 @@ declare namespace gapi.client {
|
|
|
67
108
|
kind?:
|
|
68
109
|
string;
|
|
69
110
|
}
|
|
111
|
+
interface ApkTargeting {
|
|
112
|
+
/** The abi that the apk targets */
|
|
113
|
+
abiTargeting?:
|
|
114
|
+
AbiTargeting;
|
|
115
|
+
/** The language that the apk targets */
|
|
116
|
+
languageTargeting?:
|
|
117
|
+
LanguageTargeting;
|
|
118
|
+
/** Multi-api-level targeting. */
|
|
119
|
+
multiAbiTargeting?:
|
|
120
|
+
MultiAbiTargeting;
|
|
121
|
+
/** The screen density that this apk supports. */
|
|
122
|
+
screenDensityTargeting?:
|
|
123
|
+
ScreenDensityTargeting;
|
|
124
|
+
/** The sdk version that the apk targets */
|
|
125
|
+
sdkVersionTargeting?:
|
|
126
|
+
SdkVersionTargeting;
|
|
127
|
+
/** Texture-compression-format-level targeting */
|
|
128
|
+
textureCompressionFormatTargeting?:
|
|
129
|
+
TextureCompressionFormatTargeting;
|
|
130
|
+
}
|
|
70
131
|
interface AppDetails {
|
|
71
132
|
/** The user-visible support email for this app. */
|
|
72
133
|
contactEmail?:
|
|
@@ -92,6 +153,22 @@ declare namespace gapi.client {
|
|
|
92
153
|
// tslint:disable-next-line:no-empty-interface
|
|
93
154
|
interface ArchiveSubscriptionRequest {
|
|
94
155
|
}
|
|
156
|
+
interface AssetModuleMetadata {
|
|
157
|
+
/** Indicates the delivery type for persistent install. */
|
|
158
|
+
deliveryType?:
|
|
159
|
+
string;
|
|
160
|
+
/** Module name. */
|
|
161
|
+
name?:
|
|
162
|
+
string;
|
|
163
|
+
}
|
|
164
|
+
interface AssetSliceSet {
|
|
165
|
+
/** Asset slices. */
|
|
166
|
+
apkDescription?:
|
|
167
|
+
ApkDescription[];
|
|
168
|
+
/** Module level metadata. */
|
|
169
|
+
assetModuleMetadata?:
|
|
170
|
+
AssetModuleMetadata;
|
|
171
|
+
}
|
|
95
172
|
interface AutoRenewingBasePlanType {
|
|
96
173
|
/** Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. */
|
|
97
174
|
billingPeriodDuration?:
|
|
@@ -285,6 +362,19 @@ declare namespace gapi.client {
|
|
|
285
362
|
// tslint:disable-next-line:no-empty-interface
|
|
286
363
|
interface DeveloperInitiatedCancellation {
|
|
287
364
|
}
|
|
365
|
+
interface DeviceFeature {
|
|
366
|
+
/** Name of the feature. */
|
|
367
|
+
featureName?:
|
|
368
|
+
string;
|
|
369
|
+
/** The feature version specified by android:glEsVersion or android:version in in the AndroidManifest. */
|
|
370
|
+
featureVersion?:
|
|
371
|
+
number;
|
|
372
|
+
}
|
|
373
|
+
interface DeviceFeatureTargeting {
|
|
374
|
+
/** Feature of the device. */
|
|
375
|
+
requiredFeature?:
|
|
376
|
+
DeviceFeature;
|
|
377
|
+
}
|
|
288
378
|
interface DeviceGroup {
|
|
289
379
|
/** Device selectors for this group. A device matching any of the selectors is included in this group. */
|
|
290
380
|
deviceSelectors?:
|
|
@@ -563,6 +653,9 @@ declare namespace gapi.client {
|
|
|
563
653
|
/** Generated universal APK, signed with a key corresponding to certificate_sha256_hash. This field is not set if no universal APK was generated for this signing key. */
|
|
564
654
|
generatedUniversalApk?:
|
|
565
655
|
GeneratedUniversalApk;
|
|
656
|
+
/** Contains targeting information about the generated apks. */
|
|
657
|
+
targetingInfo?:
|
|
658
|
+
TargetingInfo;
|
|
566
659
|
}
|
|
567
660
|
interface GeneratedAssetPackSlice {
|
|
568
661
|
/** Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method. */
|
|
@@ -748,6 +841,14 @@ declare namespace gapi.client {
|
|
|
748
841
|
introductoryPricePeriod?:
|
|
749
842
|
string;
|
|
750
843
|
}
|
|
844
|
+
interface LanguageTargeting {
|
|
845
|
+
/** Alternative languages. */
|
|
846
|
+
alternatives?:
|
|
847
|
+
string[];
|
|
848
|
+
/** ISO-639: 2 or 3 letter language code. */
|
|
849
|
+
value?:
|
|
850
|
+
string[];
|
|
851
|
+
}
|
|
751
852
|
interface ListDeviceTierConfigsResponse {
|
|
752
853
|
/** Device tier configs created by the developer. */
|
|
753
854
|
deviceTierConfigs?:
|
|
@@ -835,6 +936,34 @@ declare namespace gapi.client {
|
|
|
835
936
|
// tslint:disable-next-line:no-empty-interface
|
|
836
937
|
interface MigrateBasePlanPricesResponse {
|
|
837
938
|
}
|
|
939
|
+
interface ModuleMetadata {
|
|
940
|
+
/** Indicates the delivery type (e.g. on-demand) of the module. */
|
|
941
|
+
deliveryType?:
|
|
942
|
+
string;
|
|
943
|
+
/** Names of the modules that this module directly depends on. Each module implicitly depends on the base module. */
|
|
944
|
+
dependencies?:
|
|
945
|
+
string[];
|
|
946
|
+
/** Indicates the type of this feature module. */
|
|
947
|
+
moduleType?:
|
|
948
|
+
string;
|
|
949
|
+
/** Module name. */
|
|
950
|
+
name?:
|
|
951
|
+
string;
|
|
952
|
+
/** The targeting that makes a conditional module installed. Relevant only for Split APKs. */
|
|
953
|
+
targeting?:
|
|
954
|
+
ModuleTargeting;
|
|
955
|
+
}
|
|
956
|
+
interface ModuleTargeting {
|
|
957
|
+
/** Targeting for device features. */
|
|
958
|
+
deviceFeatureTargeting?:
|
|
959
|
+
DeviceFeatureTargeting[];
|
|
960
|
+
/** The sdk version that the variant targets */
|
|
961
|
+
sdkVersionTargeting?:
|
|
962
|
+
SdkVersionTargeting;
|
|
963
|
+
/** Countries-level targeting */
|
|
964
|
+
userCountriesTargeting?:
|
|
965
|
+
UserCountriesTargeting;
|
|
966
|
+
}
|
|
838
967
|
interface Money {
|
|
839
968
|
/** The three-letter currency code defined in ISO 4217. */
|
|
840
969
|
currencyCode?:
|
|
@@ -850,6 +979,19 @@ declare namespace gapi.client {
|
|
|
850
979
|
units?:
|
|
851
980
|
string;
|
|
852
981
|
}
|
|
982
|
+
interface MultiAbi {
|
|
983
|
+
/** A list of targeted ABIs, as represented by the Android Platform */
|
|
984
|
+
abi?:
|
|
985
|
+
Abi[];
|
|
986
|
+
}
|
|
987
|
+
interface MultiAbiTargeting {
|
|
988
|
+
/** Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits. */
|
|
989
|
+
alternatives?:
|
|
990
|
+
MultiAbi[];
|
|
991
|
+
/** Value of a multi abi. */
|
|
992
|
+
value?:
|
|
993
|
+
MultiAbi[];
|
|
994
|
+
}
|
|
853
995
|
interface OfferDetails {
|
|
854
996
|
/** The base plan ID. Present for all base plan and offers. */
|
|
855
997
|
basePlanId?:
|
|
@@ -1171,6 +1313,62 @@ declare namespace gapi.client {
|
|
|
1171
1313
|
result?:
|
|
1172
1314
|
ReviewReplyResult;
|
|
1173
1315
|
}
|
|
1316
|
+
interface ScreenDensity {
|
|
1317
|
+
/** Alias for a screen density. */
|
|
1318
|
+
densityAlias?:
|
|
1319
|
+
string;
|
|
1320
|
+
/** Value for density dpi. */
|
|
1321
|
+
densityDpi?:
|
|
1322
|
+
number;
|
|
1323
|
+
}
|
|
1324
|
+
interface ScreenDensityTargeting {
|
|
1325
|
+
/** Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits. */
|
|
1326
|
+
alternatives?:
|
|
1327
|
+
ScreenDensity[];
|
|
1328
|
+
/** Value of a screen density. */
|
|
1329
|
+
value?:
|
|
1330
|
+
ScreenDensity[];
|
|
1331
|
+
}
|
|
1332
|
+
interface SdkVersion {
|
|
1333
|
+
/** Inclusive minimum value of an sdk version. */
|
|
1334
|
+
min?:
|
|
1335
|
+
number;
|
|
1336
|
+
}
|
|
1337
|
+
interface SdkVersionTargeting {
|
|
1338
|
+
/** Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits. */
|
|
1339
|
+
alternatives?:
|
|
1340
|
+
SdkVersion[];
|
|
1341
|
+
/** Value of an sdk version. */
|
|
1342
|
+
value?:
|
|
1343
|
+
SdkVersion[];
|
|
1344
|
+
}
|
|
1345
|
+
interface SplitApkMetadata {
|
|
1346
|
+
/** Indicates whether this APK is the main split of the module. */
|
|
1347
|
+
isMasterSplit?:
|
|
1348
|
+
boolean;
|
|
1349
|
+
/** Id of the split. */
|
|
1350
|
+
splitId?:
|
|
1351
|
+
string;
|
|
1352
|
+
}
|
|
1353
|
+
interface SplitApkVariant {
|
|
1354
|
+
/** Set of APKs, one set per module. */
|
|
1355
|
+
apkSet?:
|
|
1356
|
+
ApkSet[];
|
|
1357
|
+
/** Variant-level targeting. */
|
|
1358
|
+
targeting?:
|
|
1359
|
+
VariantTargeting;
|
|
1360
|
+
/**
|
|
1361
|
+
* Number of the variant, starting at 0 (unless overridden). A device will receive APKs from the first variant that matches the device configuration, with higher variant numbers having
|
|
1362
|
+
* priority over lower variant numbers.
|
|
1363
|
+
*/
|
|
1364
|
+
variantNumber?:
|
|
1365
|
+
number;
|
|
1366
|
+
}
|
|
1367
|
+
interface StandaloneApkMetadata {
|
|
1368
|
+
/** Names of the modules fused in this standalone APK. */
|
|
1369
|
+
fusedModuleName?:
|
|
1370
|
+
string[];
|
|
1371
|
+
}
|
|
1174
1372
|
interface SubscribeWithGoogleInfo {
|
|
1175
1373
|
/** The email address of the user when the subscription was purchased. */
|
|
1176
1374
|
emailAddress?:
|
|
@@ -1567,6 +1765,17 @@ declare namespace gapi.client {
|
|
|
1567
1765
|
// tslint:disable-next-line:no-empty-interface
|
|
1568
1766
|
interface SystemInitiatedCancellation {
|
|
1569
1767
|
}
|
|
1768
|
+
interface TargetingInfo {
|
|
1769
|
+
/** List of created asset slices. */
|
|
1770
|
+
assetSliceSet?:
|
|
1771
|
+
AssetSliceSet[];
|
|
1772
|
+
/** The package name of this app. */
|
|
1773
|
+
packageName?:
|
|
1774
|
+
string;
|
|
1775
|
+
/** List of the created variants. */
|
|
1776
|
+
variant?:
|
|
1777
|
+
SplitApkVariant[];
|
|
1778
|
+
}
|
|
1570
1779
|
interface TargetingRuleScope {
|
|
1571
1780
|
/** The scope of the current targeting rule is the subscription with the specified subscription ID. Must be a subscription within the same parent app. */
|
|
1572
1781
|
specificSubscriptionInApp?:
|
|
@@ -1580,6 +1789,19 @@ declare namespace gapi.client {
|
|
|
1580
1789
|
// tslint:disable-next-line:no-empty-interface
|
|
1581
1790
|
interface TestPurchase {
|
|
1582
1791
|
}
|
|
1792
|
+
interface TextureCompressionFormat {
|
|
1793
|
+
/** Alias for texture compression format. */
|
|
1794
|
+
alias?:
|
|
1795
|
+
string;
|
|
1796
|
+
}
|
|
1797
|
+
interface TextureCompressionFormatTargeting {
|
|
1798
|
+
/** List of alternative TCFs (TCFs targeted by the sibling splits). */
|
|
1799
|
+
alternatives?:
|
|
1800
|
+
TextureCompressionFormat[];
|
|
1801
|
+
/** The list of targeted TCFs. Should not be empty. */
|
|
1802
|
+
value?:
|
|
1803
|
+
TextureCompressionFormat[];
|
|
1804
|
+
}
|
|
1583
1805
|
interface Timestamp {
|
|
1584
1806
|
/** Non-negative fractions of a second at nanosecond resolution. Must be from 0 to 999,999,999 inclusive. */
|
|
1585
1807
|
nanos?:
|
|
@@ -1748,6 +1970,14 @@ declare namespace gapi.client {
|
|
|
1748
1970
|
thumbsUpCount?:
|
|
1749
1971
|
number;
|
|
1750
1972
|
}
|
|
1973
|
+
interface UserCountriesTargeting {
|
|
1974
|
+
/** List of country codes in the two-letter CLDR territory format. */
|
|
1975
|
+
countryCodes?:
|
|
1976
|
+
string[];
|
|
1977
|
+
/** Indicates if the list above is exclusive. */
|
|
1978
|
+
exclude?:
|
|
1979
|
+
boolean;
|
|
1980
|
+
}
|
|
1751
1981
|
interface UserCountrySet {
|
|
1752
1982
|
/** List of country codes representing countries. A Country code is represented in ISO 3166 alpha-2 format. For Example:- "IT" for Italy, "GE" for Georgia. */
|
|
1753
1983
|
countryCodes?:
|
|
@@ -1783,6 +2013,23 @@ declare namespace gapi.client {
|
|
|
1783
2013
|
variantId?:
|
|
1784
2014
|
number;
|
|
1785
2015
|
}
|
|
2016
|
+
interface VariantTargeting {
|
|
2017
|
+
/** The abi that the variant targets */
|
|
2018
|
+
abiTargeting?:
|
|
2019
|
+
AbiTargeting;
|
|
2020
|
+
/** Multi-api-level targeting */
|
|
2021
|
+
multiAbiTargeting?:
|
|
2022
|
+
MultiAbiTargeting;
|
|
2023
|
+
/** The screen densities that this variant supports */
|
|
2024
|
+
screenDensityTargeting?:
|
|
2025
|
+
ScreenDensityTargeting;
|
|
2026
|
+
/** The sdk version that the variant targets */
|
|
2027
|
+
sdkVersionTargeting?:
|
|
2028
|
+
SdkVersionTargeting;
|
|
2029
|
+
/** Texture-compression-format-level targeting */
|
|
2030
|
+
textureCompressionFormatTargeting?:
|
|
2031
|
+
TextureCompressionFormatTargeting;
|
|
2032
|
+
}
|
|
1786
2033
|
interface VoidedPurchase {
|
|
1787
2034
|
/** This kind represents a voided purchase object in the androidpublisher service. */
|
|
1788
2035
|
kind?:
|
package/package.json
CHANGED
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: 20230628
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|