axiam-sdk 1.0.0 → 1.1.1
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 +100 -12
- 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-0WJkblDE.d.ts → client-BMNQi36J.d.ts} +646 -16
- package/dist/{client-yD0eMwHQ.d.cts → client-D34sXV8p.d.cts} +646 -16
- package/dist/{cookieJar-CTD5jOmd.d.cts → cookieJar-C_xPuniu.d.cts} +3 -3
- package/dist/{cookieJar-hWRmZkhe.d.ts → cookieJar-DcrMe93Q.d.ts} +3 -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-m0Tue_pE.d.cts → errors-RvGlTyUj.d.cts} +18 -3
- package/dist/{errors-CmBvsxV0.d.ts → errors-dlGXAsbh.d.ts} +18 -3
- package/dist/grpc/index.d.cts +10 -9
- package/dist/grpc/index.d.ts +10 -9
- package/dist/grpc/index.js +604 -15
- package/dist/grpc/index.js.map +1 -1
- package/dist/grpc/index.mjs +604 -15
- package/dist/grpc/index.mjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +626 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +624 -17
- 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 +53 -12
- package/dist/middleware/index.js.map +1 -1
- package/dist/middleware/index.mjs +53 -12
- 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 +631 -19
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +631 -19
- package/dist/node/index.mjs.map +1 -1
- package/dist/{oidcState-mQLVn3-A.d.cts → oidcState-BFIHt7_Y.d.cts} +29 -7
- package/dist/{oidcState-DOSCgnMG.d.ts → oidcState-qoy2vsYG.d.ts} +29 -7
- package/dist/rest/index.d.cts +64 -12
- package/dist/rest/index.d.ts +64 -12
- package/dist/rest/index.js +626 -16
- package/dist/rest/index.js.map +1 -1
- package/dist/rest/index.mjs +624 -17
- 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-BbPFTpMZ.d.ts} +3 -2
- package/dist/{session-BmjEMowX.d.cts → session-C9WlP6DV.d.cts} +3 -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
|
@@ -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-C9WlP6DV.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;
|
|
@@ -575,6 +575,21 @@ declare function clientRegistrationFromJson(value: unknown): ClientRegistration;
|
|
|
575
575
|
* path allocates nothing.
|
|
576
576
|
*/
|
|
577
577
|
declare function omitEmptyTenantScope<T>(body: T): T;
|
|
578
|
+
/**
|
|
579
|
+
* Drops each of `members` whose value is `null` (contract 1.62, item (f)).
|
|
580
|
+
*
|
|
581
|
+
* CONTRACT.md §27.11 rule 5 and §32.2: for `user_id` on the two certificate
|
|
582
|
+
* requests and `expected_updated_at` on `ssf.update_stream` and
|
|
583
|
+
* `scim_targets.update`, an explicitly assigned `null` means the same as never
|
|
584
|
+
* having set the member — the key is left out of the body and `null` is never
|
|
585
|
+
* sent. `JSON.stringify` drops `undefined` by itself; `null` it keeps, so
|
|
586
|
+
* `{ user_id: null }` would reach the server as a member the server was told
|
|
587
|
+
* to read as a value. Only the named members are touched: every other `null` in
|
|
588
|
+
* the body is meaningful (a cleared optional of a replacement) and is sent.
|
|
589
|
+
*
|
|
590
|
+
* Returns the body itself when there is nothing to drop.
|
|
591
|
+
*/
|
|
592
|
+
declare function omitNullMembers<T>(body: T, members: readonly string[]): T;
|
|
578
593
|
/**
|
|
579
594
|
* Read a role-side assignment listing's `inherit` (contract 1.51,
|
|
580
595
|
* §27.13 S-10 rule 3).
|
|
@@ -1003,7 +1018,14 @@ interface Certificate {
|
|
|
1003
1018
|
issuer_ca_id: string;
|
|
1004
1019
|
/** `key_algorithm`. */
|
|
1005
1020
|
key_algorithm: KeyAlgorithm;
|
|
1006
|
-
/**
|
|
1021
|
+
/**
|
|
1022
|
+
* Arbitrary key-value metadata (e.g., a device serial).
|
|
1023
|
+
*
|
|
1024
|
+
* Free-form and never authoritative: the account a `User` certificate was
|
|
1025
|
+
* issued for is `user_id`. A `metadata.user_id` is still read, by the
|
|
1026
|
+
* revocation of a user's certificates, for a row issued before the binding
|
|
1027
|
+
* existed (schema v98, #533).
|
|
1028
|
+
*/
|
|
1007
1029
|
metadata: unknown;
|
|
1008
1030
|
/** Validity end. */
|
|
1009
1031
|
not_after: string;
|
|
@@ -1023,6 +1045,20 @@ interface Certificate {
|
|
|
1023
1045
|
subject: string;
|
|
1024
1046
|
/** The tenant this certificate belongs to. */
|
|
1025
1047
|
tenant_id: string;
|
|
1048
|
+
/**
|
|
1049
|
+
* The user account a `User` certificate was issued for, in this tenant
|
|
1050
|
+
* (#533); `null` for every other type, for a `User` certificate issued
|
|
1051
|
+
* without one, and for every certificate issued before schema v98.
|
|
1052
|
+
*
|
|
1053
|
+
* What revoking a user's certificates matches on — directory linking,
|
|
1054
|
+
* administrator deletion and Art. 17 erasure. A row with `None` is matched
|
|
1055
|
+
* by the older convention instead (`metadata.user_id`, or a subject common
|
|
1056
|
+
* name equal to the account's username or email); a row naming another
|
|
1057
|
+
* account never is. It does not make the certificate authenticate as the
|
|
1058
|
+
* user: a certificate authenticates only as the service account it is bound
|
|
1059
|
+
* to.
|
|
1060
|
+
*/
|
|
1061
|
+
user_id?: string | null;
|
|
1026
1062
|
}
|
|
1027
1063
|
/** Certificate issuance constraints. */
|
|
1028
1064
|
interface CertificatePolicy {
|
|
@@ -1369,7 +1405,10 @@ interface CreateCaCertificateRequest {
|
|
|
1369
1405
|
*
|
|
1370
1406
|
* A **common name**, not a distinguished name. A single `CN=` prefix is
|
|
1371
1407
|
* accepted and stripped; anything else containing `=` — `O=Acme, CN=ACME
|
|
1372
|
-
* Corp Root CA` — is refused with `400
|
|
1408
|
+
* Corp Root CA` — is refused with `400`, as is a name of more than 64
|
|
1409
|
+
* characters (RFC 5280 `ub-common-name`) or one holding a control character,
|
|
1410
|
+
* a tab or line break, an invisible or bidirectional formatting character,
|
|
1411
|
+
* or two spaces in a row.
|
|
1373
1412
|
*/
|
|
1374
1413
|
subject: string;
|
|
1375
1414
|
/** Validity duration in days. */
|
|
@@ -1385,7 +1424,14 @@ interface CreateCertificateRequest {
|
|
|
1385
1424
|
key_algorithm: KeyAlgorithm;
|
|
1386
1425
|
/** `metadata`. */
|
|
1387
1426
|
metadata?: unknown;
|
|
1388
|
-
/**
|
|
1427
|
+
/**
|
|
1428
|
+
* The certificate's common name, e.g. `device-001`: a bare name or one `CN=`
|
|
1429
|
+
* component, at most 64 characters (RFC 5280 `ub-common-name`), printable —
|
|
1430
|
+
* a control character, tab or line break, an invisible or bidirectional
|
|
1431
|
+
* formatting character, or two spaces in a row is refused with `400`. A name
|
|
1432
|
+
* that is to be written into another system's configuration (a FreeRADIUS
|
|
1433
|
+
* table, an ACL) should match `^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$`.
|
|
1434
|
+
*/
|
|
1389
1435
|
subject: string;
|
|
1390
1436
|
/**
|
|
1391
1437
|
* The names a `Server` certificate is issued for, as `[{"dns":
|
|
@@ -1396,6 +1442,15 @@ interface CreateCertificateRequest {
|
|
|
1396
1442
|
* administrator lists names.
|
|
1397
1443
|
*/
|
|
1398
1444
|
subject_alt_names?: SubjectAltName[] | null;
|
|
1445
|
+
/**
|
|
1446
|
+
* The user account a `User` certificate is issued for (#533), returned as
|
|
1447
|
+
* the certificate's `user_id`. Optional; accepted only for `cert_type:
|
|
1448
|
+
* User`, and it must name a user of this tenant that has not been deleted or
|
|
1449
|
+
* erased. A `metadata.user_id` in the same request must agree with it.
|
|
1450
|
+
* Revoking the account's certificates — directory linking, deletion, erasure
|
|
1451
|
+
* — matches on it.
|
|
1452
|
+
*/
|
|
1453
|
+
user_id?: string | null;
|
|
1399
1454
|
/** Validity duration in days. */
|
|
1400
1455
|
validity_days: number;
|
|
1401
1456
|
}
|
|
@@ -1565,6 +1620,47 @@ interface CreateIntermediateCaRequest {
|
|
|
1565
1620
|
/** Validity duration in days, capped to the parent's own expiry. */
|
|
1566
1621
|
validity_days: number;
|
|
1567
1622
|
}
|
|
1623
|
+
/** The body of `POST /api/v1/network/profiles`. */
|
|
1624
|
+
interface CreateNetworkReplyProfileRequest {
|
|
1625
|
+
/**
|
|
1626
|
+
* The profile: a typed record of the `axiam-radius-reply/1` dictionary. The
|
|
1627
|
+
* VLAN is never a field; it is the segment's.
|
|
1628
|
+
*/
|
|
1629
|
+
profile: NetworkReplyProfileInput;
|
|
1630
|
+
/** The segment the profile belongs to (at most one profile per segment). */
|
|
1631
|
+
segment_id: string;
|
|
1632
|
+
/**
|
|
1633
|
+
* The segment's `version` as the caller read it: the envelope the profile
|
|
1634
|
+
* was written against. A segment written since is `409`.
|
|
1635
|
+
*/
|
|
1636
|
+
segment_version: number;
|
|
1637
|
+
}
|
|
1638
|
+
/** The body of `POST /api/v1/network/segments`. */
|
|
1639
|
+
interface CreateNetworkSegmentRequest {
|
|
1640
|
+
/** Whether the segment starts as a placement candidate. Defaults to `true`. */
|
|
1641
|
+
enabled?: boolean;
|
|
1642
|
+
/**
|
|
1643
|
+
* The `Filter-Id` names the segment's profile may choose from: its envelope.
|
|
1644
|
+
* At most 32, each matching the pattern above.
|
|
1645
|
+
*/
|
|
1646
|
+
filter_ids?: string[];
|
|
1647
|
+
/** `access` or `quarantine`. Decides the branch the segment lives under. */
|
|
1648
|
+
kind: NetworkSegmentKind;
|
|
1649
|
+
/** The segment's name, same pattern, unique within the site. */
|
|
1650
|
+
name: string;
|
|
1651
|
+
/**
|
|
1652
|
+
* The placement rank (unique within the site): required for `access`, absent
|
|
1653
|
+
* for `quarantine`.
|
|
1654
|
+
*/
|
|
1655
|
+
rank?: number | null;
|
|
1656
|
+
/**
|
|
1657
|
+
* The site key (`^[A-Za-z0-9][A-Za-z0-9._-]{0,62}$`). A single-site tenant
|
|
1658
|
+
* uses `default`.
|
|
1659
|
+
*/
|
|
1660
|
+
site_key: string;
|
|
1661
|
+
/** The VLAN (1 to 4094), unique within the site. */
|
|
1662
|
+
vlan_id: number;
|
|
1663
|
+
}
|
|
1568
1664
|
/** `CreateNotificationRuleRequest` (generated from openapi.json). */
|
|
1569
1665
|
interface CreateNotificationRuleRequest {
|
|
1570
1666
|
/** Description of what this rule monitors. */
|
|
@@ -1630,7 +1726,12 @@ interface CreateOAuth2ClientRequest {
|
|
|
1630
1726
|
backchannel_client_notification_endpoint?: string | null;
|
|
1631
1727
|
/**
|
|
1632
1728
|
* B5 — where OIDC back-channel logout tokens are delivered. Omit for a
|
|
1633
|
-
* client that does not participate.
|
|
1729
|
+
* client that does not participate. Must be an absolute `https` URL with no
|
|
1730
|
+
* credentials and no fragment, naming a public host: an IP literal that is
|
|
1731
|
+
* loopback, private, link-local or the cloud metadata address, and the names
|
|
1732
|
+
* `localhost`, `*.localhost`, `*.local` and `*.internal`, are refused with
|
|
1733
|
+
* `400`. Delivery is one request that does not follow redirects, and a name
|
|
1734
|
+
* that resolves to a non-public address is refused when it is sent.
|
|
1634
1735
|
*/
|
|
1635
1736
|
backchannel_logout_uri?: string | null;
|
|
1636
1737
|
/**
|
|
@@ -2455,6 +2556,11 @@ interface GeneratedCaCertificate {
|
|
|
2455
2556
|
* PEM-encoded private key — returned only on generation, and only when there
|
|
2456
2557
|
* is one to return.
|
|
2457
2558
|
*
|
|
2559
|
+
* An unencrypted PKCS#8 `PRIVATE KEY` block. An Ed25519 key is RFC 8410
|
|
2560
|
+
* version 1 (`version` INTEGER 0, the 32-byte seed and no embedded public
|
|
2561
|
+
* key), which OpenSSL 3.0 reads; an RSA-4096 key is the usual PKCS#8
|
|
2562
|
+
* `RSAPrivateKey`.
|
|
2563
|
+
*
|
|
2458
2564
|
* Absent under `vault_pki` custody, where the key was generated inside Vault
|
|
2459
2565
|
* and no API exports it. The field is omitted rather than sent as `null` so
|
|
2460
2566
|
* a client that has always read it keeps working unchanged for every
|
|
@@ -2550,7 +2656,14 @@ interface GeneratedCertificate {
|
|
|
2550
2656
|
issuer_ca_id: string;
|
|
2551
2657
|
/** `key_algorithm`. */
|
|
2552
2658
|
key_algorithm: KeyAlgorithm;
|
|
2553
|
-
/**
|
|
2659
|
+
/**
|
|
2660
|
+
* Arbitrary key-value metadata (e.g., a device serial).
|
|
2661
|
+
*
|
|
2662
|
+
* Free-form and never authoritative: the account a `User` certificate was
|
|
2663
|
+
* issued for is `user_id`. A `metadata.user_id` is still read, by the
|
|
2664
|
+
* revocation of a user's certificates, for a row issued before the binding
|
|
2665
|
+
* existed (schema v98, #533).
|
|
2666
|
+
*/
|
|
2554
2667
|
metadata: unknown;
|
|
2555
2668
|
/** Validity end. */
|
|
2556
2669
|
not_after: string;
|
|
@@ -2559,6 +2672,11 @@ interface GeneratedCertificate {
|
|
|
2559
2672
|
/**
|
|
2560
2673
|
* PEM-encoded private key — returned only on generation.
|
|
2561
2674
|
*
|
|
2675
|
+
* An unencrypted PKCS#8 `PRIVATE KEY` block. An Ed25519 key AXIAM generated
|
|
2676
|
+
* is RFC 8410 version 1 (`version` INTEGER 0, the 32-byte seed and no
|
|
2677
|
+
* embedded public key), which OpenSSL 3.0 reads; the longer RFC 5958 v2 form
|
|
2678
|
+
* it does not. An RSA-4096 key is the usual PKCS#8 `RSAPrivateKey`.
|
|
2679
|
+
*
|
|
2562
2680
|
* **Secret.** Redacted from every string, log and JSON rendering; call
|
|
2563
2681
|
* `.expose()` to read it.
|
|
2564
2682
|
*/
|
|
@@ -2577,6 +2695,20 @@ interface GeneratedCertificate {
|
|
|
2577
2695
|
subject: string;
|
|
2578
2696
|
/** The tenant this certificate belongs to. */
|
|
2579
2697
|
tenant_id: string;
|
|
2698
|
+
/**
|
|
2699
|
+
* The user account a `User` certificate was issued for, in this tenant
|
|
2700
|
+
* (#533); `null` for every other type, for a `User` certificate issued
|
|
2701
|
+
* without one, and for every certificate issued before schema v98.
|
|
2702
|
+
*
|
|
2703
|
+
* What revoking a user's certificates matches on — directory linking,
|
|
2704
|
+
* administrator deletion and Art. 17 erasure. A row with `None` is matched
|
|
2705
|
+
* by the older convention instead (`metadata.user_id`, or a subject common
|
|
2706
|
+
* name equal to the account's username or email); a row naming another
|
|
2707
|
+
* account never is. It does not make the certificate authenticate as the
|
|
2708
|
+
* user: a certificate authenticates only as the service account it is bound
|
|
2709
|
+
* to.
|
|
2710
|
+
*/
|
|
2711
|
+
user_id?: string | null;
|
|
2580
2712
|
}
|
|
2581
2713
|
/**
|
|
2582
2714
|
* Wire twin of {@link GeneratedCertificate} — plain strings, never logged.
|
|
@@ -2600,6 +2732,7 @@ interface GeneratedCertificateWire {
|
|
|
2600
2732
|
status: CertificateStatus;
|
|
2601
2733
|
subject: string;
|
|
2602
2734
|
tenant_id: string;
|
|
2735
|
+
user_id?: string | null;
|
|
2603
2736
|
}
|
|
2604
2737
|
/** Wrap the secret fields a `GeneratedCertificate` response carries (§27.5). */
|
|
2605
2738
|
declare function generatedCertificateFromWire(w: GeneratedCertificateWire): GeneratedCertificate;
|
|
@@ -2994,6 +3127,148 @@ interface MtlsTrustAnchorResponse {
|
|
|
2994
3127
|
* assumes.
|
|
2995
3128
|
*/
|
|
2996
3129
|
type NameIdFormat = "persistent" | "email_address" | (string & {});
|
|
3130
|
+
/** The tenant's network policy, as the management API returns it. */
|
|
3131
|
+
interface NetworkPolicyResponse {
|
|
3132
|
+
/**
|
|
3133
|
+
* `network.session_timeout_max_secs`: the most a reply profile's
|
|
3134
|
+
* `Session-Timeout` may be, in seconds (300 to 86 400; 3600 until the tenant
|
|
3135
|
+
* writes one). A stored profile above it is clamped at read.
|
|
3136
|
+
*/
|
|
3137
|
+
session_timeout_max_secs: number;
|
|
3138
|
+
/** The owning tenant. */
|
|
3139
|
+
tenant_id: string;
|
|
3140
|
+
/** Last write time; absent while it is the default. */
|
|
3141
|
+
updated_at?: string | null;
|
|
3142
|
+
/** The administrator who last wrote it; absent while it is the default. */
|
|
3143
|
+
updated_by?: string | null;
|
|
3144
|
+
/** The version the next `PUT` must name; `0` until the tenant first writes. */
|
|
3145
|
+
version: number;
|
|
3146
|
+
}
|
|
3147
|
+
/**
|
|
3148
|
+
* A segment's reply profile as read: **the effective one**, with the
|
|
3149
|
+
* `Session-Timeout` already clamped to the tenant's current cap (design note
|
|
3150
|
+
* §3.4) and `Idle-Timeout` kept within it.
|
|
3151
|
+
*/
|
|
3152
|
+
interface NetworkReplyProfile {
|
|
3153
|
+
/** Creation time. */
|
|
3154
|
+
created_at: string;
|
|
3155
|
+
/** The administrator who created it. */
|
|
3156
|
+
created_by: string;
|
|
3157
|
+
/** The dictionary version the profile was validated against. */
|
|
3158
|
+
dictionary: string;
|
|
3159
|
+
/** `Filter-Id`, one of the segment's declared names. */
|
|
3160
|
+
filter_id?: string | null;
|
|
3161
|
+
/** `Idle-Timeout`, seconds, never above the effective `Session-Timeout`. */
|
|
3162
|
+
idle_timeout_secs?: number | null;
|
|
3163
|
+
/**
|
|
3164
|
+
* The owning segment, which is also this profile's id: one profile per
|
|
3165
|
+
* segment, at most.
|
|
3166
|
+
*/
|
|
3167
|
+
segment_id: string;
|
|
3168
|
+
/** `service_type`. */
|
|
3169
|
+
service_type?: RadiusServiceType | null;
|
|
3170
|
+
/** Whether the stored value was above the cap and has been lowered. */
|
|
3171
|
+
session_timeout_clamped: boolean;
|
|
3172
|
+
/**
|
|
3173
|
+
* `Session-Timeout`, seconds: the stored value lowered to the tenant's
|
|
3174
|
+
* current cap. This is the value a reply carries.
|
|
3175
|
+
*/
|
|
3176
|
+
session_timeout_secs: number;
|
|
3177
|
+
/** The owning tenant. */
|
|
3178
|
+
tenant_id: string;
|
|
3179
|
+
/** `Termination-Action`. */
|
|
3180
|
+
termination_action: RadiusTerminationAction;
|
|
3181
|
+
/** Last write time. */
|
|
3182
|
+
updated_at: string;
|
|
3183
|
+
/** The administrator who last wrote it. */
|
|
3184
|
+
updated_by: string;
|
|
3185
|
+
/** The version the next replace or delete must name. Starts at 1. */
|
|
3186
|
+
version: number;
|
|
3187
|
+
}
|
|
3188
|
+
/**
|
|
3189
|
+
* What a writer supplies for a profile. Closed: an unknown key is a refusal
|
|
3190
|
+
* naming it, never ignored (design note §3.4).
|
|
3191
|
+
*/
|
|
3192
|
+
interface NetworkReplyProfileInput {
|
|
3193
|
+
/**
|
|
3194
|
+
* The dictionary version the profile is written against; defaults to
|
|
3195
|
+
* [`REPLY_DICTIONARY_V1`]. An unknown version is refused.
|
|
3196
|
+
*/
|
|
3197
|
+
dictionary?: string;
|
|
3198
|
+
/** `Filter-Id`: one of the owning segment's declared `filter_ids`. */
|
|
3199
|
+
filter_id?: string | null;
|
|
3200
|
+
/**
|
|
3201
|
+
* `Idle-Timeout`, seconds: [`IDLE_TIMEOUT_FLOOR_SECS`] up to
|
|
3202
|
+
* `session_timeout_secs`.
|
|
3203
|
+
*/
|
|
3204
|
+
idle_timeout_secs?: number | null;
|
|
3205
|
+
/** `service_type`. */
|
|
3206
|
+
service_type?: RadiusServiceType | null;
|
|
3207
|
+
/**
|
|
3208
|
+
* `Session-Timeout`, seconds: [`SESSION_TIMEOUT_FLOOR_SECS`] up to the
|
|
3209
|
+
* tenant cap. Never zero.
|
|
3210
|
+
*/
|
|
3211
|
+
session_timeout_secs: number;
|
|
3212
|
+
/** `Termination-Action`; defaults to `RADIUS-Request`. */
|
|
3213
|
+
termination_action?: RadiusTerminationAction;
|
|
3214
|
+
}
|
|
3215
|
+
/**
|
|
3216
|
+
* What a segment is for.
|
|
3217
|
+
*
|
|
3218
|
+
* An **open** enum. The final `(string & {})` arm accepts a value this SDK's
|
|
3219
|
+
* copy of the spec does not list, so the next one the server adds reaches a
|
|
3220
|
+
* caller as itself rather than failing the response it arrived in (CONTRACT
|
|
3221
|
+
* §27.11 rule 1). The named arms still autocomplete and still narrow; what
|
|
3222
|
+
* the extra arm removes is the illusion that a value outside them cannot
|
|
3223
|
+
* occur, which is what an exhaustive `switch` over the named ones quietly
|
|
3224
|
+
* assumes.
|
|
3225
|
+
*/
|
|
3226
|
+
type NetworkSegmentKind = "access" | "quarantine" | (string & {});
|
|
3227
|
+
/** A network segment, as the management API returns it. */
|
|
3228
|
+
interface NetworkSegmentResponse {
|
|
3229
|
+
/** Creation time. */
|
|
3230
|
+
created_at: string;
|
|
3231
|
+
/** The administrator who created it. */
|
|
3232
|
+
created_by: string;
|
|
3233
|
+
/** Whether the segment is a placement candidate. */
|
|
3234
|
+
enabled: boolean;
|
|
3235
|
+
/** The `Filter-Id` names the segment's profile may choose from. */
|
|
3236
|
+
filter_ids: string[];
|
|
3237
|
+
/**
|
|
3238
|
+
* The segment id; also the id of its resource node, which `check_access` is
|
|
3239
|
+
* asked about, and of its reply profile.
|
|
3240
|
+
*/
|
|
3241
|
+
id: string;
|
|
3242
|
+
/**
|
|
3243
|
+
* `access` (under `/network/zones`) or `quarantine` (under
|
|
3244
|
+
* `/network/quarantine`); fixed for the segment's life.
|
|
3245
|
+
*/
|
|
3246
|
+
kind: NetworkSegmentKind;
|
|
3247
|
+
/** The segment's name, unique within its site. */
|
|
3248
|
+
name: string;
|
|
3249
|
+
/**
|
|
3250
|
+
* The segment's place in the reserved subtree,
|
|
3251
|
+
* `/network/{zones|quarantine}/<site_key>/<name>`.
|
|
3252
|
+
*/
|
|
3253
|
+
path: string;
|
|
3254
|
+
/**
|
|
3255
|
+
* The placement rank among a site's `access` segments (lowest wins); absent
|
|
3256
|
+
* for a quarantine segment.
|
|
3257
|
+
*/
|
|
3258
|
+
rank?: number | null;
|
|
3259
|
+
/** The site key. */
|
|
3260
|
+
site_key: string;
|
|
3261
|
+
/** The owning tenant. */
|
|
3262
|
+
tenant_id: string;
|
|
3263
|
+
/** Last write time. */
|
|
3264
|
+
updated_at: string;
|
|
3265
|
+
/** The administrator who last wrote it. */
|
|
3266
|
+
updated_by: string;
|
|
3267
|
+
/** The version the next replace or delete must name. */
|
|
3268
|
+
version: number;
|
|
3269
|
+
/** The VLAN the tunnel attributes carry (1 to 4094), unique per site. */
|
|
3270
|
+
vlan_id: number;
|
|
3271
|
+
}
|
|
2997
3272
|
/**
|
|
2998
3273
|
* Events that can trigger an admin notification.
|
|
2999
3274
|
*
|
|
@@ -3723,6 +3998,31 @@ type ProviderConfig = ({
|
|
|
3723
3998
|
/** Discriminator: always `brevo`. */
|
|
3724
3999
|
kind: "brevo";
|
|
3725
4000
|
} & ApiProviderConfig);
|
|
4001
|
+
/**
|
|
4002
|
+
* `Service-Type` (RFC 2865 §5.6). Option B accepts only `framed_user`; the
|
|
4003
|
+
* administrative values are refused with a 400.
|
|
4004
|
+
*
|
|
4005
|
+
* An **open** enum. The final `(string & {})` arm accepts a value this SDK's
|
|
4006
|
+
* copy of the spec does not list, so the next one the server adds reaches a
|
|
4007
|
+
* caller as itself rather than failing the response it arrived in (CONTRACT
|
|
4008
|
+
* §27.11 rule 1). The named arms still autocomplete and still narrow; what
|
|
4009
|
+
* the extra arm removes is the illusion that a value outside them cannot
|
|
4010
|
+
* occur, which is what an exhaustive `switch` over the named ones quietly
|
|
4011
|
+
* assumes.
|
|
4012
|
+
*/
|
|
4013
|
+
type RadiusServiceType = "framed_user" | (string & {});
|
|
4014
|
+
/**
|
|
4015
|
+
* `Termination-Action` (RFC 2865 §5.29).
|
|
4016
|
+
*
|
|
4017
|
+
* An **open** enum. The final `(string & {})` arm accepts a value this SDK's
|
|
4018
|
+
* copy of the spec does not list, so the next one the server adds reaches a
|
|
4019
|
+
* caller as itself rather than failing the response it arrived in (CONTRACT
|
|
4020
|
+
* §27.11 rule 1). The named arms still autocomplete and still narrow; what
|
|
4021
|
+
* the extra arm removes is the illusion that a value outside them cannot
|
|
4022
|
+
* occur, which is what an exhaustive `switch` over the named ones quietly
|
|
4023
|
+
* assumes.
|
|
4024
|
+
*/
|
|
4025
|
+
type RadiusTerminationAction = "default" | "radius_request" | (string & {});
|
|
3726
4026
|
/** One hookable event, as the registry describes it. */
|
|
3727
4027
|
interface ReactorEventDescriptor {
|
|
3728
4028
|
/** `default_failure_policy`. */
|
|
@@ -3834,6 +4134,54 @@ interface RegistrationTokenResponse {
|
|
|
3834
4134
|
*/
|
|
3835
4135
|
used_by_client_id?: string | null;
|
|
3836
4136
|
}
|
|
4137
|
+
/** The body of `PUT /api/v1/network/policy`: a **replacement** of the policy. */
|
|
4138
|
+
interface ReplaceNetworkPolicyRequest {
|
|
4139
|
+
/**
|
|
4140
|
+
* The new cap on a reply profile's `Session-Timeout`, in seconds: 300 to 86
|
|
4141
|
+
* 400. Lowering it below an existing profile's value is fine (reads clamp);
|
|
4142
|
+
* raising it is allowed and audited as a raise.
|
|
4143
|
+
*/
|
|
4144
|
+
session_timeout_max_secs: number;
|
|
4145
|
+
/**
|
|
4146
|
+
* The policy's `version` as the caller read it (`0` for a tenant that has
|
|
4147
|
+
* never written one). A stale one is `409`.
|
|
4148
|
+
*/
|
|
4149
|
+
version: number;
|
|
4150
|
+
}
|
|
4151
|
+
/** The body of `PUT /api/v1/network/profiles/{segment_id}`. */
|
|
4152
|
+
interface ReplaceNetworkReplyProfileRequest {
|
|
4153
|
+
/** The profile. */
|
|
4154
|
+
profile: NetworkReplyProfileInput;
|
|
4155
|
+
/**
|
|
4156
|
+
* The segment's `version` as the caller read it, as for
|
|
4157
|
+
* [`CreateReplyProfileRequest::segment_version`].
|
|
4158
|
+
*/
|
|
4159
|
+
segment_version: number;
|
|
4160
|
+
/** The profile's `version` as the caller read it. A stale one is `409`. */
|
|
4161
|
+
version: number;
|
|
4162
|
+
}
|
|
4163
|
+
/**
|
|
4164
|
+
* The body of `PUT /api/v1/network/segments/{id}`: a **replacement** of the
|
|
4165
|
+
* envelope. The kind and the place in the tree do not change.
|
|
4166
|
+
*/
|
|
4167
|
+
interface ReplaceNetworkSegmentRequest {
|
|
4168
|
+
/** Whether the segment is a placement candidate. */
|
|
4169
|
+
enabled: boolean;
|
|
4170
|
+
/**
|
|
4171
|
+
* The `Filter-Id` names the segment's profile may choose from. Removing the
|
|
4172
|
+
* one the profile uses is `409`, naming the profile.
|
|
4173
|
+
*/
|
|
4174
|
+
filter_ids: string[];
|
|
4175
|
+
/**
|
|
4176
|
+
* The placement rank: required for an `access` segment, absent for a
|
|
4177
|
+
* `quarantine` one.
|
|
4178
|
+
*/
|
|
4179
|
+
rank?: number | null;
|
|
4180
|
+
/** The segment's `version` as the caller read it. A stale one is `409`. */
|
|
4181
|
+
version: number;
|
|
4182
|
+
/** The VLAN (1 to 4094). */
|
|
4183
|
+
vlan_id: number;
|
|
4184
|
+
}
|
|
3837
4185
|
/**
|
|
3838
4186
|
* A permission grant with its scopes resolved.
|
|
3839
4187
|
*
|
|
@@ -4905,7 +5253,11 @@ interface SignAuditBatchRequest {
|
|
|
4905
5253
|
* No `subject` and no `key_algorithm`: both are read out of the CSR, which
|
|
4906
5254
|
* is the only place they can be stated without the row and the certificate
|
|
4907
5255
|
* being able to disagree. No key is returned, so there is no key field
|
|
4908
|
-
* anywhere on this exchange.
|
|
5256
|
+
* anywhere on this exchange. The CSR's common name meets the rules of
|
|
5257
|
+
* `subject` on `POST /api/v1/certificates` (printable, at most 64
|
|
5258
|
+
* characters) and is refused, not rewritten, when it does not. So does the
|
|
5259
|
+
* value of every other attribute of the CSR's subject, and a subject with
|
|
5260
|
+
* more than one common name is refused.
|
|
4909
5261
|
*/
|
|
4910
5262
|
interface SignCertificateCsrRequest {
|
|
4911
5263
|
/** `cert_type`. */
|
|
@@ -4926,6 +5278,8 @@ interface SignCertificateCsrRequest {
|
|
|
4926
5278
|
* path is refused; use `POST /api/v1/certificates`.
|
|
4927
5279
|
*/
|
|
4928
5280
|
subject_alt_names?: SubjectAltName[] | null;
|
|
5281
|
+
/** See [`CreateCertificateRequest::user_id`]. */
|
|
5282
|
+
user_id?: string | null;
|
|
4929
5283
|
/** Validity duration in days. */
|
|
4930
5284
|
validity_days: number;
|
|
4931
5285
|
}
|
|
@@ -5104,9 +5458,22 @@ interface SsfStreamInput {
|
|
|
5104
5458
|
events_allowed: SsfEventType[];
|
|
5105
5459
|
/**
|
|
5106
5460
|
* A subset of `events_allowed`; absent means all of them. The receiver may
|
|
5107
|
-
* narrow it later, never widen it.
|
|
5461
|
+
* narrow it later, never widen it. On update, absent therefore *resets* a
|
|
5462
|
+
* narrowing the receiver made to every allowed event, and `[]` keeps a
|
|
5463
|
+
* receiver's "none": a client that edits a stream sends the value it read
|
|
5464
|
+
* (cut to the new `events_allowed`), never an absent field.
|
|
5108
5465
|
*/
|
|
5109
5466
|
events_requested?: SsfEventType[] | null;
|
|
5467
|
+
/**
|
|
5468
|
+
* The `updated_at` of the stream as the client read it (R1W2-03, T-406).
|
|
5469
|
+
* **Update only; create ignores it.** When present, the replacement lands
|
|
5470
|
+
* only if the stream still has that version, else `409` (reload and retry):
|
|
5471
|
+
* a pause or a narrowing the receiver made after the form was read is not
|
|
5472
|
+
* silently reverted. When absent the replacement is conditional on the
|
|
5473
|
+
* version the server reads during the request — an old client keeps that
|
|
5474
|
+
* behaviour, and the console always sends it.
|
|
5475
|
+
*/
|
|
5476
|
+
expected_updated_at?: string | null;
|
|
5110
5477
|
/**
|
|
5111
5478
|
* An OAuth2 client of the tenant with the `client_credentials` grant and the
|
|
5112
5479
|
* `ssf.manage` scope.
|
|
@@ -5134,6 +5501,7 @@ interface SsfStreamInputWire {
|
|
|
5134
5501
|
endpoint_url?: string | null;
|
|
5135
5502
|
events_allowed: SsfEventType[];
|
|
5136
5503
|
events_requested?: SsfEventType[] | null;
|
|
5504
|
+
expected_updated_at?: string | null;
|
|
5137
5505
|
receiver_client_id: string;
|
|
5138
5506
|
status?: SsfStreamStatus;
|
|
5139
5507
|
status_reason?: string | null;
|
|
@@ -5763,7 +6131,8 @@ interface UpdateOAuth2ClientRequest {
|
|
|
5763
6131
|
backchannel_client_notification_endpoint?: string | null;
|
|
5764
6132
|
/**
|
|
5765
6133
|
* Pass an empty string to clear a previously registered URI — the one edit
|
|
5766
|
-
* an operator makes when an RP is decommissioned.
|
|
6134
|
+
* an operator makes when an RP is decommissioned. Any other value is held to
|
|
6135
|
+
* the same rule as on create.
|
|
5767
6136
|
*/
|
|
5768
6137
|
backchannel_logout_uri?: string | null;
|
|
5769
6138
|
/** G-7 — see the create DTO. `""` clears. */
|
|
@@ -5795,7 +6164,12 @@ interface UpdateOAuth2ClientRequest {
|
|
|
5795
6164
|
redirect_uris?: string[] | null;
|
|
5796
6165
|
/** `require_par`. */
|
|
5797
6166
|
require_par?: boolean | null;
|
|
5798
|
-
/**
|
|
6167
|
+
/**
|
|
6168
|
+
* Replace the client's scopes. On a `managed_by: dcr | cimd` client a scope
|
|
6169
|
+
* the request adds that is outside the tenant's effective
|
|
6170
|
+
* `dcr_allowed_scopes` is refused with `422` (#636); an
|
|
6171
|
+
* administrator-managed client is not bounded.
|
|
6172
|
+
*/
|
|
5799
6173
|
scopes?: string[] | null;
|
|
5800
6174
|
/** `self_signed_tls_client_auth_thumbprints`. */
|
|
5801
6175
|
self_signed_tls_client_auth_thumbprints?: string[] | null;
|
|
@@ -6404,6 +6778,92 @@ interface ServiceAccountSpec {
|
|
|
6404
6778
|
/** Roles assigned to this service account — a role key, or a resource-scoped `{ role, resource, inherit? }` (§27.6.1 item 2). */
|
|
6405
6779
|
roles?: RoleBinding[];
|
|
6406
6780
|
}
|
|
6781
|
+
/**
|
|
6782
|
+
* A network segment (CONTRACT.md §27.6.2 item 1, contract 1.62).
|
|
6783
|
+
*
|
|
6784
|
+
* **The natural key is `site` + `kind` + `name`**, where `kind` is the **wire**
|
|
6785
|
+
* spelling — `'access'` or `'quarantine'`, the value `createSegment` writes
|
|
6786
|
+
* and every segment read returns. This SDK keeps no mapping between it and
|
|
6787
|
+
* anything else and has no `zones` spelling (`zones` is a server-side path
|
|
6788
|
+
* segment). The three are never drift (a segment's kind, site and name do not
|
|
6789
|
+
* change, §36.3 rule 4); every other member is a field.
|
|
6790
|
+
*
|
|
6791
|
+
* A member left off is silent (rule 3): it never drifts, and an `Update`
|
|
6792
|
+
* carries the read's value for it. A member stated as `null` is "none" — the
|
|
6793
|
+
* key is left out of the write, which is how a replacement clears an optional
|
|
6794
|
+
* member.
|
|
6795
|
+
*/
|
|
6796
|
+
interface NetworkSegmentSpec {
|
|
6797
|
+
/** Manifest-local identifier, referred to by a {@link NetworkProfileSpec}'s `segment`. */
|
|
6798
|
+
key: string;
|
|
6799
|
+
/** The segment's site — the wire `site_key`. A single-site tenant uses `default`. */
|
|
6800
|
+
site: string;
|
|
6801
|
+
/** `'access'` or `'quarantine'` — the wire spelling, and part of the natural key. */
|
|
6802
|
+
kind: 'access' | 'quarantine';
|
|
6803
|
+
/** The segment's name — with `site` and `kind`, its natural key. */
|
|
6804
|
+
name: string;
|
|
6805
|
+
/** The VLAN, 1 to 4094; the server judges it (§36.3 rule 5). */
|
|
6806
|
+
vlanId: number;
|
|
6807
|
+
/** The placement rank: required by the server for `access`, absent for `quarantine`. */
|
|
6808
|
+
rank?: number | null;
|
|
6809
|
+
/**
|
|
6810
|
+
* The segment's envelope: the `Filter-Id` names its profile may choose from.
|
|
6811
|
+
* **Compared as a set** (a reorder alone is never an `Update`, names compare
|
|
6812
|
+
* as exact strings); a name listed twice is refused by `plan` before any
|
|
6813
|
+
* request. When the SDK writes the segment it sends the names in the order
|
|
6814
|
+
* stated here.
|
|
6815
|
+
*/
|
|
6816
|
+
filterIds?: string[];
|
|
6817
|
+
/** Whether the segment is a placement candidate. The server defaults it to `true` on create. */
|
|
6818
|
+
enabled?: boolean;
|
|
6819
|
+
}
|
|
6820
|
+
/**
|
|
6821
|
+
* A reply profile (CONTRACT.md §27.6.2 item 1, contract 1.62), **identified by
|
|
6822
|
+
* its segment**: it has no name or id of its own.
|
|
6823
|
+
*
|
|
6824
|
+
* Every stated member is compared with the **effective** profile as the read
|
|
6825
|
+
* returns it (§27.6.2 item 3): a `sessionTimeoutSecs` above the tenant's cap
|
|
6826
|
+
* differs from the read, `plan` shows an `Update`, and `apply` reports the
|
|
6827
|
+
* server's `403` refusal as that action's failure — nothing is lowered, retried
|
|
6828
|
+
* or adjusted by the SDK.
|
|
6829
|
+
*/
|
|
6830
|
+
interface NetworkProfileSpec {
|
|
6831
|
+
/** The `key` of a {@link NetworkSegmentSpec} of the same manifest. */
|
|
6832
|
+
segment: string;
|
|
6833
|
+
/** `Session-Timeout`, seconds. */
|
|
6834
|
+
sessionTimeoutSecs: number;
|
|
6835
|
+
/** `Termination-Action`; the server defaults it to `radius_request` on create. */
|
|
6836
|
+
terminationAction?: RadiusTerminationAction | null;
|
|
6837
|
+
/** `Idle-Timeout`, seconds. */
|
|
6838
|
+
idleTimeoutSecs?: number | null;
|
|
6839
|
+
/** `Filter-Id`: one of the segment's `filterIds`. */
|
|
6840
|
+
filterId?: string | null;
|
|
6841
|
+
/** `Service-Type`; only `'framed_user'` is accepted. */
|
|
6842
|
+
serviceType?: RadiusServiceType | null;
|
|
6843
|
+
}
|
|
6844
|
+
/** The tenant's `Session-Timeout` cap — a singleton (CONTRACT.md §27.6.2 item 1). */
|
|
6845
|
+
interface NetworkPolicySpec {
|
|
6846
|
+
/** The cap on a reply profile's `Session-Timeout`, seconds (300 to 86 400). */
|
|
6847
|
+
sessionTimeoutMaxSecs: number;
|
|
6848
|
+
}
|
|
6849
|
+
/**
|
|
6850
|
+
* The `network` section of a manifest (CONTRACT.md §27.6.2, contract 1.62).
|
|
6851
|
+
*
|
|
6852
|
+
* Applied in this order: the policy, then the segments, then the profiles (a
|
|
6853
|
+
* profile follows its segment). The namespace is **human-only**: an `apply`
|
|
6854
|
+
* whose manifest has a `network` section needs a human caller, and a
|
|
6855
|
+
* service-account token meets `401` at the first network action.
|
|
6856
|
+
*
|
|
6857
|
+
* This SDK offers no pruning for any namespace, so nothing here is ever deleted.
|
|
6858
|
+
*/
|
|
6859
|
+
interface NetworkSpec {
|
|
6860
|
+
/** The tenant's cap. At most one per manifest. It is never `Create`: the policy always exists. */
|
|
6861
|
+
policy?: NetworkPolicySpec;
|
|
6862
|
+
/** Segments, in any order within the section. */
|
|
6863
|
+
segments?: NetworkSegmentSpec[];
|
|
6864
|
+
/** Reply profiles, one per segment. */
|
|
6865
|
+
profiles?: NetworkProfileSpec[];
|
|
6866
|
+
}
|
|
6407
6867
|
/**
|
|
6408
6868
|
* The shape a tenant should have.
|
|
6409
6869
|
*
|
|
@@ -6432,6 +6892,13 @@ interface ManagementManifest {
|
|
|
6432
6892
|
* a `Create`.
|
|
6433
6893
|
*/
|
|
6434
6894
|
serviceAccounts?: ServiceAccountSpec[];
|
|
6895
|
+
/**
|
|
6896
|
+
* Network segments, their reply profiles and the tenant's `Session-Timeout`
|
|
6897
|
+
* cap (CONTRACT.md §27.6.2, contract 1.62). Appended last in the plan: a
|
|
6898
|
+
* manifest without a `network` section plans, reads and applies exactly as it
|
|
6899
|
+
* did before.
|
|
6900
|
+
*/
|
|
6901
|
+
network?: NetworkSpec;
|
|
6435
6902
|
}
|
|
6436
6903
|
/** The role key a {@link RoleBinding} names, whichever shape it is. */
|
|
6437
6904
|
declare function roleKeyOf(binding: RoleBinding): string;
|
|
@@ -6451,7 +6918,7 @@ declare function inheritOf(binding: RoleBinding): boolean;
|
|
|
6451
6918
|
/** What reconciling one spec would do. */
|
|
6452
6919
|
type Change = 'create' | 'update' | 'no-change';
|
|
6453
6920
|
/** Which part of the manifest an action came from. */
|
|
6454
|
-
type Target = 'resource' | 'scope' | 'permission' | 'role' | 'role-grant' | 'group' | 'group-role' | 'user' | 'user-role' | 'group-member' | 'service-account' | 'service-account-role';
|
|
6921
|
+
type Target = 'resource' | 'scope' | 'permission' | 'role' | 'role-grant' | 'group' | 'group-role' | 'user' | 'user-role' | 'group-member' | 'service-account' | 'service-account-role' | 'network-policy' | 'network-segment' | 'network-profile';
|
|
6455
6922
|
/** One step of a plan. */
|
|
6456
6923
|
interface PlannedAction {
|
|
6457
6924
|
/** Whether this step creates, updates, or does nothing. */
|
|
@@ -6468,7 +6935,9 @@ interface PlannedAction {
|
|
|
6468
6935
|
*
|
|
6469
6936
|
* Ordering is derived, not incidental: resources (parents before children),
|
|
6470
6937
|
* then scopes, permissions, roles, role grants, groups, group bindings, users,
|
|
6471
|
-
* and finally the user bindings that need all of the above to exist.
|
|
6938
|
+
* and finally the user bindings that need all of the above to exist. A `network`
|
|
6939
|
+
* section (contract 1.62, §27.6.2) follows, in its own order: the policy, then
|
|
6940
|
+
* the segments, then the profiles — a profile after its segment. Two plans
|
|
6472
6941
|
* over unchanged state are equal, in the same order (§27.6 rule 8) — a plan
|
|
6473
6942
|
* that reorders between runs cannot be diffed, and diffing it is most of the
|
|
6474
6943
|
* reason it exists.
|
|
@@ -6517,6 +6986,14 @@ type StepOutcome = {
|
|
|
6517
6986
|
status: 'failed';
|
|
6518
6987
|
/** The error the server or transport gave. */
|
|
6519
6988
|
message: string;
|
|
6989
|
+
/**
|
|
6990
|
+
* The `reason_code` of a `409` (contract 1.62, §27.6.2 item 5), as the
|
|
6991
|
+
* server spelled it — `stale_version`, `strands_profile`, `has_children`,
|
|
6992
|
+
* `profile_exists`, `duplicate_vlan`, … The vocabulary is open: an
|
|
6993
|
+
* unknown value is surfaced verbatim. Absent for every other failure and
|
|
6994
|
+
* for a `409` whose body names none. Branch on this, never on `message`.
|
|
6995
|
+
*/
|
|
6996
|
+
reasonCode?: string;
|
|
6520
6997
|
} | {
|
|
6521
6998
|
/** Never attempted, because an earlier step failed. */
|
|
6522
6999
|
status: 'not-attempted';
|
|
@@ -6550,6 +7027,8 @@ interface ManifestFailure {
|
|
|
6550
7027
|
action: PlannedAction;
|
|
6551
7028
|
/** The error the server or transport gave. */
|
|
6552
7029
|
message: string;
|
|
7030
|
+
/** The failed step's `reason_code`, when it was a `409` that named one (§27.6.2 item 5). */
|
|
7031
|
+
reasonCode?: string;
|
|
6553
7032
|
}
|
|
6554
7033
|
/**
|
|
6555
7034
|
* The result of applying a manifest.
|
|
@@ -8299,8 +8778,19 @@ declare class SsfApi {
|
|
|
8299
8778
|
* update moves `endpoint_url` to another scheme, host or port while a header
|
|
8300
8779
|
* is stored: then it must carry `authorization_header` again or
|
|
8301
8780
|
* `clear_authorization_header: true`, else `400` (§32.3 rule 5). Start from
|
|
8302
|
-
* `
|
|
8303
|
-
*
|
|
8781
|
+
* `ssfStreamInputWith(await ssf.getStream(id), changes)`, which sends the
|
|
8782
|
+
* `events_requested` and `expected_updated_at` it read and cuts
|
|
8783
|
+
* `events_requested` to a lowered `events_allowed` (or from the plain
|
|
8784
|
+
* converter `ssfStreamInputFrom`, where the cut is yours). An update
|
|
8785
|
+
* overtaken by the receiver's own write is `409`: read the stream again.
|
|
8786
|
+
* **`events_requested` has three meanings on an update** (§32.2, contract
|
|
8787
|
+
* 1.62): **absent resets** the stream to every event of `events_allowed` —
|
|
8788
|
+
* widening what the receiver narrowed; **`[]` is stored as the receiver's
|
|
8789
|
+
* "none"** and the stream carries nothing; **a list is stored as given** and
|
|
8790
|
+
* refused (`400`) if any entry is outside `events_allowed`. A raw API client
|
|
8791
|
+
* is bound by the same meaning: an `events_requested` left out of the `PUT`
|
|
8792
|
+
* resets the stream. `expected_updated_at` is the `updated_at` you read, as
|
|
8793
|
+
* the server's own string; an assigned `null` is "none" and is not sent.
|
|
8304
8794
|
*
|
|
8305
8795
|
* **This is a replacement, not a patch** (§27.4 rule 5). Only the required
|
|
8306
8796
|
* members must be set, but what you do not carry over from a prior read is
|
|
@@ -8418,6 +8908,133 @@ declare class ScimTargetsApi {
|
|
|
8418
8908
|
reconcile(id: string): Promise<ScimReconcileAccepted>;
|
|
8419
8909
|
}
|
|
8420
8910
|
|
|
8911
|
+
/**
|
|
8912
|
+
* The `network` management namespace (CONTRACT §27.1).
|
|
8913
|
+
*
|
|
8914
|
+
* A tenant's network segments and the RADIUS reply profile each owns (RADIUS
|
|
8915
|
+
* Live profile): a segment is a node of the reserved /network subtree of the
|
|
8916
|
+
* resource tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
8917
|
+
* profile is the typed `axiam-radius-reply/1` record a decision renders.
|
|
8918
|
+
* Every write is conditional on the `version` the caller read and passes the
|
|
8919
|
+
* server's write gate. The tenant's Session-Timeout cap is one more row of
|
|
8920
|
+
* it (get_policy, replace_policy): lowering it is always allowed, raising it
|
|
8921
|
+
* is allowed and audited. The decision route FreeRADIUS calls is not in this
|
|
8922
|
+
* registry.
|
|
8923
|
+
*/
|
|
8924
|
+
|
|
8925
|
+
/**
|
|
8926
|
+
* The `network` namespace handle.
|
|
8927
|
+
*
|
|
8928
|
+
* A tenant's network segments and the RADIUS reply profile each owns (RADIUS
|
|
8929
|
+
* Live profile): a segment is a node of the reserved /network subtree of the
|
|
8930
|
+
* resource tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
8931
|
+
* profile is the typed `axiam-radius-reply/1` record a decision renders.
|
|
8932
|
+
* Every write is conditional on the `version` the caller read and passes the
|
|
8933
|
+
* server's write gate. The tenant's Session-Timeout cap is one more row of
|
|
8934
|
+
* it (get_policy, replace_policy): lowering it is always allowed, raising it
|
|
8935
|
+
* is allowed and audited. The decision route FreeRADIUS calls is not in this
|
|
8936
|
+
* registry.
|
|
8937
|
+
*
|
|
8938
|
+
* Acquiring one performs no I/O and allocates nothing meaningful (§27.2 rule
|
|
8939
|
+
* 1); it holds the client and cannot be constructed without one.
|
|
8940
|
+
*/
|
|
8941
|
+
declare class NetworkApi {
|
|
8942
|
+
#private;
|
|
8943
|
+
/** @internal — reached through `client.<namespace>`, never constructed directly. */
|
|
8944
|
+
constructor(client: AxiamClient, scope?: NamespaceScope);
|
|
8945
|
+
/** `GET /api/v1/network/segments` */
|
|
8946
|
+
listSegments(site?: string, page?: PageRequest): Promise<Page<NetworkSegmentResponse>>;
|
|
8947
|
+
/**
|
|
8948
|
+
* Walk `network.list_segments` to exhaustion, concatenating every page.
|
|
8949
|
+
*
|
|
8950
|
+
* The auto-paging form §27.4 rule 4 requires. It stops on an empty page even
|
|
8951
|
+
* if `total` disagrees, so a misreporting server costs one wasted request
|
|
8952
|
+
* rather than an unbounded loop.
|
|
8953
|
+
*/
|
|
8954
|
+
listSegmentsAll(site?: string, start?: PageRequest): Promise<NetworkSegmentResponse[]>;
|
|
8955
|
+
/**
|
|
8956
|
+
* `POST /api/v1/network/segments`
|
|
8957
|
+
*
|
|
8958
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
8959
|
+
* issued exactly once, including the ones that look idempotent.
|
|
8960
|
+
*/
|
|
8961
|
+
createSegment(body: CreateNetworkSegmentRequest): Promise<NetworkSegmentResponse>;
|
|
8962
|
+
/** `GET /api/v1/network/segments/{id}` */
|
|
8963
|
+
getSegment(id: string): Promise<NetworkSegmentResponse>;
|
|
8964
|
+
/**
|
|
8965
|
+
* `PUT /api/v1/network/segments/{id}`
|
|
8966
|
+
*
|
|
8967
|
+
* **This is a replacement, not a patch** (§27.4 rule 5). Only the required
|
|
8968
|
+
* members must be set, but what you do not carry over from a prior read is
|
|
8969
|
+
* not preserved: an optional member left out is overwritten with its
|
|
8970
|
+
* default, not kept (except where noted above). Read first, change the field
|
|
8971
|
+
* you mean, send the whole thing back.
|
|
8972
|
+
*
|
|
8973
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
8974
|
+
* issued exactly once, including the ones that look idempotent.
|
|
8975
|
+
*/
|
|
8976
|
+
replaceSegment(id: string, body: ReplaceNetworkSegmentRequest): Promise<NetworkSegmentResponse>;
|
|
8977
|
+
/**
|
|
8978
|
+
* `DELETE /api/v1/network/segments/{id}`
|
|
8979
|
+
*
|
|
8980
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
8981
|
+
* issued exactly once, including the ones that look idempotent.
|
|
8982
|
+
*/
|
|
8983
|
+
deleteSegment(id: string, version: number): Promise<void>;
|
|
8984
|
+
/** `GET /api/v1/network/profiles` */
|
|
8985
|
+
listProfiles(page?: PageRequest): Promise<Page<NetworkReplyProfile>>;
|
|
8986
|
+
/**
|
|
8987
|
+
* Walk `network.list_profiles` to exhaustion, concatenating every page.
|
|
8988
|
+
*
|
|
8989
|
+
* The auto-paging form §27.4 rule 4 requires. It stops on an empty page even
|
|
8990
|
+
* if `total` disagrees, so a misreporting server costs one wasted request
|
|
8991
|
+
* rather than an unbounded loop.
|
|
8992
|
+
*/
|
|
8993
|
+
listProfilesAll(start?: PageRequest): Promise<NetworkReplyProfile[]>;
|
|
8994
|
+
/**
|
|
8995
|
+
* `POST /api/v1/network/profiles`
|
|
8996
|
+
*
|
|
8997
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
8998
|
+
* issued exactly once, including the ones that look idempotent.
|
|
8999
|
+
*/
|
|
9000
|
+
createProfile(body: CreateNetworkReplyProfileRequest): Promise<NetworkReplyProfile>;
|
|
9001
|
+
/** `GET /api/v1/network/profiles/{segment_id}` */
|
|
9002
|
+
getProfile(segmentId: string): Promise<NetworkReplyProfile>;
|
|
9003
|
+
/**
|
|
9004
|
+
* `PUT /api/v1/network/profiles/{segment_id}`
|
|
9005
|
+
*
|
|
9006
|
+
* **This is a replacement, not a patch** (§27.4 rule 5). Every field of the
|
|
9007
|
+
* body is required, and what you do not carry over from a prior read is not
|
|
9008
|
+
* preserved — it is overwritten. Read first, change the field you mean, send
|
|
9009
|
+
* the whole thing back.
|
|
9010
|
+
*
|
|
9011
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
9012
|
+
* issued exactly once, including the ones that look idempotent.
|
|
9013
|
+
*/
|
|
9014
|
+
replaceProfile(segmentId: string, body: ReplaceNetworkReplyProfileRequest): Promise<NetworkReplyProfile>;
|
|
9015
|
+
/**
|
|
9016
|
+
* `DELETE /api/v1/network/profiles/{segment_id}`
|
|
9017
|
+
*
|
|
9018
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
9019
|
+
* issued exactly once, including the ones that look idempotent.
|
|
9020
|
+
*/
|
|
9021
|
+
deleteProfile(segmentId: string, version: number): Promise<void>;
|
|
9022
|
+
/** `GET /api/v1/network/policy` */
|
|
9023
|
+
getPolicy(): Promise<NetworkPolicyResponse>;
|
|
9024
|
+
/**
|
|
9025
|
+
* `PUT /api/v1/network/policy`
|
|
9026
|
+
*
|
|
9027
|
+
* **This is a replacement, not a patch** (§27.4 rule 5). Every field of the
|
|
9028
|
+
* body is required, and what you do not carry over from a prior read is not
|
|
9029
|
+
* preserved — it is overwritten. Read first, change the field you mean, send
|
|
9030
|
+
* the whole thing back.
|
|
9031
|
+
*
|
|
9032
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
9033
|
+
* issued exactly once, including the ones that look idempotent.
|
|
9034
|
+
*/
|
|
9035
|
+
replacePolicy(body: ReplaceNetworkPolicyRequest): Promise<NetworkPolicyResponse>;
|
|
9036
|
+
}
|
|
9037
|
+
|
|
8421
9038
|
/**
|
|
8422
9039
|
* The `settings` management namespace (CONTRACT §27.1).
|
|
8423
9040
|
*
|
|
@@ -8911,6 +9528,18 @@ interface ManagementNamespaces {
|
|
|
8911
9528
|
* Deleting a target does not deprovision anything downstream.
|
|
8912
9529
|
*/
|
|
8913
9530
|
readonly scimTargets: ScimTargetsApi;
|
|
9531
|
+
/**
|
|
9532
|
+
* A tenant's network segments and the RADIUS reply profile each owns (RADIUS
|
|
9533
|
+
* Live profile): a segment is a node of the reserved /network subtree of the
|
|
9534
|
+
* resource tree (kind, VLAN, Filter-Id envelope, placement rank), and its
|
|
9535
|
+
* profile is the typed `axiam-radius-reply/1` record a decision renders.
|
|
9536
|
+
* Every write is conditional on the `version` the caller read and passes the
|
|
9537
|
+
* server's write gate. The tenant's Session-Timeout cap is one more row of
|
|
9538
|
+
* it (get_policy, replace_policy): lowering it is always allowed, raising it
|
|
9539
|
+
* is allowed and audited. The decision route FreeRADIUS calls is not in this
|
|
9540
|
+
* registry.
|
|
9541
|
+
*/
|
|
9542
|
+
readonly network: NetworkApi;
|
|
8914
9543
|
/** Effective settings, and the organization/tenant layers they resolve from. */
|
|
8915
9544
|
readonly settings: SettingsApi;
|
|
8916
9545
|
/** Bearer tokens for the SCIM 2.0 provisioning endpoint. */
|
|
@@ -9273,4 +9902,5 @@ declare class AxiamClient {
|
|
|
9273
9902
|
confirmPasswordReset(confirmation: PasswordResetConfirmation): Promise<void>;
|
|
9274
9903
|
}
|
|
9275
9904
|
|
|
9276
|
-
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 ImportCaCertificateRequestWire 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, type DirectoryLinkResult as aA, type DirectorySyncStatus as aB, type EmailConfig as aC, EmailConfigApi as aD, type EmailConfigOverride as aE, type EmailTestResult as aF, type EmailVerificationPolicy as aG, type EncryptRequest as aH, type EncryptedExport as aI, type FailurePolicy as aJ, FederationApi as aK, type FederationConfigResponse as aL, type FederationLinkResponse as aM, type GeneratedCaCertificate as aN, type GeneratedCaCertificateWire as aO, type GeneratedCertificate as aP, type GeneratedCertificateWire as aQ, type GeneratedPgpKey as aR, type GeneratedPgpKeyWire as aS, type GrantPermissionRequest as aT, type GrantScopeConsent as aU, type GrantedScope as aV, type Group as aW, type GroupMapping as aX, GroupsApi as aY, type HealthResponse as aZ, type ImportCaCertificateRequest as a_, type CreateGroupRequest as aa, type CreateIntermediateCaRequest as ab, type CreateNotificationRuleRequest as ac, type CreateOAuth2ClientRequest as ad, type CreatePermissionRequest as ae, type CreatePgpKeyRequest as af, type CreateReactorRequest as ag, type CreateRegistrationTokenRequest as ah, type CreateRegistrationTokenResponse as ai, type CreateRegistrationTokenResponseWire as aj, type CreateResourceRequest as ak, type CreateRoleRequest as al, type CreateScimTokenRequest as am, type CreateScimTokenResponse as an, type CreateScimTokenResponseWire as ao, type CreateScopeRequest as ap, type CreateServiceAccountRequest as aq, type CreateTenantRequest as ar, type CreateUserRequest as as, type CreateUserRequestWire as at, type CreateWebhookRequest as au, type CreateWebhookRequestWire as av, type DeprovisionPolicy as aw, type DeviceToken as ax, DirectoryApi as ay, type DirectoryKind as az, type WebauthnCredential as b, type ReactorResponse as b$, type IssueSamlIdpCredential as b0, KNOWN_SCIM_TARGET_AUTH_TYPES as b1, KNOWN_SCIM_TARGET_SCOPE_TYPES as b2, type KeyAlgorithm as b3, type LinkDirectoryAccount as b4, type LockoutPolicy as b5, MAX_ATTEMPTS as b6, MAX_DELAY_MS as b7, type ManagedBy as b8, type ManagementNamespaces as b9, type OpaqueEnrollment as bA, type OpaqueEnrollmentPayload as bB, type OpaquePolicy as bC, type Organization as bD, OrganizationsApi as bE, type Page as bF, type PageRequest as bG, type PasswordPolicy as bH, type PasswordResetConfirmation as bI, type PasswordResetContext as bJ, type PasswordResetRequest as bK, type Permission as bL, type PermissionEffect as bM, PermissionsApi as bN, type PgpKey as bO, type PgpKeyAlgorithm as bP, type PgpKeyPurpose as bQ, type PgpKeyStatus as bR, PgpKeysApi as bS, type PlannedAction as bT, PlatformApi as bU, type PolicyResponse as bV, PrivacyApi as bW, type PrivacyPolicy as bX, type ProviderConfig as bY, type ReactorEventDescriptor as bZ, type ReactorMode as b_, type ManagementPlan as ba, ManifestApi as bb, type ManifestFailure as bc, type MdsRefreshOutcome as bd, type MdsStatusResponse as be, type MfaEnrollment as bf, type MfaMethodResponse as bg, type MfaMethodType as bh, type MfaPolicy as bi, type MigrateCustodyResponse as bj, type MtlsTrustAnchorResponse as bk, type NameIdFormat as bl, type NamespaceScope as bm, type NotificationEventType as bn, type NotificationPolicy as bo, type NotificationRuleResponse as bp, NotificationRulesApi as bq, type OAuth2ClientCreatedResponse as br, type OAuth2ClientCreatedResponseWire as bs, type OAuth2ClientResponse as bt, Oauth2ClientsApi as bu, type OidcAuthorizeRequest as bv, type OidcAuthorizeResponse as bw, type OidcCallbackRequest as bx, type OidcCallbackResponse as by, type OidcPolicy as bz, type SamlServiceProviderInput as c, type Tenant as c$, ReactorsApi as c0, type ReadyResponse as c1, type RegistrationTokenResponse as c2, type ResolvedPermissionGrant as c3, type Resource as c4, ResourcesApi as c5, type RetryOptions as c6, type RetryPolicy as c7, type Role as c8, type RoleAssignment as c9, type SecuritySettings as cA, type ServiceAccountCreatedResponse as cB, type ServiceAccountCreatedResponseWire as cC, type ServiceAccountResponse as cD, ServiceAccountsApi as cE, type SessionResponse as cF, type SetDirectoryConfigWire as cG, type SetMtlsTrustAnchor as cH, type SetOrgEmailConfig as cI, type SetOrgSettings as cJ, SettingsApi as cK, type SettingsScope as cL, type SignAuditBatchRequest as cM, type SignCertificateCsrRequest as cN, type SignIntermediateCsrRequest as cO, type SignedAuditBatch as cP, type SmtpConfig as cQ, SsfApi as cR, type SsfDeliveryMethod as cS, type SsfEventType as cT, type SsfStatusActor as cU, type SsfStreamInputWire as cV, type SsfStreamStatus as cW, type SsfSubjectFormat as cX, type StepOutcome as cY, type SubjectAltName as cZ, type Target as c_, type RoleBinding as ca, type RoleGroupAssignment as cb, type RoleServiceAccountAssignment as cc, type RoleUserAssignment as cd, RolesApi as ce, type RotateSecretResponse as cf, type RotateSecretResponseWire as cg, SamlApi as ch, type SamlBinding as ci, type SamlIdpCredential as cj, type SamlIdpCredentialPromotion as ck, type SamlIdpCredentialStatus as cl, type SamlIdpInfo as cm, type SamlIdpSlot as cn, type SamlSpMetadataDraft as co, type ScimReconcileAccepted as cp, type ScimTargetAuth as cq, type ScimTargetDeliveryState as cr, type ScimTargetInputWire as cs, type ScimTargetScope as ct, ScimTargetsApi as cu, type ScimTokenResponse as cv, type ScimTokenStatus as cw, ScimTokensApi as cx, type Scope as cy, ScopesApi as cz, type ScimTargetResponse as d, generatedCertificateFromWire as d$, type TenantKind as d0, type TenantSettingsOverride as d1, type TenantStatus as d2, TenantsApi as d3, type TokenExchangeTrustRequest as d4, type TokenExchangeTrustResponse as d5, type TokenPolicy as d6, type UnknownAaguidAction as d7, type UpdateDirectoryConfig as d8, type UpdateDirectoryConfigWire as d9, type WebauthnCreationOptionsJson as dA, type WebauthnCredentialDescriptorJson as dB, type WebauthnPolicy as dC, WebauthnPolicyApi as dD, type WebauthnRegistrationChallenge as dE, type WebauthnRegistrationResponse as dF, type WebauthnRequestChallenge as dG, type WebauthnRequestOptionsJson as dH, type WebhookResponse as dI, WebhooksApi as dJ, assertKnownScimTargetAuth as dK, assertKnownScimTargetScope as dL, assertValidSubjectAltName as dM, assertValidSubjectAltNameList as dN, backoffMs as dO, changedCount as dP, changes as dQ, clientRegistrationFromJson as dR, collectPages as dS, createFederationConfigRequestToWire as dT, createRegistrationTokenResponseFromWire as dU, createScimTokenResponseFromWire as dV, createUserRequestToWire as dW, createWebhookRequestToWire as dX, delayMs as dY, failure as dZ, generatedCaCertificateFromWire as d_, type UpdateFederationConfigRequest as da, type UpdateFederationConfigRequestWire as db, type UpdateGroup as dc, type UpdateNotificationRuleRequest as dd, type UpdateOAuth2ClientRequest as de, type UpdateOrganizationRequest as df, type UpdatePermissionRequest as dg, type UpdateReactorRequest as dh, type UpdateResourceRequest as di, type UpdateRole as dj, type UpdateScopeRequest as dk, type UpdateServiceAccount as dl, type UpdateTenant as dm, type UpdateUserRequest as dn, type UpdateWebhookRequest as dp, type UpdateWebhookRequestWire as dq, type UserAttributeMap as dr, type UserNameSource as ds, type UserResponse as dt, type UserStatus as du, UsersApi as dv, type WebauthnAttestationPolicy as dw, type WebauthnAuthenticationChallenge as dx, type WebauthnAuthenticationResponse as dy, type WebauthnCreationChallenge as dz, type ScimTargetInput as e, generatedPgpKeyFromWire as e0, hasMore as e1, importCaCertificateRequestToWire as e2, inheritOf as e3, isComplete as e4, isConverged as e5, managementNamespaces as e6, normalizeSearch as e7, oAuth2ClientCreatedResponseFromWire as e8, omitEmptyTenantScope as e9, validate as eA, webauthnRequestJson as eB, withFederationConfigResponseDefaults as eC, withRetry as eD, opaqueEnrollment as ea, opaqueEnrollmentForSelf as eb, pageQuery as ec, resourceKeyOf as ed, roleAssignmentInherits as ee, roleKeyOf as ef, rotateSecretResponseFromWire as eg, scimTargetInputToWire as eh, scrubDirectoryConfig as ei, scrubDirectoryLinkResult as ej, scrubDirectorySyncStatus as ek, scrubSamlIdpCredential as el, scrubSamlIdpCredentialPromotion as em, scrubSamlIdpInfo as en, scrubSamlServiceProvider as eo, scrubSamlSpMetadataDraft as ep, scrubScimReconcileAccepted as eq, scrubScimTargetResponse as er, scrubSsfStream as es, serviceAccountCreatedResponseFromWire as et, setDirectoryConfigToWire as eu, ssfStreamInputToWire as ev, topologicalOrder as ew, updateDirectoryConfigToWire as ex, updateFederationConfigRequestToWire as ey, updateWebhookRequestToWire 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 };
|
|
9905
|
+
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 };
|
|
9906
|
+
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 };
|