@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20230802 → 0.0.20230814

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 +7 -1
  2. package/package.json +2 -2
  3. package/tests.ts +2 -1
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://admin.googleapis.com/$discovery/rest?version=directory_v1
12
- // Revision: 20230802
12
+ // Revision: 20230814
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -11729,6 +11729,9 @@ declare namespace gapi.client {
11729
11729
  /** 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. */
11730
11730
  quotaUser?:
11731
11731
  string;
11732
+ /** Optional. If set to `true`, the option selected for [handling unmanaged user accounts](https://support.google.com/a/answer/11112794) will apply. Default: `false` */
11733
+ resolveConflictAccount?:
11734
+ boolean;
11732
11735
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11733
11736
  upload_protocol?:
11734
11737
  string;
@@ -11767,6 +11770,9 @@ declare namespace gapi.client {
11767
11770
  /** 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. */
11768
11771
  quotaUser?:
11769
11772
  string;
11773
+ /** Optional. If set to `true`, the option selected for [handling unmanaged user accounts](https://support.google.com/a/answer/11112794) will apply. Default: `false` */
11774
+ resolveConflictAccount?:
11775
+ boolean;
11770
11776
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11771
11777
  upload_protocol?:
11772
11778
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.admin-directory_v1",
3
- "version": "0.0.20230802",
3
+ "version": "0.0.20230814",
4
4
  "description": "TypeScript typings for Admin SDK API directory_v1",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -15,6 +15,6 @@
15
15
  "types": "index.d.ts",
16
16
  "dependencies": {
17
17
  "@types/gapi.client": "*",
18
- "@types/gapi.client.discovery": "*"
18
+ "@types/gapi.client.discovery-v1": "*"
19
19
  }
20
20
  }
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: 20230802
6
+ // Revision: 20230814
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1477,6 +1477,7 @@ gapi.load('client', async () => {
1477
1477
  * for the "User creation is not complete" message to see if this is the case. Retrying the calls after some time can help in this case.
1478
1478
  */
1479
1479
  await gapi.client.directory.users.insert({
1480
+ resolveConflictAccount: true,
1480
1481
  }, {
1481
1482
  addresses: 42,
1482
1483
  agreedToTerms: true,