axiam-sdk 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +91 -12
  2. package/dist/browser/index.d.cts +1 -1
  3. package/dist/browser/index.d.ts +1 -1
  4. package/dist/{client-yD0eMwHQ.d.cts → client-7ZKtfXW-.d.cts} +640 -14
  5. package/dist/{client-0WJkblDE.d.ts → client-Putxo-yi.d.ts} +640 -14
  6. package/dist/{cookieJar-hWRmZkhe.d.ts → cookieJar-Cw6Zdeec.d.ts} +1 -1
  7. package/dist/{cookieJar-CTD5jOmd.d.cts → cookieJar-DkGcIr-i.d.cts} +1 -1
  8. package/dist/{errors-m0Tue_pE.d.cts → errors-CtP_lviy.d.cts} +15 -1
  9. package/dist/{errors-CmBvsxV0.d.ts → errors-VpViVRSx.d.ts} +15 -1
  10. package/dist/grpc/index.d.cts +3 -3
  11. package/dist/grpc/index.d.ts +3 -3
  12. package/dist/grpc/index.js +572 -14
  13. package/dist/grpc/index.js.map +1 -1
  14. package/dist/grpc/index.mjs +572 -14
  15. package/dist/grpc/index.mjs.map +1 -1
  16. package/dist/index.d.cts +3 -3
  17. package/dist/index.d.ts +3 -3
  18. package/dist/index.js +594 -15
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.mjs +592 -16
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/middleware/index.d.cts +3 -3
  23. package/dist/middleware/index.d.ts +3 -3
  24. package/dist/middleware/index.js +26 -3
  25. package/dist/middleware/index.js.map +1 -1
  26. package/dist/middleware/index.mjs +26 -3
  27. package/dist/middleware/index.mjs.map +1 -1
  28. package/dist/node/index.d.cts +3 -3
  29. package/dist/node/index.d.ts +3 -3
  30. package/dist/node/index.js +598 -17
  31. package/dist/node/index.js.map +1 -1
  32. package/dist/node/index.mjs +598 -17
  33. package/dist/node/index.mjs.map +1 -1
  34. package/dist/{oidcState-mQLVn3-A.d.cts → oidcState-Cz6erz0g.d.cts} +24 -3
  35. package/dist/{oidcState-DOSCgnMG.d.ts → oidcState-zGt6VU6v.d.ts} +24 -3
  36. package/dist/rest/index.d.cts +58 -7
  37. package/dist/rest/index.d.ts +58 -7
  38. package/dist/rest/index.js +594 -15
  39. package/dist/rest/index.js.map +1 -1
  40. package/dist/rest/index.mjs +592 -16
  41. package/dist/rest/index.mjs.map +1 -1
  42. package/package.json +1 -1
