@maxim_mazurok/gapi.client.admin-directory_v1 0.0.20250113 → 0.0.20250128

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 +60 -60
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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: 20250113
12
+ // Revision: 20250128
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Admin SDK API directory_v1 */
18
18
  function load(
19
- urlOrObject: 'https://admin.googleapis.com/$discovery/rest?version=directory_v1'
19
+ urlOrObject: 'https://admin.googleapis.com/$discovery/rest?version=directory_v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'admin', version: 'directory_v1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'admin',
26
26
  version: 'directory_v1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace admin {
@@ -1549,7 +1549,7 @@ declare namespace gapi.client {
1549
1549
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1550
1550
  uploadType?: string;
1551
1551
  },
1552
- body: Channel
1552
+ body: Channel,
1553
1553
  ): Request<void>;
1554
1554
  }
1555
1555
  interface CommandsResource {
@@ -1642,7 +1642,7 @@ declare namespace gapi.client {
1642
1642
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1643
1643
  uploadType?: string;
1644
1644
  },
1645
- body: BatchChangeChromeOsDeviceStatusRequest
1645
+ body: BatchChangeChromeOsDeviceStatusRequest,
1646
1646
  ): Request<BatchChangeChromeOsDeviceStatusResponse>;
1647
1647
  /** Issues a command for the device to execute. */
1648
1648
  issueCommand(request: {
@@ -1704,7 +1704,7 @@ declare namespace gapi.client {
1704
1704
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1705
1705
  uploadType?: string;
1706
1706
  },
1707
- body: DirectoryChromeosdevicesIssueCommandRequest
1707
+ body: DirectoryChromeosdevicesIssueCommandRequest,
1708
1708
  ): Request<DirectoryChromeosdevicesIssueCommandResponse>;
1709
1709
  commands: CommandsResource;
1710
1710
  }
@@ -1771,7 +1771,7 @@ declare namespace gapi.client {
1771
1771
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1772
1772
  uploadType?: string;
1773
1773
  },
1774
- body: BatchCreatePrintersRequest
1774
+ body: BatchCreatePrintersRequest,
1775
1775
  ): Request<BatchCreatePrintersResponse>;
1776
1776
  /** Deletes printers in batch. */
