From 5e5debae49093e27090c8fc1bffd3a51829b7cbf Mon Sep 17 00:00:00 2001 From: linq-sdks-bot Date: Sat, 26 Sep 2026 21:48:56 +0000 Subject: [PATCH] feat: add token_prefix to api_token webhook events --- src/linq/types/api_token_activated_webhook_event.py | 6 +++--- src/linq/types/api_token_created_webhook_event.py | 6 +++--- src/linq/types/api_token_deleted_webhook_event.py | 6 +++--- src/linq/types/api_token_expired_webhook_event.py | 6 +++--- src/linq/types/api_token_expiry_scheduled_webhook_event.py | 6 +++--- src/linq/types/api_token_renamed_webhook_event.py | 6 +++--- src/linq/types/contact_card_created_webhook_event.py | 6 +++--- src/linq/types/contact_card_deleted_webhook_event.py | 6 +++--- src/linq/types/contact_card_updated_webhook_event.py | 6 +++--- src/linq/types/environment_created_webhook_event.py | 6 +++--- src/linq/types/environment_deleted_webhook_event.py | 6 +++--- src/linq/types/environment_line_moved_webhook_event.py | 6 +++--- src/linq/types/environment_renamed_webhook_event.py | 6 +++--- .../types/phone_number_forwarding_updated_webhook_event.py | 6 +++--- src/linq/types/team_member_added_webhook_event.py | 6 +++--- src/linq/types/team_member_signed_in_webhook_event.py | 6 +++--- src/linq/types/team_member_signed_out_webhook_event.py | 6 +++--- .../types/webhook_subscription_created_webhook_event.py | 6 +++--- .../types/webhook_subscription_deleted_webhook_event.py | 6 +++--- .../types/webhook_subscription_disabled_webhook_event.py | 6 +++--- .../types/webhook_subscription_enabled_webhook_event.py | 6 +++--- .../webhook_subscription_events_updated_webhook_event.py | 6 +++--- ...hook_subscription_phone_numbers_updated_webhook_event.py | 6 +++--- ...ok_subscription_routing_headers_cleared_webhook_event.py | 6 +++--- ...ebhook_subscription_routing_headers_set_webhook_event.py | 6 +++--- ...webhook_subscription_target_url_changed_webhook_event.py | 6 +++--- src/linq/types/zero_day_retention_updated_webhook_event.py | 6 +++--- uv.lock | 2 +- 28 files changed, 82 insertions(+), 82 deletions(-) diff --git a/src/linq/types/api_token_activated_webhook_event.py b/src/linq/types/api_token_activated_webhook_event.py index 6b27242..b4fcb90 100644 --- a/src/linq/types/api_token_activated_webhook_event.py +++ b/src/linq/types/api_token_activated_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/api_token_created_webhook_event.py b/src/linq/types/api_token_created_webhook_event.py index 760f3a2..b93f6fc 100644 --- a/src/linq/types/api_token_created_webhook_event.py +++ b/src/linq/types/api_token_created_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/api_token_deleted_webhook_event.py b/src/linq/types/api_token_deleted_webhook_event.py index 483c620..c9db66d 100644 --- a/src/linq/types/api_token_deleted_webhook_event.py +++ b/src/linq/types/api_token_deleted_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/api_token_expired_webhook_event.py b/src/linq/types/api_token_expired_webhook_event.py index 8459eeb..0a13197 100644 --- a/src/linq/types/api_token_expired_webhook_event.py +++ b/src/linq/types/api_token_expired_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/api_token_expiry_scheduled_webhook_event.py b/src/linq/types/api_token_expiry_scheduled_webhook_event.py index 90372eb..5eb4ba1 100644 --- a/src/linq/types/api_token_expiry_scheduled_webhook_event.py +++ b/src/linq/types/api_token_expiry_scheduled_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/api_token_renamed_webhook_event.py b/src/linq/types/api_token_renamed_webhook_event.py index 75befae..c44131f 100644 --- a/src/linq/types/api_token_renamed_webhook_event.py +++ b/src/linq/types/api_token_renamed_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/contact_card_created_webhook_event.py b/src/linq/types/contact_card_created_webhook_event.py index 522a56f..4e070bf 100644 --- a/src/linq/types/contact_card_created_webhook_event.py +++ b/src/linq/types/contact_card_created_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/contact_card_deleted_webhook_event.py b/src/linq/types/contact_card_deleted_webhook_event.py index d5ea9ae..5662794 100644 --- a/src/linq/types/contact_card_deleted_webhook_event.py +++ b/src/linq/types/contact_card_deleted_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/contact_card_updated_webhook_event.py b/src/linq/types/contact_card_updated_webhook_event.py index 99fb92c..6582c83 100644 --- a/src/linq/types/contact_card_updated_webhook_event.py +++ b/src/linq/types/contact_card_updated_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/environment_created_webhook_event.py b/src/linq/types/environment_created_webhook_event.py index 780ba48..d03a26d 100644 --- a/src/linq/types/environment_created_webhook_event.py +++ b/src/linq/types/environment_created_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/environment_deleted_webhook_event.py b/src/linq/types/environment_deleted_webhook_event.py index 73a0905..a82cdbf 100644 --- a/src/linq/types/environment_deleted_webhook_event.py +++ b/src/linq/types/environment_deleted_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/environment_line_moved_webhook_event.py b/src/linq/types/environment_line_moved_webhook_event.py index fda4410..faae5eb 100644 --- a/src/linq/types/environment_line_moved_webhook_event.py +++ b/src/linq/types/environment_line_moved_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/environment_renamed_webhook_event.py b/src/linq/types/environment_renamed_webhook_event.py index 4afd87b..52f6c60 100644 --- a/src/linq/types/environment_renamed_webhook_event.py +++ b/src/linq/types/environment_renamed_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/phone_number_forwarding_updated_webhook_event.py b/src/linq/types/phone_number_forwarding_updated_webhook_event.py index 210099d..bc094b9 100644 --- a/src/linq/types/phone_number_forwarding_updated_webhook_event.py +++ b/src/linq/types/phone_number_forwarding_updated_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/team_member_added_webhook_event.py b/src/linq/types/team_member_added_webhook_event.py index 43d7b13..3555e60 100644 --- a/src/linq/types/team_member_added_webhook_event.py +++ b/src/linq/types/team_member_added_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/team_member_signed_in_webhook_event.py b/src/linq/types/team_member_signed_in_webhook_event.py index 8134bc1..0b97f0e 100644 --- a/src/linq/types/team_member_signed_in_webhook_event.py +++ b/src/linq/types/team_member_signed_in_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/team_member_signed_out_webhook_event.py b/src/linq/types/team_member_signed_out_webhook_event.py index 88f1e12..d0f8863 100644 --- a/src/linq/types/team_member_signed_out_webhook_event.py +++ b/src/linq/types/team_member_signed_out_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/webhook_subscription_created_webhook_event.py b/src/linq/types/webhook_subscription_created_webhook_event.py index 3e96acc..321b2d1 100644 --- a/src/linq/types/webhook_subscription_created_webhook_event.py +++ b/src/linq/types/webhook_subscription_created_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/webhook_subscription_deleted_webhook_event.py b/src/linq/types/webhook_subscription_deleted_webhook_event.py index a1a862b..e8c665e 100644 --- a/src/linq/types/webhook_subscription_deleted_webhook_event.py +++ b/src/linq/types/webhook_subscription_deleted_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/webhook_subscription_disabled_webhook_event.py b/src/linq/types/webhook_subscription_disabled_webhook_event.py index 742f7ae..783217a 100644 --- a/src/linq/types/webhook_subscription_disabled_webhook_event.py +++ b/src/linq/types/webhook_subscription_disabled_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/webhook_subscription_enabled_webhook_event.py b/src/linq/types/webhook_subscription_enabled_webhook_event.py index 06adb5c..a389b02 100644 --- a/src/linq/types/webhook_subscription_enabled_webhook_event.py +++ b/src/linq/types/webhook_subscription_enabled_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/webhook_subscription_events_updated_webhook_event.py b/src/linq/types/webhook_subscription_events_updated_webhook_event.py index bd64850..6f7217a 100644 --- a/src/linq/types/webhook_subscription_events_updated_webhook_event.py +++ b/src/linq/types/webhook_subscription_events_updated_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/webhook_subscription_phone_numbers_updated_webhook_event.py b/src/linq/types/webhook_subscription_phone_numbers_updated_webhook_event.py index ea48b4a..e3160bd 100644 --- a/src/linq/types/webhook_subscription_phone_numbers_updated_webhook_event.py +++ b/src/linq/types/webhook_subscription_phone_numbers_updated_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/webhook_subscription_routing_headers_cleared_webhook_event.py b/src/linq/types/webhook_subscription_routing_headers_cleared_webhook_event.py index 8b07a8a..6ca412d 100644 --- a/src/linq/types/webhook_subscription_routing_headers_cleared_webhook_event.py +++ b/src/linq/types/webhook_subscription_routing_headers_cleared_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/webhook_subscription_routing_headers_set_webhook_event.py b/src/linq/types/webhook_subscription_routing_headers_set_webhook_event.py index f42c25c..b99059e 100644 --- a/src/linq/types/webhook_subscription_routing_headers_set_webhook_event.py +++ b/src/linq/types/webhook_subscription_routing_headers_set_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/webhook_subscription_target_url_changed_webhook_event.py b/src/linq/types/webhook_subscription_target_url_changed_webhook_event.py index f604184..a4886c0 100644 --- a/src/linq/types/webhook_subscription_target_url_changed_webhook_event.py +++ b/src/linq/types/webhook_subscription_target_url_changed_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/src/linq/types/zero_day_retention_updated_webhook_event.py b/src/linq/types/zero_day_retention_updated_webhook_event.py index 0aaae78..32666e2 100644 --- a/src/linq/types/zero_day_retention_updated_webhook_event.py +++ b/src/linq/types/zero_day_retention_updated_webhook_event.py @@ -50,12 +50,12 @@ class DataAPIToken(BaseModel): expires_at: Optional[datetime] = None """When the token expires; null if it never does.""" + token_prefix: str + """The token's visible prefix.""" + name: Optional[str] = None """Absent when the token has no name.""" - token_prefix: Optional[str] = None - """The token's visible prefix. On `api_token.created` and `api_token.deleted`.""" - class DataChangeFirstName(BaseModel): """A single field's change, on `contact_card.updated`. diff --git a/uv.lock b/uv.lock index 1daac8b..e09a894 100644 --- a/uv.lock +++ b/uv.lock @@ -530,7 +530,7 @@ wheels = [ [[package]] name = "linq-python" -version = "0.60.0" +version = "0.61.0" source = { editable = "." } dependencies = [ { name = "anyio" },