@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta 0.0.20250618 → 0.0.20250623
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 +5 -5
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Type definitions for non-npm package Merchant API accounts_v1beta 0.0 */
|
|
2
|
-
// Project: https://developers.
|
|
2
|
+
// Project: https://developers.google.com/merchant/api
|
|
3
3
|
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
@@ -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://merchantapi.googleapis.com/$discovery/rest?version=accounts_v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250623
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -3499,7 +3499,7 @@ declare namespace gapi.client {
|
|
|
3499
3499
|
oauth_token?: string;
|
|
3500
3500
|
/** Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500. */
|
|
3501
3501
|
pageSize?: number;
|
|
3502
|
-
/** Optional. A page token, received from a previous `
|
|
3502
|
+
/** Optional. A page token, received from a previous `accounts.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided in the `accounts.list` request must match the call that provided the page token. */
|
|
3503
3503
|
pageToken?: string;
|
|
3504
3504
|
/** Returns response with indentations and line breaks. */
|
|
3505
3505
|
prettyPrint?: boolean;
|
|
@@ -3510,7 +3510,7 @@ declare namespace gapi.client {
|
|
|
3510
3510
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3511
3511
|
uploadType?: string;
|
|
3512
3512
|
}): Request<ListAccountsResponse>;
|
|
3513
|
-
/** List all sub-accounts for a given
|
|
3513
|
+
/** List all sub-accounts for a given advanced account. This is a convenience wrapper for the more powerful `accounts.list` method. This method will produce the same results as calling `ListsAccounts` with the following filter: `relationship(providerId={parent} AND service(type="ACCOUNT_AGGREGATION"))` */
|
|
3514
3514
|
listSubaccounts(request?: {
|
|
3515
3515
|
/** V1 error format. */
|
|
3516
3516
|
'$.xgafv'?: string;
|
|
@@ -3528,7 +3528,7 @@ declare namespace gapi.client {
|
|
|
3528
3528
|
oauth_token?: string;
|
|
3529
3529
|
/** Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500. */
|
|
3530
3530
|
pageSize?: number;
|
|
3531
|
-
/** Optional. A page token, received from a previous `
|
|
3531
|
+
/** Optional. A page token, received from a previous `accounts.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided in the `accounts.list` request must match the call that provided the page token. */
|
|
3532
3532
|
pageToken?: string;
|
|
3533
3533
|
/** Returns response with indentations and line breaks. */
|
|
3534
3534
|
prettyPrint?: boolean;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# TypeScript typings for Merchant API accounts_v1beta
|
|
2
2
|
|
|
3
3
|
Programmatically manage your Merchant Center Accounts.
|
|
4
|
-
For detailed description please check [documentation](https://developers.
|
|
4
|
+
For detailed description please check [documentation](https://developers.google.com/merchant/api).
|
|
5
5
|
|
|
6
6
|
## Installing
|
|
7
7
|
|
|
@@ -90,7 +90,7 @@ Note: For the `accounts.list` method, quota and limits usage are charged for eac
|
|
|
90
90
|
await gapi.client.merchantapi.accounts.list({});
|
|
91
91
|
|
|
92
92
|
/*
|
|
93
|
-
List all sub-accounts for a given
|
|
93
|
+
List all sub-accounts for a given advanced account. This is a convenience wrapper for the more powerful `accounts.list` method. This method will produce the same results as calling `ListsAccounts` with the following filter: `relationship(providerId={parent} AND service(type="ACCOUNT_AGGREGATION"))`
|
|
94
94
|
*/
|
|
95
95
|
await gapi.client.merchantapi.accounts.listSubaccounts({provider: 'provider'});
|
|
96
96
|
|