axiam-sdk 1.1.0 → 1.1.2
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/README.md +27 -2
- package/dist/amqp/index.d.cts +3 -2
- package/dist/amqp/index.d.ts +3 -2
- package/dist/{authzCore-BQfX9qxN.d.cts → authzCore-CqXzLNmT.d.cts} +4 -3
- package/dist/{authzCore-BlSHwGnW.d.ts → authzCore-D-hquWSI.d.ts} +4 -3
- package/dist/browser/index.d.cts +8 -7
- package/dist/browser/index.d.ts +8 -7
- package/dist/{client-7ZKtfXW-.d.cts → client-BGFn1VQh.d.cts} +34 -24
- package/dist/{client-Putxo-yi.d.ts → client-DrQZZ1js.d.ts} +34 -24
- package/dist/{cookieJar-Cw6Zdeec.d.ts → cookieJar-BTmpjXZe.d.ts} +9 -3
- package/dist/{cookieJar-DkGcIr-i.d.cts → cookieJar-BqYOnNN-.d.cts} +9 -3
- package/dist/{errors-DMIlw2lN.d.ts → errors-DZ3k8a8i.d.cts} +2 -1
- package/dist/{errors-DMIlw2lN.d.cts → errors-DZ3k8a8i.d.ts} +2 -1
- package/dist/{errors-VpViVRSx.d.ts → errors-RvGlTyUj.d.cts} +3 -2
- package/dist/{errors-CtP_lviy.d.cts → errors-dlGXAsbh.d.ts} +3 -2
- package/dist/grpc/index.d.cts +10 -9
- package/dist/grpc/index.d.ts +10 -9
- package/dist/grpc/index.js +68 -7
- package/dist/grpc/index.js.map +1 -1
- package/dist/grpc/index.mjs +68 -7
- package/dist/grpc/index.mjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +60 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +60 -7
- package/dist/index.mjs.map +1 -1
- package/dist/{jwks-BR55d7-Z.d.cts → jwks-CTVpOWzI.d.cts} +2 -1
- package/dist/{jwks-BR55d7-Z.d.ts → jwks-CTVpOWzI.d.ts} +2 -1
- package/dist/middleware/index.d.cts +13 -12
- package/dist/middleware/index.d.ts +13 -12
- package/dist/middleware/index.js +176 -31
- package/dist/middleware/index.js.map +1 -1
- package/dist/middleware/index.mjs +176 -31
- package/dist/middleware/index.mjs.map +1 -1
- package/dist/nestjs/index.d.cts +5 -4
- package/dist/nestjs/index.d.ts +5 -4
- package/dist/node/index.d.cts +10 -9
- package/dist/node/index.d.ts +10 -9
- package/dist/node/index.js +215 -29
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +215 -29
- package/dist/node/index.mjs.map +1 -1
- package/dist/{oidcState-Cz6erz0g.d.cts → oidcState-BaJ-SM_R.d.cts} +41 -9
- package/dist/{oidcState-zGt6VU6v.d.ts → oidcState-C3VLn3eD.d.ts} +41 -9
- package/dist/rest/index.d.cts +10 -9
- package/dist/rest/index.d.ts +10 -9
- package/dist/rest/index.js +60 -7
- package/dist/rest/index.js.map +1 -1
- package/dist/rest/index.mjs +60 -7
- package/dist/rest/index.mjs.map +1 -1
- package/dist/{revocationFeed-CDoD7Twr.d.cts → revocationFeed-KQhvMMl8.d.cts} +2 -1
- package/dist/{revocationFeed-CDoD7Twr.d.ts → revocationFeed-KQhvMMl8.d.ts} +2 -1
- package/dist/{session-CeG6P9GO.d.ts → session-B03NsqVs.d.ts} +19 -2
- package/dist/{session-BmjEMowX.d.cts → session-plDr4lFu.d.cts} +19 -2
- package/dist/{telemetry--0DwnNjV.d.cts → telemetry-Du0-zS5f.d.cts} +2 -1
- package/dist/{telemetry--0DwnNjV.d.ts → telemetry-Du0-zS5f.d.ts} +2 -1
- package/dist/{webauthnErrors-fLgfOflO.d.cts → webauthnErrors-m1LZiaRy.d.cts} +2 -1
- package/dist/{webauthnErrors-fLgfOflO.d.ts → webauthnErrors-m1LZiaRy.d.ts} +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,13 +20,38 @@ Official TypeScript/JavaScript client SDK for [AXIAM](https://github.com/ilpanic
|
|
|
20
20
|
|
|
21
21
|
## Contract conformance
|
|
22
22
|
|
|
23
|
-
This SDK conforms to **contract 1.
|
|
23
|
+
This SDK conforms to **contract 1.64**: CONTRACT.md §1–§13 and §12.7, §14, §15, §17, §19,
|
|
24
24
|
§20, §21, §22, §23, §24, §25, §26, §27 (with §27.6.2), §28, §28.12, §29, §30, §31, §32, §33 and §36,
|
|
25
25
|
with §32.7 and §33.2 signed (including §6.1 mTLS client certificates, the
|
|
26
26
|
§10.1 minimum local-verification set, the §12 OIDC/SSO relying-party helpers, and the §13
|
|
27
27
|
`verifyWebhook` signature verifier). Manifest pruning: not offered in any namespace (§27.10). §12 is implemented in full at its 1.38 shape: all
|
|
28
28
|
**thirteen** operations, including the four public "Sign in with X" entry points.
|
|
29
29
|
|
|
30
|
+
### Contract 1.64 — the 1.1.2 release (§34.8)
|
|
31
|
+
|
|
32
|
+
Contract 1.64 adds no operation (202 in 29 namespaces). Every item of §34.8 that asks anything of
|
|
33
|
+
this SDK, and what it does:
|
|
34
|
+
|
|
35
|
+
| Item | Rule | What this SDK does |
|
|
36
|
+
|---|---|---|
|
|
37
|
+
| (b) a `429 rate_limit_exceeded` on a poll is waited out | §14.2 rule 9, §14.6 | `devicePoll` raises any `429` as an `OAuthProtocolError` with `error == "rate_limit_exceeded"` (the status decides, not the body: a bodiless `429`, or one saying `slow_down`, included; never `slow_down`). `deviceLogin` treats it as non-terminal: it waits `Retry-After` as a minimum (delta-seconds form), counts the wait as one interval, does **not** raise the interval (only the `400` does), and polls again. A wait that would pass the `expires_in` deadline, measured on the clock from the authorization, ends in `expired_token` and sends nothing after it. A `5xx` mid-poll is a transport failure whatever its body (`500 {"error":"server_error"}` included): retried under §16 inside the poll (three requests in all, a transport failure likewise; never a `429`), then the loop takes its next interval. A §16 retry inside the poll never passes the deadline either: a wait that would reach it (a `Retry-After` included) is not served and the typed `expired_token` is raised (the CIBA loop is bounded the same way, §34.2 P10). |
|
|
38
|
+
| (c) the refusal at `plan` names the member, and the value where the SDK keeps it | §27.6.2 item 4 | Already held: `plan` names the member and the value (this SDK keeps the text). |
|
|
39
|
+
| (a), (d)–(j) | | Informative or no SDK work. |
|
|
40
|
+
|
|
41
|
+
Follow-ups of the contract 1.63 conformance review (#148): in the browser persona an `/oauth2/*`
|
|
42
|
+
request uses the fetch adapter with `credentials: 'omit'`, so a same-origin `axiam_*` cookie is not
|
|
43
|
+
sent either (§12.1 rule 3, C163-12), and so does an RFC 7592 registration call (C164-06); the Node
|
|
44
|
+
persona keeps its jar-free agent pair.
|
|
45
|
+
|
|
46
|
+
### Contract 1.63 — the 1.1.1 release (§34.7)
|
|
47
|
+
|
|
48
|
+
| Item | Rule | What this SDK does |
|
|
49
|
+
|---|---|---|
|
|
50
|
+
| (a) no session cookie, no CSRF header on `/oauth2/*` | §6.1 rule 11, §12.1 rule 3, §14.6 | Every `/oauth2/*` request goes through the jar-free agent pair and carries no `X-CSRF-Token`, whether or not a device credential is adopted (a path-prefix match: the federation `oauth2/start`/`callback` routes are session endpoints and are unaffected). |
|
|
51
|
+
| C162-07 (§34.6 (ab)): an unknown open-enum value on an unstated manifest member | §27.6.2 item 4 | `plan` raises a `ValidationError` naming the member and the value, before any write; stating the member resolves it. |
|
|
52
|
+
| C162-08 (§34.6 (ac)): `termination_action` has no "none" in a manifest | §27.6.2 item 4 | A stated `terminationAction: null` is refused at `plan` with zero wire calls. |
|
|
53
|
+
| (c) the AMQP producer's local refusal | §8 (MAY) | Not applicable: this SDK ships no helper that builds or signs an `AuditEventMessage`. |
|
|
54
|
+
|
|
30
55
|
### Contract 1.62 — the 1.1.0 release (§34.6)
|
|
31
56
|
|
|
32
57
|
Contract 1.62 accompanies the 1.1.0 platform release; this SDK's release of it is **1.1.0**
|
|
@@ -215,7 +240,7 @@ See [`CONTRACT.md`](./CONTRACT.md) for the full cross-language behavioral contra
|
|
|
215
240
|
## Install
|
|
216
241
|
|
|
217
242
|
```bash
|
|
218
|
-
npm install axiam-sdk@^1.1.
|
|
243
|
+
npm install axiam-sdk@^1.1.2
|
|
219
244
|
```
|
|
220
245
|
|
|
221
246
|
From 1.0.0 the SDK is stable and follows semantic versioning: a breaking change to its
|
package/dist/amqp/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as Sensitive } from '../sensitive-BC_s7Rrd.cjs';
|
|
2
2
|
import { ConsumeMessage } from 'amqplib';
|
|
3
3
|
import { ConnectionOptions } from 'node:tls';
|
|
4
|
-
import {
|
|
4
|
+
import { TelemetryHook, TelemetryDispatcher } from '../index.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Compute the hex-encoded HMAC-SHA256 of `payloadJson` using `key`.
|
|
@@ -1010,4 +1010,5 @@ declare function hookableEvents(): readonly string[];
|
|
|
1010
1010
|
*/
|
|
1011
1011
|
declare function reactorHandlers(...groups: readonly ReactorHandlerMap[]): ReactorHandler;
|
|
1012
1012
|
|
|
1013
|
-
export {
|
|
1013
|
+
export { DEFAULT_REACTOR_MAX_IN_FLIGHT, DEFAULT_REACTOR_TIMEOUT_MS, DEFAULT_REPLAY_SKEW_MS, EVENT_REGISTRY, HMAC_SIGNED_MESSAGE_TYPES, InMemoryNonceStore, MAX_REACTOR_TIMEOUT_MS, MIN_REACTOR_TIMEOUT_MS, REACTOR_EVENTS, REACTOR_EXCHANGE, REACTOR_FRESHNESS_SKEW_MS, REACTOR_KEY_VERSION, Sensitive, abstain, allow, assertAmqpsUrl, buildAmqpConnectOptions, buildReactorReply, canonicalEventBytes, canonicalReplyBytes, chainedPatch, consume, defaultFailurePolicyFor, deny, dispatchReactorDelivery, eventSpec, hookableEvents, isFresh, mutate, patchFieldAllowed, reactorHandlers, reactorQueueName, reactorReplySignatureValid, reactorRoutingKey, reactorServe, requireStepUp, signPayload, signReactorReply, signingKeyFingerprint, specForEvent, toChronoRfc3339, verifyAndDispatch, verifyEvent, verifyPayload };
|
|
1014
|
+
export type { AmqpTlsOptions, AuditEventMessage, AuthzRequest, AuthzResponse, ConsumeChannel, ConsumeLogger, ConsumeOptions, EventRejection, FailurePolicy, HmacSignedMessageType, NonceStore, NotificationEvent, ReactorChannel, ReactorConfig, ReactorDecision, ReactorDispatchContext, ReactorEvent, ReactorEventName, ReactorEventSpec, ReactorHandler, ReactorHandlerMap, ReactorLogger, ReactorMode, ReactorReply, ReplyDecision, ReplyInput, ReplyRejection, VerifyEventResult };
|
package/dist/amqp/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as Sensitive } from '../sensitive-BC_s7Rrd.js';
|
|
2
2
|
import { ConsumeMessage } from 'amqplib';
|
|
3
3
|
import { ConnectionOptions } from 'node:tls';
|
|
4
|
-
import {
|
|
4
|
+
import { TelemetryHook, TelemetryDispatcher } from '../index.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Compute the hex-encoded HMAC-SHA256 of `payloadJson` using `key`.
|
|
@@ -1010,4 +1010,5 @@ declare function hookableEvents(): readonly string[];
|
|
|
1010
1010
|
*/
|
|
1011
1011
|
declare function reactorHandlers(...groups: readonly ReactorHandlerMap[]): ReactorHandler;
|
|
1012
1012
|
|
|
1013
|
-
export {
|
|
1013
|
+
export { DEFAULT_REACTOR_MAX_IN_FLIGHT, DEFAULT_REACTOR_TIMEOUT_MS, DEFAULT_REPLAY_SKEW_MS, EVENT_REGISTRY, HMAC_SIGNED_MESSAGE_TYPES, InMemoryNonceStore, MAX_REACTOR_TIMEOUT_MS, MIN_REACTOR_TIMEOUT_MS, REACTOR_EVENTS, REACTOR_EXCHANGE, REACTOR_FRESHNESS_SKEW_MS, REACTOR_KEY_VERSION, Sensitive, abstain, allow, assertAmqpsUrl, buildAmqpConnectOptions, buildReactorReply, canonicalEventBytes, canonicalReplyBytes, chainedPatch, consume, defaultFailurePolicyFor, deny, dispatchReactorDelivery, eventSpec, hookableEvents, isFresh, mutate, patchFieldAllowed, reactorHandlers, reactorQueueName, reactorReplySignatureValid, reactorRoutingKey, reactorServe, requireStepUp, signPayload, signReactorReply, signingKeyFingerprint, specForEvent, toChronoRfc3339, verifyAndDispatch, verifyEvent, verifyPayload };
|
|
1014
|
+
export type { AmqpTlsOptions, AuditEventMessage, AuthzRequest, AuthzResponse, ConsumeChannel, ConsumeLogger, ConsumeOptions, EventRejection, FailurePolicy, HmacSignedMessageType, NonceStore, NotificationEvent, ReactorChannel, ReactorConfig, ReactorDecision, ReactorDispatchContext, ReactorEvent, ReactorEventName, ReactorEventSpec, ReactorHandler, ReactorHandlerMap, ReactorLogger, ReactorMode, ReactorReply, ReplyDecision, ReplyInput, ReplyRejection, VerifyEventResult };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.cjs';
|
|
2
2
|
import { A as AccessCheck, a as AccessDecision } from './types-zXSpiQM-.cjs';
|
|
3
|
-
import { V as Verifier, P as PresentedProofs } from './jwks-
|
|
4
|
-
import { R as RevocationFeed } from './revocationFeed-
|
|
3
|
+
import { V as Verifier, P as PresentedProofs } from './jwks-CTVpOWzI.cjs';
|
|
4
|
+
import { R as RevocationFeed } from './revocationFeed-KQhvMMl8.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Minimal session shape the middleware needs: a JWKS verifier (D-11) and the
|
|
@@ -323,4 +323,5 @@ declare function evaluateAccess(checker: AuthzChecker, action: string, resourceI
|
|
|
323
323
|
/** Local (no server round-trip) role check (§11.2.9): true iff `roles` and the identity's roles share at least one entry. */
|
|
324
324
|
declare function hasAnyRole(identityRoles: readonly string[], roles: readonly string[]): boolean;
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { ResourceResolutionError as f, assertAuthzClient as i, authenticateRequest as j, evaluateAccess as k, fromParam as l, hasAnyRole as m, resolveResourceId as r };
|
|
327
|
+
export type { AuthzVerifiableSession as A, CheckOutcome as C, ErrorBody as E, RequireAccessOptions as R, UmaChallenger as U, VerifiableSession as V, AuthzLogger as a, AxiamIdentity as b, ResourceSpec as c, AuthzChecker as d, ResourceParamRef as e, ResourceResolver as g, UmaTicketMinter as h };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.js';
|
|
2
2
|
import { A as AccessCheck, a as AccessDecision } from './types-BOX-6Srv.js';
|
|
3
|
-
import { V as Verifier, P as PresentedProofs } from './jwks-
|
|
4
|
-
import { R as RevocationFeed } from './revocationFeed-
|
|
3
|
+
import { V as Verifier, P as PresentedProofs } from './jwks-CTVpOWzI.js';
|
|
4
|
+
import { R as RevocationFeed } from './revocationFeed-KQhvMMl8.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Minimal session shape the middleware needs: a JWKS verifier (D-11) and the
|
|
@@ -323,4 +323,5 @@ declare function evaluateAccess(checker: AuthzChecker, action: string, resourceI
|
|
|
323
323
|
/** Local (no server round-trip) role check (§11.2.9): true iff `roles` and the identity's roles share at least one entry. */
|
|
324
324
|
declare function hasAnyRole(identityRoles: readonly string[], roles: readonly string[]): boolean;
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { ResourceResolutionError as f, assertAuthzClient as i, authenticateRequest as j, evaluateAccess as k, fromParam as l, hasAnyRole as m, resolveResourceId as r };
|
|
327
|
+
export type { AuthzVerifiableSession as A, CheckOutcome as C, ErrorBody as E, RequireAccessOptions as R, UmaChallenger as U, VerifiableSession as V, AuthzLogger as a, AxiamIdentity as b, ResourceSpec as c, AuthzChecker as d, ResourceParamRef as e, ResourceResolver as g, UmaTicketMinter as h };
|
package/dist/browser/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-
|
|
5
|
-
import '../session-
|
|
1
|
+
import { AxiamClient, WebauthnWorkspace, WebauthnLoginResult, WebauthnCredential } from '../index.cjs';
|
|
2
|
+
import { Sensitive } from '../amqp/index.cjs';
|
|
3
|
+
import { LoginResult } from '../index.cjs';
|
|
4
|
+
export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-m1LZiaRy.cjs';
|
|
5
|
+
import '../session-plDr4lFu.cjs';
|
|
6
6
|
import 'axios';
|
|
7
|
-
import '../telemetry
|
|
7
|
+
import '../telemetry-Du0-zS5f.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Whether this runtime can perform a WebAuthn ceremony at all.
|
|
@@ -106,4 +106,5 @@ declare function base64UrlToBytes(value: string): Uint8Array<ArrayBuffer>;
|
|
|
106
106
|
/** Encode bytes as unpadded base64url. */
|
|
107
107
|
declare function bytesToBase64Url(buffer: ArrayBuffer | Uint8Array): string;
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { base64UrlToBytes, bytesToBase64Url, isConditionalMediationAvailable, isWebauthnSupported, webauthnDiscoverableLogin, webauthnLogin, webauthnRegister, webauthnSetupRegister };
|
|
110
|
+
export type { AuthenticatorKind, WebauthnCeremonyOptions };
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-
|
|
5
|
-
import '../session-
|
|
1
|
+
import { AxiamClient, WebauthnWorkspace, WebauthnLoginResult, WebauthnCredential } from '../index.js';
|
|
2
|
+
import { Sensitive } from '../amqp/index.js';
|
|
3
|
+
import { LoginResult } from '../index.js';
|
|
4
|
+
export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-m1LZiaRy.js';
|
|
5
|
+
import '../session-B03NsqVs.js';
|
|
6
6
|
import 'axios';
|
|
7
|
-
import '../telemetry
|
|
7
|
+
import '../telemetry-Du0-zS5f.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Whether this runtime can perform a WebAuthn ceremony at all.
|
|
@@ -106,4 +106,5 @@ declare function base64UrlToBytes(value: string): Uint8Array<ArrayBuffer>;
|
|
|
106
106
|
/** Encode bytes as unpadded base64url. */
|
|
107
107
|
declare function bytesToBase64Url(buffer: ArrayBuffer | Uint8Array): string;
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { base64UrlToBytes, bytesToBase64Url, isConditionalMediationAvailable, isWebauthnSupported, webauthnDiscoverableLogin, webauthnLogin, webauthnRegister, webauthnSetupRegister };
|
|
110
|
+
export type { AuthenticatorKind, WebauthnCeremonyOptions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.cjs';
|
|
2
|
-
import { S as SharedSession, A as AxiamClientOptions, D as DecisionMemo, T as TelemetryReporter } from './session-
|
|
2
|
+
import { S as SharedSession, A as AxiamClientOptions, D as DecisionMemo, T as TelemetryReporter } from './session-plDr4lFu.cjs';
|
|
3
3
|
import { L as LoginResult, A as AccessCheck, a as AccessDecision } from './types-zXSpiQM-.cjs';
|
|
4
|
-
import { a as TelemetryDispatcher } from './telemetry
|
|
4
|
+
import { a as TelemetryDispatcher } from './telemetry-Du0-zS5f.cjs';
|
|
5
5
|
|
|
6
6
|
/** Attempt cap: 1 initial + 2 retries (§16.1). */
|
|
7
7
|
declare const MAX_ATTEMPTS = 3;
|
|
@@ -29,6 +29,12 @@ interface RetryOptions {
|
|
|
29
29
|
sleepFn?: (ms: number) => Promise<void>;
|
|
30
30
|
/** Injected for tests: returns the jitter fraction in [0, 1]. */
|
|
31
31
|
randomFn?: () => number;
|
|
32
|
+
/**
|
|
33
|
+
* Called with the wait before a retry is announced or served; throwing refuses the retry, so
|
|
34
|
+
* nothing is emitted for it and nothing more is sent. A poll inside a deadline uses it to refuse
|
|
35
|
+
* a wait that would reach the deadline (CONTRACT.md §14.2 rule 4, §34.2 P10).
|
|
36
|
+
*/
|
|
37
|
+
admit?: (delayMs: number) => void;
|
|
32
38
|
}
|
|
33
39
|
/**
|
|
34
40
|
* The un-jittered backoff for a 1-based attempt: `min(cap, base * 2^(n-1))`.
|
|
@@ -8912,26 +8918,28 @@ declare class ScimTargetsApi {
|
|
|
8912
8918
|
* The `network` management namespace (CONTRACT §27.1).
|
|
8913
8919
|
*
|
|
8914
8920
|
* A tenant's network segments and the RADIUS reply profile each owns (RADIUS
|
|
8915
|
-
*
|
|
8916
|
-
* tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
8917
|
-
* the typed `axiam-radius-reply/1` record a decision renders.
|
|
8918
|
-
* conditional on the `version` the caller read and passes the
|
|
8919
|
-
* gate. The tenant's Session-Timeout cap is one more row of
|
|
8920
|
-
* replace_policy): lowering it is always allowed, raising it
|
|
8921
|
-
* audited. The decision route FreeRADIUS calls is not in this
|
|
8921
|
+
* Live profile): a segment is a node of the reserved /network subtree of the
|
|
8922
|
+
* resource tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
8923
|
+
* profile is the typed `axiam-radius-reply/1` record a decision renders.
|
|
8924
|
+
* Every write is conditional on the `version` the caller read and passes the
|
|
8925
|
+
* server's write gate. The tenant's Session-Timeout cap is one more row of
|
|
8926
|
+
* it (get_policy, replace_policy): lowering it is always allowed, raising it
|
|
8927
|
+
* is allowed and audited. The decision route FreeRADIUS calls is not in this
|
|
8928
|
+
* registry.
|
|
8922
8929
|
*/
|
|
8923
8930
|
|
|
8924
8931
|
/**
|
|
8925
8932
|
* The `network` namespace handle.
|
|
8926
8933
|
*
|
|
8927
8934
|
* A tenant's network segments and the RADIUS reply profile each owns (RADIUS
|
|
8928
|
-
*
|
|
8929
|
-
* tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
8930
|
-
* the typed `axiam-radius-reply/1` record a decision renders.
|
|
8931
|
-
* conditional on the `version` the caller read and passes the
|
|
8932
|
-
* gate. The tenant's Session-Timeout cap is one more row of
|
|
8933
|
-
* replace_policy): lowering it is always allowed, raising it
|
|
8934
|
-
* audited. The decision route FreeRADIUS calls is not in this
|
|
8935
|
+
* Live profile): a segment is a node of the reserved /network subtree of the
|
|
8936
|
+
* resource tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
8937
|
+
* profile is the typed `axiam-radius-reply/1` record a decision renders.
|
|
8938
|
+
* Every write is conditional on the `version` the caller read and passes the
|
|
8939
|
+
* server's write gate. The tenant's Session-Timeout cap is one more row of
|
|
8940
|
+
* it (get_policy, replace_policy): lowering it is always allowed, raising it
|
|
8941
|
+
* is allowed and audited. The decision route FreeRADIUS calls is not in this
|
|
8942
|
+
* registry.
|
|
8935
8943
|
*
|
|
8936
8944
|
* Acquiring one performs no I/O and allocates nothing meaningful (§27.2 rule
|
|
8937
8945
|
* 1); it holds the client and cannot be constructed without one.
|
|
@@ -9528,13 +9536,14 @@ interface ManagementNamespaces {
|
|
|
9528
9536
|
readonly scimTargets: ScimTargetsApi;
|
|
9529
9537
|
/**
|
|
9530
9538
|
* A tenant's network segments and the RADIUS reply profile each owns (RADIUS
|
|
9531
|
-
*
|
|
9532
|
-
* tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
9533
|
-
* the typed `axiam-radius-reply/1` record a decision renders.
|
|
9534
|
-
* conditional on the `version` the caller read and passes the
|
|
9535
|
-
* gate. The tenant's Session-Timeout cap is one more row of
|
|
9536
|
-
* replace_policy): lowering it is always allowed, raising it
|
|
9537
|
-
* audited. The decision route FreeRADIUS calls is not in this
|
|
9539
|
+
* Live profile): a segment is a node of the reserved /network subtree of the
|
|
9540
|
+
* resource tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
9541
|
+
* profile is the typed `axiam-radius-reply/1` record a decision renders.
|
|
9542
|
+
* Every write is conditional on the `version` the caller read and passes the
|
|
9543
|
+
* server's write gate. The tenant's Session-Timeout cap is one more row of
|
|
9544
|
+
* it (get_policy, replace_policy): lowering it is always allowed, raising it
|
|
9545
|
+
* is allowed and audited. The decision route FreeRADIUS calls is not in this
|
|
9546
|
+
* registry.
|
|
9538
9547
|
*/
|
|
9539
9548
|
readonly network: NetworkApi;
|
|
9540
9549
|
/** Effective settings, and the organization/tenant layers they resolve from. */
|
|
@@ -9899,4 +9908,5 @@ declare class AxiamClient {
|
|
|
9899
9908
|
confirmPasswordReset(confirmation: PasswordResetConfirmation): Promise<void>;
|
|
9900
9909
|
}
|
|
9901
9910
|
|
|
9902
|
-
export { type CibaRequestSigningAlg as $, AxiamClient as A, AuditApi as B, type AuditListFilter as C, type DirectoryConfig as D, type AuditListSystemFilter as E, type AuditLogEntry as F, type GrantSpec as G, type AuditOutcome as H, type AuthnRequestParamsMode as I, BASE_DELAY_MS as J, type BindCertificate as K, type CaCertificate as L, type ManagementManifest as M, CaCertificatesApi as N, type Certificate as O, type ParseSamlSpMetadata as P, type CertificatePolicy as Q, type ResourceSpec as R, type SamlServiceProvider as S, type CertificateStatus as T, type UserSpec as U, type CertificateType as V, type WebauthnWorkspace as W, CertificatesApi as X, type CertificationLevel as Y, type Change as Z, type CibaDeliveryMode as _, type WebauthnLoginResult as a, type HealthResponse as a$, type CimdPolicy as a0, type ClientAuthMethod as a1, type ClientProfile as a2, type ClientRegistration as a3, type ComplianceReportEntry as a4, type ConsentView as a5, type CreateCaCertificateRequest as a6, type CreateCertificateRequest as a7, type CreateFederationConfigRequest as a8, type CreateFederationConfigRequestWire as a9, DirectoryApi as aA, type DirectoryKind as aB, type DirectoryLinkResult as aC, type DirectorySyncStatus as aD, type EmailConfig as aE, EmailConfigApi as aF, type EmailConfigOverride as aG, type EmailTestResult as aH, type EmailVerificationPolicy as aI, type EncryptRequest as aJ, type EncryptedExport as aK, type FailurePolicy as aL, FederationApi as aM, type FederationConfigResponse as aN, type FederationLinkResponse as aO, type GeneratedCaCertificate as aP, type GeneratedCaCertificateWire as aQ, type GeneratedCertificate as aR, type GeneratedCertificateWire as aS, type GeneratedPgpKey as aT, type GeneratedPgpKeyWire as aU, type GrantPermissionRequest as aV, type GrantScopeConsent as aW, type GrantedScope as aX, type Group as aY, type GroupMapping as aZ, GroupsApi as a_, type CreateGroupRequest as aa, type CreateIntermediateCaRequest as ab, type CreateNetworkReplyProfileRequest as ac, type CreateNetworkSegmentRequest as ad, type CreateNotificationRuleRequest as ae, type CreateOAuth2ClientRequest as af, type CreatePermissionRequest as ag, type CreatePgpKeyRequest as ah, type CreateReactorRequest as ai, type CreateRegistrationTokenRequest as aj, type CreateRegistrationTokenResponse as ak, type CreateRegistrationTokenResponseWire as al, type CreateResourceRequest as am, type CreateRoleRequest as an, type CreateScimTokenRequest as ao, type CreateScimTokenResponse as ap, type CreateScimTokenResponseWire as aq, type CreateScopeRequest as ar, type CreateServiceAccountRequest as as, type CreateTenantRequest as at, type CreateUserRequest as au, type CreateUserRequestWire as av, type CreateWebhookRequest as aw, type CreateWebhookRequestWire as ax, type DeprovisionPolicy as ay, type DeviceToken as az, type WebauthnCredential as b, type PgpKeyAlgorithm as b$, type ImportCaCertificateRequest as b0, type ImportCaCertificateRequestWire as b1, type IssueSamlIdpCredential as b2, KNOWN_SCIM_TARGET_AUTH_TYPES as b3, KNOWN_SCIM_TARGET_SCOPE_TYPES as b4, type KeyAlgorithm as b5, type LinkDirectoryAccount as b6, type LockoutPolicy as b7, MAX_ATTEMPTS as b8, MAX_DELAY_MS as b9, type NotificationPolicy as bA, type NotificationRuleResponse as bB, NotificationRulesApi as bC, type OAuth2ClientCreatedResponse as bD, type OAuth2ClientCreatedResponseWire as bE, type OAuth2ClientResponse as bF, Oauth2ClientsApi as bG, type OidcAuthorizeRequest as bH, type OidcAuthorizeResponse as bI, type OidcCallbackRequest as bJ, type OidcCallbackResponse as bK, type OidcPolicy as bL, type OpaqueEnrollment as bM, type OpaqueEnrollmentPayload as bN, type OpaquePolicy as bO, type Organization as bP, OrganizationsApi as bQ, type Page as bR, type PageRequest as bS, type PasswordPolicy as bT, type PasswordResetConfirmation as bU, type PasswordResetContext as bV, type PasswordResetRequest as bW, type Permission as bX, type PermissionEffect as bY, PermissionsApi as bZ, type PgpKey as b_, type ManagedBy as ba, type ManagementNamespaces as bb, type ManagementPlan as bc, ManifestApi as bd, type ManifestFailure as be, type MdsRefreshOutcome as bf, type MdsStatusResponse as bg, type MfaEnrollment as bh, type MfaMethodResponse as bi, type MfaMethodType as bj, type MfaPolicy as bk, type MigrateCustodyResponse as bl, type MtlsTrustAnchorResponse as bm, type NameIdFormat as bn, type NamespaceScope as bo, NetworkApi as bp, type NetworkPolicyResponse as bq, type NetworkPolicySpec as br, type NetworkProfileSpec as bs, type NetworkReplyProfile as bt, type NetworkReplyProfileInput as bu, type NetworkSegmentKind as bv, type NetworkSegmentResponse as bw, type NetworkSegmentSpec as bx, type NetworkSpec as by, type NotificationEventType as bz, type SamlServiceProviderInput as c, SettingsApi as c$, type PgpKeyPurpose as c0, type PgpKeyStatus as c1, PgpKeysApi as c2, type PlannedAction as c3, PlatformApi as c4, type PolicyResponse as c5, PrivacyApi as c6, type PrivacyPolicy as c7, type ProviderConfig as c8, type RadiusServiceType as c9, type SamlIdpCredential as cA, type SamlIdpCredentialPromotion as cB, type SamlIdpCredentialStatus as cC, type SamlIdpInfo as cD, type SamlIdpSlot as cE, type SamlSpMetadataDraft as cF, type ScimReconcileAccepted as cG, type ScimTargetAuth as cH, type ScimTargetDeliveryState as cI, type ScimTargetInputWire as cJ, type ScimTargetScope as cK, ScimTargetsApi as cL, type ScimTokenResponse as cM, type ScimTokenStatus as cN, ScimTokensApi as cO, type Scope as cP, ScopesApi as cQ, type SecuritySettings as cR, type ServiceAccountCreatedResponse as cS, type ServiceAccountCreatedResponseWire as cT, type ServiceAccountResponse as cU, ServiceAccountsApi as cV, type SessionResponse as cW, type SetDirectoryConfigWire as cX, type SetMtlsTrustAnchor as cY, type SetOrgEmailConfig as cZ, type SetOrgSettings as c_, type RadiusTerminationAction as ca, type ReactorEventDescriptor as cb, type ReactorMode as cc, type ReactorResponse as cd, ReactorsApi as ce, type ReadyResponse as cf, type RegistrationTokenResponse as cg, type ReplaceNetworkPolicyRequest as ch, type ReplaceNetworkReplyProfileRequest as ci, type ReplaceNetworkSegmentRequest as cj, type ResolvedPermissionGrant as ck, type Resource as cl, ResourcesApi as cm, type RetryOptions as cn, type RetryPolicy as co, type Role as cp, type RoleAssignment as cq, type RoleBinding as cr, type RoleGroupAssignment as cs, type RoleServiceAccountAssignment as ct, type RoleUserAssignment as cu, RolesApi as cv, type RotateSecretResponse as cw, type RotateSecretResponseWire as cx, SamlApi as cy, type SamlBinding as cz, type ScimTargetResponse as d, assertKnownScimTargetAuth as d$, type SettingsScope as d0, type SignAuditBatchRequest as d1, type SignCertificateCsrRequest as d2, type SignIntermediateCsrRequest as d3, type SignedAuditBatch as d4, type SmtpConfig as d5, SsfApi as d6, type SsfDeliveryMethod as d7, type SsfEventType as d8, type SsfStatusActor as d9, type UpdateResourceRequest as dA, type UpdateRole as dB, type UpdateScopeRequest as dC, type UpdateServiceAccount as dD, type UpdateTenant as dE, type UpdateUserRequest as dF, type UpdateWebhookRequest as dG, type UpdateWebhookRequestWire as dH, type UserAttributeMap as dI, type UserNameSource as dJ, type UserResponse as dK, type UserStatus as dL, UsersApi as dM, type WebauthnAttestationPolicy as dN, type WebauthnAuthenticationChallenge as dO, type WebauthnAuthenticationResponse as dP, type WebauthnCreationChallenge as dQ, type WebauthnCreationOptionsJson as dR, type WebauthnCredentialDescriptorJson as dS, type WebauthnPolicy as dT, WebauthnPolicyApi as dU, type WebauthnRegistrationChallenge as dV, type WebauthnRegistrationResponse as dW, type WebauthnRequestChallenge as dX, type WebauthnRequestOptionsJson as dY, type WebhookResponse as dZ, WebhooksApi as d_, type SsfStreamInputWire as da, type SsfStreamStatus as db, type SsfSubjectFormat as dc, type StepOutcome as dd, type SubjectAltName as de, type Target as df, type Tenant as dg, type TenantKind as dh, type TenantSettingsOverride as di, type TenantStatus as dj, TenantsApi as dk, type TokenExchangeTrustRequest as dl, type TokenExchangeTrustResponse as dm, type TokenPolicy as dn, type UnknownAaguidAction as dp, type UpdateDirectoryConfig as dq, type UpdateDirectoryConfigWire as dr, type UpdateFederationConfigRequest as ds, type UpdateFederationConfigRequestWire as dt, type UpdateGroup as du, type UpdateNotificationRuleRequest as dv, type UpdateOAuth2ClientRequest as dw, type UpdateOrganizationRequest as dx, type UpdatePermissionRequest as dy, type UpdateReactorRequest as dz, type ScimTargetInput as e, assertKnownScimTargetScope as e0, assertValidSubjectAltName as e1, assertValidSubjectAltNameList as e2, backoffMs as e3, changedCount as e4, changes as e5, clientRegistrationFromJson as e6, collectPages as e7, createFederationConfigRequestToWire as e8, createRegistrationTokenResponseFromWire as e9, scrubDirectoryConfig as eA, scrubDirectoryLinkResult as eB, scrubDirectorySyncStatus as eC, scrubSamlIdpCredential as eD, scrubSamlIdpCredentialPromotion as eE, scrubSamlIdpInfo as eF, scrubSamlServiceProvider as eG, scrubSamlSpMetadataDraft as eH, scrubScimReconcileAccepted as eI, scrubScimTargetResponse as eJ, scrubSsfStream as eK, serviceAccountCreatedResponseFromWire as eL, setDirectoryConfigToWire as eM, ssfStreamInputToWire as eN, topologicalOrder as eO, updateDirectoryConfigToWire as eP, updateFederationConfigRequestToWire as eQ, updateWebhookRequestToWire as eR, validate as eS, webauthnRequestJson as eT, withFederationConfigResponseDefaults as eU, withRetry as eV, createScimTokenResponseFromWire as ea, createUserRequestToWire as eb, createWebhookRequestToWire as ec, delayMs as ed, failure as ee, generatedCaCertificateFromWire as ef, generatedCertificateFromWire as eg, generatedPgpKeyFromWire as eh, hasMore as ei, importCaCertificateRequestToWire as ej, inheritOf as ek, isComplete as el, isConverged as em, managementNamespaces as en, normalizeSearch as eo, oAuth2ClientCreatedResponseFromWire as ep, omitEmptyTenantScope as eq, omitNullMembers as er, opaqueEnrollment as es, opaqueEnrollmentForSelf as et, pageQuery as eu, resourceKeyOf as ev, roleAssignmentInherits as ew, roleKeyOf as ex, rotateSecretResponseFromWire as ey, scimTargetInputToWire as ez, type SetDirectoryConfig as f, type SsfStream as g, type SsfStreamInput as h, type GroupSpec as i, type PermissionSpec as j, type RoleSpec as k, type ScopeSpec as l, type ServiceAccountSpec as m, type AcsEndpoint as n, type ActorType as o, type AddMemberRequest as p, type AddServiceAccountMemberRequest as q, type ApiProviderConfig as r, type AppliedStep as s, type ApplyReport as t, type AssignRoleToGroupRequest as u, type AssignRoleToServiceAccountRequest as v, type AssignRoleToUserRequest as w, type AttestationMode as x, type AttributeMapping as y, type AttributeSource as z };
|
|
9911
|
+
export { AxiamClient as A, AuditApi as B, BASE_DELAY_MS as J, CaCertificatesApi as N, CertificatesApi as X, DirectoryApi as aA, EmailConfigApi as aF, FederationApi as aM, GroupsApi as a_, KNOWN_SCIM_TARGET_AUTH_TYPES as b3, KNOWN_SCIM_TARGET_SCOPE_TYPES as b4, MAX_ATTEMPTS as b8, MAX_DELAY_MS as b9, NotificationRulesApi as bC, Oauth2ClientsApi as bG, OrganizationsApi as bQ, PermissionsApi as bZ, ManifestApi as bd, NetworkApi as bp, SettingsApi as c$, PgpKeysApi as c2, PlatformApi as c4, PrivacyApi as c6, ScimTargetsApi as cL, ScimTokensApi as cO, ScopesApi as cQ, ServiceAccountsApi as cV, ReactorsApi as ce, ResourcesApi as cm, RolesApi as cv, SamlApi as cy, assertKnownScimTargetAuth as d$, SsfApi as d6, UsersApi as dM, WebauthnPolicyApi as dU, WebhooksApi as d_, TenantsApi as dk, assertKnownScimTargetScope as e0, assertValidSubjectAltName as e1, assertValidSubjectAltNameList as e2, backoffMs as e3, changedCount as e4, changes as e5, clientRegistrationFromJson as e6, collectPages as e7, createFederationConfigRequestToWire as e8, createRegistrationTokenResponseFromWire as e9, scrubDirectoryConfig as eA, scrubDirectoryLinkResult as eB, scrubDirectorySyncStatus as eC, scrubSamlIdpCredential as eD, scrubSamlIdpCredentialPromotion as eE, scrubSamlIdpInfo as eF, scrubSamlServiceProvider as eG, scrubSamlSpMetadataDraft as eH, scrubScimReconcileAccepted as eI, scrubScimTargetResponse as eJ, scrubSsfStream as eK, serviceAccountCreatedResponseFromWire as eL, setDirectoryConfigToWire as eM, ssfStreamInputToWire as eN, topologicalOrder as eO, updateDirectoryConfigToWire as eP, updateFederationConfigRequestToWire as eQ, updateWebhookRequestToWire as eR, validate as eS, webauthnRequestJson as eT, withFederationConfigResponseDefaults as eU, withRetry as eV, createScimTokenResponseFromWire as ea, createUserRequestToWire as eb, createWebhookRequestToWire as ec, delayMs as ed, failure as ee, generatedCaCertificateFromWire as ef, generatedCertificateFromWire as eg, generatedPgpKeyFromWire as eh, hasMore as ei, importCaCertificateRequestToWire as ej, inheritOf as ek, isComplete as el, isConverged as em, managementNamespaces as en, normalizeSearch as eo, oAuth2ClientCreatedResponseFromWire as ep, omitEmptyTenantScope as eq, omitNullMembers as er, opaqueEnrollment as es, opaqueEnrollmentForSelf as et, pageQuery as eu, resourceKeyOf as ev, roleAssignmentInherits as ew, roleKeyOf as ex, rotateSecretResponseFromWire as ey, scimTargetInputToWire as ez };
|
|
9912
|
+
export type { CibaRequestSigningAlg as $, AuditListFilter as C, DirectoryConfig as D, AuditListSystemFilter as E, AuditLogEntry as F, GrantSpec as G, AuditOutcome as H, AuthnRequestParamsMode as I, BindCertificate as K, CaCertificate as L, ManagementManifest as M, Certificate as O, ParseSamlSpMetadata as P, CertificatePolicy as Q, ResourceSpec as R, SamlServiceProvider as S, CertificateStatus as T, UserSpec as U, CertificateType as V, WebauthnWorkspace as W, CertificationLevel as Y, Change as Z, CibaDeliveryMode as _, WebauthnLoginResult as a, HealthResponse as a$, CimdPolicy as a0, ClientAuthMethod as a1, ClientProfile as a2, ClientRegistration as a3, ComplianceReportEntry as a4, ConsentView as a5, CreateCaCertificateRequest as a6, CreateCertificateRequest as a7, CreateFederationConfigRequest as a8, CreateFederationConfigRequestWire as a9, DirectoryKind as aB, DirectoryLinkResult as aC, DirectorySyncStatus as aD, EmailConfig as aE, EmailConfigOverride as aG, EmailTestResult as aH, EmailVerificationPolicy as aI, EncryptRequest as aJ, EncryptedExport as aK, FailurePolicy as aL, FederationConfigResponse as aN, FederationLinkResponse as aO, GeneratedCaCertificate as aP, GeneratedCaCertificateWire as aQ, GeneratedCertificate as aR, GeneratedCertificateWire as aS, GeneratedPgpKey as aT, GeneratedPgpKeyWire as aU, GrantPermissionRequest as aV, GrantScopeConsent as aW, GrantedScope as aX, Group as aY, GroupMapping as aZ, CreateGroupRequest as aa, CreateIntermediateCaRequest as ab, CreateNetworkReplyProfileRequest as ac, CreateNetworkSegmentRequest as ad, CreateNotificationRuleRequest as ae, CreateOAuth2ClientRequest as af, CreatePermissionRequest as ag, CreatePgpKeyRequest as ah, CreateReactorRequest as ai, CreateRegistrationTokenRequest as aj, CreateRegistrationTokenResponse as ak, CreateRegistrationTokenResponseWire as al, CreateResourceRequest as am, CreateRoleRequest as an, CreateScimTokenRequest as ao, CreateScimTokenResponse as ap, CreateScimTokenResponseWire as aq, CreateScopeRequest as ar, CreateServiceAccountRequest as as, CreateTenantRequest as at, CreateUserRequest as au, CreateUserRequestWire as av, CreateWebhookRequest as aw, CreateWebhookRequestWire as ax, DeprovisionPolicy as ay, DeviceToken as az, WebauthnCredential as b, PgpKeyAlgorithm as b$, ImportCaCertificateRequest as b0, ImportCaCertificateRequestWire as b1, IssueSamlIdpCredential as b2, KeyAlgorithm as b5, LinkDirectoryAccount as b6, LockoutPolicy as b7, NotificationPolicy as bA, NotificationRuleResponse as bB, OAuth2ClientCreatedResponse as bD, OAuth2ClientCreatedResponseWire as bE, OAuth2ClientResponse as bF, OidcAuthorizeRequest as bH, OidcAuthorizeResponse as bI, OidcCallbackRequest as bJ, OidcCallbackResponse as bK, OidcPolicy as bL, OpaqueEnrollment as bM, OpaqueEnrollmentPayload as bN, OpaquePolicy as bO, Organization as bP, Page as bR, PageRequest as bS, PasswordPolicy as bT, PasswordResetConfirmation as bU, PasswordResetContext as bV, PasswordResetRequest as bW, Permission as bX, PermissionEffect as bY, PgpKey as b_, ManagedBy as ba, ManagementNamespaces as bb, ManagementPlan as bc, ManifestFailure as be, MdsRefreshOutcome as bf, MdsStatusResponse as bg, MfaEnrollment as bh, MfaMethodResponse as bi, MfaMethodType as bj, MfaPolicy as bk, MigrateCustodyResponse as bl, MtlsTrustAnchorResponse as bm, NameIdFormat as bn, NamespaceScope as bo, NetworkPolicyResponse as bq, NetworkPolicySpec as br, NetworkProfileSpec as bs, NetworkReplyProfile as bt, NetworkReplyProfileInput as bu, NetworkSegmentKind as bv, NetworkSegmentResponse as bw, NetworkSegmentSpec as bx, NetworkSpec as by, NotificationEventType as bz, SamlServiceProviderInput as c, PgpKeyPurpose as c0, PgpKeyStatus as c1, PlannedAction as c3, PolicyResponse as c5, PrivacyPolicy as c7, ProviderConfig as c8, RadiusServiceType as c9, SamlIdpCredential as cA, SamlIdpCredentialPromotion as cB, SamlIdpCredentialStatus as cC, SamlIdpInfo as cD, SamlIdpSlot as cE, SamlSpMetadataDraft as cF, ScimReconcileAccepted as cG, ScimTargetAuth as cH, ScimTargetDeliveryState as cI, ScimTargetInputWire as cJ, ScimTargetScope as cK, ScimTokenResponse as cM, ScimTokenStatus as cN, Scope as cP, SecuritySettings as cR, ServiceAccountCreatedResponse as cS, ServiceAccountCreatedResponseWire as cT, ServiceAccountResponse as cU, SessionResponse as cW, SetDirectoryConfigWire as cX, SetMtlsTrustAnchor as cY, SetOrgEmailConfig as cZ, SetOrgSettings as c_, RadiusTerminationAction as ca, ReactorEventDescriptor as cb, ReactorMode as cc, ReactorResponse as cd, ReadyResponse as cf, RegistrationTokenResponse as cg, ReplaceNetworkPolicyRequest as ch, ReplaceNetworkReplyProfileRequest as ci, ReplaceNetworkSegmentRequest as cj, ResolvedPermissionGrant as ck, Resource as cl, RetryOptions as cn, RetryPolicy as co, Role as cp, RoleAssignment as cq, RoleBinding as cr, RoleGroupAssignment as cs, RoleServiceAccountAssignment as ct, RoleUserAssignment as cu, RotateSecretResponse as cw, RotateSecretResponseWire as cx, SamlBinding as cz, ScimTargetResponse as d, SettingsScope as d0, SignAuditBatchRequest as d1, SignCertificateCsrRequest as d2, SignIntermediateCsrRequest as d3, SignedAuditBatch as d4, SmtpConfig as d5, SsfDeliveryMethod as d7, SsfEventType as d8, SsfStatusActor as d9, UpdateResourceRequest as dA, UpdateRole as dB, UpdateScopeRequest as dC, UpdateServiceAccount as dD, UpdateTenant as dE, UpdateUserRequest as dF, UpdateWebhookRequest as dG, UpdateWebhookRequestWire as dH, UserAttributeMap as dI, UserNameSource as dJ, UserResponse as dK, UserStatus as dL, WebauthnAttestationPolicy as dN, WebauthnAuthenticationChallenge as dO, WebauthnAuthenticationResponse as dP, WebauthnCreationChallenge as dQ, WebauthnCreationOptionsJson as dR, WebauthnCredentialDescriptorJson as dS, WebauthnPolicy as dT, WebauthnRegistrationChallenge as dV, WebauthnRegistrationResponse as dW, WebauthnRequestChallenge as dX, WebauthnRequestOptionsJson as dY, WebhookResponse as dZ, SsfStreamInputWire as da, SsfStreamStatus as db, SsfSubjectFormat as dc, StepOutcome as dd, SubjectAltName as de, Target as df, Tenant as dg, TenantKind as dh, TenantSettingsOverride as di, TenantStatus as dj, TokenExchangeTrustRequest as dl, TokenExchangeTrustResponse as dm, TokenPolicy as dn, UnknownAaguidAction as dp, UpdateDirectoryConfig as dq, UpdateDirectoryConfigWire as dr, UpdateFederationConfigRequest as ds, UpdateFederationConfigRequestWire as dt, UpdateGroup as du, UpdateNotificationRuleRequest as dv, UpdateOAuth2ClientRequest as dw, UpdateOrganizationRequest as dx, UpdatePermissionRequest as dy, UpdateReactorRequest as dz, ScimTargetInput as e, SetDirectoryConfig as f, SsfStream as g, SsfStreamInput as h, GroupSpec as i, PermissionSpec as j, RoleSpec as k, ScopeSpec as l, ServiceAccountSpec as m, AcsEndpoint as n, ActorType as o, AddMemberRequest as p, AddServiceAccountMemberRequest as q, ApiProviderConfig as r, AppliedStep as s, ApplyReport as t, AssignRoleToGroupRequest as u, AssignRoleToServiceAccountRequest as v, AssignRoleToUserRequest as w, AttestationMode as x, AttributeMapping as y, AttributeSource as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.js';
|
|
2
|
-
import { S as SharedSession, A as AxiamClientOptions, D as DecisionMemo, T as TelemetryReporter } from './session-
|
|
2
|
+
import { S as SharedSession, A as AxiamClientOptions, D as DecisionMemo, T as TelemetryReporter } from './session-B03NsqVs.js';
|
|
3
3
|
import { L as LoginResult, A as AccessCheck, a as AccessDecision } from './types-BOX-6Srv.js';
|
|
4
|
-
import { a as TelemetryDispatcher } from './telemetry
|
|
4
|
+
import { a as TelemetryDispatcher } from './telemetry-Du0-zS5f.js';
|
|
5
5
|
|
|
6
6
|
/** Attempt cap: 1 initial + 2 retries (§16.1). */
|
|
7
7
|
declare const MAX_ATTEMPTS = 3;
|
|
@@ -29,6 +29,12 @@ interface RetryOptions {
|
|
|
29
29
|
sleepFn?: (ms: number) => Promise<void>;
|
|
30
30
|
/** Injected for tests: returns the jitter fraction in [0, 1]. */
|
|
31
31
|
randomFn?: () => number;
|
|
32
|
+
/**
|
|
33
|
+
* Called with the wait before a retry is announced or served; throwing refuses the retry, so
|
|
34
|
+
* nothing is emitted for it and nothing more is sent. A poll inside a deadline uses it to refuse
|
|
35
|
+
* a wait that would reach the deadline (CONTRACT.md §14.2 rule 4, §34.2 P10).
|
|
36
|
+
*/
|
|
37
|
+
admit?: (delayMs: number) => void;
|
|
32
38
|
}
|
|
33
39
|
/**
|
|
34
40
|
* The un-jittered backoff for a 1-based attempt: `min(cap, base * 2^(n-1))`.
|
|
@@ -8912,26 +8918,28 @@ declare class ScimTargetsApi {
|
|
|
8912
8918
|
* The `network` management namespace (CONTRACT §27.1).
|
|
8913
8919
|
*
|
|
8914
8920
|
* A tenant's network segments and the RADIUS reply profile each owns (RADIUS
|
|
8915
|
-
*
|
|
8916
|
-
* tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
8917
|
-
* the typed `axiam-radius-reply/1` record a decision renders.
|
|
8918
|
-
* conditional on the `version` the caller read and passes the
|
|
8919
|
-
* gate. The tenant's Session-Timeout cap is one more row of
|
|
8920
|
-
* replace_policy): lowering it is always allowed, raising it
|
|
8921
|
-
* audited. The decision route FreeRADIUS calls is not in this
|
|
8921
|
+
* Live profile): a segment is a node of the reserved /network subtree of the
|
|
8922
|
+
* resource tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
8923
|
+
* profile is the typed `axiam-radius-reply/1` record a decision renders.
|
|
8924
|
+
* Every write is conditional on the `version` the caller read and passes the
|
|
8925
|
+
* server's write gate. The tenant's Session-Timeout cap is one more row of
|
|
8926
|
+
* it (get_policy, replace_policy): lowering it is always allowed, raising it
|
|
8927
|
+
* is allowed and audited. The decision route FreeRADIUS calls is not in this
|
|
8928
|
+
* registry.
|
|
8922
8929
|
*/
|
|
8923
8930
|
|
|
8924
8931
|
/**
|
|
8925
8932
|
* The `network` namespace handle.
|
|
8926
8933
|
*
|
|
8927
8934
|
* A tenant's network segments and the RADIUS reply profile each owns (RADIUS
|
|
8928
|
-
*
|
|
8929
|
-
* tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
8930
|
-
* the typed `axiam-radius-reply/1` record a decision renders.
|
|
8931
|
-
* conditional on the `version` the caller read and passes the
|
|
8932
|
-
* gate. The tenant's Session-Timeout cap is one more row of
|
|
8933
|
-
* replace_policy): lowering it is always allowed, raising it
|
|
8934
|
-
* audited. The decision route FreeRADIUS calls is not in this
|
|
8935
|
+
* Live profile): a segment is a node of the reserved /network subtree of the
|
|
8936
|
+
* resource tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
8937
|
+
* profile is the typed `axiam-radius-reply/1` record a decision renders.
|
|
8938
|
+
* Every write is conditional on the `version` the caller read and passes the
|
|
8939
|
+
* server's write gate. The tenant's Session-Timeout cap is one more row of
|
|
8940
|
+
* it (get_policy, replace_policy): lowering it is always allowed, raising it
|
|
8941
|
+
* is allowed and audited. The decision route FreeRADIUS calls is not in this
|
|
8942
|
+
* registry.
|
|
8935
8943
|
*
|
|
8936
8944
|
* Acquiring one performs no I/O and allocates nothing meaningful (§27.2 rule
|
|
8937
8945
|
* 1); it holds the client and cannot be constructed without one.
|
|
@@ -9528,13 +9536,14 @@ interface ManagementNamespaces {
|
|
|
9528
9536
|
readonly scimTargets: ScimTargetsApi;
|
|
9529
9537
|
/**
|
|
9530
9538
|
* A tenant's network segments and the RADIUS reply profile each owns (RADIUS
|
|
9531
|
-
*
|
|
9532
|
-
* tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
9533
|
-
* the typed `axiam-radius-reply/1` record a decision renders.
|
|
9534
|
-
* conditional on the `version` the caller read and passes the
|
|
9535
|
-
* gate. The tenant's Session-Timeout cap is one more row of
|
|
9536
|
-
* replace_policy): lowering it is always allowed, raising it
|
|
9537
|
-
* audited. The decision route FreeRADIUS calls is not in this
|
|
9539
|
+
* Live profile): a segment is a node of the reserved /network subtree of the
|
|
9540
|
+
* resource tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
9541
|
+
* profile is the typed `axiam-radius-reply/1` record a decision renders.
|
|
9542
|
+
* Every write is conditional on the `version` the caller read and passes the
|
|
9543
|
+
* server's write gate. The tenant's Session-Timeout cap is one more row of
|
|
9544
|
+
* it (get_policy, replace_policy): lowering it is always allowed, raising it
|
|
9545
|
+
* is allowed and audited. The decision route FreeRADIUS calls is not in this
|
|
9546
|
+
* registry.
|
|
9538
9547
|
*/
|
|
9539
9548
|
readonly network: NetworkApi;
|
|
9540
9549
|
/** Effective settings, and the organization/tenant layers they resolve from. */
|
|
@@ -9899,4 +9908,5 @@ declare class AxiamClient {
|
|
|
9899
9908
|
confirmPasswordReset(confirmation: PasswordResetConfirmation): Promise<void>;
|
|
9900
9909
|
}
|
|
9901
9910
|
|
|
9902
|
-
export { type CibaRequestSigningAlg as $, AxiamClient as A, AuditApi as B, type AuditListFilter as C, type DirectoryConfig as D, type AuditListSystemFilter as E, type AuditLogEntry as F, type GrantSpec as G, type AuditOutcome as H, type AuthnRequestParamsMode as I, BASE_DELAY_MS as J, type BindCertificate as K, type CaCertificate as L, type ManagementManifest as M, CaCertificatesApi as N, type Certificate as O, type ParseSamlSpMetadata as P, type CertificatePolicy as Q, type ResourceSpec as R, type SamlServiceProvider as S, type CertificateStatus as T, type UserSpec as U, type CertificateType as V, type WebauthnWorkspace as W, CertificatesApi as X, type CertificationLevel as Y, type Change as Z, type CibaDeliveryMode as _, type WebauthnLoginResult as a, type HealthResponse as a$, type CimdPolicy as a0, type ClientAuthMethod as a1, type ClientProfile as a2, type ClientRegistration as a3, type ComplianceReportEntry as a4, type ConsentView as a5, type CreateCaCertificateRequest as a6, type CreateCertificateRequest as a7, type CreateFederationConfigRequest as a8, type CreateFederationConfigRequestWire as a9, DirectoryApi as aA, type DirectoryKind as aB, type DirectoryLinkResult as aC, type DirectorySyncStatus as aD, type EmailConfig as aE, EmailConfigApi as aF, type EmailConfigOverride as aG, type EmailTestResult as aH, type EmailVerificationPolicy as aI, type EncryptRequest as aJ, type EncryptedExport as aK, type FailurePolicy as aL, FederationApi as aM, type FederationConfigResponse as aN, type FederationLinkResponse as aO, type GeneratedCaCertificate as aP, type GeneratedCaCertificateWire as aQ, type GeneratedCertificate as aR, type GeneratedCertificateWire as aS, type GeneratedPgpKey as aT, type GeneratedPgpKeyWire as aU, type GrantPermissionRequest as aV, type GrantScopeConsent as aW, type GrantedScope as aX, type Group as aY, type GroupMapping as aZ, GroupsApi as a_, type CreateGroupRequest as aa, type CreateIntermediateCaRequest as ab, type CreateNetworkReplyProfileRequest as ac, type CreateNetworkSegmentRequest as ad, type CreateNotificationRuleRequest as ae, type CreateOAuth2ClientRequest as af, type CreatePermissionRequest as ag, type CreatePgpKeyRequest as ah, type CreateReactorRequest as ai, type CreateRegistrationTokenRequest as aj, type CreateRegistrationTokenResponse as ak, type CreateRegistrationTokenResponseWire as al, type CreateResourceRequest as am, type CreateRoleRequest as an, type CreateScimTokenRequest as ao, type CreateScimTokenResponse as ap, type CreateScimTokenResponseWire as aq, type CreateScopeRequest as ar, type CreateServiceAccountRequest as as, type CreateTenantRequest as at, type CreateUserRequest as au, type CreateUserRequestWire as av, type CreateWebhookRequest as aw, type CreateWebhookRequestWire as ax, type DeprovisionPolicy as ay, type DeviceToken as az, type WebauthnCredential as b, type PgpKeyAlgorithm as b$, type ImportCaCertificateRequest as b0, type ImportCaCertificateRequestWire as b1, type IssueSamlIdpCredential as b2, KNOWN_SCIM_TARGET_AUTH_TYPES as b3, KNOWN_SCIM_TARGET_SCOPE_TYPES as b4, type KeyAlgorithm as b5, type LinkDirectoryAccount as b6, type LockoutPolicy as b7, MAX_ATTEMPTS as b8, MAX_DELAY_MS as b9, type NotificationPolicy as bA, type NotificationRuleResponse as bB, NotificationRulesApi as bC, type OAuth2ClientCreatedResponse as bD, type OAuth2ClientCreatedResponseWire as bE, type OAuth2ClientResponse as bF, Oauth2ClientsApi as bG, type OidcAuthorizeRequest as bH, type OidcAuthorizeResponse as bI, type OidcCallbackRequest as bJ, type OidcCallbackResponse as bK, type OidcPolicy as bL, type OpaqueEnrollment as bM, type OpaqueEnrollmentPayload as bN, type OpaquePolicy as bO, type Organization as bP, OrganizationsApi as bQ, type Page as bR, type PageRequest as bS, type PasswordPolicy as bT, type PasswordResetConfirmation as bU, type PasswordResetContext as bV, type PasswordResetRequest as bW, type Permission as bX, type PermissionEffect as bY, PermissionsApi as bZ, type PgpKey as b_, type ManagedBy as ba, type ManagementNamespaces as bb, type ManagementPlan as bc, ManifestApi as bd, type ManifestFailure as be, type MdsRefreshOutcome as bf, type MdsStatusResponse as bg, type MfaEnrollment as bh, type MfaMethodResponse as bi, type MfaMethodType as bj, type MfaPolicy as bk, type MigrateCustodyResponse as bl, type MtlsTrustAnchorResponse as bm, type NameIdFormat as bn, type NamespaceScope as bo, NetworkApi as bp, type NetworkPolicyResponse as bq, type NetworkPolicySpec as br, type NetworkProfileSpec as bs, type NetworkReplyProfile as bt, type NetworkReplyProfileInput as bu, type NetworkSegmentKind as bv, type NetworkSegmentResponse as bw, type NetworkSegmentSpec as bx, type NetworkSpec as by, type NotificationEventType as bz, type SamlServiceProviderInput as c, SettingsApi as c$, type PgpKeyPurpose as c0, type PgpKeyStatus as c1, PgpKeysApi as c2, type PlannedAction as c3, PlatformApi as c4, type PolicyResponse as c5, PrivacyApi as c6, type PrivacyPolicy as c7, type ProviderConfig as c8, type RadiusServiceType as c9, type SamlIdpCredential as cA, type SamlIdpCredentialPromotion as cB, type SamlIdpCredentialStatus as cC, type SamlIdpInfo as cD, type SamlIdpSlot as cE, type SamlSpMetadataDraft as cF, type ScimReconcileAccepted as cG, type ScimTargetAuth as cH, type ScimTargetDeliveryState as cI, type ScimTargetInputWire as cJ, type ScimTargetScope as cK, ScimTargetsApi as cL, type ScimTokenResponse as cM, type ScimTokenStatus as cN, ScimTokensApi as cO, type Scope as cP, ScopesApi as cQ, type SecuritySettings as cR, type ServiceAccountCreatedResponse as cS, type ServiceAccountCreatedResponseWire as cT, type ServiceAccountResponse as cU, ServiceAccountsApi as cV, type SessionResponse as cW, type SetDirectoryConfigWire as cX, type SetMtlsTrustAnchor as cY, type SetOrgEmailConfig as cZ, type SetOrgSettings as c_, type RadiusTerminationAction as ca, type ReactorEventDescriptor as cb, type ReactorMode as cc, type ReactorResponse as cd, ReactorsApi as ce, type ReadyResponse as cf, type RegistrationTokenResponse as cg, type ReplaceNetworkPolicyRequest as ch, type ReplaceNetworkReplyProfileRequest as ci, type ReplaceNetworkSegmentRequest as cj, type ResolvedPermissionGrant as ck, type Resource as cl, ResourcesApi as cm, type RetryOptions as cn, type RetryPolicy as co, type Role as cp, type RoleAssignment as cq, type RoleBinding as cr, type RoleGroupAssignment as cs, type RoleServiceAccountAssignment as ct, type RoleUserAssignment as cu, RolesApi as cv, type RotateSecretResponse as cw, type RotateSecretResponseWire as cx, SamlApi as cy, type SamlBinding as cz, type ScimTargetResponse as d, assertKnownScimTargetAuth as d$, type SettingsScope as d0, type SignAuditBatchRequest as d1, type SignCertificateCsrRequest as d2, type SignIntermediateCsrRequest as d3, type SignedAuditBatch as d4, type SmtpConfig as d5, SsfApi as d6, type SsfDeliveryMethod as d7, type SsfEventType as d8, type SsfStatusActor as d9, type UpdateResourceRequest as dA, type UpdateRole as dB, type UpdateScopeRequest as dC, type UpdateServiceAccount as dD, type UpdateTenant as dE, type UpdateUserRequest as dF, type UpdateWebhookRequest as dG, type UpdateWebhookRequestWire as dH, type UserAttributeMap as dI, type UserNameSource as dJ, type UserResponse as dK, type UserStatus as dL, UsersApi as dM, type WebauthnAttestationPolicy as dN, type WebauthnAuthenticationChallenge as dO, type WebauthnAuthenticationResponse as dP, type WebauthnCreationChallenge as dQ, type WebauthnCreationOptionsJson as dR, type WebauthnCredentialDescriptorJson as dS, type WebauthnPolicy as dT, WebauthnPolicyApi as dU, type WebauthnRegistrationChallenge as dV, type WebauthnRegistrationResponse as dW, type WebauthnRequestChallenge as dX, type WebauthnRequestOptionsJson as dY, type WebhookResponse as dZ, WebhooksApi as d_, type SsfStreamInputWire as da, type SsfStreamStatus as db, type SsfSubjectFormat as dc, type StepOutcome as dd, type SubjectAltName as de, type Target as df, type Tenant as dg, type TenantKind as dh, type TenantSettingsOverride as di, type TenantStatus as dj, TenantsApi as dk, type TokenExchangeTrustRequest as dl, type TokenExchangeTrustResponse as dm, type TokenPolicy as dn, type UnknownAaguidAction as dp, type UpdateDirectoryConfig as dq, type UpdateDirectoryConfigWire as dr, type UpdateFederationConfigRequest as ds, type UpdateFederationConfigRequestWire as dt, type UpdateGroup as du, type UpdateNotificationRuleRequest as dv, type UpdateOAuth2ClientRequest as dw, type UpdateOrganizationRequest as dx, type UpdatePermissionRequest as dy, type UpdateReactorRequest as dz, type ScimTargetInput as e, assertKnownScimTargetScope as e0, assertValidSubjectAltName as e1, assertValidSubjectAltNameList as e2, backoffMs as e3, changedCount as e4, changes as e5, clientRegistrationFromJson as e6, collectPages as e7, createFederationConfigRequestToWire as e8, createRegistrationTokenResponseFromWire as e9, scrubDirectoryConfig as eA, scrubDirectoryLinkResult as eB, scrubDirectorySyncStatus as eC, scrubSamlIdpCredential as eD, scrubSamlIdpCredentialPromotion as eE, scrubSamlIdpInfo as eF, scrubSamlServiceProvider as eG, scrubSamlSpMetadataDraft as eH, scrubScimReconcileAccepted as eI, scrubScimTargetResponse as eJ, scrubSsfStream as eK, serviceAccountCreatedResponseFromWire as eL, setDirectoryConfigToWire as eM, ssfStreamInputToWire as eN, topologicalOrder as eO, updateDirectoryConfigToWire as eP, updateFederationConfigRequestToWire as eQ, updateWebhookRequestToWire as eR, validate as eS, webauthnRequestJson as eT, withFederationConfigResponseDefaults as eU, withRetry as eV, createScimTokenResponseFromWire as ea, createUserRequestToWire as eb, createWebhookRequestToWire as ec, delayMs as ed, failure as ee, generatedCaCertificateFromWire as ef, generatedCertificateFromWire as eg, generatedPgpKeyFromWire as eh, hasMore as ei, importCaCertificateRequestToWire as ej, inheritOf as ek, isComplete as el, isConverged as em, managementNamespaces as en, normalizeSearch as eo, oAuth2ClientCreatedResponseFromWire as ep, omitEmptyTenantScope as eq, omitNullMembers as er, opaqueEnrollment as es, opaqueEnrollmentForSelf as et, pageQuery as eu, resourceKeyOf as ev, roleAssignmentInherits as ew, roleKeyOf as ex, rotateSecretResponseFromWire as ey, scimTargetInputToWire as ez, type SetDirectoryConfig as f, type SsfStream as g, type SsfStreamInput as h, type GroupSpec as i, type PermissionSpec as j, type RoleSpec as k, type ScopeSpec as l, type ServiceAccountSpec as m, type AcsEndpoint as n, type ActorType as o, type AddMemberRequest as p, type AddServiceAccountMemberRequest as q, type ApiProviderConfig as r, type AppliedStep as s, type ApplyReport as t, type AssignRoleToGroupRequest as u, type AssignRoleToServiceAccountRequest as v, type AssignRoleToUserRequest as w, type AttestationMode as x, type AttributeMapping as y, type AttributeSource as z };
|
|
9911
|
+
export { AxiamClient as A, AuditApi as B, BASE_DELAY_MS as J, CaCertificatesApi as N, CertificatesApi as X, DirectoryApi as aA, EmailConfigApi as aF, FederationApi as aM, GroupsApi as a_, KNOWN_SCIM_TARGET_AUTH_TYPES as b3, KNOWN_SCIM_TARGET_SCOPE_TYPES as b4, MAX_ATTEMPTS as b8, MAX_DELAY_MS as b9, NotificationRulesApi as bC, Oauth2ClientsApi as bG, OrganizationsApi as bQ, PermissionsApi as bZ, ManifestApi as bd, NetworkApi as bp, SettingsApi as c$, PgpKeysApi as c2, PlatformApi as c4, PrivacyApi as c6, ScimTargetsApi as cL, ScimTokensApi as cO, ScopesApi as cQ, ServiceAccountsApi as cV, ReactorsApi as ce, ResourcesApi as cm, RolesApi as cv, SamlApi as cy, assertKnownScimTargetAuth as d$, SsfApi as d6, UsersApi as dM, WebauthnPolicyApi as dU, WebhooksApi as d_, TenantsApi as dk, assertKnownScimTargetScope as e0, assertValidSubjectAltName as e1, assertValidSubjectAltNameList as e2, backoffMs as e3, changedCount as e4, changes as e5, clientRegistrationFromJson as e6, collectPages as e7, createFederationConfigRequestToWire as e8, createRegistrationTokenResponseFromWire as e9, scrubDirectoryConfig as eA, scrubDirectoryLinkResult as eB, scrubDirectorySyncStatus as eC, scrubSamlIdpCredential as eD, scrubSamlIdpCredentialPromotion as eE, scrubSamlIdpInfo as eF, scrubSamlServiceProvider as eG, scrubSamlSpMetadataDraft as eH, scrubScimReconcileAccepted as eI, scrubScimTargetResponse as eJ, scrubSsfStream as eK, serviceAccountCreatedResponseFromWire as eL, setDirectoryConfigToWire as eM, ssfStreamInputToWire as eN, topologicalOrder as eO, updateDirectoryConfigToWire as eP, updateFederationConfigRequestToWire as eQ, updateWebhookRequestToWire as eR, validate as eS, webauthnRequestJson as eT, withFederationConfigResponseDefaults as eU, withRetry as eV, createScimTokenResponseFromWire as ea, createUserRequestToWire as eb, createWebhookRequestToWire as ec, delayMs as ed, failure as ee, generatedCaCertificateFromWire as ef, generatedCertificateFromWire as eg, generatedPgpKeyFromWire as eh, hasMore as ei, importCaCertificateRequestToWire as ej, inheritOf as ek, isComplete as el, isConverged as em, managementNamespaces as en, normalizeSearch as eo, oAuth2ClientCreatedResponseFromWire as ep, omitEmptyTenantScope as eq, omitNullMembers as er, opaqueEnrollment as es, opaqueEnrollmentForSelf as et, pageQuery as eu, resourceKeyOf as ev, roleAssignmentInherits as ew, roleKeyOf as ex, rotateSecretResponseFromWire as ey, scimTargetInputToWire as ez };
|
|
9912
|
+
export type { CibaRequestSigningAlg as $, AuditListFilter as C, DirectoryConfig as D, AuditListSystemFilter as E, AuditLogEntry as F, GrantSpec as G, AuditOutcome as H, AuthnRequestParamsMode as I, BindCertificate as K, CaCertificate as L, ManagementManifest as M, Certificate as O, ParseSamlSpMetadata as P, CertificatePolicy as Q, ResourceSpec as R, SamlServiceProvider as S, CertificateStatus as T, UserSpec as U, CertificateType as V, WebauthnWorkspace as W, CertificationLevel as Y, Change as Z, CibaDeliveryMode as _, WebauthnLoginResult as a, HealthResponse as a$, CimdPolicy as a0, ClientAuthMethod as a1, ClientProfile as a2, ClientRegistration as a3, ComplianceReportEntry as a4, ConsentView as a5, CreateCaCertificateRequest as a6, CreateCertificateRequest as a7, CreateFederationConfigRequest as a8, CreateFederationConfigRequestWire as a9, DirectoryKind as aB, DirectoryLinkResult as aC, DirectorySyncStatus as aD, EmailConfig as aE, EmailConfigOverride as aG, EmailTestResult as aH, EmailVerificationPolicy as aI, EncryptRequest as aJ, EncryptedExport as aK, FailurePolicy as aL, FederationConfigResponse as aN, FederationLinkResponse as aO, GeneratedCaCertificate as aP, GeneratedCaCertificateWire as aQ, GeneratedCertificate as aR, GeneratedCertificateWire as aS, GeneratedPgpKey as aT, GeneratedPgpKeyWire as aU, GrantPermissionRequest as aV, GrantScopeConsent as aW, GrantedScope as aX, Group as aY, GroupMapping as aZ, CreateGroupRequest as aa, CreateIntermediateCaRequest as ab, CreateNetworkReplyProfileRequest as ac, CreateNetworkSegmentRequest as ad, CreateNotificationRuleRequest as ae, CreateOAuth2ClientRequest as af, CreatePermissionRequest as ag, CreatePgpKeyRequest as ah, CreateReactorRequest as ai, CreateRegistrationTokenRequest as aj, CreateRegistrationTokenResponse as ak, CreateRegistrationTokenResponseWire as al, CreateResourceRequest as am, CreateRoleRequest as an, CreateScimTokenRequest as ao, CreateScimTokenResponse as ap, CreateScimTokenResponseWire as aq, CreateScopeRequest as ar, CreateServiceAccountRequest as as, CreateTenantRequest as at, CreateUserRequest as au, CreateUserRequestWire as av, CreateWebhookRequest as aw, CreateWebhookRequestWire as ax, DeprovisionPolicy as ay, DeviceToken as az, WebauthnCredential as b, PgpKeyAlgorithm as b$, ImportCaCertificateRequest as b0, ImportCaCertificateRequestWire as b1, IssueSamlIdpCredential as b2, KeyAlgorithm as b5, LinkDirectoryAccount as b6, LockoutPolicy as b7, NotificationPolicy as bA, NotificationRuleResponse as bB, OAuth2ClientCreatedResponse as bD, OAuth2ClientCreatedResponseWire as bE, OAuth2ClientResponse as bF, OidcAuthorizeRequest as bH, OidcAuthorizeResponse as bI, OidcCallbackRequest as bJ, OidcCallbackResponse as bK, OidcPolicy as bL, OpaqueEnrollment as bM, OpaqueEnrollmentPayload as bN, OpaquePolicy as bO, Organization as bP, Page as bR, PageRequest as bS, PasswordPolicy as bT, PasswordResetConfirmation as bU, PasswordResetContext as bV, PasswordResetRequest as bW, Permission as bX, PermissionEffect as bY, PgpKey as b_, ManagedBy as ba, ManagementNamespaces as bb, ManagementPlan as bc, ManifestFailure as be, MdsRefreshOutcome as bf, MdsStatusResponse as bg, MfaEnrollment as bh, MfaMethodResponse as bi, MfaMethodType as bj, MfaPolicy as bk, MigrateCustodyResponse as bl, MtlsTrustAnchorResponse as bm, NameIdFormat as bn, NamespaceScope as bo, NetworkPolicyResponse as bq, NetworkPolicySpec as br, NetworkProfileSpec as bs, NetworkReplyProfile as bt, NetworkReplyProfileInput as bu, NetworkSegmentKind as bv, NetworkSegmentResponse as bw, NetworkSegmentSpec as bx, NetworkSpec as by, NotificationEventType as bz, SamlServiceProviderInput as c, PgpKeyPurpose as c0, PgpKeyStatus as c1, PlannedAction as c3, PolicyResponse as c5, PrivacyPolicy as c7, ProviderConfig as c8, RadiusServiceType as c9, SamlIdpCredential as cA, SamlIdpCredentialPromotion as cB, SamlIdpCredentialStatus as cC, SamlIdpInfo as cD, SamlIdpSlot as cE, SamlSpMetadataDraft as cF, ScimReconcileAccepted as cG, ScimTargetAuth as cH, ScimTargetDeliveryState as cI, ScimTargetInputWire as cJ, ScimTargetScope as cK, ScimTokenResponse as cM, ScimTokenStatus as cN, Scope as cP, SecuritySettings as cR, ServiceAccountCreatedResponse as cS, ServiceAccountCreatedResponseWire as cT, ServiceAccountResponse as cU, SessionResponse as cW, SetDirectoryConfigWire as cX, SetMtlsTrustAnchor as cY, SetOrgEmailConfig as cZ, SetOrgSettings as c_, RadiusTerminationAction as ca, ReactorEventDescriptor as cb, ReactorMode as cc, ReactorResponse as cd, ReadyResponse as cf, RegistrationTokenResponse as cg, ReplaceNetworkPolicyRequest as ch, ReplaceNetworkReplyProfileRequest as ci, ReplaceNetworkSegmentRequest as cj, ResolvedPermissionGrant as ck, Resource as cl, RetryOptions as cn, RetryPolicy as co, Role as cp, RoleAssignment as cq, RoleBinding as cr, RoleGroupAssignment as cs, RoleServiceAccountAssignment as ct, RoleUserAssignment as cu, RotateSecretResponse as cw, RotateSecretResponseWire as cx, SamlBinding as cz, ScimTargetResponse as d, SettingsScope as d0, SignAuditBatchRequest as d1, SignCertificateCsrRequest as d2, SignIntermediateCsrRequest as d3, SignedAuditBatch as d4, SmtpConfig as d5, SsfDeliveryMethod as d7, SsfEventType as d8, SsfStatusActor as d9, UpdateResourceRequest as dA, UpdateRole as dB, UpdateScopeRequest as dC, UpdateServiceAccount as dD, UpdateTenant as dE, UpdateUserRequest as dF, UpdateWebhookRequest as dG, UpdateWebhookRequestWire as dH, UserAttributeMap as dI, UserNameSource as dJ, UserResponse as dK, UserStatus as dL, WebauthnAttestationPolicy as dN, WebauthnAuthenticationChallenge as dO, WebauthnAuthenticationResponse as dP, WebauthnCreationChallenge as dQ, WebauthnCreationOptionsJson as dR, WebauthnCredentialDescriptorJson as dS, WebauthnPolicy as dT, WebauthnRegistrationChallenge as dV, WebauthnRegistrationResponse as dW, WebauthnRequestChallenge as dX, WebauthnRequestOptionsJson as dY, WebhookResponse as dZ, SsfStreamInputWire as da, SsfStreamStatus as db, SsfSubjectFormat as dc, StepOutcome as dd, SubjectAltName as de, Target as df, Tenant as dg, TenantKind as dh, TenantSettingsOverride as di, TenantStatus as dj, TokenExchangeTrustRequest as dl, TokenExchangeTrustResponse as dm, TokenPolicy as dn, UnknownAaguidAction as dp, UpdateDirectoryConfig as dq, UpdateDirectoryConfigWire as dr, UpdateFederationConfigRequest as ds, UpdateFederationConfigRequestWire as dt, UpdateGroup as du, UpdateNotificationRuleRequest as dv, UpdateOAuth2ClientRequest as dw, UpdateOrganizationRequest as dx, UpdatePermissionRequest as dy, UpdateReactorRequest as dz, ScimTargetInput as e, SetDirectoryConfig as f, SsfStream as g, SsfStreamInput as h, GroupSpec as i, PermissionSpec as j, RoleSpec as k, ScopeSpec as l, ServiceAccountSpec as m, AcsEndpoint as n, ActorType as o, AddMemberRequest as p, AddServiceAccountMemberRequest as q, ApiProviderConfig as r, AppliedStep as s, ApplyReport as t, AssignRoleToGroupRequest as u, AssignRoleToServiceAccountRequest as v, AssignRoleToUserRequest as w, AttestationMode as x, AttributeMapping as y, AttributeSource as z };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosInstance } from 'axios';
|
|
2
2
|
import { CookieJar } from 'tough-cookie';
|
|
3
|
-
import { S as SharedSession, A as AxiamClientOptions, N as NodeTlsOptions } from './session-
|
|
4
|
-
import { A as AxiamClient } from './client-
|
|
3
|
+
import { S as SharedSession, A as AxiamClientOptions, N as NodeTlsOptions } from './session-B03NsqVs.js';
|
|
4
|
+
import { A as AxiamClient } from './client-DrQZZ1js.js';
|
|
5
5
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.js';
|
|
6
|
-
import { V as Verifier } from './jwks-
|
|
6
|
+
import { V as Verifier } from './jwks-CTVpOWzI.js';
|
|
7
7
|
|
|
8
8
|
/** Tracks the access/refresh token pair for a Node session, kept in sync with the cookie jar after each REST call/refresh. */
|
|
9
9
|
declare class TokenManager {
|
|
@@ -69,6 +69,12 @@ declare class NodeSession extends SharedSession {
|
|
|
69
69
|
* fresh `https.Agent` per call would open a fresh TLS socket per call.
|
|
70
70
|
*/
|
|
71
71
|
noCredentialsConfig(): AxiosRequestConfig;
|
|
72
|
+
/**
|
|
73
|
+
* Overrides {@link SharedSession.oauth2RequestConfig}: under Node the
|
|
74
|
+
* jar-free agent pair of {@link noCredentialsConfig} is what withholds the
|
|
75
|
+
* cookies; the browser's fetch adapter (`credentials: 'omit'`) is not used.
|
|
76
|
+
*/
|
|
77
|
+
oauth2RequestConfig(): AxiosRequestConfig;
|
|
72
78
|
/**
|
|
73
79
|
* Drives the actual `POST /api/v1/auth/refresh` HTTP call. Passed to this
|
|
74
80
|
* session's per-instance `refreshGuard` (inherited from SharedSession) by
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosInstance } from 'axios';
|
|
2
2
|
import { CookieJar } from 'tough-cookie';
|
|
3
|
-
import { S as SharedSession, A as AxiamClientOptions, N as NodeTlsOptions } from './session-
|
|
4
|
-
import { A as AxiamClient } from './client-
|
|
3
|
+
import { S as SharedSession, A as AxiamClientOptions, N as NodeTlsOptions } from './session-plDr4lFu.cjs';
|
|
4
|
+
import { A as AxiamClient } from './client-BGFn1VQh.cjs';
|
|
5
5
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.cjs';
|
|
6
|
-
import { V as Verifier } from './jwks-
|
|
6
|
+
import { V as Verifier } from './jwks-CTVpOWzI.cjs';
|
|
7
7
|
|
|
8
8
|
/** Tracks the access/refresh token pair for a Node session, kept in sync with the cookie jar after each REST call/refresh. */
|
|
9
9
|
declare class TokenManager {
|
|
@@ -69,6 +69,12 @@ declare class NodeSession extends SharedSession {
|
|
|
69
69
|
* fresh `https.Agent` per call would open a fresh TLS socket per call.
|
|
70
70
|
*/
|
|
71
71
|
noCredentialsConfig(): AxiosRequestConfig;
|
|
72
|
+
/**
|
|
73
|
+
* Overrides {@link SharedSession.oauth2RequestConfig}: under Node the
|
|
74
|
+
* jar-free agent pair of {@link noCredentialsConfig} is what withholds the
|
|
75
|
+
* cookies; the browser's fetch adapter (`credentials: 'omit'`) is not used.
|
|
76
|
+
*/
|
|
77
|
+
oauth2RequestConfig(): AxiosRequestConfig;
|
|
72
78
|
/**
|
|
73
79
|
* Drives the actual `POST /api/v1/auth/refresh` HTTP call. Passed to this
|
|
74
80
|
* session's per-instance `refreshGuard` (inherited from SharedSession) by
|
|
@@ -98,4 +98,5 @@ declare class NetworkError extends AxiamError {
|
|
|
98
98
|
constructor(message: string, cause?: unknown);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
export { AuthzError as A,
|
|
101
|
+
export { AuthzError as A, NetworkError as N, OAuthProtocolError as O, AuthError as a, AxiamError as b };
|
|
102
|
+
export type { IdTokenFailureReason as I };
|
|
@@ -98,4 +98,5 @@ declare class NetworkError extends AxiamError {
|
|
|
98
98
|
constructor(message: string, cause?: unknown);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
export { AuthzError as A,
|
|
101
|
+
export { AuthzError as A, NetworkError as N, OAuthProtocolError as O, AuthError as a, AxiamError as b };
|
|
102
|
+
export type { IdTokenFailureReason as I };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AuthzError, N as NetworkError } from './errors-
|
|
1
|
+
import { A as AuthzError, N as NetworkError } from './errors-DZ3k8a8i.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The §27.4 rule 7 error sub-types.
|
|
@@ -90,4 +90,5 @@ declare class ValidationError extends NetworkError {
|
|
|
90
90
|
*/
|
|
91
91
|
declare function parseFieldErrors(body: unknown): FieldError[];
|
|
92
92
|
|
|
93
|
-
export { ConflictError as C,
|
|
93
|
+
export { ConflictError as C, NotFoundError as N, ValidationError as V, parseFieldErrors as p };
|
|
94
|
+
export type { FieldError as F };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AuthzError, N as NetworkError } from './errors-
|
|
1
|
+
import { A as AuthzError, N as NetworkError } from './errors-DZ3k8a8i.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The §27.4 rule 7 error sub-types.
|
|
@@ -90,4 +90,5 @@ declare class ValidationError extends NetworkError {
|
|
|
90
90
|
*/
|
|
91
91
|
declare function parseFieldErrors(body: unknown): FieldError[];
|
|
92
92
|
|
|
93
|
-
export { ConflictError as C,
|
|
93
|
+
export { ConflictError as C, NotFoundError as N, ValidationError as V, parseFieldErrors as p };
|
|
94
|
+
export type { FieldError as F };
|
package/dist/grpc/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as grpc from '@grpc/grpc-js';
|
|
2
2
|
import { Interceptor } from '@grpc/grpc-js';
|
|
3
|
-
import { N as NodeSession } from '../cookieJar-
|
|
4
|
-
export { A as ACCESS_COOKIE, C as CSRF_COOKIE, R as REFRESH_COOKIE, T as TokenManager, c as createJar, a as createNodeClient, b as createNodeSession, e as extractCookieValue, w as wrapAxios } from '../cookieJar-
|
|
5
|
-
import {
|
|
3
|
+
import { N as NodeSession } from '../cookieJar-BqYOnNN-.cjs';
|
|
4
|
+
export { A as ACCESS_COOKIE, C as CSRF_COOKIE, R as REFRESH_COOKIE, T as TokenManager, c as createJar, a as createNodeClient, b as createNodeSession, e as extractCookieValue, w as wrapAxios } from '../cookieJar-BqYOnNN-.cjs';
|
|
5
|
+
import { Sensitive } from '../amqp/index.cjs';
|
|
6
6
|
import { a as AccessDecision } from '../types-zXSpiQM-.cjs';
|
|
7
|
-
import {
|
|
8
|
-
export { A as AxiamClaims, J as JWKS_PATH, V as Verifier, c as createVerifier } from '../jwks-
|
|
7
|
+
import { CnfClaim } from '../middleware/index.cjs';
|
|
8
|
+
export { A as AxiamClaims, J as JWKS_PATH, V as Verifier, c as createVerifier } from '../jwks-CTVpOWzI.cjs';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import 'tough-cookie';
|
|
11
|
-
import '../session-
|
|
12
|
-
import '../telemetry
|
|
13
|
-
import '../client-
|
|
11
|
+
import '../session-plDr4lFu.cjs';
|
|
12
|
+
import '../telemetry-Du0-zS5f.cjs';
|
|
13
|
+
import '../client-BGFn1VQh.cjs';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Injects `authorization: Bearer <token>` (when a token is available) and
|
|
@@ -438,4 +438,5 @@ declare class TokenGrpcClient {
|
|
|
438
438
|
close(): void;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
export { AccessDecision,
|
|
441
|
+
export { AccessDecision, AuthzGrpcClient, NodeSession, TokenGrpcClient, UserInfoGrpcClient, authInterceptor, buildAuthorizationServiceClient, buildTokenServiceClient, buildUserInfoServiceClient, callWithRefresh };
|
|
442
|
+
export type { AuthorizationServiceClientFactory, CheckAccessRequest, TokenIntrospection, TokenServiceClientFactory, TokenValidation, UserInfo, UserInfoServiceClientFactory, WireAuthorizationServiceClient, WireBatchCheckAccessRequest, WireBatchCheckAccessResponse, WireCheckAccessRequest, WireCheckAccessResponse, WireCnfClaim, WireGetUserInfoRequest, WireGetUserInfoResponse, WireIntrospectTokenRequest, WireIntrospectTokenResponse, WireRptPermission, WireTokenServiceClient, WireUserInfoServiceClient, WireValidateTokenRequest, WireValidateTokenResponse };
|