Skip to content

Commit

Permalink
🤖 npm run generate auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and Frederik Rothenberger committed Dec 21, 2023
1 parent 73f6988 commit aa72e45
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/frontend/generated/internet_identity_idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ export const idlFactory = ({ IDL }) => {
'streaming_strategy' : IDL.Opt(StreamingStrategy),
'status_code' : IDL.Nat16,
});
const IdentityAuthnInfo = IDL.Record({
'authn_methods' : IDL.Vec(AuthnMethod),
'recovery_authn_methods' : IDL.Vec(AuthnMethod),
});
const AuthnMethodRegistrationInfo = IDL.Record({
'expiration' : Timestamp,
'authn_method' : IDL.Opt(AuthnMethodData),
Expand Down Expand Up @@ -324,6 +328,11 @@ export const idlFactory = ({ IDL }) => {
),
'http_request' : IDL.Func([HttpRequest], [HttpResponse], ['query']),
'http_request_update' : IDL.Func([HttpRequest], [HttpResponse], []),
'identity_authn_info' : IDL.Func(
[IdentityNumber],
[IDL.Variant({ 'Ok' : IdentityAuthnInfo, 'Err' : IDL.Null })],
['query'],
),
'identity_info' : IDL.Func(
[IdentityNumber],
[IDL.Variant({ 'Ok' : IdentityInfo, 'Err' : IDL.Null })],
Expand Down
9 changes: 9 additions & 0 deletions src/frontend/generated/internet_identity_types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ export interface IdentityAnchorInfo {
'devices' : Array<DeviceWithUsage>,
'device_registration' : [] | [DeviceRegistrationInfo],
}
export interface IdentityAuthnInfo {
'authn_methods' : Array<AuthnMethod>,
'recovery_authn_methods' : Array<AuthnMethod>,
}
export interface IdentityInfo {
'authn_methods' : Array<AuthnMethodData>,
'metadata' : MetadataMapV2,
Expand Down Expand Up @@ -271,6 +275,11 @@ export interface _SERVICE {
'get_principal' : ActorMethod<[UserNumber, FrontendHostname], Principal>,
'http_request' : ActorMethod<[HttpRequest], HttpResponse>,
'http_request_update' : ActorMethod<[HttpRequest], HttpResponse>,
'identity_authn_info' : ActorMethod<
[IdentityNumber],
{ 'Ok' : IdentityAuthnInfo } |
{ 'Err' : null }
>,
'identity_info' : ActorMethod<
[IdentityNumber],
{ 'Ok' : IdentityInfo } |
Expand Down

0 comments on commit aa72e45

Please sign in to comment.