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 .spec-version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
spec: openapi-v241.26.0
generator: chat v241.26.0
spec: openapi-v241.26.1
generator: chat v241.26.1
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ public class ActivityFeedbackRequest {
@JsonProperty("hide")
private Boolean hide;

@Nullable
@JsonProperty("request_id")
private String requestID;

@Nullable
@JsonProperty("show_less")
private Boolean showLess;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/getstream/models/AppResponseFields.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ public class AppResponseFields {
@JsonProperty("message_marks")
private MessageMarksConfig messageMarks;

@Nullable
@JsonProperty("message_schema")
private MessageSchemaSettings messageSchema;

@Nullable
@JsonProperty("moderation_dashboard_preferences")
private ModerationDashboardPreferences moderationDashboardPreferences;
Expand Down
43 changes: 43 additions & 0 deletions src/main/java/io/getstream/models/EngagementRates.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class EngagementRates {

@Nullable
@JsonProperty("avg_dwell_ms")
private Double avgDwellMs;

@Nullable
@JsonProperty("clicks_per_user")
private Double clicksPerUser;

@Nullable
@JsonProperty("ctr")
private Double ctr;

@Nullable
@JsonProperty("hide_rate")
private Double hideRate;

@Nullable
@JsonProperty("impressions_per_user")
private Double impressionsPerUser;
}
38 changes: 38 additions & 0 deletions src/main/java/io/getstream/models/EngagementStatsResult.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class EngagementStatsResult {

@JsonProperty("experiment_id")
private String experimentID;

@JsonProperty("group_id")
private String groupID;

@JsonProperty("view_id")
private String viewID;

@JsonProperty("metrics")
private Map<String, DailyMetricStatsResponse> metrics;

@JsonProperty("rates")
private EngagementRates rates;
}
5 changes: 5 additions & 0 deletions src/main/java/io/getstream/models/FeedsPolicyConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;

@lombok.Data
Expand All @@ -28,4 +29,8 @@ public class FeedsPolicyConfig {
@Nullable
@JsonProperty("feed_groups")
private List<String> feedGroups;

@Nullable
@JsonProperty("filter_conditions")
private Map<String, Object> filterConditions;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;

/**
* Set feeds retention policy Creates or updates a feeds retention policy for the app (an app may
* have multiple, each scoped to feed groups). Server-side only.
* have multiple, each scoped to feed groups and, except old-activities, optionally narrowed by
* filter_conditions). Server-side only.
*/
@lombok.Data
@lombok.Builder
Expand All @@ -39,4 +41,8 @@ public class FeedsSetRetentionPolicyRequest {
@Nullable
@JsonProperty("feed_groups")
private List<String> feedGroups;

@Nullable
@JsonProperty("filter_conditions")
private Map<String, Object> filterConditions;
}
8 changes: 8 additions & 0 deletions src/main/java/io/getstream/models/ForYouConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
@lombok.AllArgsConstructor
public class ForYouConfig {

@Nullable
@JsonProperty("analytics")
private Boolean analytics;

@Nullable
@JsonProperty("enabled")
private Boolean enabled;
Expand All @@ -37,6 +41,10 @@ public class ForYouConfig {
@JsonProperty("dwell")
private ForYouDwellConfig dwell;

@Nullable
@JsonProperty("experiment")
private ForYouExperimentConfig experiment;

@Nullable
@JsonProperty("exploration")
private ForYouExplorationConfig exploration;
Expand Down
32 changes: 32 additions & 0 deletions src/main/java/io/getstream/models/ForYouExperimentConfig.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class ForYouExperimentConfig {

@Nullable
@JsonProperty("id")
private String id;

@Nullable
@JsonProperty("variants")
private List<ForYouExperimentVariant> variants;
}
31 changes: 31 additions & 0 deletions src/main/java/io/getstream/models/ForYouExperimentVariant.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.Nullable;

@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class ForYouExperimentVariant {

@Nullable
@JsonProperty("view")
private String view;

@Nullable
@JsonProperty("weight")
private Integer weight;
}
43 changes: 43 additions & 0 deletions src/main/java/io/getstream/models/MessageSchemaSettings.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.Nullable;

/**
* The app&#39;s message schema settings: how strictly messages and reactions are checked, and the
* JSON Schemas they are checked against.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class MessageSchemaSettings {

@Nullable
@JsonProperty("document_version")
private Integer documentVersion;

@Nullable
@JsonProperty("mode")
private String mode;

@Nullable
@JsonProperty("message")
private MessageValidation message;

@Nullable
@JsonProperty("reaction")
private ReactionValidation reaction;
}
34 changes: 34 additions & 0 deletions src/main/java/io/getstream/models/MessageValidation.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
import org.jetbrains.annotations.Nullable;

/** The rules a message is checked against. */
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class MessageValidation {

@Nullable
@JsonProperty("frozen_fields")
private List<String> frozenFields;

@Nullable
@JsonProperty("schema")
private Map<String, Object> schema;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/*
* ========================================================================
* WARNING: GENERATED CODE -- DO NOT EDIT!
* ========================================================================
*
* This file was auto-generated by GetStream internal OpenAPI
*
* Any modifications to this file will be lost upon regeneration.
* To make changes, please modify the source templates and regenerate.
*
* ========================================================================
*/
package io.getstream.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.jetbrains.annotations.Nullable;

/**
* Query Feed Engagement Statistics Retrieve For You engagement statistics (reads, users,
* impressions, clicks, dwell, hides) per view and experiment, aggregated by day. users.total counts
* user-days. Requires a paid Feeds plan (403 otherwise). limit is the maximum number of series (one
* per group, view and experiment), not rows; it never cuts a series. A metric&#39;s days with no
* events are omitted from its daily values. This endpoint is not paginated: it is a bounded report
* over one group&#39;s views and experiments for at most 396 days, and limit x days must not exceed
* 10,000 (the default limit always fits). This endpoint is server-side only.
*/
@lombok.Data
@lombok.Builder
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
public class QueryFeedsEngagementStatsRequest {

@JsonProperty("group_id")
private String groupID;

@Nullable
@JsonProperty("experiment_id")
private String experimentID;

@Nullable
@JsonProperty("from")
private String from;

@Nullable
@JsonProperty("limit")
private Integer limit;

@Nullable
@JsonProperty("to")
private String to;

@Nullable
@JsonProperty("view_id")
private String viewID;
}
Loading
Loading