@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta 0.0.20251007 → 0.0.20251023

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_v1beta
12
- // Revision: 20251007
12
+ // Revision: 20251023
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1348,6 +1348,31 @@ declare namespace gapi.client {
1348
1348
  ): Request<BusinessInfo>;
1349
1349
  }
1350
1350
  interface DeveloperRegistrationResource {
1351
+ /** Retrieves the merchant account that the calling GCP is registered with. */
1352
+ getAccountForGcpRegistration(request?: {
1353
+ /** V1 error format. */
1354
+ '$.xgafv'?: string;
1355
+ /** OAuth access token. */
1356
+ access_token?: string;
1357
+ /** Data format for response. */
1358
+ alt?: string;
1359
+ /** JSONP */
1360
+ callback?: string;
1361
+ /** Selector specifying which fields to include in a partial response. */
1362
+ fields?: string;
1363
+ /** 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. */
1364
+ key?: string;
1365
+ /** OAuth 2.0 token for the current user. */
1366
+ oauth_token?: string;
1367
+ /** Returns response with indentations and line breaks. */
1368
+ prettyPrint?: boolean;
1369
+ /** 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. */
1370
+ quotaUser?: string;
1371
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1372
+ upload_protocol?: string;
1373
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1374
+ uploadType?: string;
1375
+ }): Request<GetAccountForGcpRegistrationResponse>;
1351
1376
  /** Retrieves a developer registration for a merchant. */
1352
1377
  getDeveloperRegistration(request?: {
1353
1378
  /** V1 error format. */
@@ -3840,31 +3865,6 @@ declare namespace gapi.client {
3840
3865
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3841
3866
  uploadType?: string;
3842
3867
  }): Request<Account>;
3843
- /** Retrieves the merchant account that the calling GCP is registered with. */
3844
- getAccountForGcpRegistration(request?: {
3845
- /** V1 error format. */
3846
- '$.xgafv'?: string;
3847
- /** OAuth access token. */
3848
- access_token?: string;
3849
- /** Data format for response. */
3850
- alt?: string;
3851
- /** JSONP */
3852
- callback?: string;
3853
- /** Selector specifying which fields to include in a partial response. */
3854
- fields?: string;
3855
- /** 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. */
3856
- key?: string;
3857
- /** OAuth 2.0 token for the current user. */
3858
- oauth_token?: string;
3859
- /** Returns response with indentations and line breaks. */
3860
- prettyPrint?: boolean;
3861
- /** 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. */
3862
- quotaUser?: string;
3863
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3864
- upload_protocol?: string;
3865
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3866
- uploadType?: string;
3867
- }): Request<GetAccountForGcpRegistrationResponse>;
3868
3868
  /** 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. */
3869
3869
  list(request?: {
3870
3870
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta",
3
- "version": "0.0.20251007",
3
+ "version": "0.0.20251023",
4
4
  "description": "TypeScript typings for Merchant API accounts_v1beta",
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
  */