@cboxdk/id-js 0.19.0 → 0.20.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.
@@ -563,6 +563,10 @@ var environmentOperations = {
563
563
  "apis.scopes.define": { action: "apis.scopes.define", operationId: "apis_scopes_define", method: "PUT", path: "/apis/{id}/scopes/{key}", pathParams: ["id", "key"], scope: "apis:write", danger: "write", approval: true, body: true, pagination: null },
564
564
  "apis.scopes.remove": { action: "apis.scopes.remove", operationId: "apis_scopes_remove", method: "DELETE", path: "/apis/{id}/scopes/{key}", pathParams: ["id", "key"], scope: "apis:write", danger: "destructive", approval: true, body: false, pagination: null },
565
565
  "apis.update": { action: "apis.update", operationId: null, method: "PATCH", path: "/apis/{id}", pathParams: ["id"], scope: "apis:write", danger: "write", approval: true, body: true, pagination: null },
566
+ "app_catalog.delete": { action: "app_catalog.delete", operationId: "app_catalog_delete", method: "DELETE", path: "/app-catalog/{key}", pathParams: ["key"], scope: "app_catalog:write", danger: "destructive", approval: true, body: true, pagination: null },
567
+ "app_catalog.list": { action: "app_catalog.list", operationId: "app_catalog_list", method: "GET", path: "/app-catalog", pathParams: [], scope: "app_catalog:read", danger: "read", approval: true, body: false, pagination: null },
568
+ "app_catalog.save": { action: "app_catalog.save", operationId: "app_catalog_save", method: "PUT", path: "/app-catalog/{key}", pathParams: ["key"], scope: "app_catalog:write", danger: "write", approval: true, body: true, pagination: null },
569
+ "app_catalog.show": { action: "app_catalog.show", operationId: "app_catalog_show", method: "GET", path: "/app-catalog/{key}", pathParams: ["key"], scope: "app_catalog:read", danger: "read", approval: true, body: false, pagination: null },
566
570
  "approvals.deny": { action: "approvals.deny", operationId: "approvals_deny", method: "POST", path: "/agent-requests/{request_id}/deny", pathParams: ["request_id"], scope: "approvals:write", danger: "destructive", approval: true, body: false, pagination: null },
567
571
  "approvals.list": { action: "approvals.list", operationId: "approvals_list", method: "GET", path: "/agent-requests", pathParams: [], scope: "approvals:read", danger: "read", approval: true, body: false, pagination: "cursor" },
568
572
  "apps.blueprint": { action: "apps.blueprint", operationId: "apps_blueprint", method: "GET", path: "/apps/{id}/blueprint", pathParams: ["id"], scope: "apps:read", danger: "read", approval: true, body: false, pagination: null },
@@ -579,6 +583,7 @@ var environmentOperations = {
579
583
  "apps.secrets.rotate": { action: "apps.secrets.rotate", operationId: "apps_secrets_rotate", method: "POST", path: "/apps/{id}/secrets", pathParams: ["id"], scope: "apps:write", danger: "critical", approval: true, body: true, pagination: null },
580
584
  "apps.settings.api_key_prefix": { action: "apps.settings.api_key_prefix", operationId: "apps_settings_api_key_prefix", method: "PUT", path: "/apps/{id}/settings/api-key-prefix", pathParams: ["id"], scope: "apps:write", danger: "write", approval: true, body: true, pagination: null },
581
585
  "apps.settings.backchannel_logout": { action: "apps.settings.backchannel_logout", operationId: "apps_settings_backchannel_logout", method: "PUT", path: "/apps/{id}/settings/backchannel-logout", pathParams: ["id"], scope: "apps:write", danger: "write", approval: true, body: true, pagination: null },
586
+ "apps.settings.client_credentials": { action: "apps.settings.client_credentials", operationId: "apps_settings_client_credentials", method: "PUT", path: "/apps/{id}/settings/client-credentials", pathParams: ["id"], scope: "apps:write", danger: "write", approval: true, body: true, pagination: null },
582
587
  "apps.settings.token_exchange": { action: "apps.settings.token_exchange", operationId: "apps_settings_token_exchange", method: "PUT", path: "/apps/{id}/settings/token-exchange", pathParams: ["id"], scope: "apps:write", danger: "write", approval: true, body: true, pagination: null },
583
588
  "apps.settings.token_lifetime": { action: "apps.settings.token_lifetime", operationId: "apps_settings_token_lifetime", method: "PUT", path: "/apps/{id}/settings/token-lifetime", pathParams: ["id"], scope: "apps:write", danger: "write", approval: true, body: true, pagination: null },
584
589
  "apps.update": { action: "apps.update", operationId: "apps_update", method: "PATCH", path: "/apps/{id}", pathParams: ["id"], scope: "apps:write", danger: "write", approval: true, body: true, pagination: null },
@@ -595,6 +600,7 @@ var environmentOperations = {
595
600
  "audit_logs.settings.update": { action: "audit_logs.settings.update", operationId: "audit_logs_settings_update", method: "PATCH", path: "/audit-logs/settings", pathParams: [], scope: "audit_logs:manage", danger: "destructive", approval: true, body: true, pagination: null },
596
601
  "audit_logs.verify": { action: "audit_logs.verify", operationId: "audit_logs_verify", method: "GET", path: "/audit-logs/verify", pathParams: [], scope: "audit_logs:read", danger: "read", approval: true, body: false, pagination: null },
597
602
  "audit.list": { action: "audit.list", operationId: "audit_list", method: "GET", path: "/audit-log", pathParams: [], scope: "audit:read", danger: "read", approval: true, body: false, pagination: "cursor" },
603
+ "authenticator.me.list": { action: null, operationId: "authenticatorIdentity", method: "GET", path: "/authenticator/me", pathParams: [], scope: null, danger: null, approval: false, body: false, pagination: null },
598
604
  "branding.appearance.get": { action: "branding.appearance.get", operationId: "branding_appearance_get", method: "GET", path: "/branding/appearance", pathParams: [], scope: "branding:read", danger: "read", approval: true, body: false, pagination: null },
599
605
  "branding.appearance.set": { action: "branding.appearance.set", operationId: "branding_appearance_set", method: "PUT", path: "/branding/appearance", pathParams: [], scope: "branding:write", danger: "write", approval: true, body: true, pagination: null },
600
606
  "branding.whitelabel.get": { action: "branding.whitelabel.get", operationId: "branding_whitelabel_get", method: "GET", path: "/branding/whitelabel", pathParams: [], scope: "branding:read", danger: "read", approval: true, body: false, pagination: null },
@@ -643,6 +649,7 @@ var environmentOperations = {
643
649
  "hooks.get": { action: "hooks.get", operationId: "hooks_get", method: "GET", path: "/hooks/{id}", pathParams: ["id"], scope: "hooks:read", danger: "read", approval: true, body: false, pagination: null },
644
650
  "hooks.list": { action: "hooks.list", operationId: "hooks_list", method: "GET", path: "/hooks", pathParams: [], scope: "hooks:read", danger: "read", approval: true, body: false, pagination: "cursor" },
645
651
  "hooks.update": { action: "hooks.update", operationId: "hooks_update", method: "PATCH", path: "/hooks/{id}", pathParams: ["id"], scope: "hooks:write", danger: "critical", approval: true, body: true, pagination: null },
652
+ "invitations.get": { action: "invitations.get", operationId: "invitations_get", method: "GET", path: "/organizations/{organization_id}/invitations/{invitation_id}", pathParams: ["organization_id", "invitation_id"], scope: "invitations:read", danger: "read", approval: true, body: false, pagination: null },
646
653
  "invitations.list": { action: "invitations.list", operationId: "invitations_list", method: "GET", path: "/organizations/{organization_id}/invitations", pathParams: ["organization_id"], scope: "invitations:read", danger: "read", approval: true, body: false, pagination: "cursor" },
647
654
  "invitations.resend": { action: "invitations.resend", operationId: "invitations_resend", method: "POST", path: "/organizations/{organization_id}/invitations/{invitation_id}/resend", pathParams: ["organization_id", "invitation_id"], scope: "invitations:write", danger: "write", approval: true, body: false, pagination: null },
648
655
  "invitations.revoke": { action: "invitations.revoke", operationId: "invitations_revoke", method: "DELETE", path: "/organizations/{organization_id}/invitations/{invitation_id}", pathParams: ["organization_id", "invitation_id"], scope: "invitations:write", danger: "destructive", approval: true, body: false, pagination: null },
@@ -662,6 +669,7 @@ var environmentOperations = {
662
669
  "log_streams.test": { action: "log_streams.test", operationId: "log_streams_test", method: "POST", path: "/log-streams/{id}/test", pathParams: ["id"], scope: "log_streams:write", danger: "write", approval: true, body: false, pagination: null },
663
670
  "log_streams.update": { action: "log_streams.update", operationId: "log_streams_update", method: "PATCH", path: "/log-streams/{id}", pathParams: ["id"], scope: "log_streams:write", danger: "critical", approval: true, body: true, pagination: null },
664
671
  "members.add": { action: "members.add", operationId: "members_add", method: "POST", path: "/organizations/{organization_id}/members", pathParams: ["organization_id"], scope: "members:write", danger: "write", approval: true, body: true, pagination: null },
672
+ "members.apps.roles.replace": { action: "members.apps.roles.replace", operationId: "members_apps_roles_replace", method: "PUT", path: "/organizations/{organization_id}/members/{user_id}/apps/{client_id}/roles", pathParams: ["organization_id", "user_id", "client_id"], scope: "roles:write", danger: "write", approval: true, body: true, pagination: null },
665
673
  "members.list": { action: "members.list", operationId: "members_list", method: "GET", path: "/organizations/{organization_id}/members", pathParams: ["organization_id"], scope: "members:read", danger: "read", approval: true, body: false, pagination: "cursor" },
666
674
  "members.remove": { action: "members.remove", operationId: "members_remove", method: "DELETE", path: "/organizations/{organization_id}/members/{user_id}", pathParams: ["organization_id", "user_id"], scope: "members:write", danger: "destructive", approval: true, body: false, pagination: null },
667
675
  "members.roles.grant": { action: "members.roles.grant", operationId: "members_roles_grant", method: "PUT", path: "/organizations/{organization_id}/members/{user_id}/roles/{role_id}", pathParams: ["organization_id", "user_id", "role_id"], scope: "roles:write", danger: "write", approval: true, body: false, pagination: null },
@@ -717,6 +725,7 @@ var environmentOperations = {
717
725
  "radar.settings.get": { action: "radar.settings.get", operationId: "radar_settings_get", method: "GET", path: "/radar/settings", pathParams: [], scope: "radar:read", danger: "read", approval: true, body: false, pagination: null },
718
726
  "radar.settings.update": { action: "radar.settings.update", operationId: "radar_settings_update", method: "PATCH", path: "/radar/settings", pathParams: [], scope: "radar:write", danger: "write", approval: true, body: true, pagination: null },
719
727
  "roles.create": { action: "roles.create", operationId: "roles_create", method: "POST", path: "/roles", pathParams: [], scope: "role_definitions:write", danger: "write", approval: true, body: true, pagination: null },
728
+ "roles.definition.activate": { action: "roles.definition.activate", operationId: "roles_definition_activate", method: "POST", path: "/roles/{id}/definition/activate", pathParams: ["id"], scope: "role_definitions:write", danger: "destructive", approval: true, body: true, pagination: null },
720
729
  "roles.delete": { action: "roles.delete", operationId: "roles_delete", method: "DELETE", path: "/roles/{id}", pathParams: ["id"], scope: "role_definitions:write", danger: "destructive", approval: true, body: false, pagination: null },
721
730
  "roles.get": { action: "roles.get", operationId: "roles_get", method: "GET", path: "/roles/{id}", pathParams: ["id"], scope: "roles:read", danger: "read", approval: true, body: false, pagination: null },
722
731
  "roles.list": { action: "roles.list", operationId: "roles_list", method: "GET", path: "/roles", pathParams: [], scope: "roles:read", danger: "read", approval: true, body: false, pagination: null },
@@ -728,6 +737,8 @@ var environmentOperations = {
728
737
  "saml_apps.get": { action: "saml_apps.get", operationId: "saml_apps_get", method: "GET", path: "/saml-apps/{id}", pathParams: ["id"], scope: "saml_apps:read", danger: "read", approval: true, body: false, pagination: null },
729
738
  "saml_apps.list": { action: "saml_apps.list", operationId: "saml_apps_list", method: "GET", path: "/saml-apps", pathParams: [], scope: "saml_apps:read", danger: "read", approval: true, body: false, pagination: "cursor" },
730
739
  "saml_apps.update": { action: "saml_apps.update", operationId: "saml_apps_update", method: "PATCH", path: "/saml-apps/{id}", pathParams: ["id"], scope: "saml_apps:write", danger: "critical", approval: true, body: true, pagination: null },
740
+ "signals.source.erasures.list": { action: null, operationId: "signals_source_erasures", method: "GET", path: "/signals/source/erasures", pathParams: [], scope: null, danger: null, approval: false, body: false, pagination: "cursor" },
741
+ "signals.source.list": { action: null, operationId: "signals_source_list", method: "GET", path: "/signals/source", pathParams: [], scope: null, danger: null, approval: false, body: false, pagination: "cursor" },
731
742
  "signin.policy.get": { action: "signin.policy.get", operationId: "signin_policy_get", method: "GET", path: "/sign-in/policy", pathParams: [], scope: "signin:read", danger: "read", approval: true, body: false, pagination: null },
732
743
  "signin.policy.inherit": { action: "signin.policy.inherit", operationId: "signin_policy_inherit", method: "DELETE", path: "/sign-in/policy/organizations/{organization_id}", pathParams: ["organization_id"], scope: "signin:write", danger: "critical", approval: true, body: false, pagination: null },
733
744
  "signin.policy.update": { action: "signin.policy.update", operationId: "signin_policy_update", method: "PATCH", path: "/sign-in/policy", pathParams: [], scope: "signin:write", danger: "critical", approval: true, body: true, pagination: null },
@@ -773,6 +784,8 @@ var environmentOperations = {
773
784
  "token_vault.secrets.list": { action: "token_vault.secrets.list", operationId: "token_vault_secrets_list", method: "GET", path: "/token-vault/secrets", pathParams: [], scope: "token_vault:read", danger: "read", approval: true, body: false, pagination: "cursor" },
774
785
  "token_vault.secrets.revoke": { action: "token_vault.secrets.revoke", operationId: "token_vault_secrets_revoke", method: "POST", path: "/token-vault/secrets/{id}/revoke", pathParams: ["id"], scope: "token_vault:write", danger: "destructive", approval: true, body: true, pagination: null },
775
786
  "token_vault.secrets.rotate": { action: "token_vault.secrets.rotate", operationId: "token_vault_secrets_rotate", method: "POST", path: "/token-vault/secrets/{id}/rotate", pathParams: ["id"], scope: "token_vault:write", danger: "critical", approval: true, body: true, pagination: null },
787
+ "user_property_namespaces.configure": { action: "user_property_namespaces.configure", operationId: "user_property_namespaces_configure", method: "PUT", path: "/user-property-namespaces/{name}", pathParams: ["name"], scope: "user_property_namespaces:write", danger: "critical", approval: true, body: true, pagination: null },
788
+ "user_property_namespaces.show": { action: "user_property_namespaces.show", operationId: "user_property_namespaces_show", method: "GET", path: "/user-property-namespaces/{name}", pathParams: ["name"], scope: "user_property_namespaces:read", danger: "read", approval: true, body: false, pagination: null },
776
789
  "users.create": { action: "users.create", operationId: "users_create", method: "POST", path: "/users", pathParams: [], scope: "users:write", danger: "write", approval: true, body: true, pagination: null },
777
790
  "users.deactivate": { action: "users.deactivate", operationId: "users_deactivate", method: "DELETE", path: "/users/{id}", pathParams: ["id"], scope: "users:write", danger: "destructive", approval: true, body: false, pagination: null },
778
791
  "users.environment_roles.get": { action: "users.environment_roles.get", operationId: "users_environment_roles_get", method: "GET", path: "/users/{id}/environment-roles/{role_id}", pathParams: ["id", "role_id"], scope: "roles:read", danger: "read", approval: true, body: false, pagination: null },
@@ -1019,6 +1032,52 @@ var EnvironmentClient = class {
1019
1032
  remove: (id, key, options) => this.transport.call(environmentOperations["apis.scopes.remove"], [id, key], void 0, options)
1020
1033
  }
1021
1034
  };
1035
+ appCatalog = {
1036
+ /**
1037
+ * Remove a catalog app without deleting its OAuth clients or user data.
1038
+ *
1039
+ * Requires scope `app_catalog:write`. Danger: destructive.
1040
+ *
1041
+ * `DELETE /app-catalog/{key}` · action `app_catalog.delete`
1042
+ * @scope `app_catalog:write`
1043
+ * @danger destructive
1044
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
1045
+ */
1046
+ delete: (key, body, options) => this.transport.call(environmentOperations["app_catalog.delete"], [key], body, options),
1047
+ /**
1048
+ * List catalog apps, including drafts and visibility settings.
1049
+ *
1050
+ * Requires scope `app_catalog:read`. Danger: read.
1051
+ *
1052
+ * `GET /app-catalog` · action `app_catalog.list`
1053
+ * @scope `app_catalog:read`
1054
+ * @danger read
1055
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
1056
+ */
1057
+ list: (options) => this.transport.call(environmentOperations["app_catalog.list"], [], void 0, options),
1058
+ /**
1059
+ * Create or replace a catalog app, its icon and visibility. Version zero creates; a stale version conflicts.
1060
+ *
1061
+ * Requires scope `app_catalog:write`. Danger: write.
1062
+ *
1063
+ * `PUT /app-catalog/{key}` · action `app_catalog.save`
1064
+ * @scope `app_catalog:write`
1065
+ * @danger write
1066
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
1067
+ */
1068
+ save: (key, body, options) => this.transport.call(environmentOperations["app_catalog.save"], [key], body, options),
1069
+ /**
1070
+ * Read a catalog app and its publication settings.
1071
+ *
1072
+ * Requires scope `app_catalog:read`. Danger: read.
1073
+ *
1074
+ * `GET /app-catalog/{key}` · action `app_catalog.show`
1075
+ * @scope `app_catalog:read`
1076
+ * @danger read
1077
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
1078
+ */
1079
+ show: (key, options) => this.transport.call(environmentOperations["app_catalog.show"], [key], void 0, options)
1080
+ };
1022
1081
  approvals = {
1023
1082
  /**
1024
1083
  * Deny a pending approval request (CIBA) for the person it was raised for: the agent gets access_denied and no token.
@@ -1242,6 +1301,17 @@ var EnvironmentClient = class {
1242
1301
  * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
1243
1302
  */
1244
1303
  backchannelLogout: (id, body, options) => this.transport.call(environmentOperations["apps.settings.backchannel_logout"], [id], body, options),
1304
+ /**
1305
+ * Turn client-credentials authentication on or off for a confidential app; other grants and scopes stay unchanged.
1306
+ *
1307
+ * Requires scope `apps:write`. Danger: write.
1308
+ *
1309
+ * `PUT /apps/{id}/settings/client-credentials` · action `apps.settings.client_credentials`
1310
+ * @scope `apps:write`
1311
+ * @danger write
1312
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
1313
+ */
1314
+ clientCredentials: (id, body, options) => this.transport.call(environmentOperations["apps.settings.client_credentials"], [id], body, options),
1245
1315
  /**
1246
1316
  * Turn token exchange (RFC 8693) on or off for a confidential app.
1247
1317
  *
@@ -1427,6 +1497,18 @@ var EnvironmentClient = class {
1427
1497
  /** Every item of `audit.list`, fetching pages as the iteration reaches them. */
1428
1498
  listAll: (query, options) => this.transport.paginate(environmentOperations["audit.list"], [], query, options)
1429
1499
  };
1500
+ authenticator = {
1501
+ me: {
1502
+ /**
1503
+ * Verified identity for the authenticator
1504
+ *
1505
+ * Requires the provisioned public authenticator client, devices.manage and a DPoP proof. Available before device registration; revoked keys are refused.
1506
+ *
1507
+ * `GET /authenticator/me`
1508
+ */
1509
+ list: (options) => this.transport.call(environmentOperations["authenticator.me.list"], [], void 0, options)
1510
+ }
1511
+ };
1430
1512
  branding = {
1431
1513
  appearance: {
1432
1514
  /**
@@ -2014,6 +2096,17 @@ var EnvironmentClient = class {
2014
2096
  update: (id, body, options) => this.transport.call(environmentOperations["hooks.update"], [id], body, options)
2015
2097
  };
2016
2098
  invitations = {
2099
+ /**
2100
+ * Get an invitation and its acceptance receipt, confined to its organization.
2101
+ *
2102
+ * Requires scope `invitations:read`. Danger: read.
2103
+ *
2104
+ * `GET /organizations/{organization_id}/invitations/{invitation_id}` · action `invitations.get`
2105
+ * @scope `invitations:read`
2106
+ * @danger read
2107
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
2108
+ */
2109
+ get: (organizationId, invitationId, options) => this.transport.call(environmentOperations["invitations.get"], [organizationId, invitationId], void 0, options),
2017
2110
  /**
2018
2111
  * List an organization's pending invitations
2019
2112
  *
@@ -2313,6 +2406,21 @@ var EnvironmentClient = class {
2313
2406
  * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
2314
2407
  */
2315
2408
  update: (organizationId, userId, body, options) => this.transport.call(environmentOperations["members.update"], [organizationId, userId], body, options),
2409
+ apps: {
2410
+ roles: {
2411
+ /**
2412
+ * Replace one app's member roles atomically. Other apps and the organization membership remain unchanged. An empty role list removes this app's access only.
2413
+ *
2414
+ * Requires scope `roles:write`. Danger: write.
2415
+ *
2416
+ * `PUT /organizations/{organization_id}/members/{user_id}/apps/{client_id}/roles` · action `members.apps.roles.replace`
2417
+ * @scope `roles:write`
2418
+ * @danger write
2419
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
2420
+ */
2421
+ replace: (organizationId, userId, clientId, body, options) => this.transport.call(environmentOperations["members.apps.roles.replace"], [organizationId, userId, clientId], body, options)
2422
+ }
2423
+ },
2316
2424
  roles: {
2317
2425
  /**
2318
2426
  * Grant a member a role in the organization
@@ -3016,6 +3124,19 @@ var EnvironmentClient = class {
3016
3124
  * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
3017
3125
  */
3018
3126
  update: (id, body, options) => this.transport.call(environmentOperations["roles.update"], [id], body, options),
3127
+ definition: {
3128
+ /**
3129
+ * Activate a reviewed application role definition for its existing holders.
3130
+ *
3131
+ * Requires scope `role_definitions:write`. Danger: destructive.
3132
+ *
3133
+ * `POST /roles/{id}/definition/activate` · action `roles.definition.activate`
3134
+ * @scope `role_definitions:write`
3135
+ * @danger destructive
3136
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
3137
+ */
3138
+ activate: (id, body, options) => this.transport.call(environmentOperations["roles.definition.activate"], [id], body, options)
3139
+ },
3019
3140
  permissions: {
3020
3141
  /**
3021
3142
  * Add a permission to a role: everyone holding the role gains it. The permission must be unscoped or declared by the role's own app.
@@ -3100,6 +3221,45 @@ var EnvironmentClient = class {
3100
3221
  */
3101
3222
  update: (id, body, options) => this.transport.call(environmentOperations["saml_apps.update"], [id], body, options)
3102
3223
  };
3224
+ signals = {
3225
+ source: {
3226
+ /**
3227
+ * Read the environment-owner identity source
3228
+ *
3229
+ * Requires an environment key with `signals_source:read` and explicit operator
3230
+ * opt-in for this environment. Organization grants and delegated user tokens
3231
+ * cannot read this source. Records include pre-organization authentication.
3232
+ * The cursor follows committed sequence order and is bound to the source generation.
3233
+ * Follow `next_cursor`, including on empty pages; a stale generation or purged
3234
+ * cursor requires an explicit restart. Pages are at most 1000 records / 1 MiB.
3235
+ * Data follows the Signals 2.0.0 identity event contracts. Scope is attached by
3236
+ * the consumer's explicit grant; producer_environment is always host-bound.
3237
+ * Replay is limited to seven days, including raw-IP retention. A heartbeat
3238
+ * proves exporter maintenance, not complete coverage of every identity flow.
3239
+ *
3240
+ * `GET /signals/source`
3241
+ */
3242
+ list: (query, options) => this.transport.call(environmentOperations["signals.source.list"], [], query, options),
3243
+ /** Every item of `signals.source.list`, fetching pages as the iteration reaches them. */
3244
+ listAll: (query, options) => this.transport.paginate(environmentOperations["signals.source.list"], [], query, options),
3245
+ erasures: {
3246
+ /**
3247
+ * Replay source deletion receipts
3248
+ *
3249
+ * Requires `signals_source:read` on an environment-owner key. Replay this stream
3250
+ * before making a restored or newly backfilled consumer eligible. It retains only
3251
+ * opaque subject references and deletion facts beyond the raw-event replay window.
3252
+ * Publication order and cursor integrity match the event source. The credential
3253
+ * is checked on every page. Ordinary tenant grants cannot access this stream.
3254
+ *
3255
+ * `GET /signals/source/erasures`
3256
+ */
3257
+ list: (query, options) => this.transport.call(environmentOperations["signals.source.erasures.list"], [], query, options),
3258
+ /** Every item of `signals.source.erasures.list`, fetching pages as the iteration reaches them. */
3259
+ listAll: (query, options) => this.transport.paginate(environmentOperations["signals.source.erasures.list"], [], query, options)
3260
+ }
3261
+ }
3262
+ };
3103
3263
  signin = {
3104
3264
  policy: {
3105
3265
  /**
@@ -3659,6 +3819,30 @@ var EnvironmentClient = class {
3659
3819
  rotate: (id, body, options) => this.transport.call(environmentOperations["token_vault.secrets.rotate"], [id], body, options)
3660
3820
  }
3661
3821
  };
3822
+ userPropertyNamespaces = {
3823
+ /**
3824
+ * Create or replace the app and webhook grants for a user-property namespace. Empty grants revoke access without deleting user data.
3825
+ *
3826
+ * Requires scope `user_property_namespaces:write`. Danger: critical.
3827
+ *
3828
+ * `PUT /user-property-namespaces/{name}` · action `user_property_namespaces.configure`
3829
+ * @scope `user_property_namespaces:write`
3830
+ * @danger critical
3831
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
3832
+ */
3833
+ configure: (name, body, options) => this.transport.call(environmentOperations["user_property_namespaces.configure"], [name], body, options),
3834
+ /**
3835
+ * Read the app and webhook grants for a user-property namespace.
3836
+ *
3837
+ * Requires scope `user_property_namespaces:read`. Danger: read.
3838
+ *
3839
+ * `GET /user-property-namespaces/{name}` · action `user_property_namespaces.show`
3840
+ * @scope `user_property_namespaces:read`
3841
+ * @danger read
3842
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
3843
+ */
3844
+ show: (name, options) => this.transport.call(environmentOperations["user_property_namespaces.show"], [name], void 0, options)
3845
+ };
3662
3846
  users = {
3663
3847
  /**
3664
3848
  * Create a user
@@ -4021,6 +4205,9 @@ var EnvironmentClient = class {
4021
4205
  // src/management/generated/workspace.ts
4022
4206
  var workspaceOperations = {
4023
4207
  "action_approvals.get": { action: null, operationId: null, method: "GET", path: "/workspace/action-approvals/{id}", pathParams: ["id"], scope: null, danger: null, approval: false, body: false, pagination: null },
4208
+ "billing.account.update": { action: "billing.account.update", operationId: "billing_account_update", method: "PATCH", path: "/workspace/billing/account", pathParams: [], scope: "billing:write", danger: "write", approval: true, body: true, pagination: null },
4209
+ "billing.payment_method.default": { action: "billing.payment_method.default", operationId: "billing_payment_method_default", method: "PATCH", path: "/workspace/billing/payment-methods/{id}/default", pathParams: ["id"], scope: "billing:write", danger: "write", approval: true, body: false, pagination: null },
4210
+ "billing.payment_method.remove": { action: "billing.payment_method.remove", operationId: "billing_payment_method_remove", method: "DELETE", path: "/workspace/billing/payment-methods/{id}", pathParams: ["id"], scope: "billing:write", danger: "write", approval: true, body: false, pagination: null },
4024
4211
  "environments.create": { action: "environments.create", operationId: "environments_create", method: "POST", path: "/workspace/environments", pathParams: [], scope: "environments:write", danger: "critical", approval: true, body: true, pagination: null },
4025
4212
  "environments.domain.remove": { action: "environments.domain.remove", operationId: "environments_domain_remove", method: "DELETE", path: "/workspace/environments/{environment_id}/domain", pathParams: ["environment_id"], scope: "environments:write", danger: "destructive", approval: true, body: false, pagination: null },
4026
4213
  "environments.domain.request": { action: "environments.domain.request", operationId: "environments_domain_request", method: "POST", path: "/workspace/environments/{environment_id}/domain", pathParams: ["environment_id"], scope: "environments:write", danger: "write", approval: true, body: true, pagination: null },
@@ -4043,7 +4230,7 @@ var workspaceOperations = {
4043
4230
  "team.invitations.revoke": { action: "team.invitations.revoke", operationId: "team_invitations_revoke", method: "DELETE", path: "/workspace/invitations/{id}", pathParams: ["id"], scope: "team:write", danger: "destructive", approval: true, body: false, pagination: null },
4044
4231
  "team.invite": { action: "team.invite", operationId: "team_invite", method: "POST", path: "/workspace/members", pathParams: [], scope: "team:write", danger: "write", approval: true, body: true, pagination: null },
4045
4232
  "team.list": { action: "team.list", operationId: "team_list", method: "GET", path: "/workspace/members", pathParams: [], scope: "team:read", danger: "read", approval: true, body: false, pagination: "page" },
4046
- "team.remove": { action: "team.remove", operationId: "team_remove", method: "DELETE", path: "/workspace/members/{id}", pathParams: ["id"], scope: "team:write", danger: "destructive", approval: true, body: false, pagination: null },
4233
+ "team.remove": { action: "team.remove", operationId: "team_remove", method: "DELETE", path: "/workspace/members/{id}", pathParams: ["id"], scope: "team:write", danger: "destructive", approval: true, body: true, pagination: null },
4047
4234
  "team.role": { action: "team.role", operationId: "team_role", method: "PATCH", path: "/workspace/members/{id}/role", pathParams: ["id"], scope: "team:write", danger: "write", approval: true, body: true, pagination: null },
4048
4235
  "team.transfer_ownership": { action: "team.transfer_ownership", operationId: "team_transfer_ownership", method: "POST", path: "/workspace/members/{id}/transfer-ownership", pathParams: ["id"], scope: "team:write", danger: "critical", approval: true, body: false, pagination: null },
4049
4236
  "workspace.get": { action: "workspace.get", operationId: "workspace_get", method: "GET", path: "/workspace", pathParams: [], scope: "workspace:read", danger: "read", approval: true, body: false, pagination: null },
@@ -4070,12 +4257,51 @@ var WorkspaceClient = class {
4070
4257
  */
4071
4258
  get: (id, options) => this.transport.call(workspaceOperations["action_approvals.get"], [id], void 0, options)
4072
4259
  };
4260
+ billing = {
4261
+ account: {
4262
+ /**
4263
+ * Update the workspace billing contact and invoice address.
4264
+ *
4265
+ * Requires scope `billing:write` and a role that may `manage-billing`. Danger: write.
4266
+ *
4267
+ * `PATCH /workspace/billing/account` · action `billing.account.update`
4268
+ * @scope `billing:write`
4269
+ * @danger write
4270
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
4271
+ */
4272
+ update: (body, options) => this.transport.call(workspaceOperations["billing.account.update"], [], body, options)
4273
+ },
4274
+ paymentMethod: {
4275
+ /**
4276
+ * Choose the workspace default payment card.
4277
+ *
4278
+ * Requires scope `billing:write` and a role that may `manage-billing`. Danger: write.
4279
+ *
4280
+ * `PATCH /workspace/billing/payment-methods/{id}/default` · action `billing.payment_method.default`
4281
+ * @scope `billing:write`
4282
+ * @danger write
4283
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
4284
+ */
4285
+ default: (id, options) => this.transport.call(workspaceOperations["billing.payment_method.default"], [id], void 0, options),
4286
+ /**
4287
+ * Remove an unneeded payment card from this workspace.
4288
+ *
4289
+ * Requires scope `billing:write` and a role that may `manage-billing`. Danger: write.
4290
+ *
4291
+ * `DELETE /workspace/billing/payment-methods/{id}` · action `billing.payment_method.remove`
4292
+ * @scope `billing:write`
4293
+ * @danger write
4294
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
4295
+ */
4296
+ remove: (id, options) => this.transport.call(workspaceOperations["billing.payment_method.remove"], [id], void 0, options)
4297
+ }
4298
+ };
4073
4299
  environments = {
4074
4300
  /**
4075
4301
  * Create an environment
4076
4302
  *
4077
4303
  * Requires scope `environments:write` and the `manage-environments` capability
4078
- * (owner/admin/developer). Danger: critical — with `initial_key` it mints a credential.
4304
+ * (`id:write` for human members, or current ownership). Danger: critical — with `initial_key` it mints a credential.
4079
4305
  *
4080
4306
  * With `initial_key`, the environment's first management key is minted in the same
4081
4307
  * call and returned once as `initial_key.token` — enough for an agent holding one
@@ -4091,7 +4317,7 @@ var WorkspaceClient = class {
4091
4317
  /**
4092
4318
  * List environments
4093
4319
  *
4094
- * Requires scope `workspace:read` (any role).
4320
+ * Requires scope `workspace:read` and permission to read environments. Returns only currently permitted environments; Billing-only members cannot list them.
4095
4321
  *
4096
4322
  * `GET /workspace/environments` · action `environments.list`
4097
4323
  * @scope `workspace:read`
@@ -4204,7 +4430,7 @@ var WorkspaceClient = class {
4204
4430
  /**
4205
4431
  * Create a project
4206
4432
  *
4207
- * Stand up another independently-billed IdP product. Requires scope `projects:write` and the `manage-environments` capability (owner/admin/developer).
4433
+ * Stand up another independently-billed IdP product. Requires scope `projects:write` and the `manage-environments` capability (`id:write` for human members, or current ownership).
4208
4434
  *
4209
4435
  * `POST /workspace/projects` · action `projects.create`
4210
4436
  * @scope `projects:write`
@@ -4215,7 +4441,7 @@ var WorkspaceClient = class {
4215
4441
  /**
4216
4442
  * List projects
4217
4443
  *
4218
- * Requires scope `workspace:read` (any role). The workspace's projects (IdP products). Each carries its own plan and environment allowance.
4444
+ * Requires scope `workspace:read` and permission to read environments. Human callers see only projects containing environments they may access; environment counts include only those environments. Billing-only members cannot list projects.
4219
4445
  *
4220
4446
  * `GET /workspace/projects` · action `projects.list`
4221
4447
  * @scope `workspace:read`
@@ -4285,11 +4511,10 @@ var WorkspaceClient = class {
4285
4511
  /**
4286
4512
  * Invite a member
4287
4513
  *
4288
- * Requires scope `team:write` and the `manage-members` capability (owner/admin). Invites the address onto the
4289
- * workspace's team — the same invitation the console's Team page sends: a mail naming
4290
- * this key as the inviter and the role, with a signed link on which the invitee sets a
4291
- * password and is signed in. Owner is never invited; ownership is transferred. An
4292
- * earlier pending invitation for the same address is superseded. List, re-send and
4514
+ * Requires scope `team:write` and the `manage-members` capability (`members:manage` for human members, or current ownership). Invites the address onto the
4515
+ * ID product team with the selected app roles. Existing shared membership and other
4516
+ * apps are preserved. Owner is never invited; ownership is transferred separately. An
4517
+ * earlier pending invitation for the same address and this app is superseded. List, re-send and
4293
4518
  * withdraw it under `/workspace/invitations`.
4294
4519
  *
4295
4520
  * `POST /workspace/members` · action `team.invite`
@@ -4301,7 +4526,7 @@ var WorkspaceClient = class {
4301
4526
  /**
4302
4527
  * List members
4303
4528
  *
4304
- * Requires scope `team:read` and the `read-members` capability (owner/admin/viewer). The roster is PII — a developer key is refused.
4529
+ * Requires scope `team:read` and the `read-members` capability (`members:read` for human members, or current ownership). The roster contains personal information; a machine key also needs an explicit role allowing member reads.
4305
4530
  *
4306
4531
  * `GET /workspace/members` · action `team.list`
4307
4532
  * @scope `team:read`
@@ -4312,7 +4537,7 @@ var WorkspaceClient = class {
4312
4537
  /** Every item of `team.list`, fetching pages as the iteration reaches them. */
4313
4538
  listAll: (query, options) => this.transport.paginate(workspaceOperations["team.list"], [], query, options),
4314
4539
  /**
4315
- * Remove a member from the workspace's team. The owner is never removed; transfer ownership first.
4540
+ * Remove native ID app roles while preserving shared organization membership and other apps. The current owner cannot be removed.
4316
4541
  *
4317
4542
  * Requires scope `team:write` and a role that may `manage-members`. Danger: destructive.
4318
4543
  *
@@ -4321,9 +4546,9 @@ var WorkspaceClient = class {
4321
4546
  * @danger destructive
4322
4547
  * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
4323
4548
  */
4324
- remove: (id, options) => this.transport.call(workspaceOperations["team.remove"], [id], void 0, options),
4549
+ remove: (id, body, options) => this.transport.call(workspaceOperations["team.remove"], [id], body, options),
4325
4550
  /**
4326
- * Change a team member's role (admin, developer, member or viewer). The owner's role changes only by transferring ownership.
4551
+ * Replace native ID app roles atomically. Shared organization membership is preserved.
4327
4552
  *
4328
4553
  * Requires scope `team:write` and a role that may `manage-members`. Danger: write.
4329
4554
  *
@@ -4334,7 +4559,7 @@ var WorkspaceClient = class {
4334
4559
  */
4335
4560
  role: (id, body, options) => this.transport.call(workspaceOperations["team.role"], [id], body, options),
4336
4561
  /**
4337
- * Make another member the workspace's owner; the current owner stays on as an admin. Only the owner, signed in, may do this.
4562
+ * Transfer shared organization ownership. Existing app roles are preserved; the previous owner may lose native ID access. Only the current owner, signed in, may do this.
4338
4563
  *
4339
4564
  * Requires scope `team:write` and a role that may `manage-members`. Danger: critical.
4340
4565
  *
@@ -4386,7 +4611,7 @@ var WorkspaceClient = class {
4386
4611
  /**
4387
4612
  * Get the workspace
4388
4613
  *
4389
- * Requires scope `workspace:read` (any role). Returns the workspace's identity. The `projects` block (each project's plan/allowance) is included only for keys whose role can read billing (owner/admin/viewer — not developer).
4614
+ * Requires scope `workspace:read` and current workspace access. Returns only the workspace identity and status, including for members with only the Billing app role.
4390
4615
  *
4391
4616
  * `GET /workspace` · action `workspace.get`
4392
4617
  * @scope `workspace:read`
@@ -4398,7 +4623,7 @@ var WorkspaceClient = class {
4398
4623
  /**
4399
4624
  * Rename the workspace.
4400
4625
  *
4401
- * Requires scope `settings:write` and a role that may `manage-members`. Danger: write.
4626
+ * Requires scope `settings:write` and a role that may `own-organization` and `manage-members`. Danger: write.
4402
4627
  *
4403
4628
  * `PATCH /workspace` · action `workspace.settings.update`
4404
4629
  * @scope `settings:write`
@@ -4558,15 +4783,23 @@ var accountOperations = {
4558
4783
  "account.api_keys.create": { action: "account.api_keys.create", operationId: "account_api_keys_create", method: "POST", path: "/me/organizations/{organization_id}/api-keys", pathParams: ["organization_id"], scope: "account:api_keys:write", danger: "critical", approval: true, body: true, pagination: null },
4559
4784
  "account.api_keys.revoke": { action: "account.api_keys.revoke", operationId: "account_api_keys_revoke", method: "DELETE", path: "/me/organizations/{organization_id}/api-keys/{key_id}", pathParams: ["organization_id", "key_id"], scope: "account:api_keys:write", danger: "destructive", approval: true, body: false, pagination: null },
4560
4785
  "account.applications.revoke": { action: "account.applications.revoke", operationId: "account_applications_revoke", method: "DELETE", path: "/me/applications/{client_id}", pathParams: ["client_id"], scope: "account:applications:write", danger: "destructive", approval: true, body: false, pagination: null },
4786
+ "account.apps.list": { action: "account.apps.list", operationId: "account_apps_list", method: "GET", path: "/me/apps", pathParams: [], scope: "account:apps:read", danger: "read", approval: true, body: false, pagination: null },
4561
4787
  "account.devices.remove": { action: "account.devices.remove", operationId: "account_devices_remove", method: "DELETE", path: "/me/devices/{device_id}", pathParams: ["device_id"], scope: "account:devices:write", danger: "destructive", approval: true, body: false, pagination: null },
4788
+ "account.email.confirmation.send": { action: "account.email.confirmation.send", operationId: "account_email_confirmation_send", method: "POST", path: "/me/email/confirmation", pathParams: [], scope: "account:profile:write", danger: "write", approval: true, body: false, pagination: null },
4562
4789
  "account.mfa.sms.remove": { action: "account.mfa.sms.remove", operationId: "account_mfa_sms_remove", method: "DELETE", path: "/me/mfa/sms", pathParams: [], scope: "account:sign_in:write", danger: "critical", approval: true, body: false, pagination: null },
4563
4790
  "account.organizations.leave": { action: "account.organizations.leave", operationId: "account_organizations_leave", method: "POST", path: "/me/organizations/{organization_id}/leave", pathParams: ["organization_id"], scope: "account:organizations:write", danger: "destructive", approval: true, body: false, pagination: null },
4564
4791
  "account.passkeys.remove": { action: "account.passkeys.remove", operationId: "account_passkeys_remove", method: "DELETE", path: "/me/passkeys/{passkey_id}", pathParams: ["passkey_id"], scope: "account:sign_in:write", danger: "critical", approval: true, body: false, pagination: null },
4792
+ "account.passkeys.rename": { action: "account.passkeys.rename", operationId: "account_passkeys_rename", method: "PATCH", path: "/me/passkeys/{passkey_id}", pathParams: ["passkey_id"], scope: "account:sign_in:write", danger: "write", approval: true, body: true, pagination: null },
4565
4793
  "account.pipes.disconnect": { action: "account.pipes.disconnect", operationId: "account_pipes_disconnect", method: "DELETE", path: "/me/pipes/{provider}", pathParams: ["provider"], scope: "account:pipes:write", danger: "destructive", approval: true, body: false, pagination: null },
4566
4794
  "account.profile.update": { action: "account.profile.update", operationId: "account_profile_update", method: "PATCH", path: "/me/profile", pathParams: [], scope: "account:profile:write", danger: "write", approval: true, body: true, pagination: null },
4567
4795
  "account.sessions.revoke": { action: "account.sessions.revoke", operationId: "account_sessions_revoke", method: "DELETE", path: "/me/sessions/{session_id}", pathParams: ["session_id"], scope: "account:sessions:write", danger: "destructive", approval: true, body: false, pagination: null },
4568
4796
  "account.sessions.revoke_others": { action: "account.sessions.revoke_others", operationId: "account_sessions_revoke_others", method: "POST", path: "/me/sessions/revoke-others", pathParams: [], scope: "account:sessions:write", danger: "critical", approval: true, body: false, pagination: null },
4569
- "account.social.unlink": { action: "account.social.unlink", operationId: "account_social_unlink", method: "DELETE", path: "/me/social/{provider}", pathParams: ["provider"], scope: "account:sign_in:write", danger: "critical", approval: true, body: false, pagination: null }
4797
+ "account.sign_in_methods.disconnect": { action: "account.sign_in_methods.disconnect", operationId: "account_sign_in_methods_disconnect", method: "DELETE", path: "/me/sign-in-methods/{identity_id}", pathParams: ["identity_id"], scope: "account:sign_in:write", danger: "critical", approval: true, body: false, pagination: null },
4798
+ "account.social.unlink": { action: "account.social.unlink", operationId: "account_social_unlink", method: "DELETE", path: "/me/social/{provider}", pathParams: ["provider"], scope: "account:sign_in:write", danger: "critical", approval: true, body: false, pagination: null },
4799
+ "account.totp.remove": { action: "account.totp.remove", operationId: "account_totp_remove", method: "DELETE", path: "/me/two-factor/apps/{factor_id}", pathParams: ["factor_id"], scope: "account:sign_in:write", danger: "critical", approval: true, body: false, pagination: null },
4800
+ "account.totp.rename": { action: "account.totp.rename", operationId: "account_totp_rename", method: "PATCH", path: "/me/two-factor/apps/{factor_id}", pathParams: ["factor_id"], scope: "account:sign_in:write", danger: "write", approval: true, body: true, pagination: null },
4801
+ "account.waitlists.join": { action: "account.waitlists.join", operationId: "account_waitlists_join", method: "POST", path: "/me/services/{program}/waitlist", pathParams: ["program"], scope: "account:waitlists:write", danger: "write", approval: true, body: true, pagination: null },
4802
+ "account.waitlists.leave": { action: "account.waitlists.leave", operationId: "account_waitlists_leave", method: "POST", path: "/me/services/{program}/waitlist/leave", pathParams: ["program"], scope: "account:waitlists:write", danger: "write", approval: true, body: true, pagination: null }
4570
4803
  };
4571
4804
  var AccountClient = class {
4572
4805
  /** The transport every method runs on — authentication, retries, approvals. */
@@ -4625,6 +4858,19 @@ var AccountClient = class {
4625
4858
  */
4626
4859
  revoke: (clientId, options) => this.transport.call(accountOperations["account.applications.revoke"], [clientId], void 0, options)
4627
4860
  };
4861
+ apps = {
4862
+ /**
4863
+ * List the published apps visible to you in this environment. Optional organization context must be one you actively belong to.
4864
+ *
4865
+ * Requires scope `account:apps:read` on an access token you delegated; it acts on your own account only. No management key is accepted. Danger: read.
4866
+ *
4867
+ * `GET /me/apps` · action `account.apps.list`
4868
+ * @scope `account:apps:read`
4869
+ * @danger read
4870
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
4871
+ */
4872
+ list: (query, options) => this.transport.call(accountOperations["account.apps.list"], [], query, options)
4873
+ };
4628
4874
  devices = {
4629
4875
  /**
4630
4876
  * Remove one of your trusted devices; it is no longer asked to approve anything.
@@ -4638,6 +4884,21 @@ var AccountClient = class {
4638
4884
  */
4639
4885
  remove: (deviceId, options) => this.transport.call(accountOperations["account.devices.remove"], [deviceId], void 0, options)
4640
4886
  };
4887
+ email = {
4888
+ confirmation: {
4889
+ /**
4890
+ * Mail yourself a link that confirms your email address.
4891
+ *
4892
+ * Requires scope `account:profile:write` on an access token you delegated; it acts on your own account only. No management key is accepted. Danger: write.
4893
+ *
4894
+ * `POST /me/email/confirmation` · action `account.email.confirmation.send`
4895
+ * @scope `account:profile:write`
4896
+ * @danger write
4897
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
4898
+ */
4899
+ send: (options) => this.transport.call(accountOperations["account.email.confirmation.send"], [], void 0, options)
4900
+ }
4901
+ };
4641
4902
  mfa = {
4642
4903
  sms: {
4643
4904
  /**
@@ -4677,7 +4938,18 @@ var AccountClient = class {
4677
4938
  * @danger critical
4678
4939
  * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
4679
4940
  */
4680
- remove: (passkeyId, options) => this.transport.call(accountOperations["account.passkeys.remove"], [passkeyId], void 0, options)
4941
+ remove: (passkeyId, options) => this.transport.call(accountOperations["account.passkeys.remove"], [passkeyId], void 0, options),
4942
+ /**
4943
+ * Rename one of your passkeys.
4944
+ *
4945
+ * Requires scope `account:sign_in:write` on an access token you delegated; it acts on your own account only. No management key is accepted. Danger: write.
4946
+ *
4947
+ * `PATCH /me/passkeys/{passkey_id}` · action `account.passkeys.rename`
4948
+ * @scope `account:sign_in:write`
4949
+ * @danger write
4950
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
4951
+ */
4952
+ rename: (passkeyId, body, options) => this.transport.call(accountOperations["account.passkeys.rename"], [passkeyId], body, options)
4681
4953
  };
4682
4954
  pipes = {
4683
4955
  /**
@@ -4729,6 +5001,19 @@ var AccountClient = class {
4729
5001
  */
4730
5002
  revokeOthers: (options) => this.transport.call(accountOperations["account.sessions.revoke_others"], [], void 0, options)
4731
5003
  };
5004
+ signInMethods = {
5005
+ /**
5006
+ * Disconnect one linked sign-in identity (Google, GitHub, …) from your account — never the last way you can sign in.
5007
+ *
5008
+ * Requires scope `account:sign_in:write` on an access token you delegated; it acts on your own account only. No management key is accepted. Danger: critical.
5009
+ *
5010
+ * `DELETE /me/sign-in-methods/{identity_id}` · action `account.sign_in_methods.disconnect`
5011
+ * @scope `account:sign_in:write`
5012
+ * @danger critical
5013
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
5014
+ */
5015
+ disconnect: (identityId, options) => this.transport.call(accountOperations["account.sign_in_methods.disconnect"], [identityId], void 0, options)
5016
+ };
4732
5017
  social = {
4733
5018
  /**
4734
5019
  * Disconnect a social account from yours — never the last way you can sign in.
@@ -4742,6 +5027,54 @@ var AccountClient = class {
4742
5027
  */
4743
5028
  unlink: (provider, options) => this.transport.call(accountOperations["account.social.unlink"], [provider], void 0, options)
4744
5029
  };
5030
+ totp = {
5031
+ /**
5032
+ * Remove one of your authenticator apps.
5033
+ *
5034
+ * Requires scope `account:sign_in:write` on an access token you delegated; it acts on your own account only. No management key is accepted. Danger: critical.
5035
+ *
5036
+ * `DELETE /me/two-factor/apps/{factor_id}` · action `account.totp.remove`
5037
+ * @scope `account:sign_in:write`
5038
+ * @danger critical
5039
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
5040
+ */
5041
+ remove: (factorId, options) => this.transport.call(accountOperations["account.totp.remove"], [factorId], void 0, options),
5042
+ /**
5043
+ * Rename one of your authenticator apps.
5044
+ *
5045
+ * Requires scope `account:sign_in:write` on an access token you delegated; it acts on your own account only. No management key is accepted. Danger: write.
5046
+ *
5047
+ * `PATCH /me/two-factor/apps/{factor_id}` · action `account.totp.rename`
5048
+ * @scope `account:sign_in:write`
5049
+ * @danger write
5050
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
5051
+ */
5052
+ rename: (factorId, body, options) => this.transport.call(accountOperations["account.totp.rename"], [factorId], body, options)
5053
+ };
5054
+ waitlists = {
5055
+ /**
5056
+ * Join a published service waitlist with your verified email. Does not buy a plan or grant access.
5057
+ *
5058
+ * Requires scope `account:waitlists:write` on an access token you delegated; it acts on your own account only. No management key is accepted. Danger: write.
5059
+ *
5060
+ * `POST /me/services/{program}/waitlist` · action `account.waitlists.join`
5061
+ * @scope `account:waitlists:write`
5062
+ * @danger write
5063
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
5064
+ */
5065
+ join: (program, body, options) => this.transport.call(accountOperations["account.waitlists.join"], [program], body, options),
5066
+ /**
5067
+ * Withdraw your own feature interest or beta application for a team. Active grants are managed by the service.
5068
+ *
5069
+ * Requires scope `account:waitlists:write` on an access token you delegated; it acts on your own account only. No management key is accepted. Danger: write.
5070
+ *
5071
+ * `POST /me/services/{program}/waitlist/leave` · action `account.waitlists.leave`
5072
+ * @scope `account:waitlists:write`
5073
+ * @danger write
5074
+ * May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
5075
+ */
5076
+ leave: (program, body, options) => this.transport.call(accountOperations["account.waitlists.leave"], [program], body, options)
5077
+ };
4745
5078
  };
4746
5079
 
4747
5080
  // src/management/dpop.ts