@cboxdk/id-js 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +213 -0
- package/README.md +51 -3
- package/RELEASE-CANDIDATE.md +11 -0
- package/dist/agent.cjs +613 -0
- package/dist/agent.cjs.map +1 -0
- package/dist/agent.d.cts +400 -0
- package/dist/agent.d.ts +400 -0
- package/dist/agent.js +527 -0
- package/dist/agent.js.map +1 -0
- package/dist/api-keys-BE3R3q_A.d.ts +105 -0
- package/dist/api-keys-C8-Q4eFA.d.cts +105 -0
- package/dist/chunk-EVZ6RB3K.js +98 -0
- package/dist/chunk-EVZ6RB3K.js.map +1 -0
- package/dist/{chunk-YGLMLIKL.js → chunk-T5LCQOLS.js} +4 -22
- package/dist/chunk-T5LCQOLS.js.map +1 -0
- package/dist/chunk-VGQASHTI.js +22 -0
- package/dist/chunk-VGQASHTI.js.map +1 -0
- package/dist/decisions-C84Fzah4.d.ts +23 -0
- package/dist/decisions-DNd9UXwi.d.cts +23 -0
- package/dist/index.cjs +127 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +27 -6
- package/dist/index.js.map +1 -1
- package/dist/management.cjs +352 -19
- package/dist/management.cjs.map +1 -1
- package/dist/management.d.cts +994 -42
- package/dist/management.d.ts +994 -42
- package/dist/management.js +352 -19
- package/dist/management.js.map +1 -1
- package/dist/nextjs.d.cts +1 -1
- package/dist/nextjs.d.ts +1 -1
- package/dist/nextjs.js +2 -1
- package/dist/nextjs.js.map +1 -1
- package/dist/server.cjs +103 -9
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +3 -105
- package/dist/server.d.ts +3 -105
- package/dist/server.js +1 -0
- package/package.json +16 -3
- package/dist/chunk-YGLMLIKL.js.map +0 -1
package/dist/management.cjs
CHANGED
|
@@ -572,6 +572,10 @@ var environmentOperations = {
|
|
|
572
572
|
"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 },
|
|
573
573
|
"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 },
|
|
574
574
|
"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 },
|
|
575
|
+
"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 },
|
|
576
|
+
"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 },
|
|
577
|
+
"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 },
|
|
578
|
+
"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 },
|
|
575
579
|
"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 },
|
|
576
580
|
"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" },
|
|
577
581
|
"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 },
|
|
@@ -588,6 +592,7 @@ var environmentOperations = {
|
|
|
588
592
|
"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 },
|
|
589
593
|
"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 },
|
|
590
594
|
"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 },
|
|
595
|
+
"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 },
|
|
591
596
|
"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 },
|
|
592
597
|
"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 },
|
|
593
598
|
"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 },
|
|
@@ -604,6 +609,7 @@ var environmentOperations = {
|
|
|
604
609
|
"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 },
|
|
605
610
|
"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 },
|
|
606
611
|
"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" },
|
|
612
|
+
"authenticator.me.list": { action: null, operationId: "authenticatorIdentity", method: "GET", path: "/authenticator/me", pathParams: [], scope: null, danger: null, approval: false, body: false, pagination: null },
|
|
607
613
|
"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 },
|
|
608
614
|
"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 },
|
|
609
615
|
"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 },
|
|
@@ -652,6 +658,7 @@ var environmentOperations = {
|
|
|
652
658
|
"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 },
|
|
653
659
|
"hooks.list": { action: "hooks.list", operationId: "hooks_list", method: "GET", path: "/hooks", pathParams: [], scope: "hooks:read", danger: "read", approval: true, body: false, pagination: "cursor" },
|
|
654
660
|
"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 },
|
|
661
|
+
"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 },
|
|
655
662
|
"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" },
|
|
656
663
|
"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 },
|
|
657
664
|
"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 },
|
|
@@ -671,6 +678,7 @@ var environmentOperations = {
|
|
|
671
678
|
"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 },
|
|
672
679
|
"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 },
|
|
673
680
|
"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 },
|
|
681
|
+
"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 },
|
|
674
682
|
"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" },
|
|
675
683
|
"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 },
|
|
676
684
|
"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 },
|
|
@@ -726,6 +734,7 @@ var environmentOperations = {
|
|
|
726
734
|
"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 },
|
|
727
735
|
"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 },
|
|
728
736
|
"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 },
|
|
737
|
+
"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 },
|
|
729
738
|
"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 },
|
|
730
739
|
"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 },
|
|
731
740
|
"roles.list": { action: "roles.list", operationId: "roles_list", method: "GET", path: "/roles", pathParams: [], scope: "roles:read", danger: "read", approval: true, body: false, pagination: null },
|
|
@@ -737,6 +746,8 @@ var environmentOperations = {
|
|
|
737
746
|
"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 },
|
|
738
747
|
"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" },
|
|
739
748
|
"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 },
|
|
749
|
+
"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" },
|
|
750
|
+
"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" },
|
|
740
751
|
"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 },
|
|
741
752
|
"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 },
|
|
742
753
|
"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 },
|
|
@@ -782,6 +793,8 @@ var environmentOperations = {
|
|
|
782
793
|
"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" },
|
|
783
794
|
"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 },
|
|
784
795
|
"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 },
|
|
796
|
+
"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 },
|
|
797
|
+
"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 },
|
|
785
798
|
"users.create": { action: "users.create", operationId: "users_create", method: "POST", path: "/users", pathParams: [], scope: "users:write", danger: "write", approval: true, body: true, pagination: null },
|
|
786
799
|
"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 },
|
|
787
800
|
"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 },
|
|
@@ -1028,6 +1041,52 @@ var EnvironmentClient = class {
|
|
|
1028
1041
|
remove: (id, key, options) => this.transport.call(environmentOperations["apis.scopes.remove"], [id, key], void 0, options)
|
|
1029
1042
|
}
|
|
1030
1043
|
};
|
|
1044
|
+
appCatalog = {
|
|
1045
|
+
/**
|
|
1046
|
+
* Remove a catalog app without deleting its OAuth clients or user data.
|
|
1047
|
+
*
|
|
1048
|
+
* Requires scope `app_catalog:write`. Danger: destructive.
|
|
1049
|
+
*
|
|
1050
|
+
* `DELETE /app-catalog/{key}` · action `app_catalog.delete`
|
|
1051
|
+
* @scope `app_catalog:write`
|
|
1052
|
+
* @danger destructive
|
|
1053
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
1054
|
+
*/
|
|
1055
|
+
delete: (key, body, options) => this.transport.call(environmentOperations["app_catalog.delete"], [key], body, options),
|
|
1056
|
+
/**
|
|
1057
|
+
* List catalog apps, including drafts and visibility settings.
|
|
1058
|
+
*
|
|
1059
|
+
* Requires scope `app_catalog:read`. Danger: read.
|
|
1060
|
+
*
|
|
1061
|
+
* `GET /app-catalog` · action `app_catalog.list`
|
|
1062
|
+
* @scope `app_catalog:read`
|
|
1063
|
+
* @danger read
|
|
1064
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
1065
|
+
*/
|
|
1066
|
+
list: (options) => this.transport.call(environmentOperations["app_catalog.list"], [], void 0, options),
|
|
1067
|
+
/**
|
|
1068
|
+
* Create or replace a catalog app, its icon and visibility. Version zero creates; a stale version conflicts.
|
|
1069
|
+
*
|
|
1070
|
+
* Requires scope `app_catalog:write`. Danger: write.
|
|
1071
|
+
*
|
|
1072
|
+
* `PUT /app-catalog/{key}` · action `app_catalog.save`
|
|
1073
|
+
* @scope `app_catalog:write`
|
|
1074
|
+
* @danger write
|
|
1075
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
1076
|
+
*/
|
|
1077
|
+
save: (key, body, options) => this.transport.call(environmentOperations["app_catalog.save"], [key], body, options),
|
|
1078
|
+
/**
|
|
1079
|
+
* Read a catalog app and its publication settings.
|
|
1080
|
+
*
|
|
1081
|
+
* Requires scope `app_catalog:read`. Danger: read.
|
|
1082
|
+
*
|
|
1083
|
+
* `GET /app-catalog/{key}` · action `app_catalog.show`
|
|
1084
|
+
* @scope `app_catalog:read`
|
|
1085
|
+
* @danger read
|
|
1086
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
1087
|
+
*/
|
|
1088
|
+
show: (key, options) => this.transport.call(environmentOperations["app_catalog.show"], [key], void 0, options)
|
|
1089
|
+
};
|
|
1031
1090
|
approvals = {
|
|
1032
1091
|
/**
|
|
1033
1092
|
* Deny a pending approval request (CIBA) for the person it was raised for: the agent gets access_denied and no token.
|
|
@@ -1251,6 +1310,17 @@ var EnvironmentClient = class {
|
|
|
1251
1310
|
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
1252
1311
|
*/
|
|
1253
1312
|
backchannelLogout: (id, body, options) => this.transport.call(environmentOperations["apps.settings.backchannel_logout"], [id], body, options),
|
|
1313
|
+
/**
|
|
1314
|
+
* Turn client-credentials authentication on or off for a confidential app; other grants and scopes stay unchanged.
|
|
1315
|
+
*
|
|
1316
|
+
* Requires scope `apps:write`. Danger: write.
|
|
1317
|
+
*
|
|
1318
|
+
* `PUT /apps/{id}/settings/client-credentials` · action `apps.settings.client_credentials`
|
|
1319
|
+
* @scope `apps:write`
|
|
1320
|
+
* @danger write
|
|
1321
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
1322
|
+
*/
|
|
1323
|
+
clientCredentials: (id, body, options) => this.transport.call(environmentOperations["apps.settings.client_credentials"], [id], body, options),
|
|
1254
1324
|
/**
|
|
1255
1325
|
* Turn token exchange (RFC 8693) on or off for a confidential app.
|
|
1256
1326
|
*
|
|
@@ -1436,6 +1506,18 @@ var EnvironmentClient = class {
|
|
|
1436
1506
|
/** Every item of `audit.list`, fetching pages as the iteration reaches them. */
|
|
1437
1507
|
listAll: (query, options) => this.transport.paginate(environmentOperations["audit.list"], [], query, options)
|
|
1438
1508
|
};
|
|
1509
|
+
authenticator = {
|
|
1510
|
+
me: {
|
|
1511
|
+
/**
|
|
1512
|
+
* Verified identity for the authenticator
|
|
1513
|
+
*
|
|
1514
|
+
* Requires the provisioned public authenticator client, devices.manage and a DPoP proof. Available before device registration; revoked keys are refused.
|
|
1515
|
+
*
|
|
1516
|
+
* `GET /authenticator/me`
|
|
1517
|
+
*/
|
|
1518
|
+
list: (options) => this.transport.call(environmentOperations["authenticator.me.list"], [], void 0, options)
|
|
1519
|
+
}
|
|
1520
|
+
};
|
|
1439
1521
|
branding = {
|
|
1440
1522
|
appearance: {
|
|
1441
1523
|
/**
|
|
@@ -2023,6 +2105,17 @@ var EnvironmentClient = class {
|
|
|
2023
2105
|
update: (id, body, options) => this.transport.call(environmentOperations["hooks.update"], [id], body, options)
|
|
2024
2106
|
};
|
|
2025
2107
|
invitations = {
|
|
2108
|
+
/**
|
|
2109
|
+
* Get an invitation and its acceptance receipt, confined to its organization.
|
|
2110
|
+
*
|
|
2111
|
+
* Requires scope `invitations:read`. Danger: read.
|
|
2112
|
+
*
|
|
2113
|
+
* `GET /organizations/{organization_id}/invitations/{invitation_id}` · action `invitations.get`
|
|
2114
|
+
* @scope `invitations:read`
|
|
2115
|
+
* @danger read
|
|
2116
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
2117
|
+
*/
|
|
2118
|
+
get: (organizationId, invitationId, options) => this.transport.call(environmentOperations["invitations.get"], [organizationId, invitationId], void 0, options),
|
|
2026
2119
|
/**
|
|
2027
2120
|
* List an organization's pending invitations
|
|
2028
2121
|
*
|
|
@@ -2322,6 +2415,21 @@ var EnvironmentClient = class {
|
|
|
2322
2415
|
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
2323
2416
|
*/
|
|
2324
2417
|
update: (organizationId, userId, body, options) => this.transport.call(environmentOperations["members.update"], [organizationId, userId], body, options),
|
|
2418
|
+
apps: {
|
|
2419
|
+
roles: {
|
|
2420
|
+
/**
|
|
2421
|
+
* 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.
|
|
2422
|
+
*
|
|
2423
|
+
* Requires scope `roles:write`. Danger: write.
|
|
2424
|
+
*
|
|
2425
|
+
* `PUT /organizations/{organization_id}/members/{user_id}/apps/{client_id}/roles` · action `members.apps.roles.replace`
|
|
2426
|
+
* @scope `roles:write`
|
|
2427
|
+
* @danger write
|
|
2428
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
2429
|
+
*/
|
|
2430
|
+
replace: (organizationId, userId, clientId, body, options) => this.transport.call(environmentOperations["members.apps.roles.replace"], [organizationId, userId, clientId], body, options)
|
|
2431
|
+
}
|
|
2432
|
+
},
|
|
2325
2433
|
roles: {
|
|
2326
2434
|
/**
|
|
2327
2435
|
* Grant a member a role in the organization
|
|
@@ -3025,6 +3133,19 @@ var EnvironmentClient = class {
|
|
|
3025
3133
|
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
3026
3134
|
*/
|
|
3027
3135
|
update: (id, body, options) => this.transport.call(environmentOperations["roles.update"], [id], body, options),
|
|
3136
|
+
definition: {
|
|
3137
|
+
/**
|
|
3138
|
+
* Activate a reviewed application role definition for its existing holders.
|
|
3139
|
+
*
|
|
3140
|
+
* Requires scope `role_definitions:write`. Danger: destructive.
|
|
3141
|
+
*
|
|
3142
|
+
* `POST /roles/{id}/definition/activate` · action `roles.definition.activate`
|
|
3143
|
+
* @scope `role_definitions:write`
|
|
3144
|
+
* @danger destructive
|
|
3145
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
3146
|
+
*/
|
|
3147
|
+
activate: (id, body, options) => this.transport.call(environmentOperations["roles.definition.activate"], [id], body, options)
|
|
3148
|
+
},
|
|
3028
3149
|
permissions: {
|
|
3029
3150
|
/**
|
|
3030
3151
|
* 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.
|
|
@@ -3109,6 +3230,45 @@ var EnvironmentClient = class {
|
|
|
3109
3230
|
*/
|
|
3110
3231
|
update: (id, body, options) => this.transport.call(environmentOperations["saml_apps.update"], [id], body, options)
|
|
3111
3232
|
};
|
|
3233
|
+
signals = {
|
|
3234
|
+
source: {
|
|
3235
|
+
/**
|
|
3236
|
+
* Read the environment-owner identity source
|
|
3237
|
+
*
|
|
3238
|
+
* Requires an environment key with `signals_source:read` and explicit operator
|
|
3239
|
+
* opt-in for this environment. Organization grants and delegated user tokens
|
|
3240
|
+
* cannot read this source. Records include pre-organization authentication.
|
|
3241
|
+
* The cursor follows committed sequence order and is bound to the source generation.
|
|
3242
|
+
* Follow `next_cursor`, including on empty pages; a stale generation or purged
|
|
3243
|
+
* cursor requires an explicit restart. Pages are at most 1000 records / 1 MiB.
|
|
3244
|
+
* Data follows the Signals 2.0.0 identity event contracts. Scope is attached by
|
|
3245
|
+
* the consumer's explicit grant; producer_environment is always host-bound.
|
|
3246
|
+
* Replay is limited to seven days, including raw-IP retention. A heartbeat
|
|
3247
|
+
* proves exporter maintenance, not complete coverage of every identity flow.
|
|
3248
|
+
*
|
|
3249
|
+
* `GET /signals/source`
|
|
3250
|
+
*/
|
|
3251
|
+
list: (query, options) => this.transport.call(environmentOperations["signals.source.list"], [], query, options),
|
|
3252
|
+
/** Every item of `signals.source.list`, fetching pages as the iteration reaches them. */
|
|
3253
|
+
listAll: (query, options) => this.transport.paginate(environmentOperations["signals.source.list"], [], query, options),
|
|
3254
|
+
erasures: {
|
|
3255
|
+
/**
|
|
3256
|
+
* Replay source deletion receipts
|
|
3257
|
+
*
|
|
3258
|
+
* Requires `signals_source:read` on an environment-owner key. Replay this stream
|
|
3259
|
+
* before making a restored or newly backfilled consumer eligible. It retains only
|
|
3260
|
+
* opaque subject references and deletion facts beyond the raw-event replay window.
|
|
3261
|
+
* Publication order and cursor integrity match the event source. The credential
|
|
3262
|
+
* is checked on every page. Ordinary tenant grants cannot access this stream.
|
|
3263
|
+
*
|
|
3264
|
+
* `GET /signals/source/erasures`
|
|
3265
|
+
*/
|
|
3266
|
+
list: (query, options) => this.transport.call(environmentOperations["signals.source.erasures.list"], [], query, options),
|
|
3267
|
+
/** Every item of `signals.source.erasures.list`, fetching pages as the iteration reaches them. */
|
|
3268
|
+
listAll: (query, options) => this.transport.paginate(environmentOperations["signals.source.erasures.list"], [], query, options)
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3271
|
+
};
|
|
3112
3272
|
signin = {
|
|
3113
3273
|
policy: {
|
|
3114
3274
|
/**
|
|
@@ -3668,6 +3828,30 @@ var EnvironmentClient = class {
|
|
|
3668
3828
|
rotate: (id, body, options) => this.transport.call(environmentOperations["token_vault.secrets.rotate"], [id], body, options)
|
|
3669
3829
|
}
|
|
3670
3830
|
};
|
|
3831
|
+
userPropertyNamespaces = {
|
|
3832
|
+
/**
|
|
3833
|
+
* Create or replace the app and webhook grants for a user-property namespace. Empty grants revoke access without deleting user data.
|
|
3834
|
+
*
|
|
3835
|
+
* Requires scope `user_property_namespaces:write`. Danger: critical.
|
|
3836
|
+
*
|
|
3837
|
+
* `PUT /user-property-namespaces/{name}` · action `user_property_namespaces.configure`
|
|
3838
|
+
* @scope `user_property_namespaces:write`
|
|
3839
|
+
* @danger critical
|
|
3840
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
3841
|
+
*/
|
|
3842
|
+
configure: (name, body, options) => this.transport.call(environmentOperations["user_property_namespaces.configure"], [name], body, options),
|
|
3843
|
+
/**
|
|
3844
|
+
* Read the app and webhook grants for a user-property namespace.
|
|
3845
|
+
*
|
|
3846
|
+
* Requires scope `user_property_namespaces:read`. Danger: read.
|
|
3847
|
+
*
|
|
3848
|
+
* `GET /user-property-namespaces/{name}` · action `user_property_namespaces.show`
|
|
3849
|
+
* @scope `user_property_namespaces:read`
|
|
3850
|
+
* @danger read
|
|
3851
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
3852
|
+
*/
|
|
3853
|
+
show: (name, options) => this.transport.call(environmentOperations["user_property_namespaces.show"], [name], void 0, options)
|
|
3854
|
+
};
|
|
3671
3855
|
users = {
|
|
3672
3856
|
/**
|
|
3673
3857
|
* Create a user
|
|
@@ -4030,6 +4214,9 @@ var EnvironmentClient = class {
|
|
|
4030
4214
|
// src/management/generated/workspace.ts
|
|
4031
4215
|
var workspaceOperations = {
|
|
4032
4216
|
"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 },
|
|
4217
|
+
"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 },
|
|
4218
|
+
"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 },
|
|
4219
|
+
"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 },
|
|
4033
4220
|
"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 },
|
|
4034
4221
|
"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 },
|
|
4035
4222
|
"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 },
|
|
@@ -4052,7 +4239,7 @@ var workspaceOperations = {
|
|
|
4052
4239
|
"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 },
|
|
4053
4240
|
"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 },
|
|
4054
4241
|
"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" },
|
|
4055
|
-
"team.remove": { action: "team.remove", operationId: "team_remove", method: "DELETE", path: "/workspace/members/{id}", pathParams: ["id"], scope: "team:write", danger: "destructive", approval: true, body:
|
|
4242
|
+
"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 },
|
|
4056
4243
|
"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 },
|
|
4057
4244
|
"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 },
|
|
4058
4245
|
"workspace.get": { action: "workspace.get", operationId: "workspace_get", method: "GET", path: "/workspace", pathParams: [], scope: "workspace:read", danger: "read", approval: true, body: false, pagination: null },
|
|
@@ -4079,12 +4266,51 @@ var WorkspaceClient = class {
|
|
|
4079
4266
|
*/
|
|
4080
4267
|
get: (id, options) => this.transport.call(workspaceOperations["action_approvals.get"], [id], void 0, options)
|
|
4081
4268
|
};
|
|
4269
|
+
billing = {
|
|
4270
|
+
account: {
|
|
4271
|
+
/**
|
|
4272
|
+
* Update the workspace billing contact and invoice address.
|
|
4273
|
+
*
|
|
4274
|
+
* Requires scope `billing:write` and a role that may `manage-billing`. Danger: write.
|
|
4275
|
+
*
|
|
4276
|
+
* `PATCH /workspace/billing/account` · action `billing.account.update`
|
|
4277
|
+
* @scope `billing:write`
|
|
4278
|
+
* @danger write
|
|
4279
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
4280
|
+
*/
|
|
4281
|
+
update: (body, options) => this.transport.call(workspaceOperations["billing.account.update"], [], body, options)
|
|
4282
|
+
},
|
|
4283
|
+
paymentMethod: {
|
|
4284
|
+
/**
|
|
4285
|
+
* Choose the workspace default payment card.
|
|
4286
|
+
*
|
|
4287
|
+
* Requires scope `billing:write` and a role that may `manage-billing`. Danger: write.
|
|
4288
|
+
*
|
|
4289
|
+
* `PATCH /workspace/billing/payment-methods/{id}/default` · action `billing.payment_method.default`
|
|
4290
|
+
* @scope `billing:write`
|
|
4291
|
+
* @danger write
|
|
4292
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
4293
|
+
*/
|
|
4294
|
+
default: (id, options) => this.transport.call(workspaceOperations["billing.payment_method.default"], [id], void 0, options),
|
|
4295
|
+
/**
|
|
4296
|
+
* Remove an unneeded payment card from this workspace.
|
|
4297
|
+
*
|
|
4298
|
+
* Requires scope `billing:write` and a role that may `manage-billing`. Danger: write.
|
|
4299
|
+
*
|
|
4300
|
+
* `DELETE /workspace/billing/payment-methods/{id}` · action `billing.payment_method.remove`
|
|
4301
|
+
* @scope `billing:write`
|
|
4302
|
+
* @danger write
|
|
4303
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
4304
|
+
*/
|
|
4305
|
+
remove: (id, options) => this.transport.call(workspaceOperations["billing.payment_method.remove"], [id], void 0, options)
|
|
4306
|
+
}
|
|
4307
|
+
};
|
|
4082
4308
|
environments = {
|
|
4083
4309
|
/**
|
|
4084
4310
|
* Create an environment
|
|
4085
4311
|
*
|
|
4086
4312
|
* Requires scope `environments:write` and the `manage-environments` capability
|
|
4087
|
-
* (
|
|
4313
|
+
* (`id:write` for human members, or current ownership). Danger: critical — with `initial_key` it mints a credential.
|
|
4088
4314
|
*
|
|
4089
4315
|
* With `initial_key`, the environment's first management key is minted in the same
|
|
4090
4316
|
* call and returned once as `initial_key.token` — enough for an agent holding one
|
|
@@ -4100,7 +4326,7 @@ var WorkspaceClient = class {
|
|
|
4100
4326
|
/**
|
|
4101
4327
|
* List environments
|
|
4102
4328
|
*
|
|
4103
|
-
* Requires scope `workspace:read`
|
|
4329
|
+
* Requires scope `workspace:read` and permission to read environments. Returns only currently permitted environments; Billing-only members cannot list them.
|
|
4104
4330
|
*
|
|
4105
4331
|
* `GET /workspace/environments` · action `environments.list`
|
|
4106
4332
|
* @scope `workspace:read`
|
|
@@ -4213,7 +4439,7 @@ var WorkspaceClient = class {
|
|
|
4213
4439
|
/**
|
|
4214
4440
|
* Create a project
|
|
4215
4441
|
*
|
|
4216
|
-
* Stand up another independently-billed IdP product. Requires scope `projects:write` and the `manage-environments` capability (
|
|
4442
|
+
* Stand up another independently-billed IdP product. Requires scope `projects:write` and the `manage-environments` capability (`id:write` for human members, or current ownership).
|
|
4217
4443
|
*
|
|
4218
4444
|
* `POST /workspace/projects` · action `projects.create`
|
|
4219
4445
|
* @scope `projects:write`
|
|
@@ -4224,7 +4450,7 @@ var WorkspaceClient = class {
|
|
|
4224
4450
|
/**
|
|
4225
4451
|
* List projects
|
|
4226
4452
|
*
|
|
4227
|
-
* Requires scope `workspace:read`
|
|
4453
|
+
* 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.
|
|
4228
4454
|
*
|
|
4229
4455
|
* `GET /workspace/projects` · action `projects.list`
|
|
4230
4456
|
* @scope `workspace:read`
|
|
@@ -4294,11 +4520,10 @@ var WorkspaceClient = class {
|
|
|
4294
4520
|
/**
|
|
4295
4521
|
* Invite a member
|
|
4296
4522
|
*
|
|
4297
|
-
* Requires scope `team:write` and the `manage-members` capability (
|
|
4298
|
-
*
|
|
4299
|
-
*
|
|
4300
|
-
*
|
|
4301
|
-
* earlier pending invitation for the same address is superseded. List, re-send and
|
|
4523
|
+
* Requires scope `team:write` and the `manage-members` capability (`members:manage` for human members, or current ownership). Invites the address onto the
|
|
4524
|
+
* ID product team with the selected app roles. Existing shared membership and other
|
|
4525
|
+
* apps are preserved. Owner is never invited; ownership is transferred separately. An
|
|
4526
|
+
* earlier pending invitation for the same address and this app is superseded. List, re-send and
|
|
4302
4527
|
* withdraw it under `/workspace/invitations`.
|
|
4303
4528
|
*
|
|
4304
4529
|
* `POST /workspace/members` · action `team.invite`
|
|
@@ -4310,7 +4535,7 @@ var WorkspaceClient = class {
|
|
|
4310
4535
|
/**
|
|
4311
4536
|
* List members
|
|
4312
4537
|
*
|
|
4313
|
-
* Requires scope `team:read` and the `read-members` capability (
|
|
4538
|
+
* 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.
|
|
4314
4539
|
*
|
|
4315
4540
|
* `GET /workspace/members` · action `team.list`
|
|
4316
4541
|
* @scope `team:read`
|
|
@@ -4321,7 +4546,7 @@ var WorkspaceClient = class {
|
|
|
4321
4546
|
/** Every item of `team.list`, fetching pages as the iteration reaches them. */
|
|
4322
4547
|
listAll: (query, options) => this.transport.paginate(workspaceOperations["team.list"], [], query, options),
|
|
4323
4548
|
/**
|
|
4324
|
-
* Remove
|
|
4549
|
+
* Remove native ID app roles while preserving shared organization membership and other apps. The current owner cannot be removed.
|
|
4325
4550
|
*
|
|
4326
4551
|
* Requires scope `team:write` and a role that may `manage-members`. Danger: destructive.
|
|
4327
4552
|
*
|
|
@@ -4330,9 +4555,9 @@ var WorkspaceClient = class {
|
|
|
4330
4555
|
* @danger destructive
|
|
4331
4556
|
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
4332
4557
|
*/
|
|
4333
|
-
remove: (id, options) => this.transport.call(workspaceOperations["team.remove"], [id],
|
|
4558
|
+
remove: (id, body, options) => this.transport.call(workspaceOperations["team.remove"], [id], body, options),
|
|
4334
4559
|
/**
|
|
4335
|
-
*
|
|
4560
|
+
* Replace native ID app roles atomically. Shared organization membership is preserved.
|
|
4336
4561
|
*
|
|
4337
4562
|
* Requires scope `team:write` and a role that may `manage-members`. Danger: write.
|
|
4338
4563
|
*
|
|
@@ -4343,7 +4568,7 @@ var WorkspaceClient = class {
|
|
|
4343
4568
|
*/
|
|
4344
4569
|
role: (id, body, options) => this.transport.call(workspaceOperations["team.role"], [id], body, options),
|
|
4345
4570
|
/**
|
|
4346
|
-
*
|
|
4571
|
+
* 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.
|
|
4347
4572
|
*
|
|
4348
4573
|
* Requires scope `team:write` and a role that may `manage-members`. Danger: critical.
|
|
4349
4574
|
*
|
|
@@ -4395,7 +4620,7 @@ var WorkspaceClient = class {
|
|
|
4395
4620
|
/**
|
|
4396
4621
|
* Get the workspace
|
|
4397
4622
|
*
|
|
4398
|
-
* Requires scope `workspace:read`
|
|
4623
|
+
* Requires scope `workspace:read` and current workspace access. Returns only the workspace identity and status, including for members with only the Billing app role.
|
|
4399
4624
|
*
|
|
4400
4625
|
* `GET /workspace` · action `workspace.get`
|
|
4401
4626
|
* @scope `workspace:read`
|
|
@@ -4407,7 +4632,7 @@ var WorkspaceClient = class {
|
|
|
4407
4632
|
/**
|
|
4408
4633
|
* Rename the workspace.
|
|
4409
4634
|
*
|
|
4410
|
-
* Requires scope `settings:write` and a role that may `manage-members`. Danger: write.
|
|
4635
|
+
* Requires scope `settings:write` and a role that may `own-organization` and `manage-members`. Danger: write.
|
|
4411
4636
|
*
|
|
4412
4637
|
* `PATCH /workspace` · action `workspace.settings.update`
|
|
4413
4638
|
* @scope `settings:write`
|
|
@@ -4567,15 +4792,23 @@ var accountOperations = {
|
|
|
4567
4792
|
"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 },
|
|
4568
4793
|
"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 },
|
|
4569
4794
|
"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 },
|
|
4795
|
+
"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 },
|
|
4570
4796
|
"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 },
|
|
4797
|
+
"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 },
|
|
4571
4798
|
"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 },
|
|
4572
4799
|
"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 },
|
|
4573
4800
|
"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 },
|
|
4801
|
+
"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 },
|
|
4574
4802
|
"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 },
|
|
4575
4803
|
"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 },
|
|
4576
4804
|
"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 },
|
|
4577
4805
|
"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 },
|
|
4578
|
-
"account.
|
|
4806
|
+
"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 },
|
|
4807
|
+
"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 },
|
|
4808
|
+
"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 },
|
|
4809
|
+
"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 },
|
|
4810
|
+
"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 },
|
|
4811
|
+
"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 }
|
|
4579
4812
|
};
|
|
4580
4813
|
var AccountClient = class {
|
|
4581
4814
|
/** The transport every method runs on — authentication, retries, approvals. */
|
|
@@ -4634,6 +4867,19 @@ var AccountClient = class {
|
|
|
4634
4867
|
*/
|
|
4635
4868
|
revoke: (clientId, options) => this.transport.call(accountOperations["account.applications.revoke"], [clientId], void 0, options)
|
|
4636
4869
|
};
|
|
4870
|
+
apps = {
|
|
4871
|
+
/**
|
|
4872
|
+
* List the published apps visible to you in this environment. Optional organization context must be one you actively belong to.
|
|
4873
|
+
*
|
|
4874
|
+
* 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.
|
|
4875
|
+
*
|
|
4876
|
+
* `GET /me/apps` · action `account.apps.list`
|
|
4877
|
+
* @scope `account:apps:read`
|
|
4878
|
+
* @danger read
|
|
4879
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
4880
|
+
*/
|
|
4881
|
+
list: (query, options) => this.transport.call(accountOperations["account.apps.list"], [], query, options)
|
|
4882
|
+
};
|
|
4637
4883
|
devices = {
|
|
4638
4884
|
/**
|
|
4639
4885
|
* Remove one of your trusted devices; it is no longer asked to approve anything.
|
|
@@ -4647,6 +4893,21 @@ var AccountClient = class {
|
|
|
4647
4893
|
*/
|
|
4648
4894
|
remove: (deviceId, options) => this.transport.call(accountOperations["account.devices.remove"], [deviceId], void 0, options)
|
|
4649
4895
|
};
|
|
4896
|
+
email = {
|
|
4897
|
+
confirmation: {
|
|
4898
|
+
/**
|
|
4899
|
+
* Mail yourself a link that confirms your email address.
|
|
4900
|
+
*
|
|
4901
|
+
* 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.
|
|
4902
|
+
*
|
|
4903
|
+
* `POST /me/email/confirmation` · action `account.email.confirmation.send`
|
|
4904
|
+
* @scope `account:profile:write`
|
|
4905
|
+
* @danger write
|
|
4906
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
4907
|
+
*/
|
|
4908
|
+
send: (options) => this.transport.call(accountOperations["account.email.confirmation.send"], [], void 0, options)
|
|
4909
|
+
}
|
|
4910
|
+
};
|
|
4650
4911
|
mfa = {
|
|
4651
4912
|
sms: {
|
|
4652
4913
|
/**
|
|
@@ -4686,7 +4947,18 @@ var AccountClient = class {
|
|
|
4686
4947
|
* @danger critical
|
|
4687
4948
|
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
4688
4949
|
*/
|
|
4689
|
-
remove: (passkeyId, options) => this.transport.call(accountOperations["account.passkeys.remove"], [passkeyId], void 0, options)
|
|
4950
|
+
remove: (passkeyId, options) => this.transport.call(accountOperations["account.passkeys.remove"], [passkeyId], void 0, options),
|
|
4951
|
+
/**
|
|
4952
|
+
* Rename one of your passkeys.
|
|
4953
|
+
*
|
|
4954
|
+
* 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.
|
|
4955
|
+
*
|
|
4956
|
+
* `PATCH /me/passkeys/{passkey_id}` · action `account.passkeys.rename`
|
|
4957
|
+
* @scope `account:sign_in:write`
|
|
4958
|
+
* @danger write
|
|
4959
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
4960
|
+
*/
|
|
4961
|
+
rename: (passkeyId, body, options) => this.transport.call(accountOperations["account.passkeys.rename"], [passkeyId], body, options)
|
|
4690
4962
|
};
|
|
4691
4963
|
pipes = {
|
|
4692
4964
|
/**
|
|
@@ -4738,6 +5010,19 @@ var AccountClient = class {
|
|
|
4738
5010
|
*/
|
|
4739
5011
|
revokeOthers: (options) => this.transport.call(accountOperations["account.sessions.revoke_others"], [], void 0, options)
|
|
4740
5012
|
};
|
|
5013
|
+
signInMethods = {
|
|
5014
|
+
/**
|
|
5015
|
+
* Disconnect one linked sign-in identity (Google, GitHub, …) from your account — never the last way you can sign in.
|
|
5016
|
+
*
|
|
5017
|
+
* 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.
|
|
5018
|
+
*
|
|
5019
|
+
* `DELETE /me/sign-in-methods/{identity_id}` · action `account.sign_in_methods.disconnect`
|
|
5020
|
+
* @scope `account:sign_in:write`
|
|
5021
|
+
* @danger critical
|
|
5022
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
5023
|
+
*/
|
|
5024
|
+
disconnect: (identityId, options) => this.transport.call(accountOperations["account.sign_in_methods.disconnect"], [identityId], void 0, options)
|
|
5025
|
+
};
|
|
4741
5026
|
social = {
|
|
4742
5027
|
/**
|
|
4743
5028
|
* Disconnect a social account from yours — never the last way you can sign in.
|
|
@@ -4751,6 +5036,54 @@ var AccountClient = class {
|
|
|
4751
5036
|
*/
|
|
4752
5037
|
unlink: (provider, options) => this.transport.call(accountOperations["account.social.unlink"], [provider], void 0, options)
|
|
4753
5038
|
};
|
|
5039
|
+
totp = {
|
|
5040
|
+
/**
|
|
5041
|
+
* Remove one of your authenticator apps.
|
|
5042
|
+
*
|
|
5043
|
+
* 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.
|
|
5044
|
+
*
|
|
5045
|
+
* `DELETE /me/two-factor/apps/{factor_id}` · action `account.totp.remove`
|
|
5046
|
+
* @scope `account:sign_in:write`
|
|
5047
|
+
* @danger critical
|
|
5048
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
5049
|
+
*/
|
|
5050
|
+
remove: (factorId, options) => this.transport.call(accountOperations["account.totp.remove"], [factorId], void 0, options),
|
|
5051
|
+
/**
|
|
5052
|
+
* Rename one of your authenticator apps.
|
|
5053
|
+
*
|
|
5054
|
+
* 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.
|
|
5055
|
+
*
|
|
5056
|
+
* `PATCH /me/two-factor/apps/{factor_id}` · action `account.totp.rename`
|
|
5057
|
+
* @scope `account:sign_in:write`
|
|
5058
|
+
* @danger write
|
|
5059
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
5060
|
+
*/
|
|
5061
|
+
rename: (factorId, body, options) => this.transport.call(accountOperations["account.totp.rename"], [factorId], body, options)
|
|
5062
|
+
};
|
|
5063
|
+
waitlists = {
|
|
5064
|
+
/**
|
|
5065
|
+
* Join a published service waitlist with your verified email. Does not buy a plan or grant access.
|
|
5066
|
+
*
|
|
5067
|
+
* 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.
|
|
5068
|
+
*
|
|
5069
|
+
* `POST /me/services/{program}/waitlist` · action `account.waitlists.join`
|
|
5070
|
+
* @scope `account:waitlists:write`
|
|
5071
|
+
* @danger write
|
|
5072
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
5073
|
+
*/
|
|
5074
|
+
join: (program, body, options) => this.transport.call(accountOperations["account.waitlists.join"], [program], body, options),
|
|
5075
|
+
/**
|
|
5076
|
+
* Withdraw your own feature interest or beta application for a team. Active grants are managed by the service.
|
|
5077
|
+
*
|
|
5078
|
+
* 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.
|
|
5079
|
+
*
|
|
5080
|
+
* `POST /me/services/{program}/waitlist/leave` · action `account.waitlists.leave`
|
|
5081
|
+
* @scope `account:waitlists:write`
|
|
5082
|
+
* @danger write
|
|
5083
|
+
* May be held for approval (`202 approval_required`); waited on unless `approval: 'return'`.
|
|
5084
|
+
*/
|
|
5085
|
+
leave: (program, body, options) => this.transport.call(accountOperations["account.waitlists.leave"], [program], body, options)
|
|
5086
|
+
};
|
|
4754
5087
|
};
|
|
4755
5088
|
|
|
4756
5089
|
// src/management/dpop.ts
|