@maxim_mazurok/gapi.client.verifiedaccess-v1 0.1.20260310 → 0.2.20260603
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 +9 -9
- package/package.json +1 -1
- package/readme.md +17 -0
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://verifiedaccess.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260603
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -63,11 +63,11 @@ declare namespace gapi.client {
|
|
|
63
63
|
/** CreateChallenge API */
|
|
64
64
|
create(request: {
|
|
65
65
|
/** V1 error format. */
|
|
66
|
-
'$.xgafv'?:
|
|
66
|
+
'$.xgafv'?: '1' | '2';
|
|
67
67
|
/** OAuth access token. */
|
|
68
68
|
access_token?: string;
|
|
69
69
|
/** Data format for response. */
|
|
70
|
-
alt?:
|
|
70
|
+
alt?: 'json' | 'media' | 'proto';
|
|
71
71
|
/** JSONP */
|
|
72
72
|
callback?: string;
|
|
73
73
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -90,11 +90,11 @@ declare namespace gapi.client {
|
|
|
90
90
|
create(
|
|
91
91
|
request: {
|
|
92
92
|
/** V1 error format. */
|
|
93
|
-
'$.xgafv'?:
|
|
93
|
+
'$.xgafv'?: '1' | '2';
|
|
94
94
|
/** OAuth access token. */
|
|
95
95
|
access_token?: string;
|
|
96
96
|
/** Data format for response. */
|
|
97
|
-
alt?:
|
|
97
|
+
alt?: 'json' | 'media' | 'proto';
|
|
98
98
|
/** JSONP */
|
|
99
99
|
callback?: string;
|
|
100
100
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -117,11 +117,11 @@ declare namespace gapi.client {
|
|
|
117
117
|
/** VerifyChallengeResponse API */
|
|
118
118
|
verify(request: {
|
|
119
119
|
/** V1 error format. */
|
|
120
|
-
'$.xgafv'?:
|
|
120
|
+
'$.xgafv'?: '1' | '2';
|
|
121
121
|
/** OAuth access token. */
|
|
122
122
|
access_token?: string;
|
|
123
123
|
/** Data format for response. */
|
|
124
|
-
alt?:
|
|
124
|
+
alt?: 'json' | 'media' | 'proto';
|
|
125
125
|
/** JSONP */
|
|
126
126
|
callback?: string;
|
|
127
127
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -144,11 +144,11 @@ declare namespace gapi.client {
|
|
|
144
144
|
verify(
|
|
145
145
|
request: {
|
|
146
146
|
/** V1 error format. */
|
|
147
|
-
'$.xgafv'?:
|
|
147
|
+
'$.xgafv'?: '1' | '2';
|
|
148
148
|
/** OAuth access token. */
|
|
149
149
|
access_token?: string;
|
|
150
150
|
/** Data format for response. */
|
|
151
|
-
alt?:
|
|
151
|
+
alt?: 'json' | 'media' | 'proto';
|
|
152
152
|
/** JSONP */
|
|
153
153
|
callback?: string;
|
|
154
154
|
/** Selector specifying which fields to include in a partial response. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -11,6 +11,23 @@ Install typings for Chrome Verified Access API:
|
|
|
11
11
|
npm install @types/gapi.client.verifiedaccess-v1 --save-dev
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
## TypeScript 6.0+
|
|
15
|
+
|
|
16
|
+
TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"compilerOptions": {
|
|
21
|
+
"types": [
|
|
22
|
+
"gapi",
|
|
23
|
+
"gapi.auth2",
|
|
24
|
+
"gapi.client",
|
|
25
|
+
"gapi.client.verifiedaccess-v1"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
14
31
|
## Usage
|
|
15
32
|
|
|
16
33
|
You need to initialize Google API client in your code:
|