@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20230807 → 0.0.20230815
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 +7 -1
- package/package.json +1 -1
- 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:
|
|
12
|
+
// Revision: 20230815
|
|
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
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:
|
|
6
|
+
// Revision: 20230815
|
|
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,
|