diff --git a/lexicons/app.bsky.actor.defs.json b/lexicons/app.bsky.actor.defs.json index f228faba..6ba7aaa7 100644 --- a/lexicons/app.bsky.actor.defs.json +++ b/lexicons/app.bsky.actor.defs.json @@ -330,6 +330,7 @@ "description": "A word that the account owner has muted.", "required": ["value", "targets"], "properties": { + "id": { "type": "string" }, "value": { "type": "string", "description": "The muted word itself.", @@ -343,6 +344,17 @@ "type": "ref", "ref": "app.bsky.actor.defs#mutedWordTarget" } + }, + "actorTarget": { + "type": "string", + "description": "Groups of users to apply the muted word to. If undefined, applies to all users.", + "knownValues": ["all", "exclude-following"], + "default": "all" + }, + "expiresAt": { + "type": "string", + "format": "datetime", + "description": "The date and time at which the muted word will expire and no longer be applied." } } }, diff --git a/lexicons/app.bsky.feed.defs.json b/lexicons/app.bsky.feed.defs.json index aff50750..e2ecff21 100644 --- a/lexicons/app.bsky.feed.defs.json +++ b/lexicons/app.bsky.feed.defs.json @@ -218,7 +218,7 @@ }, "feedContext": { "type": "string", - "description": "Context on a feed item that was orginally supplied by the feed generator on getFeedSkeleton.", + "description": "Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton.", "maxLength": 2000 } } diff --git a/lexicons/com.atproto.label.defs.json b/lexicons/com.atproto.label.defs.json index 9b1a1196..6f4c1ab9 100644 --- a/lexicons/com.atproto.label.defs.json +++ b/lexicons/com.atproto.label.defs.json @@ -77,7 +77,7 @@ }, "labelValueDefinition": { "type": "object", - "description": "Declares a label value and its expected interpertations and behaviors.", + "description": "Declares a label value and its expected interpretations and behaviors.", "required": ["identifier", "severity", "blurs", "locales"], "properties": { "identifier": { diff --git a/lexicons/com.atproto.server.getServiceAuth.json b/lexicons/com.atproto.server.getServiceAuth.json index 95984c18..37c150d7 100644 --- a/lexicons/com.atproto.server.getServiceAuth.json +++ b/lexicons/com.atproto.server.getServiceAuth.json @@ -13,6 +13,15 @@ "type": "string", "format": "did", "description": "The DID of the service that the token will be used to authenticate with" + }, + "exp": { + "type": "integer", + "description": "The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope." + }, + "lxm": { + "type": "string", + "format": "nsid", + "description": "Lexicon (XRPC) method to bind the requested token to" } } }, @@ -27,7 +36,13 @@ } } } - } + }, + "errors": [ + { + "name": "BadExpiration", + "description": "Indicates that the requested expiration date is not a valid. May be in the past or may be reliant on the requested scopes." + } + ] } } } diff --git a/packages/atproto_client/models/app/bsky/actor/defs.py b/packages/atproto_client/models/app/bsky/actor/defs.py index b5b3a5e5..e7926bd6 100644 --- a/packages/atproto_client/models/app/bsky/actor/defs.py +++ b/packages/atproto_client/models/app/bsky/actor/defs.py @@ -265,6 +265,13 @@ class MutedWord(base.ModelBase): targets: t.List['models.AppBskyActorDefs.MutedWordTarget'] #: The intended targets of the muted word. value: str = Field(max_length=10000) #: The muted word itself. + actor_target: t.Optional[ + str + ] = None #: Groups of users to apply the muted word to. If undefined, applies to all users. + expires_at: t.Optional[ + str + ] = None #: The date and time at which the muted word will expire and no longer be applied. + id: t.Optional[str] = None #: Id. py_type: t.Literal['app.bsky.actor.defs#mutedWord'] = Field( default='app.bsky.actor.defs#mutedWord', alias='$type', frozen=True diff --git a/packages/atproto_client/models/app/bsky/feed/defs.py b/packages/atproto_client/models/app/bsky/feed/defs.py index 3489340c..0c6cca37 100644 --- a/packages/atproto_client/models/app/bsky/feed/defs.py +++ b/packages/atproto_client/models/app/bsky/feed/defs.py @@ -261,7 +261,7 @@ class Interaction(base.ModelBase): event: t.Optional[str] = None #: Event. feed_context: t.Optional[str] = Field( default=None, max_length=2000 - ) #: Context on a feed item that was orginally supplied by the feed generator on getFeedSkeleton. + ) #: Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton. item: t.Optional[str] = None #: Item. py_type: t.Literal['app.bsky.feed.defs#interaction'] = Field( diff --git a/packages/atproto_client/models/com/atproto/label/defs.py b/packages/atproto_client/models/com/atproto/label/defs.py index 3ce51ded..5c8e9aad 100644 --- a/packages/atproto_client/models/com/atproto/label/defs.py +++ b/packages/atproto_client/models/com/atproto/label/defs.py @@ -55,7 +55,7 @@ class SelfLabel(base.ModelBase): class LabelValueDefinition(base.ModelBase): - """Definition model for :obj:`com.atproto.label.defs`. Declares a label value and its expected interpertations and behaviors.""" + """Definition model for :obj:`com.atproto.label.defs`. Declares a label value and its expected interpretations and behaviors.""" blurs: str #: What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing. identifier: str = Field( diff --git a/packages/atproto_client/models/com/atproto/server/get_service_auth.py b/packages/atproto_client/models/com/atproto/server/get_service_auth.py index 43343d00..040c20b3 100644 --- a/packages/atproto_client/models/com/atproto/server/get_service_auth.py +++ b/packages/atproto_client/models/com/atproto/server/get_service_auth.py @@ -7,6 +7,8 @@ import typing as t +import typing_extensions as te + from atproto_client.models import base @@ -14,10 +16,18 @@ class Params(base.ParamsModelBase): """Parameters model for :obj:`com.atproto.server.getServiceAuth`.""" aud: str #: The DID of the service that the token will be used to authenticate with. + exp: t.Optional[ + int + ] = None #: The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope. + lxm: t.Optional[str] = None #: Lexicon (XRPC) method to bind the requested token to. class ParamsDict(t.TypedDict): aud: str #: The DID of the service that the token will be used to authenticate with. + exp: te.NotRequired[ + t.Optional[int] + ] #: The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope. + lxm: te.NotRequired[t.Optional[str]] #: Lexicon (XRPC) method to bind the requested token to. class Response(base.ResponseModelBase):