@maxim_mazurok/gapi.client.androidpublisher-v3 0.0.20230613 → 0.0.20230615
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 +23 -7
- package/package.json +1 -1
- package/readme.md +6 -6
- package/tests.ts +23 -7
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: 20230615
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -4747,7 +4747,10 @@ declare namespace gapi.client {
|
|
|
4747
4747
|
body: Grant): Request<Grant>;
|
|
4748
4748
|
}
|
|
4749
4749
|
interface InappproductsResource {
|
|
4750
|
-
/**
|
|
4750
|
+
/**
|
|
4751
|
+
* Deletes an in-app product (i.e. a managed product or a subscription). This method should no longer be used to delete subscriptions. See [this
|
|
4752
|
+
* article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
4753
|
+
*/
|
|
4751
4754
|
delete(request?: {
|
|
4752
4755
|
/** V1 error format. */
|
|
4753
4756
|
"$.xgafv"?:
|
|
@@ -4789,7 +4792,10 @@ declare namespace gapi.client {
|
|
|
4789
4792
|
uploadType?:
|
|
4790
4793
|
string;
|
|
4791
4794
|
}): Request<void>;
|
|
4792
|
-
/**
|
|
4795
|
+
/**
|
|
4796
|
+
* Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See [this
|
|
4797
|
+
* article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
4798
|
+
*/
|
|
4793
4799
|
get(request?: {
|
|
4794
4800
|
/** V1 error format. */
|
|
4795
4801
|
"$.xgafv"?:
|
|
@@ -4831,7 +4837,10 @@ declare namespace gapi.client {
|
|
|
4831
4837
|
uploadType?:
|
|
4832
4838
|
string;
|
|
4833
4839
|
}): Request<InAppProduct>;
|
|
4834
|
-
/**
|
|
4840
|
+
/**
|
|
4841
|
+
* Creates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to create subscriptions. See [this
|
|
4842
|
+
* article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
4843
|
+
*/
|
|
4835
4844
|
insert(request: {
|
|
4836
4845
|
/** V1 error format. */
|
|
4837
4846
|
"$.xgafv"?:
|
|
@@ -4926,7 +4935,8 @@ declare namespace gapi.client {
|
|
|
4926
4935
|
body: InAppProduct): Request<InAppProduct>;
|
|
4927
4936
|
/**
|
|
4928
4937
|
* Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field
|
|
4929
|
-
* `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page.
|
|
4938
|
+
* `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to
|
|
4939
|
+
* retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
4930
4940
|
*/
|
|
4931
4941
|
list(request?: {
|
|
4932
4942
|
/** V1 error format. */
|
|
@@ -4975,7 +4985,10 @@ declare namespace gapi.client {
|
|
|
4975
4985
|
uploadType?:
|
|
4976
4986
|
string;
|
|
4977
4987
|
}): Request<InappproductsListResponse>;
|
|
4978
|
-
/**
|
|
4988
|
+
/**
|
|
4989
|
+
* Patches an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this
|
|
4990
|
+
* article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
4991
|
+
*/
|
|
4979
4992
|
patch(request: {
|
|
4980
4993
|
/** V1 error format. */
|
|
4981
4994
|
"$.xgafv"?:
|
|
@@ -5074,7 +5087,10 @@ declare namespace gapi.client {
|
|
|
5074
5087
|
string;
|
|
5075
5088
|
},
|
|
5076
5089
|
body: InAppProduct): Request<InAppProduct>;
|
|
5077
|
-
/**
|
|
5090
|
+
/**
|
|
5091
|
+
* Updates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this
|
|
5092
|
+
* article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
5093
|
+
*/
|
|
5078
5094
|
update(request: {
|
|
5079
5095
|
/** V1 error format. */
|
|
5080
5096
|
"$.xgafv"?:
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -132,32 +132,32 @@ Updates access for the user to the given package.
|
|
|
132
132
|
await gapi.client.androidpublisher.grants.patch({ name: "name", });
|
|
133
133
|
|
|
134
134
|
/*
|
|
135
|
-
Deletes an in-app product (i.e. a managed product or a subscription).
|
|
135
|
+
Deletes an in-app product (i.e. a managed product or a subscription). This method should no longer be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
136
136
|
*/
|
|
137
137
|
await gapi.client.androidpublisher.inappproducts.delete({ packageName: "packageName", sku: "sku", });
|
|
138
138
|
|
|
139
139
|
/*
|
|
140
|
-
Gets an in-app product, which can be a managed product or a subscription.
|
|
140
|
+
Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
141
141
|
*/
|
|
142
142
|
await gapi.client.androidpublisher.inappproducts.get({ packageName: "packageName", sku: "sku", });
|
|
143
143
|
|
|
144
144
|
/*
|
|
145
|
-
Creates an in-app product (i.e. a managed product or a subscription).
|
|
145
|
+
Creates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to create subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
146
146
|
*/
|
|
147
147
|
await gapi.client.androidpublisher.inappproducts.insert({ packageName: "packageName", });
|
|
148
148
|
|
|
149
149
|
/*
|
|
150
|
-
Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page.
|
|
150
|
+
Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
151
151
|
*/
|
|
152
152
|
await gapi.client.androidpublisher.inappproducts.list({ packageName: "packageName", });
|
|
153
153
|
|
|
154
154
|
/*
|
|
155
|
-
Patches an in-app product (i.e. a managed product or a subscription).
|
|
155
|
+
Patches an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
156
156
|
*/
|
|
157
157
|
await gapi.client.androidpublisher.inappproducts.patch({ packageName: "packageName", sku: "sku", });
|
|
158
158
|
|
|
159
159
|
/*
|
|
160
|
-
Updates an in-app product (i.e. a managed product or a subscription).
|
|
160
|
+
Updates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
161
161
|
*/
|
|
162
162
|
await gapi.client.androidpublisher.inappproducts.update({ packageName: "packageName", sku: "sku", });
|
|
163
163
|
|
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: 20230615
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -533,17 +533,26 @@ gapi.load('client', async () => {
|
|
|
533
533
|
name: "Test string",
|
|
534
534
|
packageName: "Test string",
|
|
535
535
|
});
|
|
536
|
-
/**
|
|
536
|
+
/**
|
|
537
|
+
* Deletes an in-app product (i.e. a managed product or a subscription). This method should no longer be used to delete subscriptions. See [this
|
|
538
|
+
* article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
539
|
+
*/
|
|
537
540
|
await gapi.client.androidpublisher.inappproducts.delete({
|
|
538
541
|
packageName: "Test string",
|
|
539
542
|
sku: "Test string",
|
|
540
543
|
});
|
|
541
|
-
/**
|
|
544
|
+
/**
|
|
545
|
+
* Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See [this
|
|
546
|
+
* article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
547
|
+
*/
|
|
542
548
|
await gapi.client.androidpublisher.inappproducts.get({
|
|
543
549
|
packageName: "Test string",
|
|
544
550
|
sku: "Test string",
|
|
545
551
|
});
|
|
546
|
-
/**
|
|
552
|
+
/**
|
|
553
|
+
* Creates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to create subscriptions. See [this
|
|
554
|
+
* article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
555
|
+
*/
|
|
547
556
|
await gapi.client.androidpublisher.inappproducts.insert({
|
|
548
557
|
autoConvertMissingPrices: true,
|
|
549
558
|
packageName: "Test string",
|
|
@@ -598,7 +607,8 @@ gapi.load('client', async () => {
|
|
|
598
607
|
});
|
|
599
608
|
/**
|
|
600
609
|
* Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field
|
|
601
|
-
* `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page.
|
|
610
|
+
* `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to
|
|
611
|
+
* retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
602
612
|
*/
|
|
603
613
|
await gapi.client.androidpublisher.inappproducts.list({
|
|
604
614
|
maxResults: 42,
|
|
@@ -606,7 +616,10 @@ gapi.load('client', async () => {
|
|
|
606
616
|
startIndex: 42,
|
|
607
617
|
token: "Test string",
|
|
608
618
|
});
|
|
609
|
-
/**
|
|
619
|
+
/**
|
|
620
|
+
* Patches an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this
|
|
621
|
+
* article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
622
|
+
*/
|
|
610
623
|
await gapi.client.androidpublisher.inappproducts.patch({
|
|
611
624
|
autoConvertMissingPrices: true,
|
|
612
625
|
packageName: "Test string",
|
|
@@ -660,7 +673,10 @@ gapi.load('client', async () => {
|
|
|
660
673
|
},
|
|
661
674
|
trialPeriod: "Test string",
|
|
662
675
|
});
|
|
663
|
-
/**
|
|
676
|
+
/**
|
|
677
|
+
* Updates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this
|
|
678
|
+
* article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
|
|
679
|
+
*/
|
|
664
680
|
await gapi.client.androidpublisher.inappproducts.update({
|
|
665
681
|
allowMissing: true,
|
|
666
682
|
autoConvertMissingPrices: true,
|