@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20221018 → 0.0.20221108
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 +27 -27
- package/package.json +1 -1
- package/tests.ts +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: 20221108
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1170,7 +1170,7 @@ declare namespace gapi.client {
|
|
|
1170
1170
|
kind?: string;
|
|
1171
1171
|
}
|
|
1172
1172
|
interface User {
|
|
1173
|
-
/** The list of the user's addresses. The maximum allowed data size for this field is
|
|
1173
|
+
/** The list of the user's addresses. The maximum allowed data size for this field is 10KB. */
|
|
1174
1174
|
addresses?: any;
|
|
1175
1175
|
/** Output only. This property is `true` if the user has completed an initial login and accepted the Terms of Service agreement. */
|
|
1176
1176
|
agreedToTerms?: boolean;
|
|
@@ -1194,13 +1194,13 @@ declare namespace gapi.client {
|
|
|
1194
1194
|
/** Custom fields of the user. The key is a `schema_name` and its values are `'field_name': 'field_value'`. */
|
|
1195
1195
|
customSchemas?: { [P in string]: UserCustomProperties };
|
|
1196
1196
|
deletionTime?: string;
|
|
1197
|
-
/** The list of the user's email addresses. The maximum allowed data size for this field is
|
|
1197
|
+
/** The list of the user's email addresses. The maximum allowed data size for this field is 10KB. */
|
|
1198
1198
|
emails?: any;
|
|
1199
1199
|
/** Output only. ETag of the resource. */
|
|
1200
1200
|
etag?: string;
|
|
1201
|
-
/** The list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is
|
|
1201
|
+
/** The list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2KB. */
|
|
1202
1202
|
externalIds?: any;
|
|
1203
|
-
/** The user's gender. The maximum allowed data size for this field is
|
|
1203
|
+
/** The user's gender. The maximum allowed data size for this field is 1KB. */
|
|
1204
1204
|
gender?: any;
|
|
1205
1205
|
/**
|
|
1206
1206
|
* Stores the hash format of the `password` property. The following `hashFunction` values are allowed: * `MD5` - Accepts simple hex-encoded values. * `SHA-1` - Accepts simple
|
|
@@ -1212,7 +1212,7 @@ declare namespace gapi.client {
|
|
|
1212
1212
|
id?: string;
|
|
1213
1213
|
/**
|
|
1214
1214
|
* The list of the user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The
|
|
1215
|
-
* maximum allowed data size for this field is
|
|
1215
|
+
* maximum allowed data size for this field is 2KB.
|
|
1216
1216
|
*/
|
|
1217
1217
|
ims?: any;
|
|
1218
1218
|
/**
|
|
@@ -1239,33 +1239,33 @@ declare namespace gapi.client {
|
|
|
1239
1239
|
isEnrolledIn2Sv?: boolean;
|
|
1240
1240
|
/** Output only. Indicates if the user's Google mailbox is created. This property is only applicable if the user has been assigned a Gmail license. */
|
|
1241
1241
|
isMailboxSetup?: boolean;
|
|
1242
|
-
/** The list of the user's keywords. The maximum allowed data size for this field is
|
|
1242
|
+
/** The list of the user's keywords. The maximum allowed data size for this field is 1KB. */
|
|
1243
1243
|
keywords?: any;
|
|
1244
1244
|
/** Output only. The type of the API resource. For Users resources, the value is `admin#directory#user`. */
|
|
1245
1245
|
kind?: string;
|
|
1246
|
-
/** The user's languages. The maximum allowed data size for this field is
|
|
1246
|
+
/** The user's languages. The maximum allowed data size for this field is 1KB. */
|
|
1247
1247
|
languages?: any;
|
|
1248
1248
|
/** User's last login time. (Read-only) */
|
|
1249
1249
|
lastLoginTime?: string;
|
|
1250
|
-
/** The user's locations. The maximum allowed data size for this field is
|
|
1250
|
+
/** The user's locations. The maximum allowed data size for this field is 10KB. */
|
|
1251
1251
|
locations?: any;
|
|
1252
1252
|
/**
|
|
1253
1253
|
* Holds the given and family names of the user, and the read-only `fullName` value. The maximum number of characters in the `givenName` and in the `familyName` values is 60. In
|
|
1254
1254
|
* addition, name values support unicode/UTF-8 characters, and can contain spaces, letters (a-z), numbers (0-9), dashes (-), forward slashes (/), and periods (.). For more information
|
|
1255
|
-
* about character usage rules, see the [administration help center](https://support.google.com/a/answer/9193374). Maximum allowed data size for this field is
|
|
1255
|
+
* about character usage rules, see the [administration help center](https://support.google.com/a/answer/9193374). Maximum allowed data size for this field is 1KB.
|
|
1256
1256
|
*/
|
|
1257
1257
|
name?: UserName;
|
|
1258
1258
|
/** Output only. The list of the user's non-editable alias email addresses. These are typically outside the account's primary domain or sub-domain. */
|
|
1259
1259
|
nonEditableAliases?: string[];
|
|
1260
1260
|
/** Notes for the user. */
|
|
1261
1261
|
notes?: any;
|
|
1262
|
-
/** The list of organizations the user belongs to. The maximum allowed data size for this field is
|
|
1262
|
+
/** The list of organizations the user belongs to. The maximum allowed data size for this field is 10KB. */
|
|
1263
1263
|
organizations?: any;
|
|
1264
1264
|
/** The full path of the parent organization associated with the user. If the parent organization is the top-level, it is represented as a forward slash (`/`). */
|
|
1265
1265
|
orgUnitPath?: string;
|
|
1266
1266
|
/** User's password */
|
|
1267
1267
|
password?: string;
|
|
1268
|
-
/** The list of the user's phone numbers. The maximum allowed data size for this field is
|
|
1268
|
+
/** The list of the user's phone numbers. The maximum allowed data size for this field is 1KB. */
|
|
1269
1269
|
phones?: any;
|
|
1270
1270
|
/** The list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */
|
|
1271
1271
|
posixAccounts?: any;
|
|
@@ -1275,7 +1275,7 @@ declare namespace gapi.client {
|
|
|
1275
1275
|
recoveryEmail?: string;
|
|
1276
1276
|
/** Recovery phone of the user. The phone number must be in the E.164 format, starting with the plus sign (+). Example: *+16506661212*. */
|
|
1277
1277
|
recoveryPhone?: string;
|
|
1278
|
-
/** The list of the user's relationships to other users. The maximum allowed data size for this field is
|
|
1278
|
+
/** The list of the user's relationships to other users. The maximum allowed data size for this field is 2KB. */
|
|
1279
1279
|
relations?: any;
|
|
1280
1280
|
/** A list of SSH public keys. */
|
|
1281
1281
|
sshPublicKeys?: any;
|
|
@@ -1290,7 +1290,7 @@ declare namespace gapi.client {
|
|
|
1290
1290
|
thumbnailPhotoEtag?: string;
|
|
1291
1291
|
/** Output only. Photo Url of the user (Read-only) */
|
|
1292
1292
|
thumbnailPhotoUrl?: string;
|
|
1293
|
-
/** The user's websites. The maximum allowed data size for this field is
|
|
1293
|
+
/** The user's websites. The maximum allowed data size for this field is 2KB. */
|
|
1294
1294
|
websites?: any;
|
|
1295
1295
|
}
|
|
1296
1296
|
interface UserAbout {
|
|
@@ -3625,7 +3625,7 @@ declare namespace gapi.client {
|
|
|
3625
3625
|
kind?: string;
|
|
3626
3626
|
}
|
|
3627
3627
|
interface User {
|
|
3628
|
-
/** The list of the user's addresses. The maximum allowed data size for this field is
|
|
3628
|
+
/** The list of the user's addresses. The maximum allowed data size for this field is 10KB. */
|
|
3629
3629
|
addresses?: any;
|
|
3630
3630
|
/** Output only. This property is `true` if the user has completed an initial login and accepted the Terms of Service agreement. */
|
|
3631
3631
|
agreedToTerms?: boolean;
|
|
@@ -3649,13 +3649,13 @@ declare namespace gapi.client {
|
|
|
3649
3649
|
/** Custom fields of the user. The key is a `schema_name` and its values are `'field_name': 'field_value'`. */
|
|
3650
3650
|
customSchemas?: { [P in string]: UserCustomProperties };
|
|
3651
3651
|
deletionTime?: string;
|
|
3652
|
-
/** The list of the user's email addresses. The maximum allowed data size for this field is
|
|
3652
|
+
/** The list of the user's email addresses. The maximum allowed data size for this field is 10KB. */
|
|
3653
3653
|
emails?: any;
|
|
3654
3654
|
/** Output only. ETag of the resource. */
|
|
3655
3655
|
etag?: string;
|
|
3656
|
-
/** The list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is
|
|
3656
|
+
/** The list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2KB. */
|
|
3657
3657
|
externalIds?: any;
|
|
3658
|
-
/** The user's gender. The maximum allowed data size for this field is
|
|
3658
|
+
/** The user's gender. The maximum allowed data size for this field is 1KB. */
|
|
3659
3659
|
gender?: any;
|
|
3660
3660
|
/**
|
|
3661
3661
|
* Stores the hash format of the `password` property. The following `hashFunction` values are allowed: * `MD5` - Accepts simple hex-encoded values. * `SHA-1` - Accepts simple
|
|
@@ -3667,7 +3667,7 @@ declare namespace gapi.client {
|
|
|
3667
3667
|
id?: string;
|
|
3668
3668
|
/**
|
|
3669
3669
|
* The list of the user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The
|
|
3670
|
-
* maximum allowed data size for this field is
|
|
3670
|
+
* maximum allowed data size for this field is 2KB.
|
|
3671
3671
|
*/
|
|
3672
3672
|
ims?: any;
|
|
3673
3673
|
/**
|
|
@@ -3694,33 +3694,33 @@ declare namespace gapi.client {
|
|
|
3694
3694
|
isEnrolledIn2Sv?: boolean;
|
|
3695
3695
|
/** Output only. Indicates if the user's Google mailbox is created. This property is only applicable if the user has been assigned a Gmail license. */
|
|
3696
3696
|
isMailboxSetup?: boolean;
|
|
3697
|
-
/** The list of the user's keywords. The maximum allowed data size for this field is
|
|
3697
|
+
/** The list of the user's keywords. The maximum allowed data size for this field is 1KB. */
|
|
3698
3698
|
keywords?: any;
|
|
3699
3699
|
/** Output only. The type of the API resource. For Users resources, the value is `admin#directory#user`. */
|
|
3700
3700
|
kind?: string;
|
|
3701
|
-
/** The user's languages. The maximum allowed data size for this field is
|
|
3701
|
+
/** The user's languages. The maximum allowed data size for this field is 1KB. */
|
|
3702
3702
|
languages?: any;
|
|
3703
3703
|
/** User's last login time. (Read-only) */
|
|
3704
3704
|
lastLoginTime?: string;
|
|
3705
|
-
/** The user's locations. The maximum allowed data size for this field is
|
|
3705
|
+
/** The user's locations. The maximum allowed data size for this field is 10KB. */
|
|
3706
3706
|
locations?: any;
|
|
3707
3707
|
/**
|
|
3708
3708
|
* Holds the given and family names of the user, and the read-only `fullName` value. The maximum number of characters in the `givenName` and in the `familyName` values is 60. In
|
|
3709
3709
|
* addition, name values support unicode/UTF-8 characters, and can contain spaces, letters (a-z), numbers (0-9), dashes (-), forward slashes (/), and periods (.). For more information
|
|
3710
|
-
* about character usage rules, see the [administration help center](https://support.google.com/a/answer/9193374). Maximum allowed data size for this field is
|
|
3710
|
+
* about character usage rules, see the [administration help center](https://support.google.com/a/answer/9193374). Maximum allowed data size for this field is 1KB.
|
|
3711
3711
|
*/
|
|
3712
3712
|
name?: UserName;
|
|
3713
3713
|
/** Output only. The list of the user's non-editable alias email addresses. These are typically outside the account's primary domain or sub-domain. */
|
|
3714
3714
|
nonEditableAliases?: string[];
|
|
3715
3715
|
/** Notes for the user. */
|
|
3716
3716
|
notes?: any;
|
|
3717
|
-
/** The list of organizations the user belongs to. The maximum allowed data size for this field is
|
|
3717
|
+
/** The list of organizations the user belongs to. The maximum allowed data size for this field is 10KB. */
|
|
3718
3718
|
organizations?: any;
|
|
3719
3719
|
/** The full path of the parent organization associated with the user. If the parent organization is the top-level, it is represented as a forward slash (`/`). */
|
|
3720
3720
|
orgUnitPath?: string;
|
|
3721
3721
|
/** User's password */
|
|
3722
3722
|
password?: string;
|
|
3723
|
-
/** The list of the user's phone numbers. The maximum allowed data size for this field is
|
|
3723
|
+
/** The list of the user's phone numbers. The maximum allowed data size for this field is 1KB. */
|
|
3724
3724
|
phones?: any;
|
|
3725
3725
|
/** The list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */
|
|
3726
3726
|
posixAccounts?: any;
|
|
@@ -3730,7 +3730,7 @@ declare namespace gapi.client {
|
|
|
3730
3730
|
recoveryEmail?: string;
|
|
3731
3731
|
/** Recovery phone of the user. The phone number must be in the E.164 format, starting with the plus sign (+). Example: *+16506661212*. */
|
|
3732
3732
|
recoveryPhone?: string;
|
|
3733
|
-
/** The list of the user's relationships to other users. The maximum allowed data size for this field is
|
|
3733
|
+
/** The list of the user's relationships to other users. The maximum allowed data size for this field is 2KB. */
|
|
3734
3734
|
relations?: any;
|
|
3735
3735
|
/** A list of SSH public keys. */
|
|
3736
3736
|
sshPublicKeys?: any;
|
|
@@ -3745,7 +3745,7 @@ declare namespace gapi.client {
|
|
|
3745
3745
|
thumbnailPhotoEtag?: string;
|
|
3746
3746
|
/** Output only. Photo Url of the user (Read-only) */
|
|
3747
3747
|
thumbnailPhotoUrl?: string;
|
|
3748
|
-
/** The user's websites. The maximum allowed data size for this field is
|
|
3748
|
+
/** The user's websites. The maximum allowed data size for this field is 2KB. */
|
|
3749
3749
|
websites?: any;
|
|
3750
3750
|
}
|
|
3751
3751
|
interface UserAbout {
|
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: 20221108
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|