@maxim_mazurok/gapi.client.merchantapi-accounts_v1 0.0.20251007 → 0.0.20251026

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.
Files changed (3) hide show
  1. package/index.d.ts +26 -26
  2. package/package.json +1 -1
  3. package/readme.md +0 -5
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://merchantapi.googleapis.com/$discovery/rest?version=accounts_v1
12
- // Revision: 20251007
12
+ // Revision: 20251026
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1376,6 +1376,31 @@ declare namespace gapi.client {
1376
1376
  ): Request<BusinessInfo>;
1377
1377
  }
1378
1378
  interface DeveloperRegistrationResource {
1379
+ /** Retrieves the merchant account that the calling GCP is registered with. */
1380
+ getAccountForGcpRegistration(request?: {
1381
+ /** V1 error format. */
1382
+ '$.xgafv'?: string;
1383
+ /** OAuth access token. */
1384
+ access_token?: string;
1385
+ /** Data format for response. */
1386
+ alt?: string;
1387
+ /** JSONP */
1388
+ callback?: string;
1389
+ /** Selector specifying which fields to include in a partial response. */
1390
+ fields?: string;
1391
+ /** 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. */
1392
+ key?: string;
1393
+ /** OAuth 2.0 token for the current user. */
1394
+ oauth_token?: string;
1395
+ /** Returns response with indentations and line breaks. */
1396
+ prettyPrint?: boolean;
1397
+ /** 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. */
1398
+ quotaUser?: string;
1399
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1400
+ upload_protocol?: string;
1401
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1402
+ uploadType?: string;
1403
+ }): Request<GetAccountForGcpRegistrationResponse>;
1379
1404
  /** Retrieves a developer registration for a merchant. */
1380
1405
  getDeveloperRegistration(request?: {
1381
1406
  /** V1 error format. */
@@ -3980,31 +4005,6 @@ declare namespace gapi.client {
3980
4005
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3981
4006
  uploadType?: string;
3982
4007
  }): Request<Account>;
3983
- /** Retrieves the merchant account that the calling GCP is registered with. */
3984
- getAccountForGcpRegistration(request?: {
3985
- /** V1 error format. */
3986
- '$.xgafv'?: string;
3987
- /** OAuth access token. */
3988
- access_token?: string;
3989
- /** Data format for response. */
3990
- alt?: string;
3991
- /** JSONP */
3992
- callback?: string;
3993
- /** Selector specifying which fields to include in a partial response. */
3994
- fields?: string;
3995
- /** 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. */
3996
- key?: string;
3997
- /** OAuth 2.0 token for the current user. */
3998
- oauth_token?: string;
3999
- /** Returns response with indentations and line breaks. */
4000
- prettyPrint?: boolean;
4001
- /** 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. */
4002
- quotaUser?: string;
4003
- /** Upload protocol for media (e.g. "raw", "multipart"). */
4004
- upload_protocol?: string;
4005
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4006
- uploadType?: string;
4007
- }): Request<GetAccountForGcpRegistrationResponse>;
4008
4008
  /** Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case. */
4009
4009
  list(request?: {
4010
4010
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.merchantapi-accounts_v1",
3
- "version": "0.0.20251007",
3
+ "version": "0.0.20251026",
4
4
  "description": "TypeScript typings for Merchant API accounts_v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -84,11 +84,6 @@ Retrieves an account from your Merchant Center account. After inserting, updatin
84
84
  */
85
85
  await gapi.client.merchantapi.accounts.get({name: 'name'});
86
86
 
87
- /*
88
- Retrieves the merchant account that the calling GCP is registered with.
89
- */
90
- await gapi.client.merchantapi.accounts.getAccountForGcpRegistration({});
91
-
92
87
  /*
93
88
  Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case.
94
89
  */