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
8 changes: 4 additions & 4 deletions src/gen/feeds/FeedsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,14 @@ export class FeedsApi {
request?: QueryActivitiesRequest,
): Promise<StreamResponse<QueryActivitiesResponse>> {
const body = {
include_private_activities: request?.include_private_activities,
limit: request?.limit,
next: request?.next,
prev: request?.prev,
user_id: request?.user_id,
sort: request?.sort,
filter: request?.filter,
user: request?.user,
};

const response = await this.apiClient.sendRequest<
Expand Down Expand Up @@ -757,6 +760,7 @@ export class FeedsApi {
object_type: request?.object_type,
comment: request?.comment,
create_notification_activity: request?.create_notification_activity,
id: request?.id,
parent_id: request?.parent_id,
skip_push: request?.skip_push,
user_id: request?.user_id,
Expand Down Expand Up @@ -1109,7 +1113,6 @@ export class FeedsApi {
user_id: request?.user_id,
view: request?.view,
watch: request?.watch,
activity_selector_options: request?.activity_selector_options,
data: request?.data,
external_ranking: request?.external_ranking,
filter: request?.filter,
Expand Down Expand Up @@ -1537,7 +1540,6 @@ export class FeedsApi {
): Promise<StreamResponse<CreateFeedViewResponse>> {
const body = {
id: request?.id,
activity_processors: request?.activity_processors,
activity_selectors: request?.activity_selectors,
aggregation: request?.aggregation,
ranking: request?.ranking,
Expand Down Expand Up @@ -1598,7 +1600,6 @@ export class FeedsApi {
id: request?.id,
};
const body = {
activity_processors: request?.activity_processors,
activity_selectors: request?.activity_selectors,
aggregation: request?.aggregation,
ranking: request?.ranking,
Expand Down Expand Up @@ -1627,7 +1628,6 @@ export class FeedsApi {
id: request?.id,
};
const body = {
activity_processors: request?.activity_processors,
activity_selectors: request?.activity_selectors,
aggregation: request?.aggregation,
ranking: request?.ranking,
Expand Down
20 changes: 9 additions & 11 deletions src/gen/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,8 @@ export interface AddCommentRequest {

create_notification_activity?: boolean;

id?: string;

parent_id?: string;

skip_push?: boolean;
Expand Down Expand Up @@ -853,7 +855,7 @@ export interface AggregatedActivityResponse {
}

export interface AggregationConfig {
format?: string;
format: string;
}

export interface AnyEvent {
Expand Down Expand Up @@ -4172,8 +4174,6 @@ export interface CreateFeedGroupResponse {
export interface CreateFeedViewRequest {
id: string;

activity_processors?: ActivityProcessorConfig[];

activity_selectors?: ActivitySelectorConfig[];

aggregation?: AggregationConfig;
Expand Down Expand Up @@ -5524,8 +5524,6 @@ export interface FeedViewResponse {

last_used_at?: Date;

activity_processors?: ActivityProcessorConfig[];

activity_selectors?: ActivitySelectorConfigResponse[];

aggregation?: AggregationConfig;
Expand Down Expand Up @@ -6383,8 +6381,6 @@ export interface GetOrCreateFeedRequest {

watch?: boolean;

activity_selector_options?: Record<string, any>;

data?: FeedInput;

external_ranking?: Record<string, any>;
Expand Down Expand Up @@ -6435,8 +6431,6 @@ export interface GetOrCreateFeedResponse {
}

export interface GetOrCreateFeedViewRequest {
activity_processors?: ActivityProcessorConfig[];

activity_selectors?: ActivitySelectorConfig[];

aggregation?: AggregationConfig;
Expand Down Expand Up @@ -9182,15 +9176,21 @@ export interface QualityScoreReportResponse {
}

export interface QueryActivitiesRequest {
include_private_activities?: boolean;

limit?: number;

next?: string;

prev?: string;

user_id?: string;

sort?: SortParamRequest[];

filter?: Record<string, any>;

user?: UserRequest;
}

export interface QueryActivitiesResponse {
Expand Down Expand Up @@ -12769,8 +12769,6 @@ export interface UpdateFeedResponse {
}

export interface UpdateFeedViewRequest {
activity_processors?: ActivityProcessorConfig[];

activity_selectors?: ActivitySelectorConfig[];

aggregation?: AggregationConfig;
Expand Down
Loading