@maxim_mazurok/gapi.client.vault-v1 0.0.20241209 → 0.0.20250124

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 +18 -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: 20241209
12
+ // Revision: 20250124
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>;
@@ -553,7 +553,7 @@ declare namespace gapi.client {
553
553
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
554
554
  uploadType?: string;
555
555
  },
556
- body: Export
556
+ body: Export,
557
557
  ): Request<Export>;
558
558
  /** Deletes an export. */
559
559
  delete(request?: {
@@ -706,7 +706,7 @@ declare namespace gapi.client {
706
706
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
707
707
  uploadType?: string;
708
708
  },
709
- body: HeldAccount
709
+ body: HeldAccount,
710
710
  ): Request<HeldAccount>;
711
711
  /** Removes an account from a hold. */
712
712
  delete(request?: {
@@ -830,7 +830,7 @@ declare namespace gapi.client {
830
830
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
831
831
  uploadType?: string;
832
832
  },
833
- body: AddHeldAccountsRequest
833
+ body: AddHeldAccountsRequest,
834
834
  ): Request<AddHeldAccountsResponse>;
835
835
  /** Creates a hold in the specified matter. */
836
836
  create(request: {
@@ -888,7 +888,7 @@ declare namespace gapi.client {
888
888
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
889
889
  uploadType?: string;
890
890
  },
891
- body: Hold
891
+ body: Hold,
892
892
  ): Request<Hold>;
893
893
  /** 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
894
  delete(request?: {
@@ -1043,7 +1043,7 @@ declare namespace gapi.client {
1043
1043
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
1044
  uploadType?: string;
1045
1045
  },
1046
- body: RemoveHeldAccountsRequest
1046
+ body: RemoveHeldAccountsRequest,
1047
1047
  ): Request<RemoveHeldAccountsResponse>;
1048
1048
  /** 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
1049
  update(request: {
@@ -1105,7 +1105,7 @@ declare namespace gapi.client {
1105
1105
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1106
1106
  uploadType?: string;
1107
1107
  },
1108
- body: Hold
1108
+ body: Hold,
1109
1109
  ): Request<Hold>;
1110
1110
  accounts: AccountsResource;
1111
1111
  }
@@ -1166,7 +1166,7 @@ declare namespace gapi.client {
1166
1166
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1167
1167
  uploadType?: string;
1168
1168
  },
1169
- body: SavedQuery
1169
+ body: SavedQuery,
1170
1170
  ): Request<SavedQuery>;
1171
1171
  /** Deletes the specified saved query. */
1172
1172
  delete(request?: {
@@ -1315,7 +1315,7 @@ declare namespace gapi.client {
1315
1315
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1316
1316
  uploadType?: string;
1317
1317
  },
1318
- body: AddMatterPermissionsRequest
1318
+ body: AddMatterPermissionsRequest,
1319
1319
  ): Request<MatterPermission>;
1320
1320
  /** Closes the specified matter. Returns the matter with updated state. */
1321
1321
  close(request: {
@@ -1373,7 +1373,7 @@ declare namespace gapi.client {
1373
1373
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1374
1374
  uploadType?: string;
1375
1375
  },
1376
- body: CloseMatterRequest
1376
+ body: CloseMatterRequest,
1377
1377
  ): Request<CloseMatterResponse>;
1378
1378
  /** Counts the accounts processed by the specified query. */
1379
1379
  count(request: {
@@ -1431,7 +1431,7 @@ declare namespace gapi.client {
1431
1431
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1432
1432
  uploadType?: string;
1433
1433
  },
1434
- body: CountArtifactsRequest
1434
+ body: CountArtifactsRequest,
1435
1435
  ): Request<Operation>;
1436
1436
  /** 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
1437
  create(request: {
@@ -1485,7 +1485,7 @@ declare namespace gapi.client {
1485
1485
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1486
1486
  uploadType?: string;
1487
1487
  },
1488
- body: Matter
1488
+ body: Matter,
1489
1489
  ): Request<Matter>;
1490
1490
  /** Deletes the specified matter. Returns the matter with updated state. */
1491
1491
  delete(request?: {
@@ -1632,7 +1632,7 @@ declare namespace gapi.client {
1632
1632
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1633
1633
  uploadType?: string;
1634
1634
  },
1635
- body: RemoveMatterPermissionsRequest
1635
+ body: RemoveMatterPermissionsRequest,
1636
1636
  ): Request<{}>;
1637
1637
  /** Reopens the specified matter. Returns the matter with updated state. */
1638
1638
  reopen(request: {
@@ -1690,7 +1690,7 @@ declare namespace gapi.client {
1690
1690
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1691
1691
  uploadType?: string;
1692
1692
  },
1693
- body: ReopenMatterRequest
1693
+ body: ReopenMatterRequest,
1694
1694
  ): Request<ReopenMatterResponse>;
1695
1695
  /** Undeletes the specified matter. Returns the matter with updated state. */
1696
1696
  undelete(request: {
@@ -1748,7 +1748,7 @@ declare namespace gapi.client {
1748
1748
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1749
1749
  uploadType?: string;
1750
1750
  },
1751
- body: UndeleteMatterRequest
1751
+ body: UndeleteMatterRequest,
1752
1752
  ): Request<Matter>;
1753
1753
  /** 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
1754
  update(request: {
@@ -1806,7 +1806,7 @@ declare namespace gapi.client {
1806
1806
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1807
1807
  uploadType?: string;
1808
1808
  },
1809
- body: Matter
1809
+ body: Matter,
1810
1810
  ): Request<Matter>;
1811
1811
  exports: ExportsResource;
1812
1812
  holds: HoldsResource;
@@ -1869,7 +1869,7 @@ declare namespace gapi.client {
1869
1869
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1870
1870
  uploadType?: string;
1871
1871
  },
1872
- body: CancelOperationRequest
1872
+ body: CancelOperationRequest,
1873
1873
  ): Request<{}>;
1874
1874
  /** 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
1875
  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.20241209",
3
+ "version": "0.0.20250124",
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