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
4 changes: 2 additions & 2 deletions src/GeneratedModels/ActivityResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ public function __construct(
/** @var array<Attachment>|null Media attachments for the activity */
#[ArrayOf(Attachment::class)]
public ?array $attachments = null, // Media attachments for the activity
/** @var array<CommentResponse>|null Comments on this activity */
/** @var array<CommentResponse>|null Latest 5 comments of this activity (comment replies excluded) */
#[ArrayOf(CommentResponse::class)]
public ?array $comments = null, // Comments on this activity
public ?array $comments = null, // Latest 5 comments of this activity (comment replies excluded)
public ?array $feeds = null, // List of feed IDs containing this activity
public ?array $filterTags = null, // Tags for filtering
public ?array $interestTags = null, // Tags for user interests
Expand Down
2 changes: 2 additions & 0 deletions src/GeneratedModels/FeedResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/**
*
*
* @property int $activityCount
* @property \DateTime $createdAt
* @property string $description
* @property string $feed
Expand All @@ -29,6 +30,7 @@
class FeedResponse extends BaseModel
{
public function __construct(
public ?int $activityCount = null,
public ?\DateTime $createdAt = null, // When the feed was created
public ?string $description = null, // Description of the feed
public ?string $feed = null, // Fully qualified feed ID (group_id:id)
Expand Down
2 changes: 2 additions & 0 deletions src/GeneratedModels/FeedSuggestionResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/**
*
*
* @property int $activityCount
* @property \DateTime $createdAt
* @property string $description
* @property string $feed
Expand All @@ -32,6 +33,7 @@
class FeedSuggestionResponse extends BaseModel
{
public function __construct(
public ?int $activityCount = null,
public ?\DateTime $createdAt = null, // When the feed was created
public ?string $description = null, // Description of the feed
public ?string $feed = null, // Fully qualified feed ID (group_id:id)
Expand Down
8 changes: 6 additions & 2 deletions src/GeneratedModels/FollowBatchResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@
*
*
* @property string $duration
* @property array<FollowResponse> $created
* @property array<FollowResponse> $follows
*/
class FollowBatchResponse extends BaseModel
{
public function __construct(
public ?string $duration = null,
/** @var array<FollowResponse>|null List of created follow relationships */
/** @var array<FollowResponse>|null List of newly created follow relationships */
#[ArrayOf(FollowResponse::class)]
public ?array $follows = null, // List of created follow relationships
public ?array $created = null, // List of newly created follow relationships
/** @var array<FollowResponse>|null List of current follow relationships */
#[ArrayOf(FollowResponse::class)]
public ?array $follows = null, // List of current follow relationships
) {
}

Expand Down
2 changes: 2 additions & 0 deletions src/GeneratedModels/SearchPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*
*
* @property object $filterConditions
* @property bool|null $forceDefaultSearch
* @property int|null $limit
* @property string|null $next
* @property int|null $offset
Expand All @@ -19,6 +20,7 @@ class SearchPayload extends BaseModel
{
public function __construct(
public ?object $filterConditions = null, // Channel filter conditions
public ?bool $forceDefaultSearch = null,
public ?int $limit = null, // Number of messages to return
public ?string $next = null, // Pagination parameter. Cannot be used with non-zero offset.
public ?int $offset = null, // Pagination offset. Cannot be used with sort or next.
Expand Down
2 changes: 2 additions & 0 deletions src/GeneratedModels/SortParam.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
*
* @property int|null $direction
* @property string|null $field
* @property string|null $type
*/
class SortParam extends BaseModel
{
public function __construct(
public ?int $direction = null,
public ?string $field = null,
public ?string $type = null,
) {
}

Expand Down
2 changes: 2 additions & 0 deletions src/GeneratedModels/SortParamRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
*
* @property int|null $direction
* @property string|null $field
* @property string|null $type
*/
class SortParamRequest extends BaseModel
{
public function __construct(
public ?int $direction = null, // Direction of sorting, 1 for Ascending, -1 for Descending, default is 1
public ?string $field = null, // Name of field to sort by
public ?string $type = null, // Type of field to sort by (default is string)
) {
}

Expand Down