@maxim_mazurok/gapi.client.vault-v1 0.0.20250115 → 0.0.20250130

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 +27 -18
  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://vault.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250115
12
+ // Revision: 20250130
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Google Vault API v1 */
18
18
  function load(
19
- urlOrObject: 'https://vault.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://vault.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'vault', version: 'v1'): Promise<void>;
@@ -182,6 +182,8 @@ declare namespace gapi.client {
182
182
  calendarOptions?: CalendarExportOptions;
183
183
  /** Options for Drive exports. */
184
184
  driveOptions?: DriveExportOptions;
185
+ /** Option available for Gemini export. */
186
+ geminiOptions?: GeminiExportOptions;
185
187
  /** Options for Groups exports. */
186
188
  groupsOptions?: GroupsExportOptions;
187
189
  /** Options for Chat exports. */
@@ -201,6 +203,11 @@ declare namespace gapi.client {
201
203
  /** The number of messages or files to be exported. */
202
204
  totalArtifactCount?: string;
203
205
  }
206
+ interface GeminiExportOptions {
207
+ /** The file format for exported messages. */
208
+ exportFormat?: string;
209
+ }
210
+ interface GeminiOptions {}
204
211
  interface GroupsCountResult {
205
212
  /** Error occurred when querying these accounts. */
206
213
  accountCountErrors?: AccountCountError[];
@@ -405,6 +412,8 @@ declare namespace gapi.client {
405
412
  driveOptions?: DriveOptions;
406
413
  /** The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date. */
407
414
  endTime?: string;
415
+ /** Set Gemini search-specific options. */
416
+ geminiOptions?: any;
408
417
  /** Required when **SearchMethod** is **ROOM**. (read-only) */
409
418
  hangoutsChatInfo?: HangoutsChatInfo;
410
419
  /** Set Chat search-specific options. (read-only) */
@@ -553,7 +562,7 @@ declare namespace gapi.client {
553
562
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
554
563
  uploadType?: string;
555
564
  },
556
- body: Export
565
+ body: Export,
557
566
  ): Request<Export>;
558
567
  /** Deletes an export. */
559
568
  delete(request?: {
@@ -706,7 +715,7 @@ declare namespace gapi.client {
706
715
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
707
716
  uploadType?: string;
708
717
  },
709
- body: HeldAccount
718
+ body: HeldAccount,
710
719
  ): Request<HeldAccount>;
711
720
  /** Removes an account from a hold. */
712
721
  delete(request?: {
@@ -830,7 +839,7 @@ declare namespace gapi.client {
830
839
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
831
840
  uploadType?: string;
832
841
  },
833
- body: AddHeldAccountsRequest
842
+ body: AddHeldAccountsRequest,
834
843
  ): Request<AddHeldAccountsResponse>;
835
844
  /** Creates a hold in the specified matter. */
836
845
  create(request: {
@@ -888,7 +897,7 @@ declare namespace gapi.client {
888
897
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
889
898
  uploadType?: string;
890
899
  },
891
- body: Hold
900
+ body: Hold,
892
901
  ): Request<Hold>;
893
902
  /** Removes the specified hold and releases the accounts or organizational unit covered by the hold. If the data is not preserved by another hold or retention rule, it might be purged. */
894
903
  delete(request?: {
@@ -1043,7 +1052,7 @@ declare namespace gapi.client {
1043
1052
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
1053
  uploadType?: string;
1045
1054
  },
1046
- body: RemoveHeldAccountsRequest
1055
+ body: RemoveHeldAccountsRequest,
1047
1056
  ): Request<RemoveHeldAccountsResponse>;
1048
1057
  /** Updates the scope (organizational unit or accounts) and query parameters of a hold. You cannot add accounts to a hold that covers an organizational unit, nor can you add organizational units to a hold that covers individual accounts. If you try, the unsupported values are ignored. */
1049
1058
  update(request: {
@@ -1105,7 +1114,7 @@ declare namespace gapi.client {
1105
1114
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1106
1115
  uploadType?: string;
1107
1116
  },
1108
- body: Hold
1117
+ body: Hold,
1109
1118
  ): Request<Hold>;
1110
1119
  accounts: AccountsResource;
1111
1120
  }
@@ -1166,7 +1175,7 @@ declare namespace gapi.client {
1166
1175
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1167
1176
  uploadType?: string;
1168
1177
  },
1169
- body: SavedQuery
1178
+ body: SavedQuery,
1170
1179
  ): Request<SavedQuery>;
1171
1180
  /** Deletes the specified saved query. */
1172
1181
  delete(request?: {
@@ -1315,7 +1324,7 @@ declare namespace gapi.client {
1315
1324
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1316
1325
  uploadType?: string;
1317
1326
  },
1318
- body: AddMatterPermissionsRequest
1327
+ body: AddMatterPermissionsRequest,
1319
1328
  ): Request<MatterPermission>;
1320
1329
  /** Closes the specified matter. Returns the matter with updated state. */
1321
1330
  close(request: {
@@ -1373,7 +1382,7 @@ declare namespace gapi.client {
1373
1382
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1374
1383
  uploadType?: string;
1375
1384
  },
1376
- body: CloseMatterRequest
1385
+ body: CloseMatterRequest,
1377
1386
  ): Request<CloseMatterResponse>;
1378
1387
  /** Counts the accounts processed by the specified query. */
1379
1388
  count(request: {
@@ -1431,7 +1440,7 @@ declare namespace gapi.client {
1431
1440
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1432
1441
  uploadType?: string;
1433
1442
  },
1434
- body: CountArtifactsRequest
1443
+ body: CountArtifactsRequest,
1435
1444
  ): Request<Operation>;
1436
1445
  /** Creates a matter with the given name and description. The initial state is open, and the owner is the method caller. Returns the created matter with default view. */
1437
1446
  create(request: {
@@ -1485,7 +1494,7 @@ declare namespace gapi.client {
1485
1494
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1486
1495
  uploadType?: string;
1487
1496
  },
1488
- body: Matter
1497
+ body: Matter,
1489
1498
  ): Request<Matter>;
1490
1499
  /** Deletes the specified matter. Returns the matter with updated state. */
1491
1500
  delete(request?: {
@@ -1632,7 +1641,7 @@ declare namespace gapi.client {
1632
1641
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1633
1642
  uploadType?: string;
1634
1643
  },
1635
- body: RemoveMatterPermissionsRequest
1644
+ body: RemoveMatterPermissionsRequest,
1636
1645
  ): Request<{}>;
1637
1646
  /** Reopens the specified matter. Returns the matter with updated state. */
1638
1647
  reopen(request: {
@@ -1690,7 +1699,7 @@ declare namespace gapi.client {
1690
1699
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1691
1700
  uploadType?: string;
1692
1701
  },
1693
- body: ReopenMatterRequest
1702
+ body: ReopenMatterRequest,
1694
1703
  ): Request<ReopenMatterResponse>;
1695
1704
  /** Undeletes the specified matter. Returns the matter with updated state. */
1696
1705
  undelete(request: {
@@ -1748,7 +1757,7 @@ declare namespace gapi.client {
1748
1757
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1749
1758
  uploadType?: string;
1750
1759
  },
1751
- body: UndeleteMatterRequest
1760
+ body: UndeleteMatterRequest,
1752
1761
  ): Request<Matter>;
1753
1762
  /** Updates the specified matter. This updates only the name and description of the matter, identified by matter ID. Changes to any other fields are ignored. Returns the default view of the matter. */
1754
1763
  update(request: {
@@ -1806,7 +1815,7 @@ declare namespace gapi.client {
1806
1815
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1807
1816
  uploadType?: string;
1808
1817
  },
1809
- body: Matter
1818
+ body: Matter,
1810
1819
  ): Request<Matter>;
1811
1820
  exports: ExportsResource;
1812
1821
  holds: HoldsResource;
@@ -1869,7 +1878,7 @@ declare namespace gapi.client {
1869
1878
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1870
1879
  uploadType?: string;
1871
1880
  },
1872
- body: CancelOperationRequest
1881
+ body: CancelOperationRequest,
1873
1882
  ): Request<{}>;
1874
1883
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
1875
1884
  delete(request?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.vault-v1",
3
- "version": "0.0.20250115",
3
+ "version": "0.0.20250130",
4
4
  "description": "TypeScript typings for Google Vault API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.vault
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -65,7 +65,7 @@ gapi.auth.authorize(
65
65
  } else {
66
66
  /* handle authorization error */
67
67
  }
68
- }
68
+ },
69
69
  );
70
70
  ```
71
71