diff --git a/.spec-version b/.spec-version index 674f2aa7..81629e4d 100644 --- a/.spec-version +++ b/.spec-version @@ -1,2 +1,2 @@ -spec: openapi-v241.23.0 -generator: chat v241.23.0 +spec: openapi-v241.24.1 +generator: chat v241.24.1 diff --git a/src/GeneratedModels/AddActivityRequest.php b/src/GeneratedModels/AddActivityRequest.php index 84cbeb8e..83c98ccc 100644 --- a/src/GeneratedModels/AddActivityRequest.php +++ b/src/GeneratedModels/AddActivityRequest.php @@ -39,6 +39,7 @@ public function __construct( public ?bool $forceModeration = null, public ?bool $createUsers = null, public ?bool $skipExisting = null, + public ?bool $createSystemFeeds = null, ) { } diff --git a/src/GeneratedModels/ChatMessageResponse.php b/src/GeneratedModels/ChatMessageResponse.php index 96eb056d..fee61ae6 100644 --- a/src/GeneratedModels/ChatMessageResponse.php +++ b/src/GeneratedModels/ChatMessageResponse.php @@ -41,6 +41,7 @@ public function __construct( public ?\DateTime $createdAt = null, public ?\DateTime $updatedAt = null, public ?\DateTime $deletedAt = null, + public ?UserResponse $deletedBy = null, // User response object public ?object $custom = null, public ?bool $shadowed = null, public ?array $imageLabels = null, diff --git a/src/GeneratedModels/MessageResponse.php b/src/GeneratedModels/MessageResponse.php index 96f81670..119ccd91 100644 --- a/src/GeneratedModels/MessageResponse.php +++ b/src/GeneratedModels/MessageResponse.php @@ -81,6 +81,7 @@ public function __construct( /** @var array|null */ #[MapOf(ChannelMemberPartialResponse::class)] public ?array $mentionedChannelMembers = null, // Channel member data for the users mentioned in the message, keyed by user id. Only present when the app has member custom on mentioned users enabled, and only for the first two mentioned users of each message + public ?UserResponse $deletedBy = null, // User response object ) { } diff --git a/src/GeneratedModels/MessageWithChannelResponse.php b/src/GeneratedModels/MessageWithChannelResponse.php index a5e2ea31..03fd8cfd 100644 --- a/src/GeneratedModels/MessageWithChannelResponse.php +++ b/src/GeneratedModels/MessageWithChannelResponse.php @@ -81,6 +81,7 @@ public function __construct( /** @var array|null */ #[MapOf(ChannelMemberPartialResponse::class)] public ?array $mentionedChannelMembers = null, // Channel member data for the users mentioned in the message, keyed by user id. Only present when the app has member custom on mentioned users enabled, and only for the first two mentioned users of each message + public ?UserResponse $deletedBy = null, // User response object public ?ChannelResponse $channel = null, // Represents channel in chat ) { } diff --git a/src/GeneratedModels/SearchResultMessage.php b/src/GeneratedModels/SearchResultMessage.php index 3d6581f0..05577a42 100644 --- a/src/GeneratedModels/SearchResultMessage.php +++ b/src/GeneratedModels/SearchResultMessage.php @@ -78,6 +78,7 @@ public function __construct( /** @var array|null */ #[MapOf(ChannelMemberPartialResponse::class)] public ?array $mentionedChannelMembers = null, + public ?UserResponse $deletedBy = null, // User response object public ?ChannelResponse $channel = null, // Represents channel in chat ) { } diff --git a/src/GeneratedModels/UpsertActivitiesRequest.php b/src/GeneratedModels/UpsertActivitiesRequest.php index 3fac9c2a..c31df839 100644 --- a/src/GeneratedModels/UpsertActivitiesRequest.php +++ b/src/GeneratedModels/UpsertActivitiesRequest.php @@ -13,6 +13,7 @@ public function __construct( public ?bool $forceModeration = null, // If true, forces moderation to run for server-side requests. By default, server-side requests skip moderation. Client-side requests always run moderation regardless of this field. public ?bool $createUsers = null, // Server-side only. If true, auto-creates users referenced by activity user_id values that don't already exist. Default: false. public ?bool $skipExisting = null, // Server-side only. If true, activities whose id already exists are left unchanged instead of updated: no write, events or notifications. They are listed in skipped_existing and returned as stored. Soft-deleted activities count as existing and are returned with deleted_at set. Default: false. + public ?bool $createSystemFeeds = null, // Server-side only. If true, a missing feed whose id is not a user id (e.g. game:123) is created as a system feed with no user owner. Missing feeds named after an existing user are created either way. Built-in groups (such as user, timeline and notification) and notification groups still require a user. Default: false. ) { }