@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20221004 → 0.0.20221020

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 +74 -74
  2. package/package.json +1 -1
  3. 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: 20221004
12
+ // Revision: 20221020
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -236,7 +236,7 @@ declare namespace gapi.client {
236
236
  type?: string;
237
237
  }
238
238
  interface ChromeOsDevice {
239
- /** List of active time ranges (Read-only). */
239
+ /** A list of active time ranges (Read-only). */
240
240
  activeTimeRanges?: Array<{
241
241
  /** Duration of usage in milliseconds. */
242
242
  activeTime?: number;
@@ -284,7 +284,7 @@ declare namespace gapi.client {
284
284
  }>;
285
285
  /** Reports of CPU utilization and temperature (Read-only) */
286
286
  cpuStatusReports?: Array<{
287
- /** List of CPU temperature samples. */
287
+ /** A list of CPU temperature samples. */
288
288
  cpuTemperatureInfo?: Array<{
289
289
  /** CPU label */
290
290
  label?: string;
@@ -295,7 +295,7 @@ declare namespace gapi.client {
295
295
  /** Date and time the report was received. */
296
296
  reportTime?: string;
297
297
  }>;
298
- /** List of device files to download (Read-only) */
298
+ /** A list of device files to download (Read-only) */
299
299
  deviceFiles?: Array<{
300
300
  /** Date and time the file was created */
301
301
  createTime?: string;
@@ -389,14 +389,14 @@ declare namespace gapi.client {
389
389
  osVersion?: string;
390
390
  /** The Chrome device's platform version. */
391
391
  platformVersion?: string;
392
- /** List of recent device users, in descending order, by last login time. */
392
+ /** A list of recent device users, in descending order, by last login time. */
393
393
  recentUsers?: Array<{
394
394
  /** The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. */
395
395
  email?: string;
396
396
  /** The type of the user. */
397
397
  type?: string;
398
398
  }>;
399
- /** List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */
399
+ /** A list of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */
400
400
  screenshotFiles?: Array<{
401
401
  /** Date and time the file was created */
402
402
  createTime?: string;
@@ -449,7 +449,7 @@ declare namespace gapi.client {
449
449
  deprovisionReason?: string;
450
450
  }
451
451
  interface ChromeOsDevices {
452
- /** List of Chrome OS Device objects. */
452
+ /** A list of Chrome OS Device objects. */
453
453
  chromeosdevices?: ChromeOsDevice[];
454
454
  /** ETag of the resource. */
455
455
  etag?: string;
@@ -572,7 +572,7 @@ declare namespace gapi.client {
572
572
  verified?: boolean;
573
573
  }
574
574
  interface DomainAliases {
575
- /** List of domain alias objects. */
575
+ /** A list of domain alias objects. */
576
576
  domainAliases?: DomainAlias[];
577
577
  /** ETag of the resource. */
578
578
  etag?: string;
@@ -582,7 +582,7 @@ declare namespace gapi.client {
582
582
  interface Domains {
583
583
  /** Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. (Read-only). */
584
584
  creationTime?: string;
585
- /** List of domain alias objects. (Read-only) */
585
+ /** A list of domain alias objects. (Read-only) */
586
586
  domainAliases?: DomainAlias[];
587
587
  /** The domain name of the customer. */
588
588
  domainName?: string;
@@ -596,7 +596,7 @@ declare namespace gapi.client {
596
596
  verified?: boolean;
597
597
  }
598
598
  interface Domains2 {
599
- /** List of domain objects. */
599
+ /** A list of domain objects. */
600
600
  domains?: Domains[];
601
601
  /** ETag of the resource. */
602
602
  etag?: string;
@@ -646,8 +646,8 @@ declare namespace gapi.client {
646
646
  /** Read-only. Value is `true` if this group was created by an administrator rather than a user. */
647
647
  adminCreated?: boolean;
648
648
  /**
649
- * Read-only. A list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request, the
650
- * edit is ignored.
649
+ * Read-only. The list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request,
650
+ * the edit is ignored.
651
651
  */
652
652
  aliases?: string[];
653
653
  /**
@@ -674,8 +674,8 @@ declare namespace gapi.client {
674
674
  /** The group's display name. */
675
675
  name?: string;
676
676
  /**
677
- * Read-only. A list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by the
678
- * group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.
677
+ * Read-only. The list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by
678
+ * the group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.
679
679
  */
680
680
  nonEditableAliases?: string[];
681
681
  }
@@ -694,7 +694,7 @@ declare namespace gapi.client {
694
694
  interface Groups {
695
695
  /** ETag of the resource. */
696
696
  etag?: string;
697
- /** List of group objects. */
697
+ /** A list of group objects. */
698
698
  groups?: Group[];
699
699
  /** Kind of resource this is. */
700
700
  kind?: string;
@@ -751,7 +751,7 @@ declare namespace gapi.client {
751
751
  etag?: string;
752
752
  /** Kind of resource this is. */
753
753
  kind?: string;
754
- /** List of member objects. */
754
+ /** A list of member objects. */
755
755
  members?: Member[];
756
756
  /** Token used to access next page of this result. */
757
757
  nextPageToken?: string;
@@ -803,8 +803,8 @@ declare namespace gapi.client {
803
803
  /** DevicePasswordStatus (Read-only) */
804
804
  devicePasswordStatus?: string;
805
805
  /**
806
- * List of owner's email addresses. If your application needs the current list of user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For
807
- * additional information, see the [retrieve a user](/admin-sdk/directory/v1/guides/manage-users#get_user) method.
806
+ * The list of the owner's email addresses. If your application needs the current list of user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method.
807
+ * For additional information, see the [retrieve a user](/admin-sdk/directory/v1/guides/manage-users#get_user) method.
808
808
  */
809
809
  email?: string[];
810
810
  /** Mobile Device Encryption Status (Read-only) */
@@ -840,8 +840,8 @@ declare namespace gapi.client {
840
840
  */
841
841
  model?: string;
842
842
  /**
843
- * List of the owner's user names. If your application needs the current list of device owner names, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For
844
- * more information about retrieving mobile device user information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-users#get_user).
843
+ * The list of the owner's user names. If your application needs the current list of device owner names, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method.
844
+ * For more information about retrieving mobile device user information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-users#get_user).
845
845
  */
846
846
  name?: string[];
847
847
  /** Mobile Device mobile or network operator (if available) (Read-only) */
@@ -851,7 +851,7 @@ declare namespace gapi.client {
851
851
  * information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices#update_mobile_device).
852
852
  */
853
853
  os?: string;
854
- /** List of accounts added on device (Read-only) */
854
+ /** The list of accounts added on device (Read-only) */
855
855
  otherAccountsInfo?: string[];
856
856
  /** DMAgentPermission (Read-only) */
857
857
  privilege?: string;
@@ -888,7 +888,7 @@ declare namespace gapi.client {
888
888
  etag?: string;
889
889
  /** Kind of resource this is. */
890
890
  kind?: string;
891
- /** List of Mobile Device objects. */
891
+ /** A list of Mobile Device objects. */
892
892
  mobiledevices?: MobileDevice[];
893
893
  /** Token used to access next page of this result. */
894
894
  nextPageToken?: string;
@@ -928,7 +928,7 @@ declare namespace gapi.client {
928
928
  etag?: string;
929
929
  /** The type of the API resource. For Org Unit resources, the type is `admin#directory#orgUnits`. */
930
930
  kind?: string;
931
- /** List of organizational unit objects. */
931
+ /** A list of organizational unit objects. */
932
932
  organizationUnits?: OrgUnit[];
933
933
  }
934
934
  interface OsUpdateStatus {
@@ -1140,7 +1140,7 @@ declare namespace gapi.client {
1140
1140
  etag?: string;
1141
1141
  /** Kind of resource this is. */
1142
1142
  kind?: string;
1143
- /** List of UserSchema objects. */
1143
+ /** A list of UserSchema objects. */
1144
1144
  schemas?: Schema[];
1145
1145
  }
1146
1146
  interface Token {
@@ -1170,11 +1170,11 @@ declare namespace gapi.client {
1170
1170
  kind?: string;
1171
1171
  }
1172
1172
  interface User {
1173
- /** A list of the user's addresses. The maximum allowed data size for this field is 10Kb. */
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;
1177
- /** Output only. A list of the user's alias email addresses. */
1177
+ /** Output only. The list of the user's alias email addresses. */
1178
1178
  aliases?: string[];
1179
1179
  /** Indicates if user is archived. */
1180
1180
  archived?: boolean;
@@ -1194,11 +1194,11 @@ 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
- /** A list of the user's email addresses. The maximum allowed data size for this field is 10Kb. */
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
- /** A list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2Kb. */
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
1203
  /** The user's gender. The maximum allowed data size for this field is 1Kb. */
1204
1204
  gender?: any;
@@ -1211,8 +1211,8 @@ declare namespace gapi.client {
1211
1211
  /** The unique ID for the user. A user `id` can be used as a user request URI's `userKey`. */
1212
1212
  id?: string;
1213
1213
  /**
1214
- * 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 maximum allowed
1215
- * data size for this field is 2Kb.
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 2Kb.
1216
1216
  */
1217
1217
  ims?: any;
1218
1218
  /**
@@ -1239,7 +1239,7 @@ 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 user's keywords. The maximum allowed data size for this field is 1Kb. */
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;
@@ -1255,19 +1255,19 @@ declare namespace gapi.client {
1255
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
- /** Output only. List of the user's non-editable alias email addresses. These are typically outside the account's primary domain or sub-domain. */
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
- /** A list of organizations the user belongs to. The maximum allowed data size for this field is 10Kb. */
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
- /** A list of the user's phone numbers. The maximum allowed data size for this field is 1Kb. */
1268
+ /** The list of the user's phone numbers. The maximum allowed data size for this field is 1Kb. */
1269
1269
  phones?: any;
1270
- /** A list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */
1270
+ /** The list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */
1271
1271
  posixAccounts?: any;
1272
1272
  /** The user's primary email address. This property is required in a request to create a user account. The `primaryEmail` must be unique and cannot be an alias of another user. */
1273
1273
  primaryEmail?: string;
@@ -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
- /** A list of the user's relationships to other users. The maximum allowed data size for this field is 2Kb. */
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;
@@ -1557,7 +1557,7 @@ declare namespace gapi.client {
1557
1557
  nextPageToken?: string;
1558
1558
  /** Event that triggered this response (only used in case of Push Response) */
1559
1559
  trigger_event?: string;
1560
- /** List of user objects. */
1560
+ /** A list of user objects. */
1561
1561
  users?: User[];
1562
1562
  }
1563
1563
  interface UserSshPublicKey {
@@ -2689,7 +2689,7 @@ declare namespace gapi.client {
2689
2689
  type?: string;
2690
2690
  }
2691
2691
  interface ChromeOsDevice {
2692
- /** List of active time ranges (Read-only). */
2692
+ /** A list of active time ranges (Read-only). */
2693
2693
  activeTimeRanges?: Array<{
2694
2694
  /** Duration of usage in milliseconds. */
2695
2695
  activeTime?: number;
@@ -2737,7 +2737,7 @@ declare namespace gapi.client {
2737
2737
  }>;
2738
2738
  /** Reports of CPU utilization and temperature (Read-only) */
2739
2739
  cpuStatusReports?: Array<{
2740
- /** List of CPU temperature samples. */
2740
+ /** A list of CPU temperature samples. */
2741
2741
  cpuTemperatureInfo?: Array<{
2742
2742
  /** CPU label */
2743
2743
  label?: string;
@@ -2748,7 +2748,7 @@ declare namespace gapi.client {
2748
2748
  /** Date and time the report was received. */
2749
2749
  reportTime?: string;
2750
2750
  }>;
2751
- /** List of device files to download (Read-only) */
2751
+ /** A list of device files to download (Read-only) */
2752
2752
  deviceFiles?: Array<{
2753
2753
  /** Date and time the file was created */
2754
2754
  createTime?: string;
@@ -2842,14 +2842,14 @@ declare namespace gapi.client {
2842
2842
  osVersion?: string;
2843
2843
  /** The Chrome device's platform version. */
2844
2844
  platformVersion?: string;
2845
- /** List of recent device users, in descending order, by last login time. */
2845
+ /** A list of recent device users, in descending order, by last login time. */
2846
2846
  recentUsers?: Array<{
2847
2847
  /** The user's email address. This is only present if the user type is `USER_TYPE_MANAGED`. */
2848
2848
  email?: string;
2849
2849
  /** The type of the user. */
2850
2850
  type?: string;
2851
2851
  }>;
2852
- /** List of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */
2852
+ /** A list of screenshot files to download. Type is always "SCREENSHOT_FILE". (Read-only) */
2853
2853
  screenshotFiles?: Array<{
2854
2854
  /** Date and time the file was created */
2855
2855
  createTime?: string;
@@ -2902,7 +2902,7 @@ declare namespace gapi.client {
2902
2902
  deprovisionReason?: string;
2903
2903
  }
2904
2904
  interface ChromeOsDevices {
2905
- /** List of Chrome OS Device objects. */
2905
+ /** A list of Chrome OS Device objects. */
2906
2906
  chromeosdevices?: ChromeOsDevice[];
2907
2907
  /** ETag of the resource. */
2908
2908
  etag?: string;
@@ -3025,7 +3025,7 @@ declare namespace gapi.client {
3025
3025
  verified?: boolean;
3026
3026
  }
3027
3027
  interface DomainAliases {
3028
- /** List of domain alias objects. */
3028
+ /** A list of domain alias objects. */
3029
3029
  domainAliases?: DomainAlias[];
3030
3030
  /** ETag of the resource. */
3031
3031
  etag?: string;
@@ -3035,7 +3035,7 @@ declare namespace gapi.client {
3035
3035
  interface Domains {
3036
3036
  /** Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. (Read-only). */
3037
3037
  creationTime?: string;
3038
- /** List of domain alias objects. (Read-only) */
3038
+ /** A list of domain alias objects. (Read-only) */
3039
3039
  domainAliases?: DomainAlias[];
3040
3040
  /** The domain name of the customer. */
3041
3041
  domainName?: string;
@@ -3049,7 +3049,7 @@ declare namespace gapi.client {
3049
3049
  verified?: boolean;
3050
3050
  }
3051
3051
  interface Domains2 {
3052
- /** List of domain objects. */
3052
+ /** A list of domain objects. */
3053
3053
  domains?: Domains[];
3054
3054
  /** ETag of the resource. */
3055
3055
  etag?: string;
@@ -3099,8 +3099,8 @@ declare namespace gapi.client {
3099
3099
  /** Read-only. Value is `true` if this group was created by an administrator rather than a user. */
3100
3100
  adminCreated?: boolean;
3101
3101
  /**
3102
- * Read-only. A list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request, the
3103
- * edit is ignored.
3102
+ * Read-only. The list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request,
3103
+ * the edit is ignored.
3104
3104
  */
3105
3105
  aliases?: string[];
3106
3106
  /**
@@ -3127,8 +3127,8 @@ declare namespace gapi.client {
3127
3127
  /** The group's display name. */
3128
3128
  name?: string;
3129
3129
  /**
3130
- * Read-only. A list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by the
3131
- * group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.
3130
+ * Read-only. The list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by
3131
+ * the group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.
3132
3132
  */
3133
3133
  nonEditableAliases?: string[];
3134
3134
  }
@@ -3147,7 +3147,7 @@ declare namespace gapi.client {
3147
3147
  interface Groups {
3148
3148
  /** ETag of the resource. */
3149
3149
  etag?: string;
3150
- /** List of group objects. */
3150
+ /** A list of group objects. */
3151
3151
  groups?: Group[];
3152
3152
  /** Kind of resource this is. */
3153
3153
  kind?: string;
@@ -3204,7 +3204,7 @@ declare namespace gapi.client {
3204
3204
  etag?: string;
3205
3205
  /** Kind of resource this is. */
3206
3206
  kind?: string;
3207
- /** List of member objects. */
3207
+ /** A list of member objects. */
3208
3208
  members?: Member[];
3209
3209
  /** Token used to access next page of this result. */
3210
3210
  nextPageToken?: string;
@@ -3256,8 +3256,8 @@ declare namespace gapi.client {
3256
3256
  /** DevicePasswordStatus (Read-only) */
3257
3257
  devicePasswordStatus?: string;
3258
3258
  /**
3259
- * List of owner's email addresses. If your application needs the current list of user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For
3260
- * additional information, see the [retrieve a user](/admin-sdk/directory/v1/guides/manage-users#get_user) method.
3259
+ * The list of the owner's email addresses. If your application needs the current list of user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method.
3260
+ * For additional information, see the [retrieve a user](/admin-sdk/directory/v1/guides/manage-users#get_user) method.
3261
3261
  */
3262
3262
  email?: string[];
3263
3263
  /** Mobile Device Encryption Status (Read-only) */
@@ -3293,8 +3293,8 @@ declare namespace gapi.client {
3293
3293
  */
3294
3294
  model?: string;
3295
3295
  /**
3296
- * List of the owner's user names. If your application needs the current list of device owner names, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For
3297
- * more information about retrieving mobile device user information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-users#get_user).
3296
+ * The list of the owner's user names. If your application needs the current list of device owner names, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method.
3297
+ * For more information about retrieving mobile device user information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-users#get_user).
3298
3298
  */
3299
3299
  name?: string[];
3300
3300
  /** Mobile Device mobile or network operator (if available) (Read-only) */
@@ -3304,7 +3304,7 @@ declare namespace gapi.client {
3304
3304
  * information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices#update_mobile_device).
3305
3305
  */
3306
3306
  os?: string;
3307
- /** List of accounts added on device (Read-only) */
3307
+ /** The list of accounts added on device (Read-only) */
3308
3308
  otherAccountsInfo?: string[];
3309
3309
  /** DMAgentPermission (Read-only) */
3310
3310
  privilege?: string;
@@ -3341,7 +3341,7 @@ declare namespace gapi.client {
3341
3341
  etag?: string;
3342
3342
  /** Kind of resource this is. */
3343
3343
  kind?: string;
3344
- /** List of Mobile Device objects. */
3344
+ /** A list of Mobile Device objects. */
3345
3345
  mobiledevices?: MobileDevice[];
3346
3346
  /** Token used to access next page of this result. */
3347
3347
  nextPageToken?: string;
@@ -3381,7 +3381,7 @@ declare namespace gapi.client {
3381
3381
  etag?: string;
3382
3382
  /** The type of the API resource. For Org Unit resources, the type is `admin#directory#orgUnits`. */
3383
3383
  kind?: string;
3384
- /** List of organizational unit objects. */
3384
+ /** A list of organizational unit objects. */
3385
3385
  organizationUnits?: OrgUnit[];
3386
3386
  }
3387
3387
  interface OsUpdateStatus {
@@ -3593,7 +3593,7 @@ declare namespace gapi.client {
3593
3593
  etag?: string;
3594
3594
  /** Kind of resource this is. */
3595
3595
  kind?: string;
3596
- /** List of UserSchema objects. */
3596
+ /** A list of UserSchema objects. */
3597
3597
  schemas?: Schema[];
3598
3598
  }
3599
3599
  interface Token {
@@ -3623,11 +3623,11 @@ declare namespace gapi.client {
3623
3623
  kind?: string;
3624
3624
  }
3625
3625
  interface User {
3626
- /** A list of the user's addresses. The maximum allowed data size for this field is 10Kb. */
3626
+ /** The list of the user's addresses. The maximum allowed data size for this field is 10Kb. */
3627
3627
  addresses?: any;
3628
3628
  /** Output only. This property is `true` if the user has completed an initial login and accepted the Terms of Service agreement. */
3629
3629
  agreedToTerms?: boolean;
3630
- /** Output only. A list of the user's alias email addresses. */
3630
+ /** Output only. The list of the user's alias email addresses. */
3631
3631
  aliases?: string[];
3632
3632
  /** Indicates if user is archived. */
3633
3633
  archived?: boolean;
@@ -3647,11 +3647,11 @@ declare namespace gapi.client {
3647
3647
  /** Custom fields of the user. The key is a `schema_name` and its values are `'field_name': 'field_value'`. */
3648
3648
  customSchemas?: { [P in string]: UserCustomProperties };
3649
3649
  deletionTime?: string;
3650
- /** A list of the user's email addresses. The maximum allowed data size for this field is 10Kb. */
3650
+ /** The list of the user's email addresses. The maximum allowed data size for this field is 10Kb. */
3651
3651
  emails?: any;
3652
3652
  /** Output only. ETag of the resource. */
3653
3653
  etag?: string;
3654
- /** A list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2Kb. */
3654
+ /** 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. */
3655
3655
  externalIds?: any;
3656
3656
  /** The user's gender. The maximum allowed data size for this field is 1Kb. */
3657
3657
  gender?: any;
@@ -3664,8 +3664,8 @@ declare namespace gapi.client {
3664
3664
  /** The unique ID for the user. A user `id` can be used as a user request URI's `userKey`. */
3665
3665
  id?: string;
3666
3666
  /**
3667
- * 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 maximum allowed
3668
- * data size for this field is 2Kb.
3667
+ * 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
3668
+ * maximum allowed data size for this field is 2Kb.
3669
3669
  */
3670
3670
  ims?: any;
3671
3671
  /**
@@ -3692,7 +3692,7 @@ declare namespace gapi.client {
3692
3692
  isEnrolledIn2Sv?: boolean;
3693
3693
  /** 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. */
3694
3694
  isMailboxSetup?: boolean;
3695
- /** The user's keywords. The maximum allowed data size for this field is 1Kb. */
3695
+ /** The list of the user's keywords. The maximum allowed data size for this field is 1Kb. */
3696
3696
  keywords?: any;
3697
3697
  /** Output only. The type of the API resource. For Users resources, the value is `admin#directory#user`. */
3698
3698
  kind?: string;
@@ -3708,19 +3708,19 @@ declare namespace gapi.client {
3708
3708
  * 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.
3709
3709
  */
3710
3710
  name?: UserName;
3711
- /** Output only. List of the user's non-editable alias email addresses. These are typically outside the account's primary domain or sub-domain. */
3711
+ /** 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. */
3712
3712
  nonEditableAliases?: string[];
3713
3713
  /** Notes for the user. */
3714
3714
  notes?: any;
3715
- /** A list of organizations the user belongs to. The maximum allowed data size for this field is 10Kb. */
3715
+ /** The list of organizations the user belongs to. The maximum allowed data size for this field is 10Kb. */
3716
3716
  organizations?: any;
3717
3717
  /** 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 (`/`). */
3718
3718
  orgUnitPath?: string;
3719
3719
  /** User's password */
3720
3720
  password?: string;
3721
- /** A list of the user's phone numbers. The maximum allowed data size for this field is 1Kb. */
3721
+ /** The list of the user's phone numbers. The maximum allowed data size for this field is 1Kb. */
3722
3722
  phones?: any;
3723
- /** A list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */
3723
+ /** The list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user. */
3724
3724
  posixAccounts?: any;
3725
3725
  /** The user's primary email address. This property is required in a request to create a user account. The `primaryEmail` must be unique and cannot be an alias of another user. */
3726
3726
  primaryEmail?: string;
@@ -3728,7 +3728,7 @@ declare namespace gapi.client {
3728
3728
  recoveryEmail?: string;
3729
3729
  /** Recovery phone of the user. The phone number must be in the E.164 format, starting with the plus sign (+). Example: *+16506661212*. */
3730
3730
  recoveryPhone?: string;
3731
- /** A list of the user's relationships to other users. The maximum allowed data size for this field is 2Kb. */
3731
+ /** The list of the user's relationships to other users. The maximum allowed data size for this field is 2Kb. */
3732
3732
  relations?: any;
3733
3733
  /** A list of SSH public keys. */
3734
3734
  sshPublicKeys?: any;
@@ -4010,7 +4010,7 @@ declare namespace gapi.client {
4010
4010
  nextPageToken?: string;
4011
4011
  /** Event that triggered this response (only used in case of Push Response) */
4012
4012
  trigger_event?: string;
4013
- /** List of user objects. */
4013
+ /** A list of user objects. */
4014
4014
  users?: User[];
4015
4015
  }
4016
4016
  interface UserSshPublicKey {
@@ -4266,7 +4266,7 @@ declare namespace gapi.client {
4266
4266
  customerId: string;
4267
4267
  /** Selector specifying which fields to include in a partial response. */
4268
4268
  fields?: string;
4269
- /** Return devices from all child orgunits, as well as the specified org unit. If this is set to true 'orgUnitPath' must be provided. */
4269
+ /** Return devices from all child orgunits, as well as the specified org unit. If this is set to true, 'orgUnitPath' must be provided. */
4270
4270
  includeChildOrgunits?: boolean;
4271
4271
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4272
4272
  key?: 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.20221004",
3
+ "version": "0.0.20221020",
4
4
  "description": "TypeScript typings for Admin SDK API directory_v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20221004
6
+ // Revision: 20221020
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */