@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20230426 → 0.0.20230516

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://admin.googleapis.com/$discovery/rest?version=directory_v1
12
- // Revision: 20230426
12
+ // Revision: 20230516
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1001,7 +1001,7 @@ declare namespace gapi.client {
1001
1001
  PrintServer[];
1002
1002
  }
1003
1003
  interface Member {
1004
- /** Defines mail delivery preferences of member. This is only supported by create/update/get. */
1004
+ /** Defines mail delivery preferences of member. This field is only supported by `insert`, `update`, and `get` methods. */
1005
1005
  delivery_settings?:
1006
1006
  string;
1007
1007
  /**
@@ -4440,7 +4440,7 @@ declare namespace gapi.client {
4440
4440
  PrintServer[];
4441
4441
  }
4442
4442
  interface Member {
4443
- /** Defines mail delivery preferences of member. This is only supported by create/update/get. */
4443
+ /** Defines mail delivery preferences of member. This field is only supported by `insert`, `update`, and `get` methods. */
4444
4444
  delivery_settings?:
4445
4445
  string;
4446
4446
  /**
@@ -11691,7 +11691,10 @@ declare namespace gapi.client {
11691
11691
  viewType?:
11692
11692
  string;
11693
11693
  }): Request<User>;
11694
- /** Creates a user. */
11694
+ /**
11695
+ * Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error
11696
+ * details 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.
11697
+ */
11695
11698
  insert(request: {
11696
11699
  /** V1 error format. */
11697
11700
  "$.xgafv"?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.admin-directory_v1",
3
- "version": "0.0.20230426",
3
+ "version": "0.0.20230516",
4
4
  "description": "TypeScript typings for Admin SDK API directory_v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -488,7 +488,7 @@ Retrieves a user.
488
488
  await gapi.client.directory.users.get({ userKey: "userKey", });
489
489
 
490
490
  /*
491
- Creates a user.
491
+ Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details 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.
492
492
  */
493
493
  await gapi.client.directory.users.insert({ });
494
494
 
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: 20230426
6
+ // Revision: 20230516
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1470,7 +1470,10 @@ gapi.load('client', async () => {
1470
1470
  userKey: "Test string",
1471
1471
  viewType: "Test string",
1472
1472
  });
1473
- /** Creates a user. */
1473
+ /**
1474
+ * Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details
1475
+ * 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.
1476
+ */
1474
1477
  await gapi.client.directory.users.insert({
1475
1478
  }, {
1476
1479
  addresses: 42,