@googleapis/verifiedaccess 0.3.3 → 1.0.0
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/CHANGELOG.md +18 -0
- package/build/index.js +5 -4
- package/build/index.js.map +1 -1
- package/build/v1.js +5 -4
- package/build/v1.js.map +1 -1
- package/build/v2.d.ts +12 -2
- package/build/v2.js +5 -4
- package/build/v2.js.map +1 -1
- package/package.json +5 -5
- package/v2.ts +12 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v0.3.4...verifiedaccess-v1.0.0) (2022-10-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **build:** This release has breaking changes.
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **build:** run the generator (submodules now require Node 12) ([#3073](https://github.com/googleapis/google-api-nodejs-client/issues/3073)) ([eda0707](https://github.com/googleapis/google-api-nodejs-client/commit/eda07079dadab46a80b6f9ede618f4f43030169e))
|
|
13
|
+
|
|
14
|
+
## [0.3.4](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v0.3.3...verifiedaccess-v0.3.4) (2022-09-21)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **verifiedaccess:** update the API ([97ba50f](https://github.com/googleapis/google-api-nodejs-client/commit/97ba50f23fcc265c9e7b0f48729f777ced2af198))
|
|
20
|
+
|
|
3
21
|
## [0.3.3](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v0.3.2...verifiedaccess-v0.3.3) (2022-07-04)
|
|
4
22
|
|
|
5
23
|
|
package/build/index.js
CHANGED
|
@@ -12,22 +12,23 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AuthPlus = exports.verifiedaccess_v2 = exports.verifiedaccess_v1 = exports.auth = exports.verifiedaccess = exports.VERSIONS = void 0;
|
|
15
16
|
/*! THIS FILE IS AUTO-GENERATED */
|
|
16
17
|
const googleapis_common_1 = require("googleapis-common");
|
|
17
18
|
const v1_1 = require("./v1");
|
|
18
|
-
exports
|
|
19
|
+
Object.defineProperty(exports, "verifiedaccess_v1", { enumerable: true, get: function () { return v1_1.verifiedaccess_v1; } });
|
|
19
20
|
const v2_1 = require("./v2");
|
|
20
|
-
exports
|
|
21
|
+
Object.defineProperty(exports, "verifiedaccess_v2", { enumerable: true, get: function () { return v2_1.verifiedaccess_v2; } });
|
|
21
22
|
exports.VERSIONS = {
|
|
22
23
|
v1: v1_1.verifiedaccess_v1.Verifiedaccess,
|
|
23
24
|
v2: v2_1.verifiedaccess_v2.Verifiedaccess,
|
|
24
25
|
};
|
|
25
26
|
function verifiedaccess(versionOrOptions) {
|
|
26
|
-
return googleapis_common_1.getAPI('verifiedaccess', versionOrOptions, exports.VERSIONS, this);
|
|
27
|
+
return (0, googleapis_common_1.getAPI)('verifiedaccess', versionOrOptions, exports.VERSIONS, this);
|
|
27
28
|
}
|
|
28
29
|
exports.verifiedaccess = verifiedaccess;
|
|
29
30
|
const auth = new googleapis_common_1.AuthPlus();
|
|
30
31
|
exports.auth = auth;
|
|
31
32
|
var googleapis_common_2 = require("googleapis-common");
|
|
32
|
-
exports
|
|
33
|
+
Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
|
|
33
34
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAAuC;AA+B/B,kGA/BA,sBAAiB,OA+BA;AA9BzB,6BAAuC;AA+B/B,kGA/BA,sBAAiB,OA+BA;AA7BZ,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,sBAAiB,CAAC,cAAc;IACpC,EAAE,EAAE,sBAAiB,CAAC,cAAc;CACrC,CAAC;AAUF,SAAgB,cAAc,CAI5B,gBAI6B;IAE7B,OAAO,IAAA,0BAAM,EAAI,gBAAgB,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AACvE,CAAC;AAXD,wCAWC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAGZ,uDAS2B;AARzB,6GAAA,QAAQ,OAAA"}
|
package/build/v1.js
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.verifiedaccess_v1 = void 0;
|
|
15
16
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
16
17
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
17
18
|
/* eslint-disable @typescript-eslint/no-empty-interface */
|
|
@@ -69,10 +70,10 @@ var verifiedaccess_v1;
|
|
|
69
70
|
context: this.context,
|
|
70
71
|
};
|
|
71
72
|
if (callback) {
|
|
72
|
-
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
73
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
73
74
|
}
|
|
74
75
|
else {
|
|
75
|
-
return googleapis_common_1.createAPIRequest(parameters);
|
|
76
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
76
77
|
}
|
|
77
78
|
}
|
|
78
79
|
verify(paramsOrCallback, optionsOrCallback, callback) {
|
|
@@ -99,10 +100,10 @@ var verifiedaccess_v1;
|
|
|
99
100
|
context: this.context,
|
|
100
101
|
};
|
|
101
102
|
if (callback) {
|
|
102
|
-
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
103
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
103
104
|
}
|
|
104
105
|
else {
|
|
105
|
-
return googleapis_common_1.createAPIRequest(parameters);
|
|
106
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
}
|
package/build/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC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KACF;IA1RY,oCAAkB,qBA0R9B,CAAA;AAcH,CAAC,EAlcgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAkcjC"}
|
package/build/v2.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ export declare namespace verifiedaccess_v2 {
|
|
|
72
72
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
|
-
* Result message for VerifiedAccess.
|
|
75
|
+
* Result message for VerifiedAccess.GenerateChallenge.
|
|
76
76
|
*/
|
|
77
77
|
export interface Schema$Challenge {
|
|
78
78
|
/**
|
|
@@ -106,6 +106,10 @@ export declare namespace verifiedaccess_v2 {
|
|
|
106
106
|
* Result message for VerifiedAccess.VerifyChallengeResponse.
|
|
107
107
|
*/
|
|
108
108
|
export interface Schema$VerifyChallengeResponseResult {
|
|
109
|
+
/**
|
|
110
|
+
* Unique customer id that this device belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers
|
|
111
|
+
*/
|
|
112
|
+
customerId?: string | null;
|
|
109
113
|
/**
|
|
110
114
|
* Device permanent id is returned in this field (for the machine response only).
|
|
111
115
|
*/
|
|
@@ -122,6 +126,10 @@ export declare namespace verifiedaccess_v2 {
|
|
|
122
126
|
* Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field. This field will be set only if device has included CSR in its challenge response. (the option to include CSR is now available for both user and machine responses)
|
|
123
127
|
*/
|
|
124
128
|
signedPublicKeyAndChallenge?: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* Virtual device id of the device. The definition of virtual device id is platform-specific.
|
|
131
|
+
*/
|
|
132
|
+
virtualDeviceId?: string | null;
|
|
125
133
|
}
|
|
126
134
|
export class Resource$Challenge {
|
|
127
135
|
context: APIRequestContext;
|
|
@@ -226,10 +234,12 @@ export declare namespace verifiedaccess_v2 {
|
|
|
226
234
|
*
|
|
227
235
|
* // Example response
|
|
228
236
|
* // {
|
|
237
|
+
* // "customerId": "my_customerId",
|
|
229
238
|
* // "devicePermanentId": "my_devicePermanentId",
|
|
230
239
|
* // "deviceSignal": "my_deviceSignal",
|
|
231
240
|
* // "keyTrustLevel": "my_keyTrustLevel",
|
|
232
|
-
* // "signedPublicKeyAndChallenge": "my_signedPublicKeyAndChallenge"
|
|
241
|
+
* // "signedPublicKeyAndChallenge": "my_signedPublicKeyAndChallenge",
|
|
242
|
+
* // "virtualDeviceId": "my_virtualDeviceId"
|
|
233
243
|
* // }
|
|
234
244
|
* }
|
|
235
245
|
*
|
package/build/v2.js
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.verifiedaccess_v2 = void 0;
|
|
15
16
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
16
17
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
17
18
|
/* eslint-disable @typescript-eslint/no-empty-interface */
|
|
@@ -70,10 +71,10 @@ var verifiedaccess_v2;
|
|
|
70
71
|
context: this.context,
|
|
71
72
|
};
|
|
72
73
|
if (callback) {
|
|
73
|
-
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
74
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
74
75
|
}
|
|
75
76
|
else {
|
|
76
|
-
return googleapis_common_1.createAPIRequest(parameters);
|
|
77
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
80
|
verify(paramsOrCallback, optionsOrCallback, callback) {
|
|
@@ -100,10 +101,10 @@ var verifiedaccess_v2;
|
|
|
100
101
|
context: this.context,
|
|
101
102
|
};
|
|
102
103
|
if (callback) {
|
|
103
|
-
googleapis_common_1.createAPIRequest(parameters, callback);
|
|
104
|
+
(0, googleapis_common_1.createAPIRequest)(parameters, callback);
|
|
104
105
|
}
|
|
105
106
|
else {
|
|
106
|
-
return googleapis_common_1.createAPIRequest(parameters);
|
|
107
|
+
return (0, googleapis_common_1.createAPIRequest)(parameters);
|
|
107
108
|
}
|
|
108
109
|
}
|
|
109
110
|
}
|
package/build/v2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../v2.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC
|
|
1
|
+
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../v2.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,iBAAiB,CAocjC;AApcD,WAAiB,iBAAiB;IAgEhC;;;;;;;;;;OAUG;IACH,MAAa,cAAc;QAIzB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,SAAS,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxD,CAAC;KACF;IAZY,gCAAc,iBAY1B,CAAA;IA8DD,MAAa,kBAAkB;QAE7B,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACzB,CAAC;QA+ED,QAAQ,CACN,gBAGkC,EAClC,iBAIkC,EAClC,QA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AsC,CAAC;gBAChD,OAAO,GAAG,EAAE,CAAC;aACd;YAED,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GACX,OAAO,CAAC,OAAO,IAAI,wCAAwC,CAAC;YAC9D,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,sBAAsB,CAAC,CAAC,OAAO,CAC7C,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,MAAM;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,EAAE;gBAClB,UAAU,EAAE,EAAE;gBACd,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IAhSY,oCAAkB,qBAgS9B,CAAA;AAeH,CAAC,EApcgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAocjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googleapis/verifiedaccess",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "verifiedaccess",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"url": "https://github.com/googleapis/google-api-nodejs-client.git"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
21
|
+
"node": ">=12.0.0"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"fix": "gts fix",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"webpack": "webpack"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"googleapis-common": "^
|
|
31
|
+
"googleapis-common": "^6.0.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "^7.8.10",
|
|
35
35
|
"@microsoft/api-extractor": "^7.8.10",
|
|
36
|
-
"gts": "^
|
|
36
|
+
"gts": "^3.1.1",
|
|
37
37
|
"null-loader": "^4.0.0",
|
|
38
38
|
"ts-loader": "^9.0.0",
|
|
39
|
-
"typescript": "~
|
|
39
|
+
"typescript": "~4.8.4",
|
|
40
40
|
"webpack": "^5.0.0",
|
|
41
41
|
"webpack-cli": "^4.0.0"
|
|
42
42
|
}
|
package/v2.ts
CHANGED
|
@@ -125,7 +125,7 @@ export namespace verifiedaccess_v2 {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
* Result message for VerifiedAccess.
|
|
128
|
+
* Result message for VerifiedAccess.GenerateChallenge.
|
|
129
129
|
*/
|
|
130
130
|
export interface Schema$Challenge {
|
|
131
131
|
/**
|
|
@@ -158,6 +158,10 @@ export namespace verifiedaccess_v2 {
|
|
|
158
158
|
* Result message for VerifiedAccess.VerifyChallengeResponse.
|
|
159
159
|
*/
|
|
160
160
|
export interface Schema$VerifyChallengeResponseResult {
|
|
161
|
+
/**
|
|
162
|
+
* Unique customer id that this device belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers
|
|
163
|
+
*/
|
|
164
|
+
customerId?: string | null;
|
|
161
165
|
/**
|
|
162
166
|
* Device permanent id is returned in this field (for the machine response only).
|
|
163
167
|
*/
|
|
@@ -174,6 +178,10 @@ export namespace verifiedaccess_v2 {
|
|
|
174
178
|
* Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field. This field will be set only if device has included CSR in its challenge response. (the option to include CSR is now available for both user and machine responses)
|
|
175
179
|
*/
|
|
176
180
|
signedPublicKeyAndChallenge?: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* Virtual device id of the device. The definition of virtual device id is platform-specific.
|
|
183
|
+
*/
|
|
184
|
+
virtualDeviceId?: string | null;
|
|
177
185
|
}
|
|
178
186
|
|
|
179
187
|
export class Resource$Challenge {
|
|
@@ -356,10 +364,12 @@ export namespace verifiedaccess_v2 {
|
|
|
356
364
|
*
|
|
357
365
|
* // Example response
|
|
358
366
|
* // {
|
|
367
|
+
* // "customerId": "my_customerId",
|
|
359
368
|
* // "devicePermanentId": "my_devicePermanentId",
|
|
360
369
|
* // "deviceSignal": "my_deviceSignal",
|
|
361
370
|
* // "keyTrustLevel": "my_keyTrustLevel",
|
|
362
|
-
* // "signedPublicKeyAndChallenge": "my_signedPublicKeyAndChallenge"
|
|
371
|
+
* // "signedPublicKeyAndChallenge": "my_signedPublicKeyAndChallenge",
|
|
372
|
+
* // "virtualDeviceId": "my_virtualDeviceId"
|
|
363
373
|
* // }
|
|
364
374
|
* }
|
|
365
375
|
*
|