@@ -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
- /** Arbitrary key-value metadata (e.g., device serial, user ID binding). */
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
- /** `subject`. */
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
- /** Arbitrary key-value metadata (e.g., device serial, user ID binding). */
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
- /** `scopes`. */
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. Two plans
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
- * `ssfStreamInputFrom(await ssf.getStream(id))`. An update overtaken by the
8303
- * receiver's own write is `409`: read the stream again.
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,131 @@ 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
+ * D4): a segment is a node of the reserved /network subtree of the resource
8916
+ * tree (kind, VLAN, Filter-Id envelope, placement rank), and its profile is
8917
+ * the typed `axiam-radius-reply/1` record a decision renders. Every write is
8918
+ * conditional on the `version` the caller read and passes the server's write
8919
+ * gate. The tenant's Session-Timeout cap is one more row of it (get_policy,
8920
+ * replace_policy): lowering it is always allowed, raising it is allowed and
8921
+ * audited. The decision route FreeRADIUS calls is not in this registry.
8922
+ */
8923
+
8924
+ /**
8925
+ * The `network` namespace handle.
8926
+ *
8927
+ * A tenant's network segments and the RADIUS reply profile each owns (RADIUS
8928
+ * D4): a segment is a node of the reserved /network subtree of the resource
8929
+ * tree (kind, VLAN, Filter-Id envelope, placement rank), and its profile is
8930
+ * the typed `axiam-radius-reply/1` record a decision renders. Every write is
8931
+ * conditional on the `version` the caller read and passes the server's write
8932
+ * gate. The tenant's Session-Timeout cap is one more row of it (get_policy,
8933
+ * replace_policy): lowering it is always allowed, raising it is allowed and
8934
+ * audited. The decision route FreeRADIUS calls is not in this registry.
8935
+ *
8936
+ * Acquiring one performs no I/O and allocates nothing meaningful (§27.2 rule
8937
+ * 1); it holds the client and cannot be constructed without one.
8938
+ */
8939
+ declare class NetworkApi {
8940
+ #private;
8941
+ /** @internal — reached through `client.<namespace>`, never constructed directly. */
8942
+ constructor(client: AxiamClient, scope?: NamespaceScope);
8943
+ /** `GET /api/v1/network/segments` */
8944
+ listSegments(site?: string, page?: PageRequest): Promise<Page<NetworkSegmentResponse>>;
8945
+ /**
8946
+ * Walk `network.list_segments` to exhaustion, concatenating every page.
8947
+ *
8948
+ * The auto-paging form §27.4 rule 4 requires. It stops on an empty page even
8949
+ * if `total` disagrees, so a misreporting server costs one wasted request
8950
+ * rather than an unbounded loop.
8951
+ */
8952
+ listSegmentsAll(site?: string, start?: PageRequest): Promise<NetworkSegmentResponse[]>;
8953
+ /**
8954
+ * `POST /api/v1/network/segments`
8955
+ *
8956
+ * Not retried on failure (§27.4 rule 8): every write on this surface is
8957
+ * issued exactly once, including the ones that look idempotent.
8958
+ */
8959
+ createSegment(body: CreateNetworkSegmentRequest): Promise<NetworkSegmentResponse>;
8960
+ /** `GET /api/v1/network/segments/{id}` */
8961
+ getSegment(id: string): Promise<NetworkSegmentResponse>;
8962
+ /**
8963
+ * `PUT /api/v1/network/segments/{id}`
8964
+ *
8965
+ * **This is a replacement, not a patch** (§27.4 rule 5). Only the required
8966
+ * members must be set, but what you do not carry over from a prior read is
8967
+ * not preserved: an optional member left out is overwritten with its
8968
+ * default, not kept (except where noted above). Read first, change the field
8969
+ * you mean, send the whole thing back.
8970
+ *
8971
+ * Not retried on failure (§27.4 rule 8): every write on this surface is
8972
+ * issued exactly once, including the ones that look idempotent.
8973
+ */
8974
+ replaceSegment(id: string, body: ReplaceNetworkSegmentRequest): Promise<NetworkSegmentResponse>;
8975
+ /**
8976
+ * `DELETE /api/v1/network/segments/{id}`
8977
+ *
8978
+ * Not retried on failure (§27.4 rule 8): every write on this surface is
8979
+ * issued exactly once, including the ones that look idempotent.
8980
+ */
8981
+ deleteSegment(id: string, version: number): Promise<void>;
8982
+ /** `GET /api/v1/network/profiles` */
8983
+ listProfiles(page?: PageRequest): Promise<Page<NetworkReplyProfile>>;
8984
+ /**
8985
+ * Walk `network.list_profiles` to exhaustion, concatenating every page.
8986
+ *
8987
+ * The auto-paging form §27.4 rule 4 requires. It stops on an empty page even
8988
+ * if `total` disagrees, so a misreporting server costs one wasted request
8989
+ * rather than an unbounded loop.
8990
+ */
8991
+ listProfilesAll(start?: PageRequest): Promise<NetworkReplyProfile[]>;
8992
+ /**
8993
+ * `POST /api/v1/network/profiles`
8994
+ *
8995
+ * Not retried on failure (§27.4 rule 8): every write on this surface is
8996
+ * issued exactly once, including the ones that look idempotent.
8997
+ */
8998
+ createProfile(body: CreateNetworkReplyProfileRequest): Promise<NetworkReplyProfile>;
8999
+ /** `GET /api/v1/network/profiles/{segment_id}` */
9000
+ getProfile(segmentId: string): Promise<NetworkReplyProfile>;
9001
+ /**
9002
+ * `PUT /api/v1/network/profiles/{segment_id}`
9003
+ *
9004
+ * **This is a replacement, not a patch** (§27.4 rule 5). Every field of the
9005
+ * body is required, and what you do not carry over from a prior read is not
9006
+ * preserved — it is overwritten. Read first, change the field you mean, send
9007
+ * the whole thing back.
9008
+ *
9009
+ * Not retried on failure (§27.4 rule 8): every write on this surface is
9010
+ * issued exactly once, including the ones that look idempotent.
9011
+ */
9012
+ replaceProfile(segmentId: string, body: ReplaceNetworkReplyProfileRequest): Promise<NetworkReplyProfile>;
9013
+ /**
9014
+ * `DELETE /api/v1/network/profiles/{segment_id}`
9015
+ *
9016
+ * Not retried on failure (§27.4 rule 8): every write on this surface is
9017
+ * issued exactly once, including the ones that look idempotent.
9018
+ */
9019
+ deleteProfile(segmentId: string, version: number): Promise<void>;
9020
+ /** `GET /api/v1/network/policy` */
9021
+ getPolicy(): Promise<NetworkPolicyResponse>;
9022
+ /**
9023
+ * `PUT /api/v1/network/policy`
9024
+ *
9025
+ * **This is a replacement, not a patch** (§27.4 rule 5). Every field of the
9026
+ * body is required, and what you do not carry over from a prior read is not
9027
+ * preserved — it is overwritten. Read first, change the field you mean, send
9028
+ * the whole thing back.
9029
+ *
9030
+ * Not retried on failure (§27.4 rule 8): every write on this surface is
9031
+ * issued exactly once, including the ones that look idempotent.
9032
+ */
9033
+ replacePolicy(body: ReplaceNetworkPolicyRequest): Promise<NetworkPolicyResponse>;
9034
+ }
9035
+
8421
9036
  /**
8422
9037
  * The `settings` management namespace (CONTRACT §27.1).
8423
9038
  *
@@ -8911,6 +9526,17 @@ interface ManagementNamespaces {
8911
9526
  * Deleting a target does not deprovision anything downstream.
8912
9527
  */
8913
9528
  readonly scimTargets: ScimTargetsApi;
9529
+ /**
9530
+ * A tenant's network segments and the RADIUS reply profile each owns (RADIUS
9531
+ * D4): a segment is a node of the reserved /network subtree of the resource
9532
+ * tree (kind, VLAN, Filter-Id envelope, placement rank), and its profile is
9533
+ * the typed `axiam-radius-reply/1` record a decision renders. Every write is
9534
+ * conditional on the `version` the caller read and passes the server's write
9535
+ * gate. The tenant's Session-Timeout cap is one more row of it (get_policy,
9536
+ * replace_policy): lowering it is always allowed, raising it is allowed and
9537
+ * audited. The decision route FreeRADIUS calls is not in this registry.
9538
+ */
9539
+ readonly network: NetworkApi;
8914
9540
  /** Effective settings, and the organization/tenant layers they resolve from. */
8915
9541
  readonly settings: SettingsApi;
8916
9542
  /** Bearer tokens for the SCIM 2.0 provisioning endpoint. */
@@ -9273,4 +9899,4 @@ declare class AxiamClient {
9273
9899
  confirmPasswordReset(confirmation: PasswordResetConfirmation): Promise<void>;
9274
9900
  }
9275
9901
 
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 };
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 };