import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file notifications.proto. */ export declare const file_notifications: GenFile; /** * @generated from message river.GetSettingsRequest */ export type GetSettingsRequest = Message<"river.GetSettingsRequest"> & {}; /** * Describes the message river.GetSettingsRequest. * Use `create(GetSettingsRequestSchema)` to create a new message. */ export declare const GetSettingsRequestSchema: GenMessage; /** * @generated from message river.GetSettingsResponse */ export type GetSettingsResponse = Message<"river.GetSettingsResponse"> & { /** * user id for which to retrieve settings * * @generated from field: bytes user_id = 1; */ userId: Uint8Array; /** * space holds specific settings for spaces and channels within a space * * @generated from field: repeated river.SpaceSetting space = 2; */ space: SpaceSetting[]; /** * dm_global is the default setting that is applied to all DM channels and can be overwritten by channel specific * settings with dm_gdm_channels. * * @generated from field: river.DmChannelSettingValue dm_global = 3; */ dmGlobal: DmChannelSettingValue; /** * gdm_global is the default setting that is applied to all GDM channels and can be overwritten by channel specific * settings with dm_gdm_channels. * * @generated from field: river.GdmChannelSettingValue gdm_global = 4; */ gdmGlobal: GdmChannelSettingValue; /** * dm_channels holds specific settings for DM channels * * @generated from field: repeated river.DmChannelSetting dm_channels = 5; */ dmChannels: DmChannelSetting[]; /** * gdm_channels holds specific settings for GDM channels * * @generated from field: repeated river.GdmChannelSetting gdm_channels = 6; */ gdmChannels: GdmChannelSetting[]; /** * web_subscriptions is the list of web push subscriptions * * @generated from field: repeated river.WebPushSubscriptionObject web_subscriptions = 7; */ webSubscriptions: WebPushSubscriptionObject[]; /** * apn_subscriptions is the list of APN push subscriptions * * @generated from field: repeated river.APNSubscription apn_subscriptions = 8; */ apnSubscriptions: APNSubscription[]; }; /** * Describes the message river.GetSettingsResponse. * Use `create(GetSettingsResponseSchema)` to create a new message. */ export declare const GetSettingsResponseSchema: GenMessage; /** * @generated from message river.SetSettingsRequest */ export type SetSettingsRequest = Message<"river.SetSettingsRequest"> & { /** * dm_global holds the default config setting that is applied to all DM channels unless overwritten by a DM specific * preference. * * @generated from field: river.DmChannelSettingValue dm_global = 1; */ dmGlobal: DmChannelSettingValue; /** * dm_channels holds DM channel specific preferences that overwrite dm_global. * * @generated from field: repeated river.DmChannelSetting dm_channels = 2; */ dmChannels: DmChannelSetting[]; /** * gdm_global is the default setting that is applied to all GDM channels and can be overwritten by channel specific * settings with dm_gdm_channels. * * @generated from field: river.GdmChannelSettingValue gdm_global = 3; */ gdmGlobal: GdmChannelSettingValue; /** * dm_gdm_channels holds settings for GDM channels that overwrite the default setting in gdm_global. * * @generated from field: repeated river.GdmChannelSetting gdm_channels = 4; */ gdmChannels: GdmChannelSetting[]; /** * spaces holds specific settings for spaces and their channels. * * @generated from field: repeated river.SpaceSetting spaces = 5; */ spaces: SpaceSetting[]; }; /** * Describes the message river.SetSettingsRequest. * Use `create(SetSettingsRequestSchema)` to create a new message. */ export declare const SetSettingsRequestSchema: GenMessage; /** * @generated from message river.SetSettingsResponse */ export type SetSettingsResponse = Message<"river.SetSettingsResponse"> & {}; /** * Describes the message river.SetSettingsResponse. * Use `create(SetSettingsResponseSchema)` to create a new message. */ export declare const SetSettingsResponseSchema: GenMessage; /** * DmChannelSetting hold settings specific for a DM. * * @generated from message river.DmChannelSetting */ export type DmChannelSetting = Message<"river.DmChannelSetting"> & { /** * channel_id points to the channel for which this setting applies. * * @generated from field: bytes channel_id = 1; */ channelId: Uint8Array; /** * setting indicates if the user wants to receive notifications for the channel within the space. * * @generated from field: river.DmChannelSettingValue value = 2; */ value: DmChannelSettingValue; }; /** * Describes the message river.DmChannelSetting. * Use `create(DmChannelSettingSchema)` to create a new message. */ export declare const DmChannelSettingSchema: GenMessage; /** * GdmChannelSetting hold settings specific for a GDM. * * @generated from message river.GdmChannelSetting */ export type GdmChannelSetting = Message<"river.GdmChannelSetting"> & { /** * channel_id points to the channel for which this setting applies. * * @generated from field: bytes channel_id = 1; */ channelId: Uint8Array; /** * setting indicates if the user wants to receive notifications for the channel. * * @generated from field: river.GdmChannelSettingValue value = 2; */ value: GdmChannelSettingValue; }; /** * Describes the message river.GdmChannelSetting. * Use `create(GdmChannelSettingSchema)` to create a new message. */ export declare const GdmChannelSettingSchema: GenMessage; /** * @generated from message river.SpaceChannelSetting */ export type SpaceChannelSetting = Message<"river.SpaceChannelSetting"> & { /** * channel_id points to the channel for which this setting applies. * * @generated from field: bytes channel_id = 1; */ channelId: Uint8Array; /** * setting indicates if the user wants to receive notifications for the channel. * * @generated from field: river.SpaceChannelSettingValue value = 2; */ value: SpaceChannelSettingValue; }; /** * Describes the message river.SpaceChannelSetting. * Use `create(SpaceChannelSettingSchema)` to create a new message. */ export declare const SpaceChannelSettingSchema: GenMessage; /** * SpaceSettings hold settings that applied to all streams within the space. * These can be overwritten by channel specific settings. * * @generated from message river.SpaceSetting */ export type SpaceSetting = Message<"river.SpaceSetting"> & { /** * space channel id * * @generated from field: bytes space_id = 1; */ spaceId: Uint8Array; /** * value is applied to all channels within the space unless overwritten by a channel specific setting. * * @generated from field: river.SpaceChannelSettingValue value = 2; */ value: SpaceChannelSettingValue; /** * channels holds channel specific settings for channels within the space * * @generated from field: repeated river.SpaceChannelSetting channels = 3; */ channels: SpaceChannelSetting[]; }; /** * Describes the message river.SpaceSetting. * Use `create(SpaceSettingSchema)` to create a new message. */ export declare const SpaceSettingSchema: GenMessage; /** * @generated from message river.SetDmGdmSettingsRequest */ export type SetDmGdmSettingsRequest = Message<"river.SetDmGdmSettingsRequest"> & { /** * dm_global is the default setting that is applied to all DM channels and can be overwritten by channel specific * settings * * @generated from field: river.DmChannelSettingValue dm_global = 1; */ dmGlobal: DmChannelSettingValue; /** * gdm_global is the default setting that is applied to all GDM channels and can be overwritten by channel specific * settings * * @generated from field: river.GdmChannelSettingValue gdm_global = 2; */ gdmGlobal: GdmChannelSettingValue; }; /** * Describes the message river.SetDmGdmSettingsRequest. * Use `create(SetDmGdmSettingsRequestSchema)` to create a new message. */ export declare const SetDmGdmSettingsRequestSchema: GenMessage; /** * @generated from message river.SetDmGdmSettingsResponse */ export type SetDmGdmSettingsResponse = Message<"river.SetDmGdmSettingsResponse"> & {}; /** * Describes the message river.SetDmGdmSettingsResponse. * Use `create(SetDmGdmSettingsResponseSchema)` to create a new message. */ export declare const SetDmGdmSettingsResponseSchema: GenMessage; /** * @generated from message river.SetDmChannelSettingRequest */ export type SetDmChannelSettingRequest = Message<"river.SetDmChannelSettingRequest"> & { /** * dm channel id * * @generated from field: bytes dm_channel_id = 1; */ dmChannelId: Uint8Array; /** * dm setting * * @generated from field: river.DmChannelSettingValue value = 2; */ value: DmChannelSettingValue; }; /** * Describes the message river.SetDmChannelSettingRequest. * Use `create(SetDmChannelSettingRequestSchema)` to create a new message. */ export declare const SetDmChannelSettingRequestSchema: GenMessage; /** * @generated from message river.SetDmChannelSettingResponse */ export type SetDmChannelSettingResponse = Message<"river.SetDmChannelSettingResponse"> & {}; /** * Describes the message river.SetDmChannelSettingResponse. * Use `create(SetDmChannelSettingResponseSchema)` to create a new message. */ export declare const SetDmChannelSettingResponseSchema: GenMessage; /** * @generated from message river.SetGdmChannelSettingRequest */ export type SetGdmChannelSettingRequest = Message<"river.SetGdmChannelSettingRequest"> & { /** * gdm channel id * * @generated from field: bytes gdm_channel_id = 1; */ gdmChannelId: Uint8Array; /** * dm setting * * @generated from field: river.GdmChannelSettingValue value = 2; */ value: GdmChannelSettingValue; }; /** * Describes the message river.SetGdmChannelSettingRequest. * Use `create(SetGdmChannelSettingRequestSchema)` to create a new message. */ export declare const SetGdmChannelSettingRequestSchema: GenMessage; /** * @generated from message river.SetGdmChannelSettingResponse */ export type SetGdmChannelSettingResponse = Message<"river.SetGdmChannelSettingResponse"> & {}; /** * Describes the message river.SetGdmChannelSettingResponse. * Use `create(SetGdmChannelSettingResponseSchema)` to create a new message. */ export declare const SetGdmChannelSettingResponseSchema: GenMessage; /** * @generated from message river.SetSpaceSettingsRequest */ export type SetSpaceSettingsRequest = Message<"river.SetSpaceSettingsRequest"> & { /** * space channel id * * @generated from field: bytes space_id = 1; */ spaceId: Uint8Array; /** * value are applied to all channels within the space. * * @generated from field: river.SpaceChannelSettingValue value = 2; */ value: SpaceChannelSettingValue; }; /** * Describes the message river.SetSpaceSettingsRequest. * Use `create(SetSpaceSettingsRequestSchema)` to create a new message. */ export declare const SetSpaceSettingsRequestSchema: GenMessage; /** * @generated from message river.SetSpaceSettingsResponse */ export type SetSpaceSettingsResponse = Message<"river.SetSpaceSettingsResponse"> & {}; /** * Describes the message river.SetSpaceSettingsResponse. * Use `create(SetSpaceSettingsResponseSchema)` to create a new message. */ export declare const SetSpaceSettingsResponseSchema: GenMessage; /** * @generated from message river.SetSpaceChannelSettingsRequest */ export type SetSpaceChannelSettingsRequest = Message<"river.SetSpaceChannelSettingsRequest"> & { /** * channel_id points to the channel for which this setting applies. * * @generated from field: bytes channel_id = 1; */ channelId: Uint8Array; /** * space_id this channel is part of * * @generated from field: bytes space_id = 2; */ spaceId: Uint8Array; /** * value indicates the user overwritten value or a channel default must be used. * * @generated from field: river.SpaceChannelSettingValue value = 3; */ value: SpaceChannelSettingValue; }; /** * Describes the message river.SetSpaceChannelSettingsRequest. * Use `create(SetSpaceChannelSettingsRequestSchema)` to create a new message. */ export declare const SetSpaceChannelSettingsRequestSchema: GenMessage; /** * @generated from message river.SetSpaceChannelSettingsResponse */ export type SetSpaceChannelSettingsResponse = Message<"river.SetSpaceChannelSettingsResponse"> & {}; /** * Describes the message river.SetSpaceChannelSettingsResponse. * Use `create(SetSpaceChannelSettingsResponseSchema)` to create a new message. */ export declare const SetSpaceChannelSettingsResponseSchema: GenMessage; /** * @generated from message river.WebPushSubscriptionObjectKeys */ export type WebPushSubscriptionObjectKeys = Message<"river.WebPushSubscriptionObjectKeys"> & { /** * An Elliptic curve Diffie–Hellman public key on the P-256 curve (that is, the NIST * secp256r1 elliptic curve) and obtained from the browser when subscribing. * * @generated from field: string p256dh = 1; */ p256dh: string; /** * An authentication secret and obtained from the browser when subscribing. * * @generated from field: string auth = 2; */ auth: string; }; /** * Describes the message river.WebPushSubscriptionObjectKeys. * Use `create(WebPushSubscriptionObjectKeysSchema)` to create a new message. */ export declare const WebPushSubscriptionObjectKeysSchema: GenMessage; /** * @generated from message river.WebPushSubscriptionObject */ export type WebPushSubscriptionObject = Message<"river.WebPushSubscriptionObject"> & { /** * A string containing the endpoint associated with the push subscription. * * @generated from field: string endpoint = 1; */ endpoint: string; /** * keys obtained from the browser when subscribing for notifications. The notifications * service uses these details to protect the notifications content. * * @generated from field: river.WebPushSubscriptionObjectKeys keys = 2; */ keys?: WebPushSubscriptionObjectKeys; }; /** * Describes the message river.WebPushSubscriptionObject. * Use `create(WebPushSubscriptionObjectSchema)` to create a new message. */ export declare const WebPushSubscriptionObjectSchema: GenMessage; /** * @generated from message river.SubscribeWebPushRequest */ export type SubscribeWebPushRequest = Message<"river.SubscribeWebPushRequest"> & { /** * subscription holds the subscribe data that is returned by the browser when subscribing * * @generated from field: river.WebPushSubscriptionObject subscription = 1; */ subscription?: WebPushSubscriptionObject; /** * app identifies which app is making the subscription request * * @generated from field: string app = 2; */ app: string; }; /** * Describes the message river.SubscribeWebPushRequest. * Use `create(SubscribeWebPushRequestSchema)` to create a new message. */ export declare const SubscribeWebPushRequestSchema: GenMessage; /** * @generated from message river.SubscribeWebPushResponse */ export type SubscribeWebPushResponse = Message<"river.SubscribeWebPushResponse"> & {}; /** * Describes the message river.SubscribeWebPushResponse. * Use `create(SubscribeWebPushResponseSchema)` to create a new message. */ export declare const SubscribeWebPushResponseSchema: GenMessage; /** * @generated from message river.UnsubscribeWebPushRequest */ export type UnsubscribeWebPushRequest = Message<"river.UnsubscribeWebPushRequest"> & { /** * subscription holds the subscribe data that is returned by the browser when subscribing * * @generated from field: river.WebPushSubscriptionObject subscription = 1; */ subscription?: WebPushSubscriptionObject; }; /** * Describes the message river.UnsubscribeWebPushRequest. * Use `create(UnsubscribeWebPushRequestSchema)` to create a new message. */ export declare const UnsubscribeWebPushRequestSchema: GenMessage; /** * @generated from message river.UnsubscribeWebPushResponse */ export type UnsubscribeWebPushResponse = Message<"river.UnsubscribeWebPushResponse"> & {}; /** * Describes the message river.UnsubscribeWebPushResponse. * Use `create(UnsubscribeWebPushResponseSchema)` to create a new message. */ export declare const UnsubscribeWebPushResponseSchema: GenMessage; /** * @generated from message river.SubscribeAPNRequest */ export type SubscribeAPNRequest = Message<"river.SubscribeAPNRequest"> & { /** * APN device token * * @generated from field: bytes device_token = 1; */ deviceToken: Uint8Array; /** * environment indicates what type of environment the subscription is target. * * @generated from field: river.APNEnvironment environment = 2; */ environment: APNEnvironment; /** * Requested push notification version (default=NOTIFICATION_PUSH_VERSION_1) * * @generated from field: river.NotificationPushVersion push_version = 3; */ pushVersion: NotificationPushVersion; /** * app identifies which app is making the subscription request * * @generated from field: string app = 4; */ app: string; }; /** * Describes the message river.SubscribeAPNRequest. * Use `create(SubscribeAPNRequestSchema)` to create a new message. */ export declare const SubscribeAPNRequestSchema: GenMessage; /** * @generated from message river.APNSubscription */ export type APNSubscription = Message<"river.APNSubscription"> & { /** * APN device token * * @generated from field: bytes device_token = 1; */ deviceToken: Uint8Array; /** * environment indicates what type of environment the subscription is target. * * @generated from field: river.APNEnvironment environment = 2; */ environment: APNEnvironment; }; /** * Describes the message river.APNSubscription. * Use `create(APNSubscriptionSchema)` to create a new message. */ export declare const APNSubscriptionSchema: GenMessage; /** * @generated from message river.SubscribeAPNResponse */ export type SubscribeAPNResponse = Message<"river.SubscribeAPNResponse"> & {}; /** * Describes the message river.SubscribeAPNResponse. * Use `create(SubscribeAPNResponseSchema)` to create a new message. */ export declare const SubscribeAPNResponseSchema: GenMessage; /** * @generated from message river.UnsubscribeAPNRequest */ export type UnsubscribeAPNRequest = Message<"river.UnsubscribeAPNRequest"> & { /** * APN device token * * @generated from field: bytes device_token = 1; */ deviceToken: Uint8Array; }; /** * Describes the message river.UnsubscribeAPNRequest. * Use `create(UnsubscribeAPNRequestSchema)` to create a new message. */ export declare const UnsubscribeAPNRequestSchema: GenMessage; /** * @generated from message river.UnsubscribeAPNResponse */ export type UnsubscribeAPNResponse = Message<"river.UnsubscribeAPNResponse"> & {}; /** * Describes the message river.UnsubscribeAPNResponse. * Use `create(UnsubscribeAPNResponseSchema)` to create a new message. */ export declare const UnsubscribeAPNResponseSchema: GenMessage; /** * DmChannelSettingValue specifies if the user wants to receive notifications for DM streams. * This can be overwritten with DM channel specific configuration. * * @generated from enum river.DmChannelSettingValue */ export declare enum DmChannelSettingValue { /** * DM_UNSPECIFIED not set, assumes DM_MESSAGES_YES as a default. * * @generated from enum value: DM_UNSPECIFIED = 0; */ DM_UNSPECIFIED = 0, /** * DM_MESSAGES_YES indicates that the user wants to receive notifications for DM channels. * * @generated from enum value: DM_MESSAGES_YES = 1; */ DM_MESSAGES_YES = 1, /** * DM_MESSAGES_NO indicates that the user doesn't want to receive notifications for DM channels. * * @generated from enum value: DM_MESSAGES_NO = 2; */ DM_MESSAGES_NO = 2, /** * DM_MESSAGES_NO_AND_MUTE indicates that the user doesn't want to receive notifications for DM channels * and the UI should not render any feedback that a message was received. * * @generated from enum value: DM_MESSAGES_NO_AND_MUTE = 3; */ DM_MESSAGES_NO_AND_MUTE = 3 } /** * Describes the enum river.DmChannelSettingValue. */ export declare const DmChannelSettingValueSchema: GenEnum; /** * GdmChannelSettingValue is a default setting that is applied to all GDM streams a user is in and can be * overwritten by GDM channel specific settings. * * @generated from enum river.GdmChannelSettingValue */ export declare enum GdmChannelSettingValue { /** * GDM_UNSPECIFIED not set, assumes GDM_MESSAGES_ALL as a default. * * @generated from enum value: GDM_UNSPECIFIED = 0; */ GDM_UNSPECIFIED = 0, /** * GDM_MESSAGES_NO indicates that the user will not receive notifications for GDM channels. * * @generated from enum value: GDM_MESSAGES_NO = 1; */ GDM_MESSAGES_NO = 1, /** * GDM_MESSAGES_NO_AND_MUTE indicates that the user doesn't want to receive notifications for GDM channels * and the UI should not render any feedback that a message was received. * * @generated from enum value: GDM_MESSAGES_NO_AND_MUTE = 2; */ GDM_MESSAGES_NO_AND_MUTE = 2, /** * GDM_ONLY_MENTIONS_REPLIES_REACTIONS indicates that the user receives notifications for messages added to * GDM channels that are either a direct reply or a reaction to his own messages. * * @generated from enum value: GDM_ONLY_MENTIONS_REPLIES_REACTIONS = 3; */ GDM_ONLY_MENTIONS_REPLIES_REACTIONS = 3, /** * GDM_MESSAGES_ALL indicates that the user receives notifications for all messages in GDM channels. * This is the default. * * @generated from enum value: GDM_MESSAGES_ALL = 4; */ GDM_MESSAGES_ALL = 4 } /** * Describes the enum river.GdmChannelSettingValue. */ export declare const GdmChannelSettingValueSchema: GenEnum; /** * SpaceSettingValue is a user specified setting that is applied to all channels in a space by default and can be * overwritten with channel specific settings. * * @generated from enum river.SpaceChannelSettingValue */ export declare enum SpaceChannelSettingValue { /** * SPACE_CHANNEL_SETTING_UNSPECIFIED not set, assumes SPACE_SETTING_ONLY_MENTIONS_REPLIES_REACTIONS as default. * * @generated from enum value: SPACE_CHANNEL_SETTING_UNSPECIFIED = 0; */ SPACE_CHANNEL_SETTING_UNSPECIFIED = 0, /** * SPACE_CHANNEL_SETTING_NO_MESSAGES indicates that the user won't receive notifications of any channel in the space. * * @generated from enum value: SPACE_CHANNEL_SETTING_NO_MESSAGES = 1; */ SPACE_CHANNEL_SETTING_NO_MESSAGES = 1, /** * SPACE_CHANNEL_SETTING_NO_MESSAGES_AND_MUTE indicates that the user won't receive notifications of any channel in * the space and the UI must not render any feedback that a message was received. * * @generated from enum value: SPACE_CHANNEL_SETTING_NO_MESSAGES_AND_MUTE = 2; */ SPACE_CHANNEL_SETTING_NO_MESSAGES_AND_MUTE = 2, /** * SPACE_CHANNEL_SETTING_ONLY_MENTIONS_REPLIES_REACTIONS indicates that the user will receive notifications for * messages that either the user is mentioned in or are a direct reply/reaction to his own message. This is the * default. * * @generated from enum value: SPACE_CHANNEL_SETTING_ONLY_MENTIONS_REPLIES_REACTIONS = 3; */ SPACE_CHANNEL_SETTING_ONLY_MENTIONS_REPLIES_REACTIONS = 3, /** * SPACE_CHANNEL_SETTING_MESSAGES_ALL indicates that the user will receive notifications for all types of * messages/reactions for all channels in the space. * * @generated from enum value: SPACE_CHANNEL_SETTING_MESSAGES_ALL = 4; */ SPACE_CHANNEL_SETTING_MESSAGES_ALL = 4 } /** * Describes the enum river.SpaceChannelSettingValue. */ export declare const SpaceChannelSettingValueSchema: GenEnum; /** * @generated from enum river.APNEnvironment */ export declare enum APNEnvironment { /** * APN_ENVIRONMENT_UNSPECIFIED is invalid. * * @generated from enum value: APN_ENVIRONMENT_UNSPECIFIED = 0; */ APN_ENVIRONMENT_UNSPECIFIED = 0, /** * APN_ENVIRONMENT_PRODUCTION uses Apple's APN service to deliver notifications. * * @generated from enum value: APN_ENVIRONMENT_PRODUCTION = 1; */ APN_ENVIRONMENT_PRODUCTION = 1, /** * APN_ENVIRONMENT_SANDBOX uses Apple's sandbox environment to send notifications. * Only used for development purposes. * * @generated from enum value: APN_ENVIRONMENT_SANDBOX = 2; */ APN_ENVIRONMENT_SANDBOX = 2 } /** * Describes the enum river.APNEnvironment. */ export declare const APNEnvironmentSchema: GenEnum; /** * NotificationPushVersion specifies the notification format version. * * @generated from enum river.NotificationPushVersion */ export declare enum NotificationPushVersion { /** * @generated from enum value: NOTIFICATION_PUSH_VERSION_UNSPECIFIED = 0; */ NOTIFICATION_PUSH_VERSION_UNSPECIFIED = 0, /** * @generated from enum value: NOTIFICATION_PUSH_VERSION_1 = 1; */ NOTIFICATION_PUSH_VERSION_1 = 1, /** * @generated from enum value: NOTIFICATION_PUSH_VERSION_2 = 2; */ NOTIFICATION_PUSH_VERSION_2 = 2 } /** * Describes the enum river.NotificationPushVersion. */ export declare const NotificationPushVersionSchema: GenEnum; /** * NotificationService allows user to set notification related preferences for messages added to channels within a * space, DM and GDM channels. * * These functions are all authenticated and require a session token to be passed through the authorization metadata. * This session token can be obtained from the AuthenticationService. If the session token is missing or invalid an * Err_UNAUTHENTICATED (code=16) is returned. * * @generated from service river.NotificationService */ export declare const NotificationService: GenService<{ /** * GetSettings returns user stored notification settings. * * @generated from rpc river.NotificationService.GetSettings */ getSettings: { methodKind: "unary"; input: typeof GetSettingsRequestSchema; output: typeof GetSettingsResponseSchema; }; /** * SetSettings sets the notification settings, overwriting all existing settings. * * @generated from rpc river.NotificationService.SetSettings */ setSettings: { methodKind: "unary"; input: typeof SetSettingsRequestSchema; output: typeof SetSettingsResponseSchema; }; /** * SetDmGdmSettings updates global settings for DM/GDM channels. * * @generated from rpc river.NotificationService.SetDmGdmSettings */ setDmGdmSettings: { methodKind: "unary"; input: typeof SetDmGdmSettingsRequestSchema; output: typeof SetDmGdmSettingsResponseSchema; }; /** * SetDmChannelSetting updates settings for a DM channel * * @generated from rpc river.NotificationService.SetDmChannelSetting */ setDmChannelSetting: { methodKind: "unary"; input: typeof SetDmChannelSettingRequestSchema; output: typeof SetDmChannelSettingResponseSchema; }; /** * SetGdmChannelSetting updates settings for a GDM channel * * @generated from rpc river.NotificationService.SetGdmChannelSetting */ setGdmChannelSetting: { methodKind: "unary"; input: typeof SetGdmChannelSettingRequestSchema; output: typeof SetGdmChannelSettingResponseSchema; }; /** * SetSpaceSettings updates space setting that are applied to all channels within that stream. * * @generated from rpc river.NotificationService.SetSpaceSettings */ setSpaceSettings: { methodKind: "unary"; input: typeof SetSpaceSettingsRequestSchema; output: typeof SetSpaceSettingsResponseSchema; }; /** * SetSpaceChannelSettings updates settings for a channel that is part of a space. * * @generated from rpc river.NotificationService.SetSpaceChannelSettings */ setSpaceChannelSettings: { methodKind: "unary"; input: typeof SetSpaceChannelSettingsRequestSchema; output: typeof SetSpaceChannelSettingsResponseSchema; }; /** * SubscribeWebPush subscribes a client to receive notifications through web push. * If the given req.subscription is already associated with a web push subscription the user id is updated (upsert). * * @generated from rpc river.NotificationService.SubscribeWebPush */ subscribeWebPush: { methodKind: "unary"; input: typeof SubscribeWebPushRequestSchema; output: typeof SubscribeWebPushResponseSchema; }; /** * UnsubscribeWebPush deletes web push subscription. * * @generated from rpc river.NotificationService.UnsubscribeWebPush */ unsubscribeWebPush: { methodKind: "unary"; input: typeof UnsubscribeWebPushRequestSchema; output: typeof UnsubscribeWebPushResponseSchema; }; /** * SubscribeAPN subscribes a device to receive Apple Push Notifications. * If the given device token is already associated with an APN subscription the user id is updated (upsert). * * @generated from rpc river.NotificationService.SubscribeAPN */ subscribeAPN: { methodKind: "unary"; input: typeof SubscribeAPNRequestSchema; output: typeof SubscribeAPNResponseSchema; }; /** * UnsubscribeAPN unsubscribes a device from receiving Apple Push Notifications. * * @generated from rpc river.NotificationService.UnsubscribeAPN */ unsubscribeAPN: { methodKind: "unary"; input: typeof UnsubscribeAPNRequestSchema; output: typeof UnsubscribeAPNResponseSchema; }; }>; //# sourceMappingURL=notifications_pb.d.ts.map