@maxim_mazurok/gapi.client.merchantapi-accounts_v1beta 0.0.20250716 → 0.0.20250721

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 +34 -34
  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: 20250716
12
+ // Revision: 20250721
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -753,7 +753,7 @@ declare namespace gapi.client {
753
753
  /** Output only. Indicates if the region is eligible for use in the Shipping Services configuration. */
754
754
  shippingEligible?: boolean;
755
755
  }
756
- interface RegisterGCPRequest {
756
+ interface RegisterGcpRequest {
757
757
  /** Immutable. If the developer email provided is associated with a user in the merchant account provided, the user will be updated to have "API developer" access type and the email preference corresponding to that user will be updated to have the new "API notifications" preference. If the developer email provided is not associated with any user we will just add it as a contact. The email preference corresponding to that contact will have the new "API notifications" preference */
758
758
  developerEmail?: string;
759
759
  }
@@ -920,7 +920,7 @@ declare namespace gapi.client {
920
920
  minTransitDays?: number;
921
921
  }
922
922
  interface UnclaimHomepageRequest {}
923
- interface UnregisterGCPRequest {}
923
+ interface UnregisterGcpRequest {}
924
924
  interface UriSettings {
925
925
  /** Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the [help center doc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting) */
926
926
  cartUriTemplate?: string;
@@ -1344,6 +1344,33 @@ declare namespace gapi.client {
1344
1344
  ): Request<BusinessInfo>;
1345
1345
  }
1346
1346
  interface DeveloperRegistrationResource {
1347
+ /** Retrieves a developer registration for a merchant. */
1348
+ getDeveloperRegistration(request?: {
1349
+ /** V1 error format. */
1350
+ '$.xgafv'?: string;
1351
+ /** OAuth access token. */
1352
+ access_token?: string;
1353
+ /** Data format for response. */
1354
+ alt?: string;
1355
+ /** JSONP */
1356
+ callback?: string;
1357
+ /** Selector specifying which fields to include in a partial response. */
1358
+ fields?: string;
1359
+ /** 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. */
1360
+ key?: string;
1361
+ /** Required. The `name` (ID) of the developer registration. */
1362
+ name: string;
1363
+ /** OAuth 2.0 token for the current user. */
1364
+ oauth_token?: string;
1365
+ /** Returns response with indentations and line breaks. */
1366
+ prettyPrint?: boolean;
1367
+ /** 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. */
1368
+ quotaUser?: string;
1369
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1370
+ upload_protocol?: string;
1371
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1372
+ uploadType?: string;
1373
+ }): Request<DeveloperRegistration>;
1347
1374
  /** Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on. */
1348
1375
  registerGcp(request: {
1349
1376
  /** V1 error format. */
@@ -1371,7 +1398,7 @@ declare namespace gapi.client {
1371
1398
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1372
1399
  uploadType?: string;
1373
1400
  /** Request body */
1374
- resource: RegisterGCPRequest;
1401
+ resource: RegisterGcpRequest;
1375
1402
  }): Request<DeveloperRegistration>;
1376
1403
  registerGcp(
1377
1404
  request: {
@@ -1400,7 +1427,7 @@ declare namespace gapi.client {
1400
1427
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1401
1428
  uploadType?: string;
1402
1429
  },
1403
- body: RegisterGCPRequest,
1430
+ body: RegisterGcpRequest,
1404
1431
  ): Request<DeveloperRegistration>;
1405
1432
  /** Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call. */
1406
1433
  unregisterGcp(request: {
@@ -1429,7 +1456,7 @@ declare namespace gapi.client {
1429
1456
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1430
1457
  uploadType?: string;
1431
1458
  /** Request body */
1432
- resource: UnregisterGCPRequest;
1459
+ resource: UnregisterGcpRequest;
1433
1460
  }): Request<{}>;
1434
1461
  unregisterGcp(
1435
1462
  request: {
@@ -1458,7 +1485,7 @@ declare namespace gapi.client {
1458
1485
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1459
1486
  uploadType?: string;
1460
1487
  },
1461
- body: UnregisterGCPRequest,
1488
+ body: UnregisterGcpRequest,
1462
1489
  ): Request<{}>;
1463
1490
  }
1464
1491
  interface EmailPreferencesResource {
@@ -3809,33 +3836,6 @@ declare namespace gapi.client {
3809
3836
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3810
3837
  uploadType?: string;
3811
3838
  }): Request<Account>;
3812
- /** Retrieves a developer registration for a merchant. */
3813
- getDeveloperRegistration(request?: {
3814
- /** V1 error format. */
3815
- '$.xgafv'?: string;
3816
- /** OAuth access token. */
3817
- access_token?: string;
3818
- /** Data format for response. */
3819
- alt?: string;
3820
- /** JSONP */
3821
- callback?: string;
3822
- /** Selector specifying which fields to include in a partial response. */
3823
- fields?: string;
3824
- /** 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. */
3825
- key?: string;
3826
- /** Required. The `name` (ID) of the developer registration. */
3827
- name: string;
3828
- /** OAuth 2.0 token for the current user. */
3829
- oauth_token?: string;
3830
- /** Returns response with indentations and line breaks. */
3831
- prettyPrint?: boolean;
3832
- /** 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. */
3833
- quotaUser?: string;
3834
- /** Upload protocol for media (e.g. "raw", "multipart"). */
3835
- upload_protocol?: string;
3836
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3837
- uploadType?: string;
3838
- }): Request<DeveloperRegistration>;
3839
3839
  /** 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. */
3840
3840
  list(request?: {
3841
3841
  /** 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.20250716",
3
+ "version": "0.0.20250721",
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 a developer registration for a merchant.
89
- */
90
- await gapi.client.merchantapi.accounts.getDeveloperRegistration({name: 'name'});
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
  */