Skip to content

Commit 59dc397

Browse files
committed
Update open api spec
1 parent 2b78705 commit 59dc397

File tree

2 files changed

+24
-20
lines changed

2 files changed

+24
-20
lines changed

src/gen/feeds/FeedsApi.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,8 +1718,8 @@ export class FeedsApi {
17181718
request: AcceptFollowRequest,
17191719
): Promise<StreamResponse<AcceptFollowResponse>> {
17201720
const body = {
1721-
source_fid: request?.source_fid,
1722-
target_fid: request?.target_fid,
1721+
source: request?.source,
1722+
target: request?.target,
17231723
follower_role: request?.follower_role,
17241724
};
17251725

@@ -1793,8 +1793,8 @@ export class FeedsApi {
17931793
request: RejectFollowRequest,
17941794
): Promise<StreamResponse<RejectFollowResponse>> {
17951795
const body = {
1796-
source_fid: request?.source_fid,
1797-
target_fid: request?.target_fid,
1796+
source: request?.source,
1797+
target: request?.target,
17981798
};
17991799

18001800
const response = await this.apiClient.sendRequest<

src/gen/models/index.ts

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ export interface AcceptFeedMemberInviteResponse {
131131
}
132132

133133
export interface AcceptFollowRequest {
134-
source_fid: string;
134+
source: string;
135135

136-
target_fid: string;
136+
target: string;
137137

138138
follower_role?: string;
139139
}
@@ -5334,7 +5334,7 @@ export interface FeedResponse {
53345334

53355335
description: string;
53365336

5337-
fid: string;
5337+
feed: string;
53385338

53395339
follower_count: number;
53405340

@@ -5484,29 +5484,33 @@ export interface FirebaseConfigFields {
54845484
export interface Flag {
54855485
created_at: Date;
54865486

5487-
created_by_automod: boolean;
5487+
entity_id: string;
5488+
5489+
entity_type: string;
54885490

54895491
updated_at: Date;
54905492

5491-
approved_at?: Date;
5493+
result: Array<Record<string, any>>;
54925494

5493-
reason?: string;
5495+
entity_creator_id?: string;
54945496

5495-
rejected_at?: Date;
5497+
is_streamed_content?: boolean;
54965498

5497-
reviewed_at?: Date;
5499+
moderation_payload_hash?: string;
54985500

5499-
reviewed_by?: string;
5501+
reason?: string;
55005502

5501-
target_message_id?: string;
5503+
review_queue_item_id?: string;
55025504

5503-
custom?: Record<string, any>;
5505+
type?: string;
55045506

5505-
details?: FlagDetails;
5507+
labels?: string[];
55065508

5507-
target_message?: Message;
5509+
custom?: Record<string, any>;
55085510

5509-
target_user?: User;
5511+
moderation_payload?: ModerationPayload;
5512+
5513+
review_queue_item?: ReviewQueueItem;
55105514

55115515
user?: User;
55125516
}
@@ -9753,9 +9757,9 @@ export interface RejectFeedMemberInviteResponse {
97539757
}
97549758

97559759
export interface RejectFollowRequest {
9756-
source_fid: string;
9760+
source: string;
97579761

9758-
target_fid: string;
9762+
target: string;
97599763
}
97609764

97619765
export interface RejectFollowResponse {

0 commit comments

Comments
 (0)