From aee165747beb405734514ebac557bae6d4c4ed2b Mon Sep 17 00:00:00 2001 From: nuonbot Date: Mon, 3 Aug 2026 17:58:06 +0000 Subject: [PATCH] ci: generate from api 0.19.1103 --- nuon/api/accounts/create_static_token.py | 8 ++++---- nuon/models/app_policy_name.py | 1 + nuon/models/app_role_type.py | 1 + nuon/models/service_create_oidc_trust_policy_request.py | 2 +- nuon/models/service_create_static_token_request.py | 2 +- pyproject.toml | 2 +- version.txt | 2 +- 7 files changed, 10 insertions(+), 8 deletions(-) diff --git a/nuon/api/accounts/create_static_token.py b/nuon/api/accounts/create_static_token.py index d1892d8b..cbfc9ebc 100644 --- a/nuon/api/accounts/create_static_token.py +++ b/nuon/api/accounts/create_static_token.py @@ -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): @@ -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): @@ -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): @@ -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): diff --git a/nuon/models/app_policy_name.py b/nuon/models/app_policy_name.py index d9993ec7..16c7f1d8 100644 --- a/nuon/models/app_policy_name.py +++ b/nuon/models/app_policy_name.py @@ -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" diff --git a/nuon/models/app_role_type.py b/nuon/models/app_role_type.py index 990f7ae2..2d50937a 100644 --- a/nuon/models/app_role_type.py +++ b/nuon/models/app_role_type.py @@ -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" diff --git a/nuon/models/service_create_oidc_trust_policy_request.py b/nuon/models/service_create_oidc_trust_policy_request.py index 5194d3f2..bbdc380b 100644 --- a/nuon/models/service_create_oidc_trust_policy_request.py +++ b/nuon/models/service_create_oidc_trust_policy_request.py @@ -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. """ diff --git a/nuon/models/service_create_static_token_request.py b/nuon/models/service_create_static_token_request.py index 7af371e0..af7c8b98 100644 --- a/nuon/models/service_create_static_token_request.py +++ b/nuon/models/service_create_static_token_request.py @@ -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. """ diff --git a/pyproject.toml b/pyproject.toml index f3999bad..51fc7640 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/version.txt b/version.txt index ae2a3c9d..f15db071 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.19.1102 +0.19.1103