@maxim_mazurok/gapi.client.admin-directory_v1 0.4.20260519 → 0.4.20260531
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 +14 -6
- package/package.json +1 -1
- package/readme.md +1 -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: 20260531
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -659,9 +659,9 @@ declare namespace gapi.client {
|
|
|
659
659
|
commandId?: string;
|
|
660
660
|
}
|
|
661
661
|
interface DirectoryUsersCreateGuestRequest {
|
|
662
|
-
/** Optional. Immutable ID of the Google Workspace account. */
|
|
662
|
+
/** Optional. Immutable ID of the Google Workspace account. Only required when request is created by a service account. Defaults to the authenticated user's customer ID otherwise. */
|
|
663
663
|
customer?: string;
|
|
664
|
-
/**
|
|
664
|
+
/** Required. External email of the guest user being created. */
|
|
665
665
|
primaryGuestEmail?: string;
|
|
666
666
|
}
|
|
667
667
|
interface DomainAlias {
|
|
@@ -1267,6 +1267,8 @@ declare namespace gapi.client {
|
|
|
1267
1267
|
agreedToTerms?: boolean;
|
|
1268
1268
|
/** Output only. The list of the user's alias email addresses. */
|
|
1269
1269
|
aliases?: string[];
|
|
1270
|
+
/** Output only. User's account archival time. (Read-only) */
|
|
1271
|
+
archivalTime?: string;
|
|
1270
1272
|
/** Indicates if user is archived. */
|
|
1271
1273
|
archived?: boolean;
|
|
1272
1274
|
/** Indicates if the user is forced to change their password at next login. This setting doesn't apply when [the user signs in via a third-party identity provider](https://support.google.com/a/answer/60224). */
|
|
@@ -1350,6 +1352,8 @@ declare namespace gapi.client {
|
|
|
1350
1352
|
suspended?: boolean;
|
|
1351
1353
|
/** Output only. Has the reason a user account is suspended either by the administrator or by Google at the time of suspension. The property is returned only if the `suspended` property is `true`. */
|
|
1352
1354
|
suspensionReason?: string;
|
|
1355
|
+
/** Output only. User's account suspension time. (Read-only) */
|
|
1356
|
+
suspensionTime?: string;
|
|
1353
1357
|
/** Output only. ETag of the user's photo (Read-only) */
|
|
1354
1358
|
thumbnailPhotoEtag?: string;
|
|
1355
1359
|
/** Output only. The URL of the user's profile photo. The URL might be temporary or private. */
|
|
@@ -3229,9 +3233,9 @@ declare namespace gapi.client {
|
|
|
3229
3233
|
commandId?: string;
|
|
3230
3234
|
}
|
|
3231
3235
|
interface DirectoryUsersCreateGuestRequest {
|
|
3232
|
-
/** Optional. Immutable ID of the Google Workspace account. */
|
|
3236
|
+
/** Optional. Immutable ID of the Google Workspace account. Only required when request is created by a service account. Defaults to the authenticated user's customer ID otherwise. */
|
|
3233
3237
|
customer?: string;
|
|
3234
|
-
/**
|
|
3238
|
+
/** Required. External email of the guest user being created. */
|
|
3235
3239
|
primaryGuestEmail?: string;
|
|
3236
3240
|
}
|
|
3237
3241
|
interface DomainAlias {
|
|
@@ -3837,6 +3841,8 @@ declare namespace gapi.client {
|
|
|
3837
3841
|
agreedToTerms?: boolean;
|
|
3838
3842
|
/** Output only. The list of the user's alias email addresses. */
|
|
3839
3843
|
aliases?: string[];
|
|
3844
|
+
/** Output only. User's account archival time. (Read-only) */
|
|
3845
|
+
archivalTime?: string;
|
|
3840
3846
|
/** Indicates if user is archived. */
|
|
3841
3847
|
archived?: boolean;
|
|
3842
3848
|
/** Indicates if the user is forced to change their password at next login. This setting doesn't apply when [the user signs in via a third-party identity provider](https://support.google.com/a/answer/60224). */
|
|
@@ -3920,6 +3926,8 @@ declare namespace gapi.client {
|
|
|
3920
3926
|
suspended?: boolean;
|
|
3921
3927
|
/** Output only. Has the reason a user account is suspended either by the administrator or by Google at the time of suspension. The property is returned only if the `suspended` property is `true`. */
|
|
3922
3928
|
suspensionReason?: string;
|
|
3929
|
+
/** Output only. User's account suspension time. (Read-only) */
|
|
3930
|
+
suspensionTime?: string;
|
|
3923
3931
|
/** Output only. ETag of the user's photo (Read-only) */
|
|
3924
3932
|
thumbnailPhotoEtag?: string;
|
|
3925
3933
|
/** Output only. The URL of the user's profile photo. The URL might be temporary or private. */
|
|
@@ -8318,7 +8326,7 @@ declare namespace gapi.client {
|
|
|
8318
8326
|
): Request<UserPhoto>;
|
|
8319
8327
|
}
|
|
8320
8328
|
interface UsersResource {
|
|
8321
|
-
/** Create a guest user with access to a [subset of Workspace capabilities](https://support.google.com/a/answer/16558545). This feature is currently in
|
|
8329
|
+
/** Create a guest user with access to a [subset of Workspace capabilities](https://support.google.com/a/answer/16558545). This feature is currently in Open Beta. */
|
|
8322
8330
|
createGuest(request: {
|
|
8323
8331
|
/** V1 error format. */
|
|
8324
8332
|
'$.xgafv'?: '1' | '2';
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -594,7 +594,7 @@ Turns off 2-Step Verification for user.
|
|
|
594
594
|
await gapi.client.directory.twoStepVerification.turnOff({userKey: 'userKey'});
|
|
595
595
|
|
|
596
596
|
/*
|
|
597
|
-
Create a guest user with access to a [subset of Workspace capabilities](https://support.google.com/a/answer/16558545). This feature is currently in
|
|
597
|
+
Create a guest user with access to a [subset of Workspace capabilities](https://support.google.com/a/answer/16558545). This feature is currently in Open Beta.
|
|
598
598
|
*/
|
|
599
599
|
await gapi.client.directory.users.createGuest({});
|
|
600
600
|
|