@maxim_mazurok/gapi.client.gmailpostmastertools-v1beta1 0.0.20250526 → 0.0.20250528

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 +1 -1
  2. package/package.json +1 -1
  3. package/readme.md +0 -24
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://gmailpostmastertools.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20250526
12
+ // Revision: 20250528
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.gmailpostmastertools-v1beta1",
3
- "version": "0.0.20250526",
3
+ "version": "0.0.20250528",
4
4
  "description": "TypeScript typings for Gmail Postmaster Tools API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -42,30 +42,6 @@ gapi.client.load('gmailpostmastertools', 'v1beta1', () => {
42
42
  });
43
43
  ```
44
44
 
45
- Don't forget to authenticate your client before sending any request to resources:
46
-
47
- ```typescript
48
- // declare client_id registered in Google Developers Console
49
- var client_id = '',
50
- scope = [
51
- // See email traffic metrics for the domains you have registered in Gmail Postmaster Tools
52
- 'https://www.googleapis.com/auth/postmaster.readonly',
53
- ],
54
- immediate = true;
55
- // ...
56
-
57
- gapi.auth.authorize(
58
- {client_id: client_id, scope: scope, immediate: immediate},
59
- authResult => {
60
- if (authResult && !authResult.error) {
61
- /* handle successful authorization */
62
- } else {
63
- /* handle authorization error */
64
- }
65
- },
66
- );
67
- ```
68
-
69
45
  After that you can use Gmail Postmaster Tools API resources: <!-- TODO: make this work for multiple namespaces -->
70
46
 
71
47
  ```typescript