@maxim_mazurok/gapi.client.smartdevicemanagement-v1 0.0.20230620 → 0.0.20230708

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 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://smartdevicemanagement.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230620
12
+ // Revision: 20230708
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.smartdevicemanagement-v1",
3
- "version": "0.0.20230620",
3
+ "version": "0.0.20230708",
4
4
  "description": "TypeScript typings for Smart Device Management API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -47,6 +47,9 @@ var client_id = '',
47
47
  scope = [
48
48
  // See and/or control the devices that you selected
49
49
  'https://www.googleapis.com/auth/sdm.service',
50
+
51
+ // See your primary Google Account email address
52
+ 'https://www.googleapis.com/auth/userinfo.email',
50
53
  ],
51
54
  immediate = true;
52
55
  // ...
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230620
6
+ // Revision: 20230708
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -17,6 +17,8 @@ gapi.load('client', async () => {
17
17
  const scope = [
18
18
  /** See and/or control the devices that you selected */
19
19
  'https://www.googleapis.com/auth/sdm.service',
20
+ /** See your primary Google Account email address */
21
+ 'https://www.googleapis.com/auth/userinfo.email',
20
22
  ];
21
23
  const immediate = false;
22
24
  gapi.auth.authorize({ client_id, scope, immediate }, authResult => {