// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,import_extension=ts" // @generated from file openstatus/maintenance/v1/maintenance.proto (package openstatus.maintenance.v1, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file openstatus/maintenance/v1/maintenance.proto. */ export const file_openstatus_maintenance_v1_maintenance: GenFile = /*@__PURE__*/ fileDesc( "CitvcGVuc3RhdHVzL21haW50ZW5hbmNlL3YxL21haW50ZW5hbmNlLnByb3RvEhlvcGVuc3RhdHVzLm1haW50ZW5hbmNlLnYxIq8BChJNYWludGVuYW5jZVN1bW1hcnkSCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIMCgRmcm9tGAQgASgJEgoKAnRvGAUgASgJEg8KB3BhZ2VfaWQYBiABKAkSGgoScGFnZV9jb21wb25lbnRfaWRzGAcgAygJEhIKCmNyZWF0ZWRfYXQYCCABKAkSEgoKdXBkYXRlZF9hdBgJIAEoCSKoAQoLTWFpbnRlbmFuY2USCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSDwoHbWVzc2FnZRgDIAEoCRIMCgRmcm9tGAQgASgJEgoKAnRvGAUgASgJEg8KB3BhZ2VfaWQYBiABKAkSGgoScGFnZV9jb21wb25lbnRfaWRzGAcgAygJEhIKCmNyZWF0ZWRfYXQYCCABKAkSEgoKdXBkYXRlZF9hdBgJIAEoCUJbWllnaXRodWIuY29tL29wZW5zdGF0dXNocS9vcGVuc3RhdHVzL3BhY2thZ2VzL3Byb3RvL29wZW5zdGF0dXMvbWFpbnRlbmFuY2UvdjE7bWFpbnRlbmFuY2V2MWIGcHJvdG8z", ); /** * MaintenanceSummary represents metadata for a maintenance window (used in list responses). * * @generated from message openstatus.maintenance.v1.MaintenanceSummary */ export type MaintenanceSummary = & Message<"openstatus.maintenance.v1.MaintenanceSummary"> & { /** * Unique identifier for the maintenance. * * @generated from field: string id = 1; */ id: string; /** * Title of the maintenance. * * @generated from field: string title = 2; */ title: string; /** * Message describing the maintenance. * * @generated from field: string message = 3; */ message: string; /** * Start time of the maintenance window (RFC 3339 format). * * @generated from field: string from = 4; */ from: string; /** * End time of the maintenance window (RFC 3339 format). * * @generated from field: string to = 5; */ to: string; /** * ID of the page this maintenance is associated with. * * @generated from field: string page_id = 6; */ pageId: string; /** * IDs of affected page components. * * @generated from field: repeated string page_component_ids = 7; */ pageComponentIds: string[]; /** * Timestamp when the maintenance was created (RFC 3339 format). * * @generated from field: string created_at = 8; */ createdAt: string; /** * Timestamp when the maintenance was last updated (RFC 3339 format). * * @generated from field: string updated_at = 9; */ updatedAt: string; }; /** * Describes the message openstatus.maintenance.v1.MaintenanceSummary. * Use `create(MaintenanceSummarySchema)` to create a new message. */ export const MaintenanceSummarySchema: GenMessage< MaintenanceSummary > = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_maintenance, 0); /** * Maintenance represents a maintenance window with full details. * * @generated from message openstatus.maintenance.v1.Maintenance */ export type Maintenance = Message<"openstatus.maintenance.v1.Maintenance"> & { /** * Unique identifier for the maintenance. * * @generated from field: string id = 1; */ id: string; /** * Title of the maintenance. * * @generated from field: string title = 2; */ title: string; /** * Message describing the maintenance. * * @generated from field: string message = 3; */ message: string; /** * Start time of the maintenance window (RFC 3339 format). * * @generated from field: string from = 4; */ from: string; /** * End time of the maintenance window (RFC 3339 format). * * @generated from field: string to = 5; */ to: string; /** * ID of the page this maintenance is associated with. * * @generated from field: string page_id = 6; */ pageId: string; /** * IDs of affected page components. * * @generated from field: repeated string page_component_ids = 7; */ pageComponentIds: string[]; /** * Timestamp when the maintenance was created (RFC 3339 format). * * @generated from field: string created_at = 8; */ createdAt: string; /** * Timestamp when the maintenance was last updated (RFC 3339 format). * * @generated from field: string updated_at = 9; */ updatedAt: string; }; /** * Describes the message openstatus.maintenance.v1.Maintenance. * Use `create(MaintenanceSchema)` to create a new message. */ export const MaintenanceSchema: GenMessage = /*@__PURE__*/ messageDesc(file_openstatus_maintenance_v1_maintenance, 1);