diff --git a/lexicons/app.bsky.actor.defs.json b/lexicons/app.bsky.actor.defs.json index 13ea29ec..41bcb332 100644 --- a/lexicons/app.bsky.actor.defs.json +++ b/lexicons/app.bsky.actor.defs.json @@ -640,6 +640,8 @@ "type": "object", "required": ["status", "record"], "properties": { + "uri": { "type": "string", "format": "at-uri" }, + "cid": { "type": "string", "format": "cid" }, "status": { "type": "string", "description": "The status for the account.", diff --git a/lexicons/app.bsky.ageassurance.defs.json b/lexicons/app.bsky.ageassurance.defs.json index 65f61509..308d0e3a 100644 --- a/lexicons/app.bsky.ageassurance.defs.json +++ b/lexicons/app.bsky.ageassurance.defs.json @@ -62,7 +62,7 @@ "configRegion": { "type": "object", "description": "The Age Assurance configuration for a specific region.", - "required": ["countryCode", "rules"], + "required": ["countryCode", "minAccessAge", "rules"], "properties": { "countryCode": { "type": "string", @@ -72,6 +72,10 @@ "type": "string", "description": "The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country." }, + "minAccessAge": { + "type": "integer", + "description": "The minimum age (as a whole integer) required to use Bluesky in this region." + }, "rules": { "type": "array", "description": "The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item.", diff --git a/lexicons/app.bsky.unspecced.getSuggestedUsers.json b/lexicons/app.bsky.unspecced.getSuggestedUsers.json index 7a685387..7e6f2432 100644 --- a/lexicons/app.bsky.unspecced.getSuggestedUsers.json +++ b/lexicons/app.bsky.unspecced.getSuggestedUsers.json @@ -32,6 +32,10 @@ "type": "ref", "ref": "app.bsky.actor.defs#profileView" } + }, + "recId": { + "type": "integer", + "description": "Snowflake for this recommendation, use when submitting recommendation events." } } } diff --git a/lexicons/app.bsky.unspecced.getSuggestedUsersSkeleton.json b/lexicons/app.bsky.unspecced.getSuggestedUsersSkeleton.json index d4425621..80a5f60c 100644 --- a/lexicons/app.bsky.unspecced.getSuggestedUsersSkeleton.json +++ b/lexicons/app.bsky.unspecced.getSuggestedUsersSkeleton.json @@ -37,6 +37,10 @@ "type": "string", "format": "did" } + }, + "recId": { + "type": "integer", + "description": "Snowflake for this recommendation, use when submitting recommendation events." } } } diff --git a/lexicons/com.atproto.server.deleteSession.json b/lexicons/com.atproto.server.deleteSession.json index 807a89dc..55c8bb28 100644 --- a/lexicons/com.atproto.server.deleteSession.json +++ b/lexicons/com.atproto.server.deleteSession.json @@ -4,7 +4,8 @@ "defs": { "main": { "type": "procedure", - "description": "Delete the current session. Requires auth." + "description": "Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt').", + "errors": [{ "name": "InvalidToken" }, { "name": "ExpiredToken" }] } } } diff --git a/lexicons/com.atproto.server.getSession.json b/lexicons/com.atproto.server.getSession.json index 86efa746..59863613 100644 --- a/lexicons/com.atproto.server.getSession.json +++ b/lexicons/com.atproto.server.getSession.json @@ -13,10 +13,10 @@ "properties": { "handle": { "type": "string", "format": "handle" }, "did": { "type": "string", "format": "did" }, + "didDoc": { "type": "unknown" }, "email": { "type": "string" }, "emailConfirmed": { "type": "boolean" }, "emailAuthFactor": { "type": "boolean" }, - "didDoc": { "type": "unknown" }, "active": { "type": "boolean" }, "status": { "type": "string", diff --git a/lexicons/com.atproto.server.refreshSession.json b/lexicons/com.atproto.server.refreshSession.json index 71123a4f..e22acb89 100644 --- a/lexicons/com.atproto.server.refreshSession.json +++ b/lexicons/com.atproto.server.refreshSession.json @@ -16,6 +16,9 @@ "handle": { "type": "string", "format": "handle" }, "did": { "type": "string", "format": "did" }, "didDoc": { "type": "unknown" }, + "email": { "type": "string" }, + "emailConfirmed": { "type": "boolean" }, + "emailAuthFactor": { "type": "boolean" }, "active": { "type": "boolean" }, "status": { "type": "string", @@ -25,7 +28,11 @@ } } }, - "errors": [{ "name": "AccountTakedown" }] + "errors": [ + { "name": "AccountTakedown" }, + { "name": "InvalidToken" }, + { "name": "ExpiredToken" } + ] } } } diff --git a/packages/atproto_client/models/app/bsky/actor/defs.py b/packages/atproto_client/models/app/bsky/actor/defs.py index 76766962..ca6b1672 100644 --- a/packages/atproto_client/models/app/bsky/actor/defs.py +++ b/packages/atproto_client/models/app/bsky/actor/defs.py @@ -498,6 +498,7 @@ class StatusView(base.ModelBase): record: 'UnknownType' #: Record. status: t.Union['models.AppBskyActorStatus.Live', str] #: The status for the account. + cid: t.Optional[string_formats.Cid] = None #: Cid. embed: t.Optional[te.Annotated[t.Union['models.AppBskyEmbedExternal.View'], Field(discriminator='py_type')]] = ( None #: An optional embed associated with the status. ) @@ -507,6 +508,7 @@ class StatusView(base.ModelBase): is_active: t.Optional[bool] = ( None #: True if the status is not expired, false if it is expired. Only present if expiration was set. ) + uri: t.Optional[string_formats.AtUri] = None #: Uri. py_type: t.Literal['app.bsky.actor.defs#statusView'] = Field( default='app.bsky.actor.defs#statusView', alias='$type', frozen=True diff --git a/packages/atproto_client/models/app/bsky/ageassurance/defs.py b/packages/atproto_client/models/app/bsky/ageassurance/defs.py index 3ac42379..d90ede14 100644 --- a/packages/atproto_client/models/app/bsky/ageassurance/defs.py +++ b/packages/atproto_client/models/app/bsky/ageassurance/defs.py @@ -61,6 +61,7 @@ class ConfigRegion(base.ModelBase): """Definition model for :obj:`app.bsky.ageassurance.defs`. The Age Assurance configuration for a specific region.""" country_code: str #: The ISO 3166-1 alpha-2 country code this configuration applies to. + min_access_age: int #: The minimum age (as a whole integer) required to use Bluesky in this region. rules: t.List[ te.Annotated[ t.Union[ diff --git a/packages/atproto_client/models/app/bsky/unspecced/get_suggested_users.py b/packages/atproto_client/models/app/bsky/unspecced/get_suggested_users.py index 1312ed15..58ffb795 100644 --- a/packages/atproto_client/models/app/bsky/unspecced/get_suggested_users.py +++ b/packages/atproto_client/models/app/bsky/unspecced/get_suggested_users.py @@ -31,3 +31,4 @@ class Response(base.ResponseModelBase): """Output data model for :obj:`app.bsky.unspecced.getSuggestedUsers`.""" actors: t.List['models.AppBskyActorDefs.ProfileView'] #: Actors. + rec_id: t.Optional[int] = None #: Snowflake for this recommendation, use when submitting recommendation events. diff --git a/packages/atproto_client/models/app/bsky/unspecced/get_suggested_users_skeleton.py b/packages/atproto_client/models/app/bsky/unspecced/get_suggested_users_skeleton.py index 21ef3490..1a160f8e 100644 --- a/packages/atproto_client/models/app/bsky/unspecced/get_suggested_users_skeleton.py +++ b/packages/atproto_client/models/app/bsky/unspecced/get_suggested_users_skeleton.py @@ -35,3 +35,4 @@ class Response(base.ResponseModelBase): """Output data model for :obj:`app.bsky.unspecced.getSuggestedUsersSkeleton`.""" dids: t.List[string_formats.Did] #: Dids. + rec_id: t.Optional[int] = None #: Snowflake for this recommendation, use when submitting recommendation events. diff --git a/packages/atproto_client/models/com/atproto/server/refresh_session.py b/packages/atproto_client/models/com/atproto/server/refresh_session.py index ae70bf1f..ee44f985 100644 --- a/packages/atproto_client/models/com/atproto/server/refresh_session.py +++ b/packages/atproto_client/models/com/atproto/server/refresh_session.py @@ -23,6 +23,9 @@ class Response(base.ResponseModelBase): refresh_jwt: str #: Refresh jwt. active: t.Optional[bool] = None #: Active. did_doc: t.Optional['UnknownType'] = None #: Did doc. + email: t.Optional[str] = None #: Email. + email_auth_factor: t.Optional[bool] = None #: Email auth factor. + email_confirmed: t.Optional[bool] = None #: Email confirmed. status: t.Optional[t.Union[t.Literal['takendown'], t.Literal['suspended'], t.Literal['deactivated'], str]] = ( None #: Hosting status of the account. If not specified, then assume 'active'. ) diff --git a/packages/atproto_client/namespaces/async_ns.py b/packages/atproto_client/namespaces/async_ns.py index 16a6e289..9cb7eaa3 100644 --- a/packages/atproto_client/namespaces/async_ns.py +++ b/packages/atproto_client/namespaces/async_ns.py @@ -7536,7 +7536,7 @@ async def delete_account( return get_response_model(response, bool) async def delete_session(self, **kwargs: t.Any) -> bool: - """Delete the current session. Requires auth. + """Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt'). Args: **kwargs: Arbitrary arguments to HTTP request. diff --git a/packages/atproto_client/namespaces/sync_ns.py b/packages/atproto_client/namespaces/sync_ns.py index c22296dd..4bf2c406 100644 --- a/packages/atproto_client/namespaces/sync_ns.py +++ b/packages/atproto_client/namespaces/sync_ns.py @@ -7536,7 +7536,7 @@ def delete_account( return get_response_model(response, bool) def delete_session(self, **kwargs: t.Any) -> bool: - """Delete the current session. Requires auth. + """Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt'). Args: **kwargs: Arbitrary arguments to HTTP request.