From 11746e94ff570c32d2daa373f8b42f7781ec4462 Mon Sep 17 00:00:00 2001 From: "convoy-sdk-bot[bot]" <307218117+convoy-sdk-bot[bot]@users.noreply.github.com> Date: Thu, 3 Dec 2026 18:22:48 +0000 Subject: [PATCH] feat: regenerate API client from OpenAPI spec --- .../Model/ModelsSubscriptionResponse.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/Client/Model/ModelsSubscriptionResponse.php b/src/Client/Model/ModelsSubscriptionResponse.php index 63cabf5..0e2f13b 100644 --- a/src/Client/Model/ModelsSubscriptionResponse.php +++ b/src/Client/Model/ModelsSubscriptionResponse.php @@ -66,6 +66,7 @@ class ModelsSubscriptionResponse implements ModelInterface, ArrayAccess, \JsonSe 'endpoint_metadata' => '\Convoy\Client\Model\DatastoreEndpoint', 'filter_config' => '\Convoy\Client\Model\DatastoreFilterConfiguration', 'function' => 'string', + 'has_event_type_filters' => 'bool', 'name' => 'string', 'project_id' => 'string', 'rate_limit_config' => '\Convoy\Client\Model\DatastoreRateLimitConfiguration', @@ -92,6 +93,7 @@ class ModelsSubscriptionResponse implements ModelInterface, ArrayAccess, \JsonSe 'endpoint_metadata' => null, 'filter_config' => null, 'function' => null, + 'has_event_type_filters' => null, 'name' => null, 'project_id' => null, 'rate_limit_config' => null, @@ -116,6 +118,7 @@ class ModelsSubscriptionResponse implements ModelInterface, ArrayAccess, \JsonSe 'endpoint_metadata' => true, 'filter_config' => true, 'function' => true, + 'has_event_type_filters' => false, 'name' => false, 'project_id' => false, 'rate_limit_config' => true, @@ -220,6 +223,7 @@ public function isNullableSetToNull(string $property): bool 'endpoint_metadata' => 'endpoint_metadata', 'filter_config' => 'filter_config', 'function' => 'function', + 'has_event_type_filters' => 'has_event_type_filters', 'name' => 'name', 'project_id' => 'project_id', 'rate_limit_config' => 'rate_limit_config', @@ -244,6 +248,7 @@ public function isNullableSetToNull(string $property): bool 'endpoint_metadata' => 'setEndpointMetadata', 'filter_config' => 'setFilterConfig', 'function' => 'setFunction', + 'has_event_type_filters' => 'setHasEventTypeFilters', 'name' => 'setName', 'project_id' => 'setProjectId', 'rate_limit_config' => 'setRateLimitConfig', @@ -268,6 +273,7 @@ public function isNullableSetToNull(string $property): bool 'endpoint_metadata' => 'getEndpointMetadata', 'filter_config' => 'getFilterConfig', 'function' => 'getFunction', + 'has_event_type_filters' => 'getHasEventTypeFilters', 'name' => 'getName', 'project_id' => 'getProjectId', 'rate_limit_config' => 'getRateLimitConfig', @@ -343,6 +349,7 @@ public function __construct(?array $data = null) $this->setIfExists('endpoint_metadata', $data ?? [], null); $this->setIfExists('filter_config', $data ?? [], null); $this->setIfExists('function', $data ?? [], null); + $this->setIfExists('has_event_type_filters', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); $this->setIfExists('project_id', $data ?? [], null); $this->setIfExists('rate_limit_config', $data ?? [], null); @@ -653,6 +660,33 @@ public function setFunction($function) return $this; } + /** + * Gets has_event_type_filters + * + * @return bool|null + */ + public function getHasEventTypeFilters() + { + return $this->container['has_event_type_filters']; + } + + /** + * Sets has_event_type_filters + * + * @param bool|null $has_event_type_filters HasEventTypeFilters indicates whether the subscription list found a configured per-event-type rule. + * + * @return self + */ + public function setHasEventTypeFilters($has_event_type_filters) + { + if (is_null($has_event_type_filters)) { + throw new \InvalidArgumentException('non-nullable has_event_type_filters cannot be null'); + } + $this->container['has_event_type_filters'] = $has_event_type_filters; + + return $this; + } + /** * Gets name *