From bbaca1266b398829b02ca25689abd6076423e5fd Mon Sep 17 00:00:00 2001 From: activitysmith-bot Date: Sat, 10 Oct 2026 02:18:59 +0000 Subject: [PATCH] chore: regenerate SDK --- .../Model/LiveActivityStreamPutResponse.php | 34 +++++++++++++++++++ generated/openapi-source.json | 4 +-- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/generated/Model/LiveActivityStreamPutResponse.php b/generated/Model/LiveActivityStreamPutResponse.php index e1c0e7e..621fcb4 100644 --- a/generated/Model/LiveActivityStreamPutResponse.php +++ b/generated/Model/LiveActivityStreamPutResponse.php @@ -68,6 +68,7 @@ class LiveActivityStreamPutResponse implements ModelInterface, ArrayAccess, \Jso 'usersNotified' => 'int', 'effectiveChannelSlugs' => 'string[]', 'tags' => 'string[]', + 'warning' => 'string', 'timestamp' => '\DateTime' ]; @@ -89,6 +90,7 @@ class LiveActivityStreamPutResponse implements ModelInterface, ArrayAccess, \Jso 'usersNotified' => null, 'effectiveChannelSlugs' => null, 'tags' => null, + 'warning' => null, 'timestamp' => 'date-time' ]; @@ -108,6 +110,7 @@ class LiveActivityStreamPutResponse implements ModelInterface, ArrayAccess, \Jso 'usersNotified' => false, 'effectiveChannelSlugs' => false, 'tags' => false, + 'warning' => false, 'timestamp' => false ]; @@ -207,6 +210,7 @@ public function isNullableSetToNull(string $property): bool 'usersNotified' => 'users_notified', 'effectiveChannelSlugs' => 'effective_channel_slugs', 'tags' => 'tags', + 'warning' => 'warning', 'timestamp' => 'timestamp' ]; @@ -226,6 +230,7 @@ public function isNullableSetToNull(string $property): bool 'usersNotified' => 'setUsersNotified', 'effectiveChannelSlugs' => 'setEffectiveChannelSlugs', 'tags' => 'setTags', + 'warning' => 'setWarning', 'timestamp' => 'setTimestamp' ]; @@ -245,6 +250,7 @@ public function isNullableSetToNull(string $property): bool 'usersNotified' => 'getUsersNotified', 'effectiveChannelSlugs' => 'getEffectiveChannelSlugs', 'tags' => 'getTags', + 'warning' => 'getWarning', 'timestamp' => 'getTimestamp' ]; @@ -336,6 +342,7 @@ public function __construct(array $data = null) $this->setIfExists('usersNotified', $data ?? [], null); $this->setIfExists('effectiveChannelSlugs', $data ?? [], null); $this->setIfExists('tags', $data ?? [], null); + $this->setIfExists('warning', $data ?? [], null); $this->setIfExists('timestamp', $data ?? [], null); } @@ -689,6 +696,33 @@ public function setTags($tags) return $this; } + /** + * Gets warning + * + * @return string|null + */ + public function getWarning() + { + return $this->container['warning']; + } + + /** + * Sets warning + * + * @param string|null $warning Present on `updated` responses when the previous update to this stream was less than 2 minutes ago. The update is still sent, but iOS may throttle frequent Live Activity updates. + * + * @return self + */ + public function setWarning($warning) + { + if (is_null($warning)) { + throw new \InvalidArgumentException('non-nullable warning cannot be null'); + } + $this->container['warning'] = $warning; + + return $this; + } + /** * Gets timestamp * diff --git a/generated/openapi-source.json b/generated/openapi-source.json index a320213..1eb8060 100644 --- a/generated/openapi-source.json +++ b/generated/openapi-source.json @@ -1,6 +1,6 @@ { "repository": "ActivitySmithHQ/activitysmith-backend", - "commit": "ce15d69eeb25776a3ae395e77d8b907ff7ba0709", + "commit": "3120827651d53be35682c307581b645e019e171a", "path": "openapi.json", - "sha256": "b113d50e06d6581707d9472dda6e371b996441f58dceba87a88f79cb96508a7d" + "sha256": "6bb006eedfcefc69dc10084e894f499be330fa43cd17c5ddc2fa29d2acb4e356" }