@dynamic-labs/sdk-api-core 0.0.515 → 0.0.517
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/package.json +1 -1
- package/src/apis/SDKApi.cjs +213 -0
- package/src/apis/SDKApi.d.ts +69 -1
- package/src/apis/SDKApi.js +213 -0
- package/src/index.cjs +108 -0
- package/src/index.js +22 -0
- package/src/models/AttestationConveyancePreference.cjs +42 -0
- package/src/models/AttestationConveyancePreference.d.ts +25 -0
- package/src/models/AttestationConveyancePreference.js +36 -0
- package/src/models/AuthenticationExtensionsClientInputs.cjs +37 -0
- package/src/models/AuthenticationExtensionsClientInputs.d.ts +39 -0
- package/src/models/AuthenticationExtensionsClientInputs.js +31 -0
- package/src/models/AuthenticationExtensionsClientOutputs.cjs +37 -0
- package/src/models/AuthenticationExtensionsClientOutputs.d.ts +39 -0
- package/src/models/AuthenticationExtensionsClientOutputs.js +31 -0
- package/src/models/AuthenticatorAssertionResponse.cjs +39 -0
- package/src/models/AuthenticatorAssertionResponse.d.ts +45 -0
- package/src/models/AuthenticatorAssertionResponse.js +33 -0
- package/src/models/AuthenticatorAttachment.cjs +40 -0
- package/src/models/AuthenticatorAttachment.d.ts +23 -0
- package/src/models/AuthenticatorAttachment.js +34 -0
- package/src/models/AuthenticatorAttestationResponse.cjs +41 -0
- package/src/models/AuthenticatorAttestationResponse.d.ts +51 -0
- package/src/models/AuthenticatorAttestationResponse.js +35 -0
- package/src/models/AuthenticatorSelectionCriteria.cjs +42 -0
- package/src/models/AuthenticatorSelectionCriteria.d.ts +48 -0
- package/src/models/AuthenticatorSelectionCriteria.js +36 -0
- package/src/models/MFAAuthPasskeyDeviceGetResponse.cjs +38 -0
- package/src/models/MFAAuthPasskeyDeviceGetResponse.d.ts +41 -0
- package/src/models/MFAAuthPasskeyDeviceGetResponse.js +32 -0
- package/src/models/MFAAuthPasskeyDeviceGetResponseAttestation.cjs +46 -0
- package/src/models/MFAAuthPasskeyDeviceGetResponseAttestation.d.ts +60 -0
- package/src/models/MFAAuthPasskeyDeviceGetResponseAttestation.js +40 -0
- package/src/models/MFAAuthPasskeyDevicePostRequest.cjs +35 -0
- package/src/models/MFAAuthPasskeyDevicePostRequest.d.ts +34 -0
- package/src/models/MFAAuthPasskeyDevicePostRequest.js +29 -0
- package/src/models/MFADevice.cjs +2 -0
- package/src/models/MFADevice.d.ts +6 -0
- package/src/models/MFADevice.js +2 -0
- package/src/models/MFADeviceType.cjs +1 -0
- package/src/models/MFADeviceType.d.ts +2 -1
- package/src/models/MFADeviceType.js +1 -0
- package/src/models/MFARegisterPasskeyDeviceGetResponse.cjs +38 -0
- package/src/models/MFARegisterPasskeyDeviceGetResponse.d.ts +41 -0
- package/src/models/MFARegisterPasskeyDeviceGetResponse.js +32 -0
- package/src/models/MFARegisterPasskeyDeviceGetResponseRegistration.cjs +56 -0
- package/src/models/MFARegisterPasskeyDeviceGetResponseRegistration.d.ts +82 -0
- package/src/models/MFARegisterPasskeyDeviceGetResponseRegistration.js +50 -0
- package/src/models/MFARegisterPasskeyDevicePostRequest.cjs +35 -0
- package/src/models/MFARegisterPasskeyDevicePostRequest.d.ts +34 -0
- package/src/models/MFARegisterPasskeyDevicePostRequest.js +29 -0
- package/src/models/PasskeyRegisterVerifyRequest.cjs +47 -0
- package/src/models/PasskeyRegisterVerifyRequest.d.ts +61 -0
- package/src/models/PasskeyRegisterVerifyRequest.js +41 -0
- package/src/models/PasskeyVerifyRequest.cjs +47 -0
- package/src/models/PasskeyVerifyRequest.d.ts +61 -0
- package/src/models/PasskeyVerifyRequest.js +41 -0
- package/src/models/PublicKeyCredentialDescriptor.cjs +35 -0
- package/src/models/PublicKeyCredentialDescriptor.d.ts +34 -0
- package/src/models/PublicKeyCredentialDescriptor.js +29 -0
- package/src/models/PublicKeyCredentialParameters.cjs +35 -0
- package/src/models/PublicKeyCredentialParameters.d.ts +34 -0
- package/src/models/PublicKeyCredentialParameters.js +29 -0
- package/src/models/PublicKeyCredentialRpEntity.cjs +35 -0
- package/src/models/PublicKeyCredentialRpEntity.d.ts +33 -0
- package/src/models/PublicKeyCredentialRpEntity.js +29 -0
- package/src/models/PublicKeyCredentialType.cjs +39 -0
- package/src/models/PublicKeyCredentialType.d.ts +22 -0
- package/src/models/PublicKeyCredentialType.js +33 -0
- package/src/models/PublicKeyCredentialUserEntity.cjs +47 -0
- package/src/models/PublicKeyCredentialUserEntity.d.ts +39 -0
- package/src/models/PublicKeyCredentialUserEntity.js +41 -0
- package/src/models/ResidentKeyRequirement.cjs +41 -0
- package/src/models/ResidentKeyRequirement.d.ts +24 -0
- package/src/models/ResidentKeyRequirement.js +35 -0
- package/src/models/UserVerificationRequirement.cjs +41 -0
- package/src/models/UserVerificationRequirement.d.ts +24 -0
- package/src/models/UserVerificationRequirement.js +35 -0
- package/src/models/index.d.ts +22 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PasskeyRegisterVerifyRequestFromJSON, PasskeyRegisterVerifyRequestToJSON } from './PasskeyRegisterVerifyRequest.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function MFARegisterPasskeyDevicePostRequestFromJSON(json) {
|
|
5
|
+
return MFARegisterPasskeyDevicePostRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function MFARegisterPasskeyDevicePostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'id': json['id'],
|
|
13
|
+
'attestation': PasskeyRegisterVerifyRequestFromJSON(json['attestation']),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function MFARegisterPasskeyDevicePostRequestToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'id': value.id,
|
|
25
|
+
'attestation': PasskeyRegisterVerifyRequestToJSON(value.attestation),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { MFARegisterPasskeyDevicePostRequestFromJSON, MFARegisterPasskeyDevicePostRequestFromJSONTyped, MFARegisterPasskeyDevicePostRequestToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var AuthenticationExtensionsClientOutputs = require('./AuthenticationExtensionsClientOutputs.cjs');
|
|
7
|
+
var AuthenticatorAttachment = require('./AuthenticatorAttachment.cjs');
|
|
8
|
+
var AuthenticatorAttestationResponse = require('./AuthenticatorAttestationResponse.cjs');
|
|
9
|
+
var PublicKeyCredentialType = require('./PublicKeyCredentialType.cjs');
|
|
10
|
+
|
|
11
|
+
/* tslint:disable */
|
|
12
|
+
function PasskeyRegisterVerifyRequestFromJSON(json) {
|
|
13
|
+
return PasskeyRegisterVerifyRequestFromJSONTyped(json);
|
|
14
|
+
}
|
|
15
|
+
function PasskeyRegisterVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
16
|
+
if ((json === undefined) || (json === null)) {
|
|
17
|
+
return json;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
'id': json['id'],
|
|
21
|
+
'rawId': json['rawId'],
|
|
22
|
+
'response': AuthenticatorAttestationResponse.AuthenticatorAttestationResponseFromJSON(json['response']),
|
|
23
|
+
'authenticatorAttachment': !runtime.exists(json, 'authenticatorAttachment') ? undefined : AuthenticatorAttachment.AuthenticatorAttachmentFromJSON(json['authenticatorAttachment']),
|
|
24
|
+
'clientExtensionResults': AuthenticationExtensionsClientOutputs.AuthenticationExtensionsClientOutputsFromJSON(json['clientExtensionResults']),
|
|
25
|
+
'type': PublicKeyCredentialType.PublicKeyCredentialTypeFromJSON(json['type']),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function PasskeyRegisterVerifyRequestToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': value.id,
|
|
37
|
+
'rawId': value.rawId,
|
|
38
|
+
'response': AuthenticatorAttestationResponse.AuthenticatorAttestationResponseToJSON(value.response),
|
|
39
|
+
'authenticatorAttachment': AuthenticatorAttachment.AuthenticatorAttachmentToJSON(value.authenticatorAttachment),
|
|
40
|
+
'clientExtensionResults': AuthenticationExtensionsClientOutputs.AuthenticationExtensionsClientOutputsToJSON(value.clientExtensionResults),
|
|
41
|
+
'type': PublicKeyCredentialType.PublicKeyCredentialTypeToJSON(value.type),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.PasskeyRegisterVerifyRequestFromJSON = PasskeyRegisterVerifyRequestFromJSON;
|
|
46
|
+
exports.PasskeyRegisterVerifyRequestFromJSONTyped = PasskeyRegisterVerifyRequestFromJSONTyped;
|
|
47
|
+
exports.PasskeyRegisterVerifyRequestToJSON = PasskeyRegisterVerifyRequestToJSON;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AuthenticationExtensionsClientOutputs } from './AuthenticationExtensionsClientOutputs';
|
|
13
|
+
import { AuthenticatorAttachment } from './AuthenticatorAttachment';
|
|
14
|
+
import { AuthenticatorAttestationResponse } from './AuthenticatorAttestationResponse';
|
|
15
|
+
import { PublicKeyCredentialType } from './PublicKeyCredentialType';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PasskeyRegisterVerifyRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PasskeyRegisterVerifyRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PasskeyRegisterVerifyRequest
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PasskeyRegisterVerifyRequest
|
|
32
|
+
*/
|
|
33
|
+
rawId: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {AuthenticatorAttestationResponse}
|
|
37
|
+
* @memberof PasskeyRegisterVerifyRequest
|
|
38
|
+
*/
|
|
39
|
+
response: AuthenticatorAttestationResponse;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {AuthenticatorAttachment}
|
|
43
|
+
* @memberof PasskeyRegisterVerifyRequest
|
|
44
|
+
*/
|
|
45
|
+
authenticatorAttachment?: AuthenticatorAttachment;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {AuthenticationExtensionsClientOutputs}
|
|
49
|
+
* @memberof PasskeyRegisterVerifyRequest
|
|
50
|
+
*/
|
|
51
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputs;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {PublicKeyCredentialType}
|
|
55
|
+
* @memberof PasskeyRegisterVerifyRequest
|
|
56
|
+
*/
|
|
57
|
+
type: PublicKeyCredentialType;
|
|
58
|
+
}
|
|
59
|
+
export declare function PasskeyRegisterVerifyRequestFromJSON(json: any): PasskeyRegisterVerifyRequest;
|
|
60
|
+
export declare function PasskeyRegisterVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasskeyRegisterVerifyRequest;
|
|
61
|
+
export declare function PasskeyRegisterVerifyRequestToJSON(value?: PasskeyRegisterVerifyRequest | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { AuthenticationExtensionsClientOutputsFromJSON, AuthenticationExtensionsClientOutputsToJSON } from './AuthenticationExtensionsClientOutputs.js';
|
|
3
|
+
import { AuthenticatorAttachmentFromJSON, AuthenticatorAttachmentToJSON } from './AuthenticatorAttachment.js';
|
|
4
|
+
import { AuthenticatorAttestationResponseFromJSON, AuthenticatorAttestationResponseToJSON } from './AuthenticatorAttestationResponse.js';
|
|
5
|
+
import { PublicKeyCredentialTypeFromJSON, PublicKeyCredentialTypeToJSON } from './PublicKeyCredentialType.js';
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function PasskeyRegisterVerifyRequestFromJSON(json) {
|
|
9
|
+
return PasskeyRegisterVerifyRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function PasskeyRegisterVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'id': json['id'],
|
|
17
|
+
'rawId': json['rawId'],
|
|
18
|
+
'response': AuthenticatorAttestationResponseFromJSON(json['response']),
|
|
19
|
+
'authenticatorAttachment': !exists(json, 'authenticatorAttachment') ? undefined : AuthenticatorAttachmentFromJSON(json['authenticatorAttachment']),
|
|
20
|
+
'clientExtensionResults': AuthenticationExtensionsClientOutputsFromJSON(json['clientExtensionResults']),
|
|
21
|
+
'type': PublicKeyCredentialTypeFromJSON(json['type']),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function PasskeyRegisterVerifyRequestToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'id': value.id,
|
|
33
|
+
'rawId': value.rawId,
|
|
34
|
+
'response': AuthenticatorAttestationResponseToJSON(value.response),
|
|
35
|
+
'authenticatorAttachment': AuthenticatorAttachmentToJSON(value.authenticatorAttachment),
|
|
36
|
+
'clientExtensionResults': AuthenticationExtensionsClientOutputsToJSON(value.clientExtensionResults),
|
|
37
|
+
'type': PublicKeyCredentialTypeToJSON(value.type),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { PasskeyRegisterVerifyRequestFromJSON, PasskeyRegisterVerifyRequestFromJSONTyped, PasskeyRegisterVerifyRequestToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var AuthenticationExtensionsClientOutputs = require('./AuthenticationExtensionsClientOutputs.cjs');
|
|
7
|
+
var AuthenticatorAssertionResponse = require('./AuthenticatorAssertionResponse.cjs');
|
|
8
|
+
var AuthenticatorAttachment = require('./AuthenticatorAttachment.cjs');
|
|
9
|
+
var PublicKeyCredentialType = require('./PublicKeyCredentialType.cjs');
|
|
10
|
+
|
|
11
|
+
/* tslint:disable */
|
|
12
|
+
function PasskeyVerifyRequestFromJSON(json) {
|
|
13
|
+
return PasskeyVerifyRequestFromJSONTyped(json);
|
|
14
|
+
}
|
|
15
|
+
function PasskeyVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
16
|
+
if ((json === undefined) || (json === null)) {
|
|
17
|
+
return json;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
'id': json['id'],
|
|
21
|
+
'rawId': json['rawId'],
|
|
22
|
+
'response': AuthenticatorAssertionResponse.AuthenticatorAssertionResponseFromJSON(json['response']),
|
|
23
|
+
'authenticatorAttachment': !runtime.exists(json, 'authenticatorAttachment') ? undefined : AuthenticatorAttachment.AuthenticatorAttachmentFromJSON(json['authenticatorAttachment']),
|
|
24
|
+
'clientExtensionResults': AuthenticationExtensionsClientOutputs.AuthenticationExtensionsClientOutputsFromJSON(json['clientExtensionResults']),
|
|
25
|
+
'type': PublicKeyCredentialType.PublicKeyCredentialTypeFromJSON(json['type']),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function PasskeyVerifyRequestToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': value.id,
|
|
37
|
+
'rawId': value.rawId,
|
|
38
|
+
'response': AuthenticatorAssertionResponse.AuthenticatorAssertionResponseToJSON(value.response),
|
|
39
|
+
'authenticatorAttachment': AuthenticatorAttachment.AuthenticatorAttachmentToJSON(value.authenticatorAttachment),
|
|
40
|
+
'clientExtensionResults': AuthenticationExtensionsClientOutputs.AuthenticationExtensionsClientOutputsToJSON(value.clientExtensionResults),
|
|
41
|
+
'type': PublicKeyCredentialType.PublicKeyCredentialTypeToJSON(value.type),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.PasskeyVerifyRequestFromJSON = PasskeyVerifyRequestFromJSON;
|
|
46
|
+
exports.PasskeyVerifyRequestFromJSONTyped = PasskeyVerifyRequestFromJSONTyped;
|
|
47
|
+
exports.PasskeyVerifyRequestToJSON = PasskeyVerifyRequestToJSON;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AuthenticationExtensionsClientOutputs } from './AuthenticationExtensionsClientOutputs';
|
|
13
|
+
import { AuthenticatorAssertionResponse } from './AuthenticatorAssertionResponse';
|
|
14
|
+
import { AuthenticatorAttachment } from './AuthenticatorAttachment';
|
|
15
|
+
import { PublicKeyCredentialType } from './PublicKeyCredentialType';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PasskeyVerifyRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PasskeyVerifyRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PasskeyVerifyRequest
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PasskeyVerifyRequest
|
|
32
|
+
*/
|
|
33
|
+
rawId: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {AuthenticatorAssertionResponse}
|
|
37
|
+
* @memberof PasskeyVerifyRequest
|
|
38
|
+
*/
|
|
39
|
+
response: AuthenticatorAssertionResponse;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {AuthenticatorAttachment}
|
|
43
|
+
* @memberof PasskeyVerifyRequest
|
|
44
|
+
*/
|
|
45
|
+
authenticatorAttachment?: AuthenticatorAttachment;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {AuthenticationExtensionsClientOutputs}
|
|
49
|
+
* @memberof PasskeyVerifyRequest
|
|
50
|
+
*/
|
|
51
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputs;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {PublicKeyCredentialType}
|
|
55
|
+
* @memberof PasskeyVerifyRequest
|
|
56
|
+
*/
|
|
57
|
+
type: PublicKeyCredentialType;
|
|
58
|
+
}
|
|
59
|
+
export declare function PasskeyVerifyRequestFromJSON(json: any): PasskeyVerifyRequest;
|
|
60
|
+
export declare function PasskeyVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasskeyVerifyRequest;
|
|
61
|
+
export declare function PasskeyVerifyRequestToJSON(value?: PasskeyVerifyRequest | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { AuthenticationExtensionsClientOutputsFromJSON, AuthenticationExtensionsClientOutputsToJSON } from './AuthenticationExtensionsClientOutputs.js';
|
|
3
|
+
import { AuthenticatorAssertionResponseFromJSON, AuthenticatorAssertionResponseToJSON } from './AuthenticatorAssertionResponse.js';
|
|
4
|
+
import { AuthenticatorAttachmentFromJSON, AuthenticatorAttachmentToJSON } from './AuthenticatorAttachment.js';
|
|
5
|
+
import { PublicKeyCredentialTypeFromJSON, PublicKeyCredentialTypeToJSON } from './PublicKeyCredentialType.js';
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function PasskeyVerifyRequestFromJSON(json) {
|
|
9
|
+
return PasskeyVerifyRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function PasskeyVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'id': json['id'],
|
|
17
|
+
'rawId': json['rawId'],
|
|
18
|
+
'response': AuthenticatorAssertionResponseFromJSON(json['response']),
|
|
19
|
+
'authenticatorAttachment': !exists(json, 'authenticatorAttachment') ? undefined : AuthenticatorAttachmentFromJSON(json['authenticatorAttachment']),
|
|
20
|
+
'clientExtensionResults': AuthenticationExtensionsClientOutputsFromJSON(json['clientExtensionResults']),
|
|
21
|
+
'type': PublicKeyCredentialTypeFromJSON(json['type']),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function PasskeyVerifyRequestToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'id': value.id,
|
|
33
|
+
'rawId': value.rawId,
|
|
34
|
+
'response': AuthenticatorAssertionResponseToJSON(value.response),
|
|
35
|
+
'authenticatorAttachment': AuthenticatorAttachmentToJSON(value.authenticatorAttachment),
|
|
36
|
+
'clientExtensionResults': AuthenticationExtensionsClientOutputsToJSON(value.clientExtensionResults),
|
|
37
|
+
'type': PublicKeyCredentialTypeToJSON(value.type),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { PasskeyVerifyRequestFromJSON, PasskeyVerifyRequestFromJSONTyped, PasskeyVerifyRequestToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var PublicKeyCredentialType = require('./PublicKeyCredentialType.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function PublicKeyCredentialDescriptorFromJSON(json) {
|
|
9
|
+
return PublicKeyCredentialDescriptorFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function PublicKeyCredentialDescriptorFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'id': json['id'],
|
|
17
|
+
'type': PublicKeyCredentialType.PublicKeyCredentialTypeFromJSON(json['type']),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function PublicKeyCredentialDescriptorToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': value.id,
|
|
29
|
+
'type': PublicKeyCredentialType.PublicKeyCredentialTypeToJSON(value.type),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.PublicKeyCredentialDescriptorFromJSON = PublicKeyCredentialDescriptorFromJSON;
|
|
34
|
+
exports.PublicKeyCredentialDescriptorFromJSONTyped = PublicKeyCredentialDescriptorFromJSONTyped;
|
|
35
|
+
exports.PublicKeyCredentialDescriptorToJSON = PublicKeyCredentialDescriptorToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PublicKeyCredentialType } from './PublicKeyCredentialType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PublicKeyCredentialDescriptor
|
|
17
|
+
*/
|
|
18
|
+
export interface PublicKeyCredentialDescriptor {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PublicKeyCredentialDescriptor
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {PublicKeyCredentialType}
|
|
28
|
+
* @memberof PublicKeyCredentialDescriptor
|
|
29
|
+
*/
|
|
30
|
+
type: PublicKeyCredentialType;
|
|
31
|
+
}
|
|
32
|
+
export declare function PublicKeyCredentialDescriptorFromJSON(json: any): PublicKeyCredentialDescriptor;
|
|
33
|
+
export declare function PublicKeyCredentialDescriptorFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicKeyCredentialDescriptor;
|
|
34
|
+
export declare function PublicKeyCredentialDescriptorToJSON(value?: PublicKeyCredentialDescriptor | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PublicKeyCredentialTypeFromJSON, PublicKeyCredentialTypeToJSON } from './PublicKeyCredentialType.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function PublicKeyCredentialDescriptorFromJSON(json) {
|
|
5
|
+
return PublicKeyCredentialDescriptorFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function PublicKeyCredentialDescriptorFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'id': json['id'],
|
|
13
|
+
'type': PublicKeyCredentialTypeFromJSON(json['type']),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function PublicKeyCredentialDescriptorToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'id': value.id,
|
|
25
|
+
'type': PublicKeyCredentialTypeToJSON(value.type),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { PublicKeyCredentialDescriptorFromJSON, PublicKeyCredentialDescriptorFromJSONTyped, PublicKeyCredentialDescriptorToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var PublicKeyCredentialType = require('./PublicKeyCredentialType.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function PublicKeyCredentialParametersFromJSON(json) {
|
|
9
|
+
return PublicKeyCredentialParametersFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function PublicKeyCredentialParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'alg': json['alg'],
|
|
17
|
+
'type': PublicKeyCredentialType.PublicKeyCredentialTypeFromJSON(json['type']),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function PublicKeyCredentialParametersToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'alg': value.alg,
|
|
29
|
+
'type': PublicKeyCredentialType.PublicKeyCredentialTypeToJSON(value.type),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.PublicKeyCredentialParametersFromJSON = PublicKeyCredentialParametersFromJSON;
|
|
34
|
+
exports.PublicKeyCredentialParametersFromJSONTyped = PublicKeyCredentialParametersFromJSONTyped;
|
|
35
|
+
exports.PublicKeyCredentialParametersToJSON = PublicKeyCredentialParametersToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PublicKeyCredentialType } from './PublicKeyCredentialType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PublicKeyCredentialParameters
|
|
17
|
+
*/
|
|
18
|
+
export interface PublicKeyCredentialParameters {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PublicKeyCredentialParameters
|
|
23
|
+
*/
|
|
24
|
+
alg: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {PublicKeyCredentialType}
|
|
28
|
+
* @memberof PublicKeyCredentialParameters
|
|
29
|
+
*/
|
|
30
|
+
type: PublicKeyCredentialType;
|
|
31
|
+
}
|
|
32
|
+
export declare function PublicKeyCredentialParametersFromJSON(json: any): PublicKeyCredentialParameters;
|
|
33
|
+
export declare function PublicKeyCredentialParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicKeyCredentialParameters;
|
|
34
|
+
export declare function PublicKeyCredentialParametersToJSON(value?: PublicKeyCredentialParameters | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PublicKeyCredentialTypeFromJSON, PublicKeyCredentialTypeToJSON } from './PublicKeyCredentialType.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function PublicKeyCredentialParametersFromJSON(json) {
|
|
5
|
+
return PublicKeyCredentialParametersFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function PublicKeyCredentialParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'alg': json['alg'],
|
|
13
|
+
'type': PublicKeyCredentialTypeFromJSON(json['type']),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function PublicKeyCredentialParametersToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'alg': value.alg,
|
|
25
|
+
'type': PublicKeyCredentialTypeToJSON(value.type),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { PublicKeyCredentialParametersFromJSON, PublicKeyCredentialParametersFromJSONTyped, PublicKeyCredentialParametersToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function PublicKeyCredentialRpEntityFromJSON(json) {
|
|
9
|
+
return PublicKeyCredentialRpEntityFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function PublicKeyCredentialRpEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'id': !runtime.exists(json, 'id') ? undefined : json['id'],
|
|
17
|
+
'name': json['name'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function PublicKeyCredentialRpEntityToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': value.id,
|
|
29
|
+
'name': value.name,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.PublicKeyCredentialRpEntityFromJSON = PublicKeyCredentialRpEntityFromJSON;
|
|
34
|
+
exports.PublicKeyCredentialRpEntityFromJSONTyped = PublicKeyCredentialRpEntityFromJSONTyped;
|
|
35
|
+
exports.PublicKeyCredentialRpEntityToJSON = PublicKeyCredentialRpEntityToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PublicKeyCredentialRpEntity
|
|
16
|
+
*/
|
|
17
|
+
export interface PublicKeyCredentialRpEntity {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PublicKeyCredentialRpEntity
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PublicKeyCredentialRpEntity
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function PublicKeyCredentialRpEntityFromJSON(json: any): PublicKeyCredentialRpEntity;
|
|
32
|
+
export declare function PublicKeyCredentialRpEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicKeyCredentialRpEntity;
|
|
33
|
+
export declare function PublicKeyCredentialRpEntityToJSON(value?: PublicKeyCredentialRpEntity | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function PublicKeyCredentialRpEntityFromJSON(json) {
|
|
5
|
+
return PublicKeyCredentialRpEntityFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function PublicKeyCredentialRpEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
13
|
+
'name': json['name'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function PublicKeyCredentialRpEntityToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'id': value.id,
|
|
25
|
+
'name': value.name,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { PublicKeyCredentialRpEntityFromJSON, PublicKeyCredentialRpEntityFromJSONTyped, PublicKeyCredentialRpEntityToJSON };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.PublicKeyCredentialType = void 0;
|
|
24
|
+
(function (PublicKeyCredentialType) {
|
|
25
|
+
PublicKeyCredentialType["PublicKey"] = "public-key";
|
|
26
|
+
})(exports.PublicKeyCredentialType || (exports.PublicKeyCredentialType = {}));
|
|
27
|
+
function PublicKeyCredentialTypeFromJSON(json) {
|
|
28
|
+
return PublicKeyCredentialTypeFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function PublicKeyCredentialTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function PublicKeyCredentialTypeToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.PublicKeyCredentialTypeFromJSON = PublicKeyCredentialTypeFromJSON;
|
|
38
|
+
exports.PublicKeyCredentialTypeFromJSONTyped = PublicKeyCredentialTypeFromJSONTyped;
|
|
39
|
+
exports.PublicKeyCredentialTypeToJSON = PublicKeyCredentialTypeToJSON;
|