/* tslint:disable */ /* eslint-disable */ /** * subscriptions * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Represents a streaming events subscription */ export interface SubscriptionRequest { /** * The value describing the use case of this subscription. */ consumer_group?: string; /** * EventTypes to subscribe to */ event_types: Set; /** * The id of application owning the subscription. */ owning_application: string; /** * Position to start reading events from. */ read_from: SubscriptionRequestReadFromEnum; } export const SubscriptionRequestReadFromEnum = { Begin: 'BEGIN', End: 'END', } as const; export type SubscriptionRequestReadFromEnum = (typeof SubscriptionRequestReadFromEnum)[keyof typeof SubscriptionRequestReadFromEnum];