@@ -5419,6 +5419,8 @@ export interface ChannelConfig {
54195419
54205420 max_message_length: number;
54215421
5422+ message_retention: string;
5423+
54225424 mutes: boolean;
54235425
54245426 name: string;
@@ -5570,6 +5572,8 @@ export interface ChannelConfigWithInfo {
55705572
55715573 max_message_length: number;
55725574
5575+ message_retention: string;
5576+
55735577 mutes: boolean;
55745578
55755579 name: string;
@@ -6571,6 +6575,8 @@ export interface ChannelTypeConfig {
65716575
65726576 max_message_length: number;
65736577
6578+ message_retention: string;
6579+
65746580 mutes: boolean;
65756581
65766582 name: string;
@@ -7382,6 +7388,8 @@ export interface Classification {
73827388
73837389 severity?: string;
73847390
7391+ matched_contributors?: Array<string>;
7392+
73857393 subclassifications?: Array<Classification>;
73867394}
73877395
@@ -8543,6 +8551,8 @@ export interface CreateChannelTypeResponse {
85438551
85448552 max_message_length: number;
85458553
8554+ message_retention: string;
8555+
85468556 mutes: boolean;
85478557
85488558 name: string;
@@ -8957,6 +8967,43 @@ export interface CreateMembershipLevelResponse {
89578967 membership_level: MembershipLevelResponse;
89588968}
89598969
8970+ export interface CreatePermissionRequest {
8971+ /**
8972+ * Action name this permission is for (e.g. SendMessage)
8973+ */
8974+ action: string;
8975+
8976+ /**
8977+ * Unique permission ID
8978+ */
8979+ id: string;
8980+
8981+ /**
8982+ * Name of the permission
8983+ */
8984+ name: string;
8985+
8986+ /**
8987+ * MongoDB style condition which decides whether or not the permission is granted
8988+ */
8989+ condition: Record<string, any>;
8990+
8991+ /**
8992+ * Description of the permission
8993+ */
8994+ description?: string;
8995+
8996+ /**
8997+ * Whether this permission applies to resource owner or not
8998+ */
8999+ owner?: boolean;
9000+
9001+ /**
9002+ * Whether this permission applies to teammates (multi-tenancy mode only)
9003+ */
9004+ same_team?: boolean;
9005+ }
9006+
89609007export interface CreatePolicyTestSetRequest {
89619008 /**
89629009 * Display name; unique within an app
@@ -12973,6 +13020,8 @@ export interface GetChannelTypeResponse {
1297313020
1297413021 max_message_length: number;
1297513022
13023+ message_retention: string;
13024+
1297613025 mutes: boolean;
1297713026
1297813027 name: string;
@@ -13188,6 +13237,25 @@ export interface GetExternalStorageResponse {
1318813237 gcs?: GetExternalStorageGCSResponse;
1318913238}
1319013239
13240+ export interface GetFeedCountsResponse {
13241+ /**
13242+ * Number of activities in the feed
13243+ */
13244+ activity_count: number;
13245+
13246+ /**
13247+ * Total number of comments on those activities, including nested replies
13248+ */
13249+ comment_count: number;
13250+
13251+ duration: string;
13252+
13253+ /**
13254+ * Sum of activity_count and comment_count
13255+ */
13256+ total_count: number;
13257+ }
13258+
1319113259export interface GetFeedGroupResponse {
1319213260 duration: string;
1319313261
@@ -18472,6 +18540,11 @@ export interface PermissionRequest {
1847218540 */
1847318541 name: string;
1847418542
18543+ /**
18544+ * MongoDB style condition which decides whether or not the permission is granted
18545+ */
18546+ condition: Record<string, any>;
18547+
1847518548 /**
1847618549 * Description of the permission
1847718550 */
@@ -18486,11 +18559,6 @@ export interface PermissionRequest {
1848618559 * Whether this permission applies to teammates (multi-tenancy mode only)
1848718560 */
1848818561 same_team?: boolean;
18489-
18490- /**
18491- * MongoDB style condition which decides whether or not the permission is granted
18492- */
18493- condition?: Record<string, any>;
1849418562}
1849518563
1849618564export interface PermissionRequestEvent {
@@ -26612,6 +26680,8 @@ export interface UpdateChannelTypeRequest {
2661226680
2661326681 mark_messages_pending?: boolean;
2661426682
26683+ message_retention?: string;
26684+
2661526685 mutes?: boolean;
2661626686
2661726687 partition_size?: number;
@@ -26690,6 +26760,8 @@ export interface UpdateChannelTypeResponse {
2669026760
2669126761 max_message_length: number;
2669226762
26763+ message_retention: string;
26764+
2669326765 mutes: boolean;
2669426766
2669526767 name: string;
0 commit comments