Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.16.0"
".": "0.17.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 27
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-5d59d9b7fffd1ac6f329a62fdc42c97bfa7821168eeea0d686a2d48d90963c34.yml
openapi_spec_hash: 61cd471624938b233f02dc17416946f2
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-e864d762f50e49c0584bbf35eacc43cdb1397f805cca52cb8d4c07781739d0a3.yml
openapi_spec_hash: f511fefb34946e5878ac17f2b3056b1f
config_hash: 9d144cc6c49d3fd53e5b4472c1e22165
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.17.0 (2026-05-08)

Full Changelog: [v0.16.0...v0.17.0](https://github.com/moderation-api/sdk-php/compare/v0.16.0...v0.17.0)

### Features

* **api:** api update ([2ec39e3](https://github.com/moderation-api/sdk-php/commit/2ec39e3646d12ba5c1ae2a4d396e15b624050873))

## 0.16.0 (2026-05-08)

Full Changelog: [v0.15.0...v0.16.0](https://github.com/moderation-api/sdk-php/compare/v0.15.0...v0.16.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The REST API documentation can be found on [docs.moderationapi.com](https://docs
<!-- x-release-please-start-version -->

```
composer require "moderation-api/sdk-php 0.16.0"
composer require "moderation-api/sdk-php 0.17.0"
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion src/Queue/WebhookEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static function variants(): array
'author.updated' => AuthorUpdatedEvent::class,
'author.trust_level_changed' => AuthorTrustLevelChangedEvent::class,
'author.action' => AuthorActionEvent::class,
'queue_item.completed' => QueueItemCompletedEvent::class,
'queue_item.resolved' => QueueItemCompletedEvent::class,
'queue_item.action' => QueueItemActionEvent::class,
'queue_item.rejected' => QueueItemRejectedEvent::class,
'queue_item.allowed' => QueueItemAllowedEvent::class,
Expand Down
8 changes: 4 additions & 4 deletions src/Queue/WebhookEvent/QueueItemCompletedEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* apiVersion: 'v2',
* created: \DateTimeInterface,
* data: Data|DataShape,
* type: 'queue_item.completed',
* type: 'queue_item.resolved',
* }
*/
final class QueueItemCompletedEvent implements BaseModel
Expand All @@ -32,10 +32,10 @@ final class QueueItemCompletedEvent implements BaseModel
/**
* The event type.
*
* @var 'queue_item.completed' $type
* @var 'queue_item.resolved' $type
*/
#[Required]
public string $type = 'queue_item.completed';
public string $type = 'queue_item.resolved';

/**
* Stable event ID. Use this to dedupe retries.
Expand Down Expand Up @@ -139,7 +139,7 @@ public function withData(Data|array $data): self
/**
* The event type.
*
* @param 'queue_item.completed' $type
* @param 'queue_item.resolved' $type
*/
public function withType(string $type): self
{
Expand Down
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
namespace ModerationAPI;

// x-release-please-start-version
const VERSION = '0.16.0';
const VERSION = '0.17.0';
// x-release-please-end