Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions nuon/api/accounts/create_static_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def sync_detailed(

Creates a long-lived static API token scoped to your current org. Each token gets its own dedicated
service account, and only grants access to the current org. The role param controls the token's
permissions (org_admin, org_support, or org_read_only) and defaults to org_read_only.
permissions (org_admin, org_support, org_read_only, or org_builder) and defaults to org_read_only.

Args:
body (ServiceCreateStaticTokenRequest):
Expand Down Expand Up @@ -100,7 +100,7 @@ def sync(

Creates a long-lived static API token scoped to your current org. Each token gets its own dedicated
service account, and only grants access to the current org. The role param controls the token's
permissions (org_admin, org_support, or org_read_only) and defaults to org_read_only.
permissions (org_admin, org_support, org_read_only, or org_builder) and defaults to org_read_only.

Args:
body (ServiceCreateStaticTokenRequest):
Expand Down Expand Up @@ -128,7 +128,7 @@ async def asyncio_detailed(

Creates a long-lived static API token scoped to your current org. Each token gets its own dedicated
service account, and only grants access to the current org. The role param controls the token's
permissions (org_admin, org_support, or org_read_only) and defaults to org_read_only.
permissions (org_admin, org_support, org_read_only, or org_builder) and defaults to org_read_only.

Args:
body (ServiceCreateStaticTokenRequest):
Expand Down Expand Up @@ -159,7 +159,7 @@ async def asyncio(

Creates a long-lived static API token scoped to your current org. Each token gets its own dedicated
service account, and only grants access to the current org. The role param controls the token's
permissions (org_admin, org_support, or org_read_only) and defaults to org_read_only.
permissions (org_admin, org_support, org_read_only, or org_builder) and defaults to org_read_only.

Args:
body (ServiceCreateStaticTokenRequest):
Expand Down
1 change: 1 addition & 0 deletions nuon/models/app_policy_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class AppPolicyName(str, Enum):
HOSTED_INSTALLER = "hosted_installer"
INSTALLER = "installer"
ORG_ADMIN = "org_admin"
ORG_BUILDER = "org_builder"
ORG_READ_ONLY = "org_read_only"
ORG_SUPPORT = "org_support"
RUNNER = "runner"
Expand Down
1 change: 1 addition & 0 deletions nuon/models/app_role_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class AppRoleType(str, Enum):
HOSTED_INSTALLER = "hosted-installer"
INSTALLER = "installer"
ORG_ADMIN = "org_admin"
ORG_BUILDER = "org_builder"
ORG_READ_ONLY = "org_read_only"
ORG_SUPPORT = "org_support"
RUNNER = "runner"
Expand Down
2 changes: 1 addition & 1 deletion nuon/models/service_create_oidc_trust_policy_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ServiceCreateOIDCTrustPolicyRequest:
issuer_url (str): exact `iss` claim value; also used for OIDC discovery + JWKS fetching
name (str): human-friendly name to identify the policy
role (str | Unset): org role granted to exchanged tokens. one of org_admin, org_support,
org_read_only. defaults to org_read_only.
org_read_only, org_builder. defaults to org_read_only.
token_duration_seconds (int | Unset): lifetime of exchanged tokens in seconds. defaults to 3600, max 86400.
"""

Expand Down
2 changes: 1 addition & 1 deletion nuon/models/service_create_static_token_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ServiceCreateStaticTokenRequest:
Attributes:
name (str): human-friendly name to identify the token later
duration (str | Unset): defaults to one year Default: '8760h'.
role (str | Unset): org role granted to the token. one of org_admin, org_support, org_read_only.
role (str | Unset): org role granted to the token. one of org_admin, org_support, org_read_only, org_builder.
defaults to org_read_only.
"""

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nuon"
version = "0.19.1102"
version = "0.19.1103"
description = "A client library for accessing Nuon"
authors = []
requires-python = ">=3.11"
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.19.1102
0.19.1103
Loading