From 655801843c09445659d58f972fcf5303bdc742d2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 14:22:50 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index a463b05..6dcbc8c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 73 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock/knock-mapi-47fcdfdad014379e5efc5fbd61a920bd50d199ea5d0e61fef2619ae45c2507a2.yml -openapi_spec_hash: 5bc7a2c2e9b2d39d15cdf3f6f592e2b0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock/knock-mapi-32f432c63c121edb207fa7aa1bb8dcff39c077a80155761d8c860e101a49dc3c.yml +openapi_spec_hash: b5377c419a045677f8f52f733f12c09d config_hash: 1543050ac0815a90f8fc8158f853af03 From 64df9806f28e4be7d5314ece2452cd7173d52787 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 16:57:48 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- src/knock_mapi/resources/audiences.py | 10 ++++++++++ src/knock_mapi/resources/commits.py | 10 ++++++++++ src/knock_mapi/resources/email_layouts.py | 10 ++++++++++ src/knock_mapi/resources/guides.py | 10 ++++++++++ src/knock_mapi/resources/message_types.py | 10 ++++++++++ src/knock_mapi/resources/partials.py | 10 ++++++++++ src/knock_mapi/resources/translations.py | 10 ++++++++++ src/knock_mapi/resources/workflows/workflows.py | 10 ++++++++++ src/knock_mapi/types/audience_upsert_params.py | 6 ++++++ src/knock_mapi/types/commit_commit_all_params.py | 6 ++++++ src/knock_mapi/types/email_layout_upsert_params.py | 6 ++++++ src/knock_mapi/types/guide_upsert_params.py | 6 ++++++ src/knock_mapi/types/message_type_upsert_params.py | 6 ++++++ src/knock_mapi/types/partial_upsert_params.py | 6 ++++++ src/knock_mapi/types/translation_upsert_params.py | 6 ++++++ src/knock_mapi/types/workflow_upsert_params.py | 6 ++++++ tests/api_resources/test_audiences.py | 2 ++ tests/api_resources/test_commits.py | 2 ++ tests/api_resources/test_email_layouts.py | 2 ++ tests/api_resources/test_guides.py | 2 ++ tests/api_resources/test_message_types.py | 2 ++ tests/api_resources/test_partials.py | 2 ++ tests/api_resources/test_translations.py | 2 ++ tests/api_resources/test_workflows.py | 2 ++ 25 files changed, 146 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6dcbc8c..aac98cd 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 73 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock/knock-mapi-32f432c63c121edb207fa7aa1bb8dcff39c077a80155761d8c860e101a49dc3c.yml -openapi_spec_hash: b5377c419a045677f8f52f733f12c09d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock/knock-mapi-f61996bf60ebbb80b846ccdea5aa6287aa6dabab65a638e66b3f6488e52fc73c.yml +openapi_spec_hash: b34bc438d847cc513134db148343e616 config_hash: 1543050ac0815a90f8fc8158f853af03 diff --git a/src/knock_mapi/resources/audiences.py b/src/knock_mapi/resources/audiences.py index ab20ee2..0927dde 100644 --- a/src/knock_mapi/resources/audiences.py +++ b/src/knock_mapi/resources/audiences.py @@ -232,6 +232,7 @@ def upsert( *, environment: str, audience: audience_upsert_params.Audience, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -255,6 +256,9 @@ def upsert( `type: static` for audiences with explicitly managed members, or `type: dynamic` for audiences with segment-based membership. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -289,6 +293,7 @@ def upsert( query=maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, @@ -559,6 +564,7 @@ async def upsert( *, environment: str, audience: audience_upsert_params.Audience, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -582,6 +588,9 @@ async def upsert( `type: static` for audiences with explicitly managed members, or `type: dynamic` for audiences with segment-based membership. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -616,6 +625,7 @@ async def upsert( query=await async_maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, diff --git a/src/knock_mapi/resources/commits.py b/src/knock_mapi/resources/commits.py index 4751951..99afb30 100644 --- a/src/knock_mapi/resources/commits.py +++ b/src/knock_mapi/resources/commits.py @@ -170,6 +170,7 @@ def commit_all( self, *, environment: str, + allow_empty: bool | Omit = omit, branch: str | Omit = omit, commit_message: str | Omit = omit, resource_id: str | Omit = omit, @@ -191,6 +192,9 @@ def commit_all( Args: environment: The environment slug. + allow_empty: When used with a single resource_type and resource_id, creates a new version + with identical content and commits it if there are no unpublished changes. + branch: The slug of a branch to use. This option can only be used when `environment` is `"development"`. @@ -220,6 +224,7 @@ def commit_all( query=maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "branch": branch, "commit_message": commit_message, "resource_id": resource_id, @@ -476,6 +481,7 @@ async def commit_all( self, *, environment: str, + allow_empty: bool | Omit = omit, branch: str | Omit = omit, commit_message: str | Omit = omit, resource_id: str | Omit = omit, @@ -497,6 +503,9 @@ async def commit_all( Args: environment: The environment slug. + allow_empty: When used with a single resource_type and resource_id, creates a new version + with identical content and commits it if there are no unpublished changes. + branch: The slug of a branch to use. This option can only be used when `environment` is `"development"`. @@ -526,6 +535,7 @@ async def commit_all( query=await async_maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "branch": branch, "commit_message": commit_message, "resource_id": resource_id, diff --git a/src/knock_mapi/resources/email_layouts.py b/src/knock_mapi/resources/email_layouts.py index 97e427e..68abd9a 100644 --- a/src/knock_mapi/resources/email_layouts.py +++ b/src/knock_mapi/resources/email_layouts.py @@ -185,6 +185,7 @@ def upsert( *, environment: str, email_layout: email_layout_upsert_params.EmailLayout, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -207,6 +208,9 @@ def upsert( email_layout: A request to update or create an email layout. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -241,6 +245,7 @@ def upsert( query=maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, @@ -468,6 +473,7 @@ async def upsert( *, environment: str, email_layout: email_layout_upsert_params.EmailLayout, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -490,6 +496,9 @@ async def upsert( email_layout: A request to update or create an email layout. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -526,6 +535,7 @@ async def upsert( query=await async_maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, diff --git a/src/knock_mapi/resources/guides.py b/src/knock_mapi/resources/guides.py index 475e47e..77c47dc 100644 --- a/src/knock_mapi/resources/guides.py +++ b/src/knock_mapi/resources/guides.py @@ -359,6 +359,7 @@ def upsert( *, environment: str, guide: guide_upsert_params.Guide, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -381,6 +382,9 @@ def upsert( guide: A request to create or update a guide. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -415,6 +419,7 @@ def upsert( query=maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, @@ -807,6 +812,7 @@ async def upsert( *, environment: str, guide: guide_upsert_params.Guide, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -829,6 +835,9 @@ async def upsert( guide: A request to create or update a guide. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -863,6 +872,7 @@ async def upsert( query=await async_maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, diff --git a/src/knock_mapi/resources/message_types.py b/src/knock_mapi/resources/message_types.py index 8ba489f..731562b 100644 --- a/src/knock_mapi/resources/message_types.py +++ b/src/knock_mapi/resources/message_types.py @@ -187,6 +187,7 @@ def upsert( *, environment: str, message_type: message_type_upsert_params.MessageType, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -209,6 +210,9 @@ def upsert( message_type: A request to create a message type. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -243,6 +247,7 @@ def upsert( query=maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, @@ -473,6 +478,7 @@ async def upsert( *, environment: str, message_type: message_type_upsert_params.MessageType, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -495,6 +501,9 @@ async def upsert( message_type: A request to create a message type. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -531,6 +540,7 @@ async def upsert( query=await async_maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, diff --git a/src/knock_mapi/resources/partials.py b/src/knock_mapi/resources/partials.py index a2163de..419f181 100644 --- a/src/knock_mapi/resources/partials.py +++ b/src/knock_mapi/resources/partials.py @@ -180,6 +180,7 @@ def upsert( *, environment: str, partial: partial_upsert_params.Partial, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -202,6 +203,9 @@ def upsert( partial: A partial object with attributes to update or create a partial. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -236,6 +240,7 @@ def upsert( query=maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, @@ -461,6 +466,7 @@ async def upsert( *, environment: str, partial: partial_upsert_params.Partial, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -483,6 +489,9 @@ async def upsert( partial: A partial object with attributes to update or create a partial. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -517,6 +526,7 @@ async def upsert( query=await async_maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, diff --git a/src/knock_mapi/resources/translations.py b/src/knock_mapi/resources/translations.py index ccb521f..4b44b59 100644 --- a/src/knock_mapi/resources/translations.py +++ b/src/knock_mapi/resources/translations.py @@ -221,6 +221,7 @@ def upsert( environment: str, namespace: str, translation: translation_upsert_params.Translation, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -250,6 +251,9 @@ def upsert( translation: A translation object with a content attribute used to update or create a translation. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -290,6 +294,7 @@ def upsert( { "environment": environment, "namespace": namespace, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, @@ -552,6 +557,7 @@ async def upsert( environment: str, namespace: str, translation: translation_upsert_params.Translation, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -581,6 +587,9 @@ async def upsert( translation: A translation object with a content attribute used to update or create a translation. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -623,6 +632,7 @@ async def upsert( { "environment": environment, "namespace": namespace, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, diff --git a/src/knock_mapi/resources/workflows/workflows.py b/src/knock_mapi/resources/workflows/workflows.py index 1f3f26c..be877e8 100644 --- a/src/knock_mapi/resources/workflows/workflows.py +++ b/src/knock_mapi/resources/workflows/workflows.py @@ -347,6 +347,7 @@ def upsert( *, environment: str, workflow: workflow_upsert_params.Workflow, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -370,6 +371,9 @@ def upsert( workflow: A workflow request for upserting a workflow. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -404,6 +408,7 @@ def upsert( query=maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, @@ -778,6 +783,7 @@ async def upsert( *, environment: str, workflow: workflow_upsert_params.Workflow, + allow_empty: bool | Omit = omit, annotate: bool | Omit = omit, branch: str | Omit = omit, commit: bool | Omit = omit, @@ -801,6 +807,9 @@ async def upsert( workflow: A workflow request for upserting a workflow. + allow_empty: When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + annotate: Whether to annotate the resource. Only used in the Knock CLI. branch: The slug of a branch to use. This option can only be used when `environment` is @@ -835,6 +844,7 @@ async def upsert( query=await async_maybe_transform( { "environment": environment, + "allow_empty": allow_empty, "annotate": annotate, "branch": branch, "commit": commit, diff --git a/src/knock_mapi/types/audience_upsert_params.py b/src/knock_mapi/types/audience_upsert_params.py index 39700d7..d5d4e3e 100644 --- a/src/knock_mapi/types/audience_upsert_params.py +++ b/src/knock_mapi/types/audience_upsert_params.py @@ -27,6 +27,12 @@ class AudienceUpsertParams(TypedDict, total=False): `type: dynamic` for audiences with segment-based membership. """ + allow_empty: bool + """ + When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + """ + annotate: bool """Whether to annotate the resource. Only used in the Knock CLI.""" diff --git a/src/knock_mapi/types/commit_commit_all_params.py b/src/knock_mapi/types/commit_commit_all_params.py index c1f1f63..eb4d6e2 100644 --- a/src/knock_mapi/types/commit_commit_all_params.py +++ b/src/knock_mapi/types/commit_commit_all_params.py @@ -12,6 +12,12 @@ class CommitCommitAllParams(TypedDict, total=False): environment: Required[str] """The environment slug.""" + allow_empty: bool + """ + When used with a single resource_type and resource_id, creates a new version + with identical content and commits it if there are no unpublished changes. + """ + branch: str """The slug of a branch to use. diff --git a/src/knock_mapi/types/email_layout_upsert_params.py b/src/knock_mapi/types/email_layout_upsert_params.py index d5dda7c..55ebf4d 100644 --- a/src/knock_mapi/types/email_layout_upsert_params.py +++ b/src/knock_mapi/types/email_layout_upsert_params.py @@ -15,6 +15,12 @@ class EmailLayoutUpsertParams(TypedDict, total=False): email_layout: Required[EmailLayout] """A request to update or create an email layout.""" + allow_empty: bool + """ + When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + """ + annotate: bool """Whether to annotate the resource. Only used in the Knock CLI.""" diff --git a/src/knock_mapi/types/guide_upsert_params.py b/src/knock_mapi/types/guide_upsert_params.py index 7d81757..d5c923e 100644 --- a/src/knock_mapi/types/guide_upsert_params.py +++ b/src/knock_mapi/types/guide_upsert_params.py @@ -22,6 +22,12 @@ class GuideUpsertParams(TypedDict, total=False): guide: Required[Guide] """A request to create or update a guide.""" + allow_empty: bool + """ + When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + """ + annotate: bool """Whether to annotate the resource. Only used in the Knock CLI.""" diff --git a/src/knock_mapi/types/message_type_upsert_params.py b/src/knock_mapi/types/message_type_upsert_params.py index caef3fe..b73ab49 100644 --- a/src/knock_mapi/types/message_type_upsert_params.py +++ b/src/knock_mapi/types/message_type_upsert_params.py @@ -17,6 +17,12 @@ class MessageTypeUpsertParams(TypedDict, total=False): message_type: Required[MessageType] """A request to create a message type.""" + allow_empty: bool + """ + When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + """ + annotate: bool """Whether to annotate the resource. Only used in the Knock CLI.""" diff --git a/src/knock_mapi/types/partial_upsert_params.py b/src/knock_mapi/types/partial_upsert_params.py index fea73d0..9c070e3 100644 --- a/src/knock_mapi/types/partial_upsert_params.py +++ b/src/knock_mapi/types/partial_upsert_params.py @@ -36,6 +36,12 @@ class PartialUpsertParams(TypedDict, total=False): partial: Required[Partial] """A partial object with attributes to update or create a partial.""" + allow_empty: bool + """ + When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + """ + annotate: bool """Whether to annotate the resource. Only used in the Knock CLI.""" diff --git a/src/knock_mapi/types/translation_upsert_params.py b/src/knock_mapi/types/translation_upsert_params.py index 9f03488..0bb2c5c 100644 --- a/src/knock_mapi/types/translation_upsert_params.py +++ b/src/knock_mapi/types/translation_upsert_params.py @@ -20,6 +20,12 @@ class TranslationUpsertParams(TypedDict, total=False): translation. """ + allow_empty: bool + """ + When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + """ + annotate: bool """Whether to annotate the resource. Only used in the Knock CLI.""" diff --git a/src/knock_mapi/types/workflow_upsert_params.py b/src/knock_mapi/types/workflow_upsert_params.py index 2a638be..cfc3761 100644 --- a/src/knock_mapi/types/workflow_upsert_params.py +++ b/src/knock_mapi/types/workflow_upsert_params.py @@ -18,6 +18,12 @@ class WorkflowUpsertParams(TypedDict, total=False): workflow: Required[Workflow] """A workflow request for upserting a workflow.""" + allow_empty: bool + """ + When used with commit, creates a new version with identical content and commits + it if there are no unpublished changes. + """ + annotate: bool """Whether to annotate the resource. Only used in the Knock CLI.""" diff --git a/tests/api_resources/test_audiences.py b/tests/api_resources/test_audiences.py index 2d348c9..b8bbcb6 100644 --- a/tests/api_resources/test_audiences.py +++ b/tests/api_resources/test_audiences.py @@ -210,6 +210,7 @@ def test_method_upsert_with_all_params(self, client: KnockMgmt) -> None: } ], }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, @@ -548,6 +549,7 @@ async def test_method_upsert_with_all_params(self, async_client: AsyncKnockMgmt) } ], }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, diff --git a/tests/api_resources/test_commits.py b/tests/api_resources/test_commits.py index fd47f02..66b435f 100644 --- a/tests/api_resources/test_commits.py +++ b/tests/api_resources/test_commits.py @@ -127,6 +127,7 @@ def test_method_commit_all(self, client: KnockMgmt) -> None: def test_method_commit_all_with_all_params(self, client: KnockMgmt) -> None: commit = client.commits.commit_all( environment="development", + allow_empty=True, branch="feature-branch", commit_message="commit_message", resource_id="resource_id", @@ -357,6 +358,7 @@ async def test_method_commit_all(self, async_client: AsyncKnockMgmt) -> None: async def test_method_commit_all_with_all_params(self, async_client: AsyncKnockMgmt) -> None: commit = await async_client.commits.commit_all( environment="development", + allow_empty=True, branch="feature-branch", commit_message="commit_message", resource_id="resource_id", diff --git a/tests/api_resources/test_email_layouts.py b/tests/api_resources/test_email_layouts.py index cf62bbf..0000d68 100644 --- a/tests/api_resources/test_email_layouts.py +++ b/tests/api_resources/test_email_layouts.py @@ -172,6 +172,7 @@ def test_method_upsert_with_all_params(self, client: KnockMgmt) -> None: ], "is_mjml": True, }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, @@ -488,6 +489,7 @@ async def test_method_upsert_with_all_params(self, async_client: AsyncKnockMgmt) ], "is_mjml": True, }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, diff --git a/tests/api_resources/test_guides.py b/tests/api_resources/test_guides.py index fd29d87..8b88d20 100644 --- a/tests/api_resources/test_guides.py +++ b/tests/api_resources/test_guides.py @@ -354,6 +354,7 @@ def test_method_upsert_with_all_params(self, client: KnockMgmt) -> None: ] }, }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, @@ -909,6 +910,7 @@ async def test_method_upsert_with_all_params(self, async_client: AsyncKnockMgmt) ] }, }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, diff --git a/tests/api_resources/test_message_types.py b/tests/api_resources/test_message_types.py index 3757550..41d5e4f 100644 --- a/tests/api_resources/test_message_types.py +++ b/tests/api_resources/test_message_types.py @@ -176,6 +176,7 @@ def test_method_upsert_with_all_params(self, client: KnockMgmt) -> None: } ], }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, @@ -500,6 +501,7 @@ async def test_method_upsert_with_all_params(self, async_client: AsyncKnockMgmt) } ], }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, diff --git a/tests/api_resources/test_partials.py b/tests/api_resources/test_partials.py index 1a26ebb..6b12314 100644 --- a/tests/api_resources/test_partials.py +++ b/tests/api_resources/test_partials.py @@ -171,6 +171,7 @@ def test_method_upsert_with_all_params(self, client: KnockMgmt) -> None: ], "visual_block_enabled": True, }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, @@ -485,6 +486,7 @@ async def test_method_upsert_with_all_params(self, async_client: AsyncKnockMgmt) ], "visual_block_enabled": True, }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, diff --git a/tests/api_resources/test_translations.py b/tests/api_resources/test_translations.py index 164e934..799edfa 100644 --- a/tests/api_resources/test_translations.py +++ b/tests/api_resources/test_translations.py @@ -161,6 +161,7 @@ def test_method_upsert_with_all_params(self, client: KnockMgmt) -> None: "content": '{"hello":"Hello, world!"}', "format": "json", }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, @@ -443,6 +444,7 @@ async def test_method_upsert_with_all_params(self, async_client: AsyncKnockMgmt) "content": '{"hello":"Hello, world!"}', "format": "json", }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, diff --git a/tests/api_resources/test_workflows.py b/tests/api_resources/test_workflows.py index 0b7ac03..cecb486 100644 --- a/tests/api_resources/test_workflows.py +++ b/tests/api_resources/test_workflows.py @@ -345,6 +345,7 @@ def test_method_upsert_with_all_params(self, client: KnockMgmt) -> None: "trigger_data_json_schema": {"foo": "bar"}, "trigger_frequency": "every_trigger", }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, @@ -902,6 +903,7 @@ async def test_method_upsert_with_all_params(self, async_client: AsyncKnockMgmt) "trigger_data_json_schema": {"foo": "bar"}, "trigger_frequency": "every_trigger", }, + allow_empty=True, annotate=True, branch="feature-branch", commit=True, From 33dfd1bfcb58c06bca0e27475a7097b9e17e3101 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 16:58:06 +0000 Subject: [PATCH 3/3] release: 0.1.0-alpha.2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/knock_mapi/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ba6c348..f14b480 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.1" + ".": "0.1.0-alpha.2" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index cbe4ada..8d9bf0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-alpha.2 (2026-07-07) + +Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/knocklabs/knock-mgmt-python/compare/v0.1.0-alpha.1...v0.1.0-alpha.2) + +### Features + +* **api:** api update ([64df980](https://github.com/knocklabs/knock-mgmt-python/commit/64df9806f28e4be7d5314ece2452cd7173d52787)) + ## 0.1.0-alpha.1 (2026-07-01) Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/knocklabs/knock-mgmt-python/compare/v0.0.1-alpha.0...v0.1.0-alpha.1) diff --git a/pyproject.toml b/pyproject.toml index 851221d..6e2e581 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "knock_mapi" -version = "0.1.0-alpha.1" +version = "0.1.0-alpha.2" description = "The official Python library for the knock mgmt API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/knock_mapi/_version.py b/src/knock_mapi/_version.py index 5548612..9860607 100644 --- a/src/knock_mapi/_version.py +++ b/src/knock_mapi/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "knock_mapi" -__version__ = "0.1.0-alpha.1" # x-release-please-version +__version__ = "0.1.0-alpha.2" # x-release-please-version