@nextera.one/axis-server-sdk 1.0.0 → 1.1.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/dist/index.d.mts +82 -6
- package/dist/index.d.ts +82 -6
- package/dist/index.js +387 -134
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +367 -134
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5,19 +5,95 @@ import 'zod';
|
|
|
5
5
|
declare const HANDLER_METADATA_KEY = "axis:handler";
|
|
6
6
|
declare function Handler(intent?: string): ClassDecorator;
|
|
7
7
|
|
|
8
|
+
declare const INTENT_METADATA_KEY = "axis:intent";
|
|
8
9
|
declare const INTENT_ROUTES_KEY = "axis:intent_routes";
|
|
10
|
+
type IntentKind = 'create' | 'read' | 'update' | 'delete' | 'action';
|
|
11
|
+
interface IntentTlvField {
|
|
12
|
+
name: string;
|
|
13
|
+
tag: number;
|
|
14
|
+
kind: 'utf8' | 'u64' | 'bytes' | 'bytes16' | 'bool' | 'obj' | 'arr';
|
|
15
|
+
required?: boolean;
|
|
16
|
+
maxLen?: number;
|
|
17
|
+
max?: string;
|
|
18
|
+
scope?: 'header' | 'body';
|
|
19
|
+
}
|
|
9
20
|
interface IntentRoute {
|
|
10
21
|
action: string;
|
|
11
22
|
methodName: string | symbol;
|
|
12
23
|
absolute?: boolean;
|
|
13
24
|
frame?: boolean;
|
|
25
|
+
kind?: IntentKind;
|
|
26
|
+
bodyProfile?: 'TLV_MAP' | 'RAW' | 'TLV_OBJ' | 'TLV_ARR';
|
|
27
|
+
tlv?: IntentTlvField[];
|
|
28
|
+
dto?: Function;
|
|
14
29
|
}
|
|
15
30
|
interface IntentOptions {
|
|
31
|
+
kind?: IntentKind;
|
|
16
32
|
absolute?: boolean;
|
|
17
33
|
frame?: boolean;
|
|
34
|
+
bodyProfile?: 'TLV_MAP' | 'RAW' | 'TLV_OBJ' | 'TLV_ARR';
|
|
35
|
+
tlv?: IntentTlvField[];
|
|
36
|
+
dto?: Function;
|
|
18
37
|
}
|
|
19
38
|
declare function Intent(action: string, options?: IntentOptions): MethodDecorator;
|
|
20
39
|
|
|
40
|
+
declare const TLV_FIELDS_KEY = "axis:tlv:fields";
|
|
41
|
+
declare const TLV_VALIDATORS_KEY = "axis:tlv:validators";
|
|
42
|
+
type TlvFieldKind = 'utf8' | 'u64' | 'bytes' | 'bytes16' | 'bool' | 'obj' | 'arr';
|
|
43
|
+
interface TlvFieldOptions {
|
|
44
|
+
kind: TlvFieldKind;
|
|
45
|
+
required?: boolean;
|
|
46
|
+
maxLen?: number;
|
|
47
|
+
max?: string;
|
|
48
|
+
scope?: 'header' | 'body';
|
|
49
|
+
}
|
|
50
|
+
interface TlvFieldMeta {
|
|
51
|
+
property: string;
|
|
52
|
+
tag: number;
|
|
53
|
+
options: TlvFieldOptions;
|
|
54
|
+
}
|
|
55
|
+
type TlvValidatorFn = (value: Uint8Array, property: string) => string | null | undefined;
|
|
56
|
+
interface TlvValidatorMeta {
|
|
57
|
+
property: string;
|
|
58
|
+
tag: number;
|
|
59
|
+
validators: TlvValidatorFn[];
|
|
60
|
+
}
|
|
61
|
+
declare function TlvField(tag: number, options: TlvFieldOptions): PropertyDecorator;
|
|
62
|
+
declare function TlvValidate(validator: TlvValidatorFn): PropertyDecorator;
|
|
63
|
+
declare function TlvUtf8Pattern(pattern: RegExp, message?: string): PropertyDecorator;
|
|
64
|
+
declare function TlvMinLen(min: number, message?: string): PropertyDecorator;
|
|
65
|
+
declare function TlvEnum(allowed: string[], message?: string): PropertyDecorator;
|
|
66
|
+
declare function TlvRange(min: bigint, max: bigint, message?: string): PropertyDecorator;
|
|
67
|
+
|
|
68
|
+
interface DtoSchema {
|
|
69
|
+
fields: IntentTlvField[];
|
|
70
|
+
validators: Map<number, TlvValidatorFn[]>;
|
|
71
|
+
}
|
|
72
|
+
declare function extractDtoSchema(dto: Function): DtoSchema;
|
|
73
|
+
declare function buildDtoDecoder(dto: Function): (bodyBytes: Buffer) => Record<string, any>;
|
|
74
|
+
|
|
75
|
+
declare abstract class AxisTlvDto {
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare class AxisIdDto extends AxisTlvDto {
|
|
79
|
+
id: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare function AxisPartialType<T extends new (...args: any[]) => AxisTlvDto>(BaseDto: T): new (...args: any[]) => Partial<InstanceType<T>> & AxisTlvDto;
|
|
83
|
+
|
|
84
|
+
declare const RESPONSE_TAG_ID = 1;
|
|
85
|
+
declare const RESPONSE_TAG_CREATED_AT = 2;
|
|
86
|
+
declare const RESPONSE_TAG_UPDATED_AT = 3;
|
|
87
|
+
declare const RESPONSE_TAG_CREATED_BY = 4;
|
|
88
|
+
declare const RESPONSE_TAG_UPDATED_BY = 5;
|
|
89
|
+
declare abstract class AxisResponseDto extends AxisTlvDto {
|
|
90
|
+
id?: string;
|
|
91
|
+
created_at?: bigint;
|
|
92
|
+
updated_at?: bigint;
|
|
93
|
+
created_by?: string;
|
|
94
|
+
updated_by?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
21
97
|
interface AxisEffect {
|
|
22
98
|
ok: boolean;
|
|
23
99
|
effect: string;
|
|
@@ -597,11 +673,11 @@ interface AxisHandlerInit extends AxisHandler {
|
|
|
597
673
|
}
|
|
598
674
|
|
|
599
675
|
interface AxisCrudHandler extends AxisHandlerInit {
|
|
600
|
-
create(body: Uint8Array, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
601
|
-
findAll(body: Uint8Array, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
602
|
-
findOne(body: Uint8Array, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
603
|
-
update(body: Uint8Array, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
604
|
-
remove(body: Uint8Array, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
676
|
+
create(body: Uint8Array | AxisTlvDto, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
677
|
+
findAll(body: Uint8Array | AxisTlvDto, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
678
|
+
findOne(body: Uint8Array | AxisTlvDto, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
679
|
+
update(body: Uint8Array | AxisTlvDto, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
680
|
+
remove(body: Uint8Array | AxisTlvDto, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
605
681
|
}
|
|
606
682
|
|
|
607
683
|
declare function hasScope(scopes: string[], required: string): boolean;
|
|
@@ -681,4 +757,4 @@ interface IntentDefinition {
|
|
|
681
757
|
declare function validateFrameShape(frame: any): boolean;
|
|
682
758
|
declare function isTimestampValid(ts: number, skewSeconds?: number): boolean;
|
|
683
759
|
|
|
684
|
-
export { ATS1_HDR, ATS1_SCHEMA, AXIS_OPCODES, ats1 as Ats1Codec, type Axis1DecodedFrame, type Axis1FrameToEncode, type AxisAlg$1 as AxisAlg, type AxisPacket as AxisBinaryPacket, type AxisCapsuleConstraints, type AxisCapsulePayload, type AxisCrudHandler, type AxisEffect, type AxisHandler, type AxisHandlerInit, type AxisAlg as AxisJsonAlg, type AxisFrame as AxisJsonFrame, type AxisResponse as AxisJsonResponse, type AxisSig as AxisJsonSig, type AxisObservedContext, type AxisPacket$1 as AxisPacket, T as AxisPacketTags, type AxisPostSensor, type AxisPreSensor, type AxisRequestContext, type AxisSensor, type AxisSensorInit, type AxisSig$1 as AxisSig, CAPABILITIES, type Capability, type CapsuleMode, ContractViolationError, DEFAULT_CONTRACTS, DEFAULT_TIMEOUT, Decision, type ExecutionContract, ExecutionMeter, type ExecutionMetrics, FALLBACK_CONTRACT, HANDLER_METADATA_KEY, Handler, INTENT_REQUIREMENTS, INTENT_ROUTES_KEY, INTENT_SENSITIVITY_MAP, INTENT_TIMEOUTS, Intent, type IntentDefinition, type IntentOptions, type IntentRoute, IntentRouter, IntentSensitivity, type KeyStatus, PROOF_CAPABILITIES, type ReceiptEffect, RiskDecision, type RiskEvaluation, type RiskSignal, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, type SensorDecision, SensorDecisions, type SensorInput, type SensorMinifiedDecision, type SensorPhaseMetadata, axis1SigningBytes, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, buildAts1Hdr, buildPacket, buildReceiptHash, buildTLVs, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, classifyIntent, decodeAxis1Frame, encVarint, encodeAxis1Frame, hasScope, isAdminOpcode, isKnownOpcode, isTimestampValid, nonce16, normalizeSensorDecision, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseScope, resolveTimeout, sensitivityName, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, utf8, validateFrameShape, varintU };
|
|
760
|
+
export { ATS1_HDR, ATS1_SCHEMA, AXIS_OPCODES, ats1 as Ats1Codec, type Axis1DecodedFrame, type Axis1FrameToEncode, type AxisAlg$1 as AxisAlg, type AxisPacket as AxisBinaryPacket, type AxisCapsuleConstraints, type AxisCapsulePayload, type AxisCrudHandler, type AxisEffect, type AxisHandler, type AxisHandlerInit, AxisIdDto, type AxisAlg as AxisJsonAlg, type AxisFrame as AxisJsonFrame, type AxisResponse as AxisJsonResponse, type AxisSig as AxisJsonSig, type AxisObservedContext, type AxisPacket$1 as AxisPacket, T as AxisPacketTags, AxisPartialType, type AxisPostSensor, type AxisPreSensor, type AxisRequestContext, AxisResponseDto, type AxisSensor, type AxisSensorInit, type AxisSig$1 as AxisSig, AxisTlvDto, CAPABILITIES, type Capability, type CapsuleMode, ContractViolationError, DEFAULT_CONTRACTS, DEFAULT_TIMEOUT, Decision, type DtoSchema, type ExecutionContract, ExecutionMeter, type ExecutionMetrics, FALLBACK_CONTRACT, HANDLER_METADATA_KEY, Handler, INTENT_METADATA_KEY, INTENT_REQUIREMENTS, INTENT_ROUTES_KEY, INTENT_SENSITIVITY_MAP, INTENT_TIMEOUTS, Intent, type IntentDefinition, type IntentKind, type IntentOptions, type IntentRoute, IntentRouter, IntentSensitivity, type IntentTlvField, type KeyStatus, PROOF_CAPABILITIES, RESPONSE_TAG_CREATED_AT, RESPONSE_TAG_CREATED_BY, RESPONSE_TAG_ID, RESPONSE_TAG_UPDATED_AT, RESPONSE_TAG_UPDATED_BY, type ReceiptEffect, RiskDecision, type RiskEvaluation, type RiskSignal, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, type SensorDecision, SensorDecisions, type SensorInput, type SensorMinifiedDecision, type SensorPhaseMetadata, TLV_FIELDS_KEY, TLV_VALIDATORS_KEY, TlvEnum, TlvField, type TlvFieldKind, type TlvFieldMeta, type TlvFieldOptions, TlvMinLen, TlvRange, TlvUtf8Pattern, TlvValidate, type TlvValidatorFn, type TlvValidatorMeta, axis1SigningBytes, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, buildAts1Hdr, buildDtoDecoder, buildPacket, buildReceiptHash, buildTLVs, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, classifyIntent, decodeAxis1Frame, encVarint, encodeAxis1Frame, extractDtoSchema, hasScope, isAdminOpcode, isKnownOpcode, isTimestampValid, nonce16, normalizeSensorDecision, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseScope, resolveTimeout, sensitivityName, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, utf8, validateFrameShape, varintU };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,19 +5,95 @@ import 'zod';
|
|
|
5
5
|
declare const HANDLER_METADATA_KEY = "axis:handler";
|
|
6
6
|
declare function Handler(intent?: string): ClassDecorator;
|
|
7
7
|
|
|
8
|
+
declare const INTENT_METADATA_KEY = "axis:intent";
|
|
8
9
|
declare const INTENT_ROUTES_KEY = "axis:intent_routes";
|
|
10
|
+
type IntentKind = 'create' | 'read' | 'update' | 'delete' | 'action';
|
|
11
|
+
interface IntentTlvField {
|
|
12
|
+
name: string;
|
|
13
|
+
tag: number;
|
|
14
|
+
kind: 'utf8' | 'u64' | 'bytes' | 'bytes16' | 'bool' | 'obj' | 'arr';
|
|
15
|
+
required?: boolean;
|
|
16
|
+
maxLen?: number;
|
|
17
|
+
max?: string;
|
|
18
|
+
scope?: 'header' | 'body';
|
|
19
|
+
}
|
|
9
20
|
interface IntentRoute {
|
|
10
21
|
action: string;
|
|
11
22
|
methodName: string | symbol;
|
|
12
23
|
absolute?: boolean;
|
|
13
24
|
frame?: boolean;
|
|
25
|
+
kind?: IntentKind;
|
|
26
|
+
bodyProfile?: 'TLV_MAP' | 'RAW' | 'TLV_OBJ' | 'TLV_ARR';
|
|
27
|
+
tlv?: IntentTlvField[];
|
|
28
|
+
dto?: Function;
|
|
14
29
|
}
|
|
15
30
|
interface IntentOptions {
|
|
31
|
+
kind?: IntentKind;
|
|
16
32
|
absolute?: boolean;
|
|
17
33
|
frame?: boolean;
|
|
34
|
+
bodyProfile?: 'TLV_MAP' | 'RAW' | 'TLV_OBJ' | 'TLV_ARR';
|
|
35
|
+
tlv?: IntentTlvField[];
|
|
36
|
+
dto?: Function;
|
|
18
37
|
}
|
|
19
38
|
declare function Intent(action: string, options?: IntentOptions): MethodDecorator;
|
|
20
39
|
|
|
40
|
+
declare const TLV_FIELDS_KEY = "axis:tlv:fields";
|
|
41
|
+
declare const TLV_VALIDATORS_KEY = "axis:tlv:validators";
|
|
42
|
+
type TlvFieldKind = 'utf8' | 'u64' | 'bytes' | 'bytes16' | 'bool' | 'obj' | 'arr';
|
|
43
|
+
interface TlvFieldOptions {
|
|
44
|
+
kind: TlvFieldKind;
|
|
45
|
+
required?: boolean;
|
|
46
|
+
maxLen?: number;
|
|
47
|
+
max?: string;
|
|
48
|
+
scope?: 'header' | 'body';
|
|
49
|
+
}
|
|
50
|
+
interface TlvFieldMeta {
|
|
51
|
+
property: string;
|
|
52
|
+
tag: number;
|
|
53
|
+
options: TlvFieldOptions;
|
|
54
|
+
}
|
|
55
|
+
type TlvValidatorFn = (value: Uint8Array, property: string) => string | null | undefined;
|
|
56
|
+
interface TlvValidatorMeta {
|
|
57
|
+
property: string;
|
|
58
|
+
tag: number;
|
|
59
|
+
validators: TlvValidatorFn[];
|
|
60
|
+
}
|
|
61
|
+
declare function TlvField(tag: number, options: TlvFieldOptions): PropertyDecorator;
|
|
62
|
+
declare function TlvValidate(validator: TlvValidatorFn): PropertyDecorator;
|
|
63
|
+
declare function TlvUtf8Pattern(pattern: RegExp, message?: string): PropertyDecorator;
|
|
64
|
+
declare function TlvMinLen(min: number, message?: string): PropertyDecorator;
|
|
65
|
+
declare function TlvEnum(allowed: string[], message?: string): PropertyDecorator;
|
|
66
|
+
declare function TlvRange(min: bigint, max: bigint, message?: string): PropertyDecorator;
|
|
67
|
+
|
|
68
|
+
interface DtoSchema {
|
|
69
|
+
fields: IntentTlvField[];
|
|
70
|
+
validators: Map<number, TlvValidatorFn[]>;
|
|
71
|
+
}
|
|
72
|
+
declare function extractDtoSchema(dto: Function): DtoSchema;
|
|
73
|
+
declare function buildDtoDecoder(dto: Function): (bodyBytes: Buffer) => Record<string, any>;
|
|
74
|
+
|
|
75
|
+
declare abstract class AxisTlvDto {
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare class AxisIdDto extends AxisTlvDto {
|
|
79
|
+
id: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare function AxisPartialType<T extends new (...args: any[]) => AxisTlvDto>(BaseDto: T): new (...args: any[]) => Partial<InstanceType<T>> & AxisTlvDto;
|
|
83
|
+
|
|
84
|
+
declare const RESPONSE_TAG_ID = 1;
|
|
85
|
+
declare const RESPONSE_TAG_CREATED_AT = 2;
|
|
86
|
+
declare const RESPONSE_TAG_UPDATED_AT = 3;
|
|
87
|
+
declare const RESPONSE_TAG_CREATED_BY = 4;
|
|
88
|
+
declare const RESPONSE_TAG_UPDATED_BY = 5;
|
|
89
|
+
declare abstract class AxisResponseDto extends AxisTlvDto {
|
|
90
|
+
id?: string;
|
|
91
|
+
created_at?: bigint;
|
|
92
|
+
updated_at?: bigint;
|
|
93
|
+
created_by?: string;
|
|
94
|
+
updated_by?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
21
97
|
interface AxisEffect {
|
|
22
98
|
ok: boolean;
|
|
23
99
|
effect: string;
|
|
@@ -597,11 +673,11 @@ interface AxisHandlerInit extends AxisHandler {
|
|
|
597
673
|
}
|
|
598
674
|
|
|
599
675
|
interface AxisCrudHandler extends AxisHandlerInit {
|
|
600
|
-
create(body: Uint8Array, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
601
|
-
findAll(body: Uint8Array, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
602
|
-
findOne(body: Uint8Array, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
603
|
-
update(body: Uint8Array, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
604
|
-
remove(body: Uint8Array, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
676
|
+
create(body: Uint8Array | AxisTlvDto, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
677
|
+
findAll(body: Uint8Array | AxisTlvDto, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
678
|
+
findOne(body: Uint8Array | AxisTlvDto, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
679
|
+
update(body: Uint8Array | AxisTlvDto, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
680
|
+
remove(body: Uint8Array | AxisTlvDto, headers?: Map<number, Uint8Array>): Promise<Uint8Array>;
|
|
605
681
|
}
|
|
606
682
|
|
|
607
683
|
declare function hasScope(scopes: string[], required: string): boolean;
|
|
@@ -681,4 +757,4 @@ interface IntentDefinition {
|
|
|
681
757
|
declare function validateFrameShape(frame: any): boolean;
|
|
682
758
|
declare function isTimestampValid(ts: number, skewSeconds?: number): boolean;
|
|
683
759
|
|
|
684
|
-
export { ATS1_HDR, ATS1_SCHEMA, AXIS_OPCODES, ats1 as Ats1Codec, type Axis1DecodedFrame, type Axis1FrameToEncode, type AxisAlg$1 as AxisAlg, type AxisPacket as AxisBinaryPacket, type AxisCapsuleConstraints, type AxisCapsulePayload, type AxisCrudHandler, type AxisEffect, type AxisHandler, type AxisHandlerInit, type AxisAlg as AxisJsonAlg, type AxisFrame as AxisJsonFrame, type AxisResponse as AxisJsonResponse, type AxisSig as AxisJsonSig, type AxisObservedContext, type AxisPacket$1 as AxisPacket, T as AxisPacketTags, type AxisPostSensor, type AxisPreSensor, type AxisRequestContext, type AxisSensor, type AxisSensorInit, type AxisSig$1 as AxisSig, CAPABILITIES, type Capability, type CapsuleMode, ContractViolationError, DEFAULT_CONTRACTS, DEFAULT_TIMEOUT, Decision, type ExecutionContract, ExecutionMeter, type ExecutionMetrics, FALLBACK_CONTRACT, HANDLER_METADATA_KEY, Handler, INTENT_REQUIREMENTS, INTENT_ROUTES_KEY, INTENT_SENSITIVITY_MAP, INTENT_TIMEOUTS, Intent, type IntentDefinition, type IntentOptions, type IntentRoute, IntentRouter, IntentSensitivity, type KeyStatus, PROOF_CAPABILITIES, type ReceiptEffect, RiskDecision, type RiskEvaluation, type RiskSignal, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, type SensorDecision, SensorDecisions, type SensorInput, type SensorMinifiedDecision, type SensorPhaseMetadata, axis1SigningBytes, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, buildAts1Hdr, buildPacket, buildReceiptHash, buildTLVs, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, classifyIntent, decodeAxis1Frame, encVarint, encodeAxis1Frame, hasScope, isAdminOpcode, isKnownOpcode, isTimestampValid, nonce16, normalizeSensorDecision, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseScope, resolveTimeout, sensitivityName, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, utf8, validateFrameShape, varintU };
|
|
760
|
+
export { ATS1_HDR, ATS1_SCHEMA, AXIS_OPCODES, ats1 as Ats1Codec, type Axis1DecodedFrame, type Axis1FrameToEncode, type AxisAlg$1 as AxisAlg, type AxisPacket as AxisBinaryPacket, type AxisCapsuleConstraints, type AxisCapsulePayload, type AxisCrudHandler, type AxisEffect, type AxisHandler, type AxisHandlerInit, AxisIdDto, type AxisAlg as AxisJsonAlg, type AxisFrame as AxisJsonFrame, type AxisResponse as AxisJsonResponse, type AxisSig as AxisJsonSig, type AxisObservedContext, type AxisPacket$1 as AxisPacket, T as AxisPacketTags, AxisPartialType, type AxisPostSensor, type AxisPreSensor, type AxisRequestContext, AxisResponseDto, type AxisSensor, type AxisSensorInit, type AxisSig$1 as AxisSig, AxisTlvDto, CAPABILITIES, type Capability, type CapsuleMode, ContractViolationError, DEFAULT_CONTRACTS, DEFAULT_TIMEOUT, Decision, type DtoSchema, type ExecutionContract, ExecutionMeter, type ExecutionMetrics, FALLBACK_CONTRACT, HANDLER_METADATA_KEY, Handler, INTENT_METADATA_KEY, INTENT_REQUIREMENTS, INTENT_ROUTES_KEY, INTENT_SENSITIVITY_MAP, INTENT_TIMEOUTS, Intent, type IntentDefinition, type IntentKind, type IntentOptions, type IntentRoute, IntentRouter, IntentSensitivity, type IntentTlvField, type KeyStatus, PROOF_CAPABILITIES, RESPONSE_TAG_CREATED_AT, RESPONSE_TAG_CREATED_BY, RESPONSE_TAG_ID, RESPONSE_TAG_UPDATED_AT, RESPONSE_TAG_UPDATED_BY, type ReceiptEffect, RiskDecision, type RiskEvaluation, type RiskSignal, Schema2002_PasskeyLoginOptionsRes, Schema2011_PasskeyLoginVerifyReq, Schema2012_PasskeyLoginVerifyRes, Schema2021_PasskeyRegisterOptionsReq, type SensorDecision, SensorDecisions, type SensorInput, type SensorMinifiedDecision, type SensorPhaseMetadata, TLV_FIELDS_KEY, TLV_VALIDATORS_KEY, TlvEnum, TlvField, type TlvFieldKind, type TlvFieldMeta, type TlvFieldOptions, TlvMinLen, TlvRange, TlvUtf8Pattern, TlvValidate, type TlvValidatorFn, type TlvValidatorMeta, axis1SigningBytes, b64urlDecode, b64urlDecodeString, b64urlEncode, b64urlEncodeString, buildAts1Hdr, buildDtoDecoder, buildPacket, buildReceiptHash, buildTLVs, bytes, canAccessResource, canonicalJson, canonicalJsonExcluding, classifyIntent, decodeAxis1Frame, encVarint, encodeAxis1Frame, extractDtoSchema, hasScope, isAdminOpcode, isKnownOpcode, isTimestampValid, nonce16, normalizeSensorDecision, packPasskeyLoginOptionsReq, packPasskeyLoginOptionsRes, packPasskeyLoginVerifyReq, packPasskeyLoginVerifyRes, packPasskeyRegisterOptionsReq, parseScope, resolveTimeout, sensitivityName, tlv, u64be, unpackPasskeyLoginOptionsReq, unpackPasskeyLoginVerifyReq, unpackPasskeyRegisterOptionsReq, utf8, validateFrameShape, varintU };
|