1777
1777
  batchDeletePrinters(request: {
@@ -1829,7 +1829,7 @@ declare namespace gapi.client {
1829
1829
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1830
1830
  uploadType?: string;
1831
1831
  },
1832
- body: BatchDeletePrintersRequest
1832
+ body: BatchDeletePrintersRequest,
1833
1833
  ): Request<BatchDeletePrintersResponse>;
1834
1834
  /** Creates a printer under given Organization Unit. */
1835
1835
  create(request: {
@@ -1887,7 +1887,7 @@ declare namespace gapi.client {
1887
1887
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1888
1888
  uploadType?: string;
1889
1889
  },
1890
- body: Printer
1890
+ body: Printer,
1891
1891
  ): Request<Printer>;
1892
1892
  /** Deletes a `Printer`. */
1893
1893
  delete(request?: {
@@ -2077,7 +2077,7 @@ declare namespace gapi.client {
2077
2077
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2078
2078
  uploadType?: string;
2079
2079
  },
2080
- body: Printer
2080
+ body: Printer,
2081
2081
  ): Request<Printer>;
2082
2082
  }
2083
2083
  interface PrintServersResource {
@@ -2137,7 +2137,7 @@ declare namespace gapi.client {
2137
2137
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2138
2138
  uploadType?: string;
2139
2139
  },
2140
- body: BatchCreatePrintServersRequest
2140
+ body: BatchCreatePrintServersRequest,
2141
2141
  ): Request<BatchCreatePrintServersResponse>;
2142
2142
  /** Deletes multiple print servers. */
2143
2143
  batchDeletePrintServers(request: {
@@ -2195,7 +2195,7 @@ declare namespace gapi.client {
2195
2195
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2196
2196
  uploadType?: string;
2197
2197
  },
2198
- body: BatchDeletePrintServersRequest
2198
+ body: BatchDeletePrintServersRequest,
2199
2199
  ): Request<BatchDeletePrintServersResponse>;
2200
2200
  /** Creates a print server. */
2201
2201
  create(request: {
@@ -2253,7 +2253,7 @@ declare namespace gapi.client {
2253
2253
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2254
2254
  uploadType?: string;
2255
2255
  },
2256
- body: PrintServer
2256
+ body: PrintServer,
2257
2257
  ): Request<PrintServer>;
2258
2258
  /** Deletes a print server. */
2259
2259
  delete(request?: {
@@ -2406,7 +2406,7 @@ declare namespace gapi.client {
2406
2406
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2407
2407
  uploadType?: string;
2408
2408
  },
2409
- body: PrintServer
2409
+ body: PrintServer,
2410
2410
  ): Request<PrintServer>;
2411
2411
  }
2412
2412
  interface ChromeResource {
@@ -4040,7 +4040,7 @@ declare namespace gapi.client {
4040
4040
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4041
4041
  uploadType?: string;
4042
4042
  },
4043
- body: ChromeOsDeviceAction
4043
+ body: ChromeOsDeviceAction,
4044
4044
  ): Request<void>;
4045
4045
  /** Retrieves a Chrome OS device's properties. */
4046
4046
  get(request?: {
@@ -4176,7 +4176,7 @@ declare namespace gapi.client {
4176
4176
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4177
4177
  uploadType?: string;
4178
4178
  },
4179
- body: ChromeOsMoveDevicesToOu
4179
+ body: ChromeOsMoveDevicesToOu,
4180
4180
  ): Request<void>;
4181
4181
  /** Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. This method supports [patch semantics](/admin-sdk/directory/v1/guides/performance#patch). */
4182
4182
  patch(request: {
@@ -4242,7 +4242,7 @@ declare namespace gapi.client {
4242
4242
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4243
4243
  uploadType?: string;
4244
4244
  },
4245
- body: ChromeOsDevice
4245
+ body: ChromeOsDevice,
4246
4246
  ): Request<ChromeOsDevice>;
4247
4247
  /** Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. */
4248
4248
  update(request: {
@@ -4308,7 +4308,7 @@ declare namespace gapi.client {
4308
4308
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4309
4309
  uploadType?: string;
4310
4310
  },
4311
- body: ChromeOsDevice
4311
+ body: ChromeOsDevice,
4312
4312
  ): Request<ChromeOsDevice>;
4313
4313
  }
4314
4314
  interface CustomersResource {
@@ -4395,7 +4395,7 @@ declare namespace gapi.client {
4395
4395
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4396
4396
  uploadType?: string;
4397
4397
  },
4398
- body: Customer
4398
+ body: Customer,
4399
4399
  ): Request<Customer>;
4400
4400
  /** Updates a customer. */
4401
4401
  update(request: {
@@ -4453,7 +4453,7 @@ declare namespace gapi.client {
4453
4453
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4454
4454
  uploadType?: string;
4455
4455
  },
4456
- body: Customer
4456
+ body: Customer,
4457
4457
  ): Request<Customer>;
4458
4458
  }
4459
4459
  interface DomainAliasesResource {
@@ -4571,7 +4571,7 @@ declare namespace gapi.client {
4571
4571
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4572
4572
  uploadType?: string;
4573
4573
  },
4574
- body: DomainAlias
4574
+ body: DomainAlias,
4575
4575
  ): Request<DomainAlias>;
4576
4576
  /** Lists the domain aliases of the customer. */
4577
4577
  list(request?: {
@@ -4718,7 +4718,7 @@ declare namespace gapi.client {
4718
4718
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4719
4719
  uploadType?: string;
4720
4720
  },
4721
- body: Domains
4721
+ body: Domains,
4722
4722
  ): Request<Domains>;
4723
4723
  /** Lists the domains of the customer. */
4724
4724
  list(request?: {
@@ -4834,7 +4834,7 @@ declare namespace gapi.client {
4834
4834
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4835
4835
  uploadType?: string;
4836
4836
  },
4837
- body: Alias
4837
+ body: Alias,
4838
4838
  ): Request<Alias>;
4839
4839
  /** Lists all aliases for a group. */
4840
4840
  list(request?: {
@@ -4971,7 +4971,7 @@ declare namespace gapi.client {
4971
4971
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4972
4972
  uploadType?: string;
4973
4973
  },
4974
- body: Group
4974
+ body: Group,
4975
4975
  ): Request<Group>;
4976
4976
  /** Retrieves all groups of a domain or of a user given a userKey (paginated). */
4977
4977
  list(request?: {
@@ -5070,7 +5070,7 @@ declare namespace gapi.client {
5070
5070
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5071
5071
  uploadType?: string;
5072
5072
  },
5073
- body: Group
5073
+ body: Group,
5074
5074
  ): Request<Group>;
5075
5075
  /** Updates a group's properties. */
5076
5076
  update(request: {
@@ -5128,7 +5128,7 @@ declare namespace gapi.client {
5128
5128
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5129
5129
  uploadType?: string;
5130
5130
  },
5131
- body: Group
5131
+ body: Group,
5132
5132
  ): Request<Group>;
5133
5133
  aliases: AliasesResource;
5134
5134
  }
@@ -5276,7 +5276,7 @@ declare namespace gapi.client {
5276
5276
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5277
5277
  uploadType?: string;
5278
5278
  },
5279
- body: Member
5279
+ body: Member,
5280
5280
  ): Request<Member>;
5281
5281
  /** Retrieves a paginated list of all members in a group. This method times out after 60 minutes. For more information, see [Troubleshoot error codes](https://developers.google.com/admin-sdk/directory/v1/guides/troubleshoot-error-codes). */
5282
5282
  list(request?: {
@@ -5373,7 +5373,7 @@ declare namespace gapi.client {
5373
5373
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5374
5374
  uploadType?: string;
5375
5375
  },
5376
- body: Member
5376
+ body: Member,
5377
5377
  ): Request<Member>;
5378
5378
  /** Updates the membership of a user in the specified group. */
5379
5379
  update(request: {
@@ -5435,7 +5435,7 @@ declare namespace gapi.client {
5435
5435
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5436
5436
  uploadType?: string;
5437
5437
  },
5438
- body: Member
5438
+ body: Member,
5439
5439
  ): Request<Member>;
5440
5440
  }
5441
5441
  interface MobiledevicesResource {
@@ -5499,7 +5499,7 @@ declare namespace gapi.client {
5499
5499
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5500
5500
  uploadType?: string;
5501
5501
  },
5502
- body: MobileDeviceAction
5502
+ body: MobileDeviceAction,
5503
5503
  ): Request<void>;
5504
5504
  /** Removes a mobile device. */
5505
5505
  delete(request?: {
@@ -5716,7 +5716,7 @@ declare namespace gapi.client {
5716
5716
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5717
5717
  uploadType?: string;
5718
5718
  },
5719
- body: OrgUnit
5719
+ body: OrgUnit,
5720
5720
  ): Request<OrgUnit>;
5721
5721
  /** Retrieves a list of all organizational units for an account. */
5722
5722
  list(request?: {
@@ -5809,7 +5809,7 @@ declare namespace gapi.client {
5809
5809
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5810
5810
  uploadType?: string;
5811
5811
  },
5812
- body: OrgUnit
5812
+ body: OrgUnit,
5813
5813
  ): Request<OrgUnit>;
5814
5814
  /** Updates an organizational unit. */
5815
5815
  update(request: {
@@ -5871,7 +5871,7 @@ declare namespace gapi.client {
5871
5871
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5872
5872
  uploadType?: string;
5873
5873
  },
5874
- body: OrgUnit
5874
+ body: OrgUnit,
5875
5875
  ): Request<OrgUnit>;
5876
5876
  }
5877
5877
  interface PrivilegesResource {
@@ -6022,7 +6022,7 @@ declare namespace gapi.client {
6022
6022
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6023
6023
  uploadType?: string;
6024
6024
  },
6025
- body: Building
6025
+ body: Building,
6026
6026
  ): Request<Building>;
6027
6027
  /** Retrieves a list of buildings for an account. */
6028
6028
  list(request?: {
@@ -6119,7 +6119,7 @@ declare namespace gapi.client {
6119
6119
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6120
6120
  uploadType?: string;
6121
6121
  },
6122
- body: Building
6122
+ body: Building,
6123
6123
  ): Request<Building>;
6124
6124
  /** Updates a building. */
6125
6125
  update(request: {
@@ -6185,7 +6185,7 @@ declare namespace gapi.client {
6185
6185
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6186
6186
  uploadType?: string;
6187
6187
  },
6188
- body: Building
6188
+ body: Building,
6189
6189
  ): Request<Building>;
6190
6190
  }
6191
6191
  interface CalendarsResource {
@@ -6303,7 +6303,7 @@ declare namespace gapi.client {
6303
6303
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6304
6304
  uploadType?: string;
6305
6305
  },
6306
- body: CalendarResource
6306
+ body: CalendarResource,
6307
6307
  ): Request<CalendarResource>;
6308
6308
  /** Retrieves a list of calendar resources for an account. */
6309
6309
  list(request?: {
@@ -6400,7 +6400,7 @@ declare namespace gapi.client {
6400
6400
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6401
6401
  uploadType?: string;
6402
6402
  },
6403
- body: CalendarResource
6403
+ body: CalendarResource,
6404
6404
  ): Request<CalendarResource>;
6405
6405
  /** Updates a calendar resource. This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved. */
6406
6406
  update(request: {
@@ -6462,7 +6462,7 @@ declare namespace gapi.client {
6462
6462
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6463
6463
  uploadType?: string;
6464
6464
  },
6465
- body: CalendarResource
6465
+ body: CalendarResource,
6466
6466
  ): Request<CalendarResource>;
6467
6467
  }
6468
6468
  interface FeaturesResource {
@@ -6580,7 +6580,7 @@ declare namespace gapi.client {
6580
6580
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6581
6581
  uploadType?: string;
6582
6582
  },
6583
- body: Feature
6583
+ body: Feature,
6584
6584
  ): Request<Feature>;
6585
6585
  /** Retrieves a list of features for an account. */
6586
6586
  list(request?: {
@@ -6673,7 +6673,7 @@ declare namespace gapi.client {
6673
6673
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6674
6674
  uploadType?: string;
6675
6675
  },
6676
- body: Feature
6676
+ body: Feature,
6677
6677
  ): Request<Feature>;
6678
6678
  /** Renames a feature. */
6679
6679
  rename(request: {
@@ -6735,7 +6735,7 @@ declare namespace gapi.client {
6735
6735
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6736
6736
  uploadType?: string;
6737
6737
  },
6738
- body: FeatureRename
6738
+ body: FeatureRename,
6739
6739
  ): Request<void>;
6740
6740
  /** Updates a feature. */
6741
6741
  update(request: {
@@ -6797,7 +6797,7 @@ declare namespace gapi.client {
6797
6797
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6798
6798
  uploadType?: string;
6799
6799
  },
6800
- body: Feature
6800
+ body: Feature,
6801
6801
  ): Request<Feature>;
6802
6802
  }
6803
6803
  interface ResourcesResource {
@@ -6920,7 +6920,7 @@ declare namespace gapi.client {
6920
6920
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6921
6921
  uploadType?: string;
6922
6922
  },
6923
- body: RoleAssignment
6923
+ body: RoleAssignment,
6924
6924
  ): Request<RoleAssignment>;
6925
6925
  /** Retrieves a paginated list of all roleAssignments. */
6926
6926
  list(request?: {
@@ -7075,7 +7075,7 @@ declare namespace gapi.client {
7075
7075
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7076
7076
  uploadType?: string;
7077
7077
  },
7078
- body: Role
7078
+ body: Role,
7079
7079
  ): Request<Role>;
7080
7080
  /** Retrieves a paginated list of all the roles in a domain. */
7081
7081
  list(request?: {
@@ -7168,7 +7168,7 @@ declare namespace gapi.client {
7168
7168
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7169
7169
  uploadType?: string;
7170
7170
  },
7171
- body: Role
7171
+ body: Role,
7172
7172
  ): Request<Role>;
7173
7173
  /** Updates a role. */
7174
7174
  update(request: {
@@ -7230,7 +7230,7 @@ declare namespace gapi.client {
7230
7230
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7231
7231
  uploadType?: string;
7232
7232
  },
7233
- body: Role
7233
+ body: Role,
7234
7234
  ): Request<Role>;
7235
7235
  }
7236
7236
  interface SchemasResource {
@@ -7348,7 +7348,7 @@ declare namespace gapi.client {
7348
7348
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7349
7349
  uploadType?: string;
7350
7350
  },
7351
- body: Schema
7351
+ body: Schema,
7352
7352
  ): Request<Schema>;
7353
7353
  /** Retrieves all schemas for a customer. */
7354
7354
  list(request?: {
@@ -7437,7 +7437,7 @@ declare namespace gapi.client {
7437
7437
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7438
7438
  uploadType?: string;
7439
7439
  },
7440
- body: Schema
7440
+ body: Schema,
7441
7441
  ): Request<Schema>;
7442
7442
  /** Updates a schema. */
7443
7443
  update(request: {
@@ -7499,7 +7499,7 @@ declare namespace gapi.client {
7499
7499
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7500
7500
  uploadType?: string;
7501
7501
  },
7502
- body: Schema
7502
+ body: Schema,
7503
7503
  ): Request<Schema>;
7504
7504
  }
7505
7505
  interface TokensResource {
@@ -7704,7 +7704,7 @@ declare namespace gapi.client {
7704
7704
  /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */
7705
7705
  userKey: string;
7706
7706
  },
7707
- body: Alias
7707
+ body: Alias,
7708
7708
  ): Request<Alias>;
7709
7709
  /** Lists all aliases for a user. */
7710
7710
  list(request?: {
@@ -7795,7 +7795,7 @@ declare namespace gapi.client {
7795
7795
  /** Email or immutable ID of the user */
7796
7796
  userKey: string;
7797
7797
  },
7798
- body: Channel
7798
+ body: Channel,
7799
7799
  ): Request<Channel>;
7800
7800
  }
7801
7801
  interface PhotosResource {
@@ -7909,7 +7909,7 @@ declare namespace gapi.client {
7909
7909
  /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */
7910
7910
  userKey: string;
7911
7911
  },
7912
- body: UserPhoto
7912
+ body: UserPhoto,
7913
7913
  ): Request<UserPhoto>;
7914
7914
  /** Adds a photo for the user. */
7915
7915
  update(request: {
@@ -7967,7 +7967,7 @@ declare namespace gapi.client {
7967
7967
  /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */
7968
7968
  userKey: string;
7969
7969
  },
7970
- body: UserPhoto
7970
+ body: UserPhoto,
7971
7971
  ): Request<UserPhoto>;
7972
7972
  }
7973
7973
  interface UsersResource {
@@ -8087,7 +8087,7 @@ declare namespace gapi.client {
8087
8087
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8088
8088
  uploadType?: string;
8089
8089
  },
8090
- body: User
8090
+ body: User,
8091
8091
  ): Request<User>;
8092
8092
  /** Retrieves a paginated list of either deleted users or all users in a domain. */
8093
8093
  list(request?: {
@@ -8194,7 +8194,7 @@ declare namespace gapi.client {
8194
8194
  /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */
8195
8195
  userKey: string;
8196
8196
  },
8197
- body: UserMakeAdmin
8197
+ body: UserMakeAdmin,
8198
8198
  ): Request<void>;
8199
8199
  /** Updates a user using patch semantics. The update method should be used instead, because it also supports patch semantics and has better performance. If you're mapping an external identity to a Google identity, use the [`update`](https://developers.google.com/admin-sdk/directory/v1/reference/users/update) method instead of the `patch` method. This method is unable to clear fields that contain repeated objects (`addresses`, `phones`, etc). Use the update method instead. */
8200
8200
  patch(request: {
@@ -8252,7 +8252,7 @@ declare namespace gapi.client {
8252
8252
  /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */
8253
8253
  userKey: string;
8254
8254
  },
8255
- body: User
8255
+ body: User,
8256
8256
  ): Request<User>;
8257
8257
  /** Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticating again. */
8258
8258
  signOut(request?: {
@@ -8337,7 +8337,7 @@ declare namespace gapi.client {
8337
8337
  /** The immutable id of the user */
8338
8338
  userKey: string;
8339
8339
  },
8340
- body: UserUndelete
8340
+ body: UserUndelete,
8341
8341
  ): Request<void>;
8342
8342
  /** Updates a user. This method supports patch semantics, meaning that you only need to include the fields you wish to update. Fields that are not present in the request will be preserved, and fields set to `null` will be cleared. For repeating fields that contain arrays, individual items in the array can't be patched piecemeal; they must be supplied in the request body with the desired values for all items. See the [user accounts guide](https://developers.google.com/admin-sdk/directory/v1/guides/manage-users#update_user) for more information. */
8343
8343
  update(request: {
@@ -8395,7 +8395,7 @@ declare namespace gapi.client {
8395
8395
  /** Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. */
8396
8396
  userKey: string;
8397
8397
  },
8398
- body: User
8398
+ body: User,
8399
8399
  ): Request<User>;
8400
8400
  /** Watches for changes in users list. */
8401
8401
  watch(request: {
@@ -8497,7 +8497,7 @@ declare namespace gapi.client {
8497
8497
  /** Whether to fetch the administrator-only or domain-wide public view of the user. For more information, see [Retrieve a user as a non-administrator](/admin-sdk/directory/v1/guides/manage-users#retrieve_users_non_admin). */
8498
8498
  viewType?: string;
8499
8499
  },
8500
- body: Channel
8500
+ body: Channel,
8501
8501
  ): Request<Channel>;
8502
8502
  aliases: AliasesResource;
8503
8503
  photos: PhotosResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.admin-directory_v1",
3
- "version": "0.0.20250113",
3
+ "version": "0.0.20250128",
4
4
  "description": "TypeScript typings for Admin SDK API directory_v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -31,7 +31,7 @@ gapi.client.load(
31
31
  // now we can use:
32
32
  // gapi.client.admin
33
33
  // gapi.client.directory
34
- }
34
+ },
35
35
  );
36
36
  ```
37
37
 
@@ -148,7 +148,7 @@ gapi.auth.authorize(
148
148
  } else {
149
149
  /* handle authorization error */
150
150
  }
151
- }
151
+ },
152
152
  );
153
153
  ```
154
154