/* 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 SubscriptionResponse { /** * The value describing the use case of this subscription. */ consumer_group?: string; /** * Timestamp of creation of the subscription. */ created_at?: string; /** * EventTypes to subscribe to */ event_types?: Set; /** * The Id of subscription that was created. */ id?: string; /** * The id of application owning the subscription. */ owning_application?: string; /** * Position to start reading events from. */ read_from?: SubscriptionResponseReadFromEnum; /** * Timestamp of last update of the subscription. */ updated_at?: string; } export const SubscriptionResponseReadFromEnum = { Begin: 'BEGIN', End: 'END', } as const; export type SubscriptionResponseReadFromEnum = (typeof SubscriptionResponseReadFromEnum)[keyof typeof SubscriptionResponseReadFromEnum];