// @generated by protoc-gen-es v1.10.0 // @generated from file cloud/v1/githooks.proto (package cloud.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * EventLogTimeseriesInterval controls the bucket width for timeseries queries. * * @generated from enum cloud.v1.EventLogTimeseriesInterval */ export declare enum EventLogTimeseriesInterval { /** * @generated from enum value: EVENT_LOG_TIMESERIES_INTERVAL_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * Bucket events by hour. * * @generated from enum value: EVENT_LOG_TIMESERIES_INTERVAL_HOUR = 1; */ HOUR = 1, /** * Bucket events by calendar day. * * @generated from enum value: EVENT_LOG_TIMESERIES_INTERVAL_DAY = 2; */ DAY = 2, /** * Bucket events by calendar week. * * @generated from enum value: EVENT_LOG_TIMESERIES_INTERVAL_WEEK = 3; */ WEEK = 3, } /** * EventLogBreakdownGroup selects the dimension to group by in breakdown queries. * * @generated from enum cloud.v1.EventLogBreakdownGroup */ export declare enum EventLogBreakdownGroup { /** * @generated from enum value: EVENT_LOG_BREAKDOWN_GROUP_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * Group by SCM provider name. * * @generated from enum value: EVENT_LOG_BREAKDOWN_GROUP_PROVIDER = 1; */ PROVIDER = 1, /** * Group by event type name. * * @generated from enum value: EVENT_LOG_BREAKDOWN_GROUP_EVENT = 2; */ EVENT = 2, /** * Group by rule ID. * * @generated from enum value: EVENT_LOG_BREAKDOWN_GROUP_RULE_ID = 3; */ RULE_ID = 3, /** * Group by rule when expression. * * @generated from enum value: EVENT_LOG_BREAKDOWN_GROUP_RULE_WHEN = 4; */ RULE_WHEN = 4, /** * Group by broker topic. * * @generated from enum value: EVENT_LOG_BREAKDOWN_GROUP_TOPIC = 5; */ TOPIC = 5, /** * Group by namespace (repo) ID. * * @generated from enum value: EVENT_LOG_BREAKDOWN_GROUP_NAMESPACE_ID = 6; */ NAMESPACE_ID = 6, /** * Group by namespace (repo) full name. * * @generated from enum value: EVENT_LOG_BREAKDOWN_GROUP_NAMESPACE_NAME = 7; */ NAMESPACE_NAME = 7, /** * Group by installation ID. * * @generated from enum value: EVENT_LOG_BREAKDOWN_GROUP_INSTALLATION_ID = 8; */ INSTALLATION_ID = 8, } /** * EventLogBreakdownSort controls the sort order of breakdown results. * * @generated from enum cloud.v1.EventLogBreakdownSort */ export declare enum EventLogBreakdownSort { /** * @generated from enum value: EVENT_LOG_BREAKDOWN_SORT_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * Sort by total event count. * * @generated from enum value: EVENT_LOG_BREAKDOWN_SORT_COUNT = 1; */ COUNT = 1, /** * Sort by matched event count. * * @generated from enum value: EVENT_LOG_BREAKDOWN_SORT_MATCHED = 2; */ MATCHED = 2, /** * Sort by failed event count. * * @generated from enum value: EVENT_LOG_BREAKDOWN_SORT_FAILED = 3; */ FAILED = 3, } /** * InstallRecord holds the OAuth credentials and metadata for a single SCM app * installation. Credentials (access_token, refresh_token) are stored encrypted * at rest and never returned to workers directly; use SCMService.GetSCMClient. * * @generated from message cloud.v1.InstallRecord */ export declare class InstallRecord extends Message { /** * SCM provider name, e.g. "github", "gitlab", "bitbucket". Required. * * @generated from field: string provider = 1; */ provider: string; /** * Provider-assigned account or organization ID. Required. * * @generated from field: string account_id = 2; */ accountId: string; /** * Human-readable account or organization name. * * @generated from field: string account_name = 3; */ accountName: string; /** * Provider-assigned installation ID (e.g. GitHub App installation ID). Required. * * @generated from field: string installation_id = 4; */ installationId: string; /** * OAuth access token. Stored server-side; not returned to workers. * * @generated from field: string access_token = 5; */ accessToken: string; /** * OAuth refresh token used to renew access_token when it expires. * * @generated from field: string refresh_token = 6; */ refreshToken: string; /** * When the access_token expires. Server refreshes automatically before this. * * @generated from field: google.protobuf.Timestamp expires_at = 7; */ expiresAt?: Timestamp; /** * Arbitrary provider-specific metadata serialized as JSON. * * @generated from field: string metadata_json = 8; */ metadataJson: string; /** * When this record was first created. * * @generated from field: google.protobuf.Timestamp created_at = 9; */ createdAt?: Timestamp; /** * When this record was last updated. * * @generated from field: google.protobuf.Timestamp updated_at = 10; */ updatedAt?: Timestamp; /** * Identifies which provider instance config (ProviderRecord) this installation * belongs to. Matches ProviderRecord.hash for multi-instance setups. * * @generated from field: string provider_instance_key = 11; */ providerInstanceKey: string; /** * GitHub Enterprise: numeric enterprise ID. Empty for github.com installs. * * @generated from field: string enterprise_id = 12; */ enterpriseId: string; /** * GitHub Enterprise: URL slug for the enterprise. * * @generated from field: string enterprise_slug = 13; */ enterpriseSlug: string; /** * GitHub Enterprise: display name for the enterprise. * * @generated from field: string enterprise_name = 14; */ enterpriseName: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.InstallRecord"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): InstallRecord; static fromJson(jsonValue: JsonValue, options?: Partial): InstallRecord; static fromJsonString(jsonString: string, options?: Partial): InstallRecord; static equals(a: InstallRecord | PlainMessage | undefined, b: InstallRecord | PlainMessage | undefined): boolean; } /** * NamespaceRecord represents a single repository discovered via an installation. * Records are populated by SyncNamespaces and updated when webhooks arrive. * * @generated from message cloud.v1.NamespaceRecord */ export declare class NamespaceRecord extends Message { /** * SCM provider name, e.g. "github", "gitlab", "bitbucket". Required. * * @generated from field: string provider = 1; */ provider: string; /** * Provider-assigned repository ID (stable across renames). * * @generated from field: string repo_id = 2; */ repoId: string; /** * Provider-assigned account or organization ID that owns this repo. * * @generated from field: string account_id = 3; */ accountId: string; /** * Installation ID that granted access to this repo. * * @generated from field: string installation_id = 4; */ installationId: string; /** * Repository owner login (user or org name). * * @generated from field: string owner = 5; */ owner: string; /** * Repository name without the owner prefix. * * @generated from field: string repo_name = 6; */ repoName: string; /** * Full repository name in "owner/repo" format. * * @generated from field: string full_name = 7; */ fullName: string; /** * Repository visibility: "public" or "private". * * @generated from field: string visibility = 8; */ visibility: string; /** * Default branch name, e.g. "main" or "master". * * @generated from field: string default_branch = 9; */ defaultBranch: string; /** * HTTPS clone URL for the repository. * * @generated from field: string http_url = 10; */ httpUrl: string; /** * SSH clone URL for the repository. * * @generated from field: string ssh_url = 11; */ sshUrl: string; /** * Whether the githook webhook is currently registered on this repo. * * @generated from field: bool webhooks_enabled = 12; */ webhooksEnabled: boolean; /** * When this namespace record was first created. * * @generated from field: google.protobuf.Timestamp created_at = 13; */ createdAt?: Timestamp; /** * When this namespace record was last updated. * * @generated from field: google.protobuf.Timestamp updated_at = 14; */ updatedAt?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.NamespaceRecord"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): NamespaceRecord; static fromJson(jsonValue: JsonValue, options?: Partial): NamespaceRecord; static fromJsonString(jsonString: string, options?: Partial): NamespaceRecord; static equals(a: NamespaceRecord | PlainMessage | undefined, b: NamespaceRecord | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ListInstallationsRequest */ export declare class ListInstallationsRequest extends Message { /** * Optional account filter. When omitted, all accounts for the provider are returned. * * @generated from field: string state_id = 1; */ stateId: string; /** * Optional provider filter, e.g. "github". When omitted, all providers are returned. * * @generated from field: string provider = 2; */ provider: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListInstallationsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListInstallationsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListInstallationsRequest; static fromJsonString(jsonString: string, options?: Partial): ListInstallationsRequest; static equals(a: ListInstallationsRequest | PlainMessage | undefined, b: ListInstallationsRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ListInstallationsResponse */ export declare class ListInstallationsResponse extends Message { /** * All installation records matching the request filters. * * @generated from field: repeated cloud.v1.InstallRecord installations = 1; */ installations: InstallRecord[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListInstallationsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListInstallationsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListInstallationsResponse; static fromJsonString(jsonString: string, options?: Partial): ListInstallationsResponse; static equals(a: ListInstallationsResponse | PlainMessage | undefined, b: ListInstallationsResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetInstallationByIDRequest */ export declare class GetInstallationByIDRequest extends Message { /** * SCM provider name. Required. * * @generated from field: string provider = 1; */ provider: string; /** * Provider-assigned installation ID. Required. * * @generated from field: string installation_id = 2; */ installationId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetInstallationByIDRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetInstallationByIDRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetInstallationByIDRequest; static fromJsonString(jsonString: string, options?: Partial): GetInstallationByIDRequest; static equals(a: GetInstallationByIDRequest | PlainMessage | undefined, b: GetInstallationByIDRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetInstallationByIDResponse */ export declare class GetInstallationByIDResponse extends Message { /** * The matching installation record, or empty if not found. * * @generated from field: cloud.v1.InstallRecord installation = 1; */ installation?: InstallRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetInstallationByIDResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetInstallationByIDResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetInstallationByIDResponse; static fromJsonString(jsonString: string, options?: Partial): GetInstallationByIDResponse; static equals(a: GetInstallationByIDResponse | PlainMessage | undefined, b: GetInstallationByIDResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.UpsertInstallationRequest */ export declare class UpsertInstallationRequest extends Message { /** * Full installation record to create or update. Required. * The (provider, account_id, installation_id) triple is the natural key. * * @generated from field: cloud.v1.InstallRecord installation = 1; */ installation?: InstallRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.UpsertInstallationRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpsertInstallationRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpsertInstallationRequest; static fromJsonString(jsonString: string, options?: Partial): UpsertInstallationRequest; static equals(a: UpsertInstallationRequest | PlainMessage | undefined, b: UpsertInstallationRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.UpsertInstallationResponse */ export declare class UpsertInstallationResponse extends Message { /** * The persisted installation record with server-set timestamps. * * @generated from field: cloud.v1.InstallRecord installation = 1; */ installation?: InstallRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.UpsertInstallationResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpsertInstallationResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UpsertInstallationResponse; static fromJsonString(jsonString: string, options?: Partial): UpsertInstallationResponse; static equals(a: UpsertInstallationResponse | PlainMessage | undefined, b: UpsertInstallationResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.DeleteInstallationRequest */ export declare class DeleteInstallationRequest extends Message { /** * SCM provider name. Required. * * @generated from field: string provider = 1; */ provider: string; /** * Provider-assigned account ID. Required. * * @generated from field: string account_id = 2; */ accountId: string; /** * Provider-assigned installation ID. Required. * * @generated from field: string installation_id = 3; */ installationId: string; /** * Optional provider instance key to disambiguate multi-instance setups. * * @generated from field: string provider_instance_key = 4; */ providerInstanceKey: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.DeleteInstallationRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteInstallationRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteInstallationRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteInstallationRequest; static equals(a: DeleteInstallationRequest | PlainMessage | undefined, b: DeleteInstallationRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.DeleteInstallationResponse */ export declare class DeleteInstallationResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.DeleteInstallationResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteInstallationResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteInstallationResponse; static fromJsonString(jsonString: string, options?: Partial): DeleteInstallationResponse; static equals(a: DeleteInstallationResponse | PlainMessage | undefined, b: DeleteInstallationResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ListNamespacesRequest */ export declare class ListNamespacesRequest extends Message { /** * Optional account filter. When omitted, all accounts for the provider are returned. * * @generated from field: string state_id = 1; */ stateId: string; /** * Optional provider filter, e.g. "github". * * @generated from field: string provider = 2; */ provider: string; /** * Optional owner (user or org login) filter. * * @generated from field: string owner = 3; */ owner: string; /** * Optional repository name filter (without owner prefix). * * @generated from field: string repo = 4; */ repo: string; /** * Optional full name filter in "owner/repo" format. * * @generated from field: string full_name = 5; */ fullName: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListNamespacesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListNamespacesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListNamespacesRequest; static fromJsonString(jsonString: string, options?: Partial): ListNamespacesRequest; static equals(a: ListNamespacesRequest | PlainMessage | undefined, b: ListNamespacesRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ListNamespacesResponse */ export declare class ListNamespacesResponse extends Message { /** * All namespace records matching the request filters. * * @generated from field: repeated cloud.v1.NamespaceRecord namespaces = 1; */ namespaces: NamespaceRecord[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListNamespacesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListNamespacesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListNamespacesResponse; static fromJsonString(jsonString: string, options?: Partial): ListNamespacesResponse; static equals(a: ListNamespacesResponse | PlainMessage | undefined, b: ListNamespacesResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.SyncNamespacesRequest */ export declare class SyncNamespacesRequest extends Message { /** * Optional account filter. When omitted, all accounts for the provider are synced. * * @generated from field: string state_id = 1; */ stateId: string; /** * SCM provider to sync from, e.g. "github". Required. * * @generated from field: string provider = 2; */ provider: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.SyncNamespacesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SyncNamespacesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SyncNamespacesRequest; static fromJsonString(jsonString: string, options?: Partial): SyncNamespacesRequest; static equals(a: SyncNamespacesRequest | PlainMessage | undefined, b: SyncNamespacesRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.SyncNamespacesResponse */ export declare class SyncNamespacesResponse extends Message { /** * The full refreshed set of namespace records after sync. * * @generated from field: repeated cloud.v1.NamespaceRecord namespaces = 1; */ namespaces: NamespaceRecord[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.SyncNamespacesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SyncNamespacesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SyncNamespacesResponse; static fromJsonString(jsonString: string, options?: Partial): SyncNamespacesResponse; static equals(a: SyncNamespacesResponse | PlainMessage | undefined, b: SyncNamespacesResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetNamespaceWebhookRequest */ export declare class GetNamespaceWebhookRequest extends Message { /** * Optional account filter. When omitted, the namespace is resolved by provider + repo_id. * * @generated from field: string state_id = 1; */ stateId: string; /** * SCM provider name. Required. * * @generated from field: string provider = 2; */ provider: string; /** * Provider-assigned repository ID. Required. * * @generated from field: string repo_id = 3; */ repoId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetNamespaceWebhookRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetNamespaceWebhookRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetNamespaceWebhookRequest; static fromJsonString(jsonString: string, options?: Partial): GetNamespaceWebhookRequest; static equals(a: GetNamespaceWebhookRequest | PlainMessage | undefined, b: GetNamespaceWebhookRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.SetNamespaceWebhookRequest */ export declare class SetNamespaceWebhookRequest extends Message { /** * Optional account filter. When omitted, the namespace is resolved by provider + repo_id. * * @generated from field: string state_id = 1; */ stateId: string; /** * SCM provider name. Required. * * @generated from field: string provider = 2; */ provider: string; /** * Provider-assigned repository ID. Required. * * @generated from field: string repo_id = 3; */ repoId: string; /** * Set to true to register the webhook, false to remove it. * * @generated from field: bool enabled = 4; */ enabled: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.SetNamespaceWebhookRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetNamespaceWebhookRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetNamespaceWebhookRequest; static fromJsonString(jsonString: string, options?: Partial): SetNamespaceWebhookRequest; static equals(a: SetNamespaceWebhookRequest | PlainMessage | undefined, b: SetNamespaceWebhookRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetNamespaceWebhookResponse */ export declare class GetNamespaceWebhookResponse extends Message { /** * Whether the githook webhook is currently registered on the repo. * * @generated from field: bool enabled = 1; */ enabled: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetNamespaceWebhookResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetNamespaceWebhookResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetNamespaceWebhookResponse; static fromJsonString(jsonString: string, options?: Partial): GetNamespaceWebhookResponse; static equals(a: GetNamespaceWebhookResponse | PlainMessage | undefined, b: GetNamespaceWebhookResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.SetNamespaceWebhookResponse */ export declare class SetNamespaceWebhookResponse extends Message { /** * The new webhook registration state after the operation. * * @generated from field: bool enabled = 1; */ enabled: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.SetNamespaceWebhookResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetNamespaceWebhookResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetNamespaceWebhookResponse; static fromJsonString(jsonString: string, options?: Partial): SetNamespaceWebhookResponse; static equals(a: SetNamespaceWebhookResponse | PlainMessage | undefined, b: SetNamespaceWebhookResponse | PlainMessage | undefined): boolean; } /** * Rule is the input shape for creating or matching rules. It does not carry * server-assigned fields (id, timestamps). See RuleRecord for the persisted form. * * @generated from message cloud.v1.Rule */ export declare class Rule extends Message { /** * govaluate expression evaluated against the flattened event JSON. * Example: 'action == "opened" && provider == "github"' * * @generated from field: string when = 1; */ when: string; /** * Topic(s) to publish matching events to. Currently limited to exactly one * entry. The value becomes the broker routing key or subject. * * @generated from field: repeated string emit = 2; */ emit: string[]; /** * ID of the DriverRecord that defines the broker connection for this rule. * * @generated from field: string driver_id = 4; */ driverId: string; /** * @generated from field: string transform_js = 5; */ transformJs: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.Rule"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Rule; static fromJson(jsonValue: JsonValue, options?: Partial): Rule; static fromJsonString(jsonString: string, options?: Partial): Rule; static equals(a: Rule | PlainMessage | undefined, b: Rule | PlainMessage | undefined): boolean; } /** * RuleRecord is the persisted form of a Rule, including server-assigned fields. * * @generated from message cloud.v1.RuleRecord */ export declare class RuleRecord extends Message { /** * Server-assigned unique rule ID. Use this in worker SDKs via HandleRule(). * * @generated from field: string id = 1; */ id: string; /** * govaluate expression evaluated against the flattened event JSON. * * @generated from field: string when = 2; */ when: string; /** * Topic(s) to publish matching events to. At least one entry required. * * @generated from field: repeated string emit = 3; */ emit: string[]; /** * When this rule was first created. * * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp; /** * When this rule was last updated. * * @generated from field: google.protobuf.Timestamp updated_at = 6; */ updatedAt?: Timestamp; /** * ID of the DriverRecord that defines the broker connection for this rule. * * @generated from field: string driver_id = 7; */ driverId: string; /** * @generated from field: string transform_js = 8; */ transformJs: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.RuleRecord"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RuleRecord; static fromJson(jsonValue: JsonValue, options?: Partial): RuleRecord; static fromJsonString(jsonString: string, options?: Partial): RuleRecord; static equals(a: RuleRecord | PlainMessage | undefined, b: RuleRecord | PlainMessage | undefined): boolean; } /** * DriverRecord holds the broker connection config for a message driver. * config_json is driver-type-specific (AMQP, NATS, Kafka) and is validated * at publish time, not at upsert time. * * @generated from message cloud.v1.DriverRecord */ export declare class DriverRecord extends Message { /** * Unique driver name within the tenant. Used as the stable identifier. * * @generated from field: string name = 1; */ name: string; /** * Driver-type-specific connection config serialized as JSON. * Schema depends on the broker type (AMQP, NATS, Kafka). * * @generated from field: string config_json = 2; */ configJson: string; /** * Whether this driver is active. Disabled drivers skip publishing. * * @generated from field: bool enabled = 3; */ enabled: boolean; /** * When this driver record was first created. * * @generated from field: google.protobuf.Timestamp created_at = 4; */ createdAt?: Timestamp; /** * When this driver record was last updated. * * @generated from field: google.protobuf.Timestamp updated_at = 5; */ updatedAt?: Timestamp; /** * Server-assigned unique driver ID. Referenced by RuleRecord.driver_id. * * @generated from field: string id = 6; */ id: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.DriverRecord"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DriverRecord; static fromJson(jsonValue: JsonValue, options?: Partial): DriverRecord; static fromJsonString(jsonString: string, options?: Partial): DriverRecord; static equals(a: DriverRecord | PlainMessage | undefined, b: DriverRecord | PlainMessage | undefined): boolean; } /** * ProviderRecord holds the SCM provider app credentials for one provider instance. * A tenant can register multiple instances of the same provider (e.g. two GitHub * Apps) by creating separate ProviderRecords; each gets a distinct hash. * * @generated from message cloud.v1.ProviderRecord */ export declare class ProviderRecord extends Message { /** * SCM provider name, e.g. "github", "gitlab", "bitbucket". Required. * * @generated from field: string provider = 1; */ provider: string; /** * Instance hash (server-generated). Stable identifier for this config instance. * Include on update requests; omit on first create. * * @generated from field: string hash = 2; */ hash: string; /** * Provider-specific app credentials serialized as JSON (App ID, private key, * OAuth client ID/secret, webhook secret, etc.). * * @generated from field: string config_json = 3; */ configJson: string; /** * Whether this provider instance is active. Disabled instances skip webhook * signature verification and OAuth flows. * * @generated from field: bool enabled = 4; */ enabled: boolean; /** * When this provider record was first created. * * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp; /** * When this provider record was last updated. * * @generated from field: google.protobuf.Timestamp updated_at = 6; */ updatedAt?: Timestamp; /** * Per-instance OAuth redirect URL. Overrides the global redirect_base_url * from server config. Useful when hosting multiple provider instances. * * @generated from field: string redirect_base_url = 7; */ redirectBaseUrl: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ProviderRecord"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ProviderRecord; static fromJson(jsonValue: JsonValue, options?: Partial): ProviderRecord; static fromJsonString(jsonString: string, options?: Partial): ProviderRecord; static equals(a: ProviderRecord | PlainMessage | undefined, b: ProviderRecord | PlainMessage | undefined): boolean; } /** * SCMClient carries short-lived credentials for making SCM API calls. * Returned by SCMService.GetSCMClient; workers should not cache this long-term. * * @generated from message cloud.v1.SCMClient */ export declare class SCMClient extends Message { /** * SCM provider name, e.g. "github", "gitlab", "bitbucket". * * @generated from field: string provider = 1; */ provider: string; /** * Base URL for the SCM API. Useful for GitHub Enterprise Server installs. * * @generated from field: string api_base_url = 2; */ apiBaseUrl: string; /** * Short-lived OAuth access token. Required; always non-empty on success. * * @generated from field: string access_token = 3; */ accessToken: string; /** * When the access_token expires. Re-fetch before this time. * * @generated from field: google.protobuf.Timestamp expires_at = 4; */ expiresAt?: Timestamp; /** * Provider instance key identifying which ProviderRecord issued this token. * * @generated from field: string provider_instance_key = 5; */ providerInstanceKey: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.SCMClient"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SCMClient; static fromJson(jsonValue: JsonValue, options?: Partial): SCMClient; static fromJsonString(jsonString: string, options?: Partial): SCMClient; static equals(a: SCMClient | PlainMessage | undefined, b: SCMClient | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetSCMClientRequest */ export declare class GetSCMClientRequest extends Message { /** * SCM provider name. Required. * * @generated from field: string provider = 1; */ provider: string; /** * Installation ID to fetch credentials for. Required. * * @generated from field: string installation_id = 2; */ installationId: string; /** * Optional provider instance key to select among multiple provider configs. * * @generated from field: string provider_instance_key = 3; */ providerInstanceKey: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetSCMClientRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSCMClientRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetSCMClientRequest; static fromJsonString(jsonString: string, options?: Partial): GetSCMClientRequest; static equals(a: GetSCMClientRequest | PlainMessage | undefined, b: GetSCMClientRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetSCMClientResponse */ export declare class GetSCMClientResponse extends Message { /** * Ready-to-use SCM client credentials. access_token is always populated. * * @generated from field: cloud.v1.SCMClient client = 1; */ client?: SCMClient; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetSCMClientResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetSCMClientResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetSCMClientResponse; static fromJsonString(jsonString: string, options?: Partial): GetSCMClientResponse; static equals(a: GetSCMClientResponse | PlainMessage | undefined, b: GetSCMClientResponse | PlainMessage | undefined): boolean; } /** * EventLogHeaderValues holds the multi-value list for a single HTTP header key. * * @generated from message cloud.v1.EventLogHeaderValues */ export declare class EventLogHeaderValues extends Message { /** * All values for this header key (HTTP headers can repeat). * * @generated from field: repeated string values = 1; */ values: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.EventLogHeaderValues"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventLogHeaderValues; static fromJson(jsonValue: JsonValue, options?: Partial): EventLogHeaderValues; static fromJsonString(jsonString: string, options?: Partial): EventLogHeaderValues; static equals(a: EventLogHeaderValues | PlainMessage | undefined, b: EventLogHeaderValues | PlainMessage | undefined): boolean; } /** * EventLogRecord is the audit record for a single incoming webhook event. * Created on every webhook receipt regardless of rule match outcome. * * @generated from message cloud.v1.EventLogRecord */ export declare class EventLogRecord extends Message { /** * Server-assigned unique log entry ID. * * @generated from field: string id = 1; */ id: string; /** * SCM provider that sent the event, e.g. "github". * * @generated from field: string provider = 2; */ provider: string; /** * Event type name as reported by the provider (e.g. "pull_request"). * * @generated from field: string name = 3; */ name: string; /** * Unique request ID assigned to this webhook delivery by the server. * * @generated from field: string request_id = 4; */ requestId: string; /** * Tenant ID (state_id) that received this event. * * @generated from field: string state_id = 5; */ stateId: string; /** * Installation ID associated with the webhook delivery. * * @generated from field: string installation_id = 6; */ installationId: string; /** * Internal namespace (repo) ID that the event targets. * * @generated from field: string namespace_id = 7; */ namespaceId: string; /** * Human-readable namespace name (full_name of the repo). * * @generated from field: string namespace_name = 8; */ namespaceName: string; /** * Broker topic the event was published to (empty if no rule matched). * * @generated from field: string topic = 9; */ topic: string; /** * ID of the rule that matched this event (empty if no match). * * @generated from field: string rule_id = 10; */ ruleId: string; /** * The when expression of the matched rule (empty if no match). * * @generated from field: string rule_when = 11; */ ruleWhen: string; /** * Names of the drivers used to publish this event. * * @generated from field: repeated string drivers = 12; */ drivers: string[]; /** * Whether any rule matched this event. * * @generated from field: bool matched = 13; */ matched: boolean; /** * Delivery status: "queued", "delivered", "success", or "failed". * Updated by workers via UpdateEventLogStatus. * * @generated from field: string status = 14; */ status: string; /** * Error detail when status is "failed". Empty otherwise. * * @generated from field: string error_message = 15; */ errorMessage: string; /** * When this log record was created (webhook receipt time). * * @generated from field: google.protobuf.Timestamp created_at = 16; */ createdAt?: Timestamp; /** * When this log record was last updated (e.g. after worker status update). * * @generated from field: google.protobuf.Timestamp updated_at = 17; */ updatedAt?: Timestamp; /** * Original HTTP request headers from the webhook delivery. * * @generated from field: map headers = 18; */ headers: { [key: string]: EventLogHeaderValues }; /** * Raw webhook request body bytes. * * @generated from field: bytes body = 19; */ body: Uint8Array; /** * SHA-256 hash of the body for integrity verification. * * @generated from field: string body_hash = 20; */ bodyHash: string; /** * @generated from field: bytes transformed_body = 21; */ transformedBody: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.EventLogRecord"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventLogRecord; static fromJson(jsonValue: JsonValue, options?: Partial): EventLogRecord; static fromJsonString(jsonString: string, options?: Partial): EventLogRecord; static equals(a: EventLogRecord | PlainMessage | undefined, b: EventLogRecord | PlainMessage | undefined): boolean; } /** * EventLogCount is a key/count pair used in analytics breakdowns. * * @generated from message cloud.v1.EventLogCount */ export declare class EventLogCount extends Message { /** * The dimension value (e.g. provider name, topic, rule ID). * * @generated from field: string key = 1; */ key: string; /** * Number of events for this key within the query window. * * @generated from field: int64 count = 2; */ count: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.EventLogCount"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventLogCount; static fromJson(jsonValue: JsonValue, options?: Partial): EventLogCount; static fromJsonString(jsonString: string, options?: Partial): EventLogCount; static equals(a: EventLogCount | PlainMessage | undefined, b: EventLogCount | PlainMessage | undefined): boolean; } /** * EventLogAnalytics holds aggregate statistics over a filtered event set. * * @generated from message cloud.v1.EventLogAnalytics */ export declare class EventLogAnalytics extends Message { /** * Total number of events in the query window. * * @generated from field: int64 total = 1; */ total: bigint; /** * Number of events that matched at least one rule. * * @generated from field: int64 matched = 2; */ matched: bigint; /** * Number of distinct webhook delivery request IDs (deduplication metric). * * @generated from field: int64 distinct_requests = 3; */ distinctRequests: bigint; /** * Event counts grouped by SCM provider. * * @generated from field: repeated cloud.v1.EventLogCount by_provider = 4; */ byProvider: EventLogCount[]; /** * Event counts grouped by event type name. * * @generated from field: repeated cloud.v1.EventLogCount by_event = 5; */ byEvent: EventLogCount[]; /** * Event counts grouped by broker topic. * * @generated from field: repeated cloud.v1.EventLogCount by_topic = 6; */ byTopic: EventLogCount[]; /** * Event counts grouped by rule ID. * * @generated from field: repeated cloud.v1.EventLogCount by_rule = 7; */ byRule: EventLogCount[]; /** * Event counts grouped by installation ID. * * @generated from field: repeated cloud.v1.EventLogCount by_installation = 8; */ byInstallation: EventLogCount[]; /** * Event counts grouped by namespace (repo) ID. * * @generated from field: repeated cloud.v1.EventLogCount by_namespace = 9; */ byNamespace: EventLogCount[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.EventLogAnalytics"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventLogAnalytics; static fromJson(jsonValue: JsonValue, options?: Partial): EventLogAnalytics; static fromJsonString(jsonString: string, options?: Partial): EventLogAnalytics; static equals(a: EventLogAnalytics | PlainMessage | undefined, b: EventLogAnalytics | PlainMessage | undefined): boolean; } /** * EventLogTimeseriesBucket holds counts for one time interval bucket. * * @generated from message cloud.v1.EventLogTimeseriesBucket */ export declare class EventLogTimeseriesBucket extends Message { /** * Inclusive start of this bucket's time range. * * @generated from field: google.protobuf.Timestamp start_time = 1; */ startTime?: Timestamp; /** * Exclusive end of this bucket's time range. * * @generated from field: google.protobuf.Timestamp end_time = 2; */ endTime?: Timestamp; /** * Total events received in this bucket. * * @generated from field: int64 event_count = 3; */ eventCount: bigint; /** * Events that matched at least one rule in this bucket. * * @generated from field: int64 matched_count = 4; */ matchedCount: bigint; /** * Distinct webhook delivery request IDs in this bucket. * * @generated from field: int64 distinct_requests = 5; */ distinctRequests: bigint; /** * Events with status "failed" in this bucket. * * @generated from field: int64 failed_count = 6; */ failedCount: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.EventLogTimeseriesBucket"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventLogTimeseriesBucket; static fromJson(jsonValue: JsonValue, options?: Partial): EventLogTimeseriesBucket; static fromJsonString(jsonString: string, options?: Partial): EventLogTimeseriesBucket; static equals(a: EventLogTimeseriesBucket | PlainMessage | undefined, b: EventLogTimeseriesBucket | PlainMessage | undefined): boolean; } /** * EventLogBreakdown holds per-key statistics for one breakdown group value. * * @generated from message cloud.v1.EventLogBreakdown */ export declare class EventLogBreakdown extends Message { /** * The dimension value for this row (e.g. provider name, rule ID). * * @generated from field: string key = 1; */ key: string; /** * Total events for this key in the query window. * * @generated from field: int64 event_count = 2; */ eventCount: bigint; /** * Events that matched at least one rule. * * @generated from field: int64 matched_count = 3; */ matchedCount: bigint; /** * Events with status "failed". * * @generated from field: int64 failed_count = 4; */ failedCount: bigint; /** * Median end-to-end processing latency in milliseconds. Populated only when * include_latency=true is set in the request. * * @generated from field: double latency_p50_ms = 5; */ latencyP50Ms: number; /** * 95th-percentile latency in milliseconds. Populated only when include_latency=true. * * @generated from field: double latency_p95_ms = 6; */ latencyP95Ms: number; /** * 99th-percentile latency in milliseconds. Populated only when include_latency=true. * * @generated from field: double latency_p99_ms = 7; */ latencyP99Ms: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.EventLogBreakdown"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventLogBreakdown; static fromJson(jsonValue: JsonValue, options?: Partial): EventLogBreakdown; static fromJsonString(jsonString: string, options?: Partial): EventLogBreakdown; static equals(a: EventLogBreakdown | PlainMessage | undefined, b: EventLogBreakdown | PlainMessage | undefined): boolean; } /** * EventPayload is the canonical event representation passed to rule matching * and published to the broker. The payload field contains the raw webhook body. * * @generated from message cloud.v1.EventPayload */ export declare class EventPayload extends Message { /** * SCM provider name, e.g. "github". Required. * * @generated from field: string provider = 1; */ provider: string; /** * Event type name as reported by the provider, e.g. "pull_request". Required. * * @generated from field: string name = 2; */ name: string; /** * Raw webhook request body bytes. Required; must be non-empty. * * @generated from field: bytes payload = 3; */ payload: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.EventPayload"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EventPayload; static fromJson(jsonValue: JsonValue, options?: Partial): EventPayload; static fromJsonString(jsonString: string, options?: Partial): EventPayload; static equals(a: EventPayload | PlainMessage | undefined, b: EventPayload | PlainMessage | undefined): boolean; } /** * RuleMatch is returned by MatchRules for each rule that matched the event. * * @generated from message cloud.v1.RuleMatch */ export declare class RuleMatch extends Message { /** * The when expression of the matched rule. * * @generated from field: string when = 1; */ when: string; /** * The emit topics of the matched rule. * * @generated from field: repeated string emit = 2; */ emit: string[]; /** * The driver ID of the matched rule. * * @generated from field: string driver_id = 4; */ driverId: string; /** * @generated from field: string transform_js = 5; */ transformJs: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.RuleMatch"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RuleMatch; static fromJson(jsonValue: JsonValue, options?: Partial): RuleMatch; static fromJsonString(jsonString: string, options?: Partial): RuleMatch; static equals(a: RuleMatch | PlainMessage | undefined, b: RuleMatch | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.MatchRulesRequest */ export declare class MatchRulesRequest extends Message { /** * Event to evaluate rules against. Required. * * @generated from field: cloud.v1.EventPayload event = 1; */ event?: EventPayload; /** * Rules to evaluate. At least one rule required. * These are ephemeral (not persisted); use CreateRule to persist. * * @generated from field: repeated cloud.v1.Rule rules = 2; */ rules: Rule[]; /** * When true, returns an error if any rule expression fails to parse or * evaluate. When false, invalid rules are silently skipped. * * @generated from field: bool strict = 3; */ strict: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.MatchRulesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MatchRulesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): MatchRulesRequest; static fromJsonString(jsonString: string, options?: Partial): MatchRulesRequest; static equals(a: MatchRulesRequest | PlainMessage | undefined, b: MatchRulesRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.MatchRulesResponse */ export declare class MatchRulesResponse extends Message { /** * Rules that matched the event. Empty if no rules matched. * * @generated from field: repeated cloud.v1.RuleMatch matches = 1; */ matches: RuleMatch[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.MatchRulesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MatchRulesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MatchRulesResponse; static fromJsonString(jsonString: string, options?: Partial): MatchRulesResponse; static equals(a: MatchRulesResponse | PlainMessage | undefined, b: MatchRulesResponse | PlainMessage | undefined): boolean; } /** * ListRulesRequest has no filters; all tenant rules are returned. * * @generated from message cloud.v1.ListRulesRequest */ export declare class ListRulesRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListRulesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListRulesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListRulesRequest; static fromJsonString(jsonString: string, options?: Partial): ListRulesRequest; static equals(a: ListRulesRequest | PlainMessage | undefined, b: ListRulesRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ListRulesResponse */ export declare class ListRulesResponse extends Message { /** * All rule records for the tenant. * * @generated from field: repeated cloud.v1.RuleRecord rules = 1; */ rules: RuleRecord[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListRulesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListRulesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListRulesResponse; static fromJsonString(jsonString: string, options?: Partial): ListRulesResponse; static equals(a: ListRulesResponse | PlainMessage | undefined, b: ListRulesResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetRuleRequest */ export declare class GetRuleRequest extends Message { /** * Server-assigned rule ID. Required. * * @generated from field: string id = 1; */ id: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetRuleRequest; static fromJsonString(jsonString: string, options?: Partial): GetRuleRequest; static equals(a: GetRuleRequest | PlainMessage | undefined, b: GetRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetRuleResponse */ export declare class GetRuleResponse extends Message { /** * The matching rule record. * * @generated from field: cloud.v1.RuleRecord rule = 1; */ rule?: RuleRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetRuleResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetRuleResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetRuleResponse; static fromJsonString(jsonString: string, options?: Partial): GetRuleResponse; static equals(a: GetRuleResponse | PlainMessage | undefined, b: GetRuleResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.CreateRuleRequest */ export declare class CreateRuleRequest extends Message { /** * Rule definition to persist. Required. * * @generated from field: cloud.v1.Rule rule = 1; */ rule?: Rule; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.CreateRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CreateRuleRequest; static fromJsonString(jsonString: string, options?: Partial): CreateRuleRequest; static equals(a: CreateRuleRequest | PlainMessage | undefined, b: CreateRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.CreateRuleResponse */ export declare class CreateRuleResponse extends Message { /** * The newly created rule record with server-assigned ID and timestamps. * * @generated from field: cloud.v1.RuleRecord rule = 1; */ rule?: RuleRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.CreateRuleResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CreateRuleResponse; static fromJson(jsonValue: JsonValue, options?: Partial): CreateRuleResponse; static fromJsonString(jsonString: string, options?: Partial): CreateRuleResponse; static equals(a: CreateRuleResponse | PlainMessage | undefined, b: CreateRuleResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.UpdateRuleRequest */ export declare class UpdateRuleRequest extends Message { /** * ID of the rule to update. Required. * * @generated from field: string id = 1; */ id: string; /** * New rule definition. Replaces when, emit, and driver_id. Required. * * @generated from field: cloud.v1.Rule rule = 2; */ rule?: Rule; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.UpdateRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRuleRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateRuleRequest; static equals(a: UpdateRuleRequest | PlainMessage | undefined, b: UpdateRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.UpdateRuleResponse */ export declare class UpdateRuleResponse extends Message { /** * The updated rule record. * * @generated from field: cloud.v1.RuleRecord rule = 1; */ rule?: RuleRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.UpdateRuleResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateRuleResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateRuleResponse; static fromJsonString(jsonString: string, options?: Partial): UpdateRuleResponse; static equals(a: UpdateRuleResponse | PlainMessage | undefined, b: UpdateRuleResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.DeleteRuleRequest */ export declare class DeleteRuleRequest extends Message { /** * ID of the rule to delete. Required. * * @generated from field: string id = 1; */ id: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.DeleteRuleRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRuleRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRuleRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteRuleRequest; static equals(a: DeleteRuleRequest | PlainMessage | undefined, b: DeleteRuleRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.DeleteRuleResponse */ export declare class DeleteRuleResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.DeleteRuleResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteRuleResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteRuleResponse; static fromJsonString(jsonString: string, options?: Partial): DeleteRuleResponse; static equals(a: DeleteRuleResponse | PlainMessage | undefined, b: DeleteRuleResponse | PlainMessage | undefined): boolean; } /** * ListDriversRequest has no filters; all tenant drivers are returned. * * @generated from message cloud.v1.ListDriversRequest */ export declare class ListDriversRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListDriversRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListDriversRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListDriversRequest; static fromJsonString(jsonString: string, options?: Partial): ListDriversRequest; static equals(a: ListDriversRequest | PlainMessage | undefined, b: ListDriversRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ListDriversResponse */ export declare class ListDriversResponse extends Message { /** * All driver records for the tenant. * * @generated from field: repeated cloud.v1.DriverRecord drivers = 1; */ drivers: DriverRecord[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListDriversResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListDriversResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListDriversResponse; static fromJsonString(jsonString: string, options?: Partial): ListDriversResponse; static equals(a: ListDriversResponse | PlainMessage | undefined, b: ListDriversResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetDriverRequest */ export declare class GetDriverRequest extends Message { /** * Driver name (stable identifier). Required. * * @generated from field: string name = 1; */ name: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetDriverRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetDriverRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetDriverRequest; static fromJsonString(jsonString: string, options?: Partial): GetDriverRequest; static equals(a: GetDriverRequest | PlainMessage | undefined, b: GetDriverRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetDriverResponse */ export declare class GetDriverResponse extends Message { /** * The matching driver record. * * @generated from field: cloud.v1.DriverRecord driver = 1; */ driver?: DriverRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetDriverResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetDriverResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetDriverResponse; static fromJsonString(jsonString: string, options?: Partial): GetDriverResponse; static equals(a: GetDriverResponse | PlainMessage | undefined, b: GetDriverResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.UpsertDriverRequest */ export declare class UpsertDriverRequest extends Message { /** * Driver record to create or update. Required. * The name field is the natural key; re-submitting updates in place. * * @generated from field: cloud.v1.DriverRecord driver = 1; */ driver?: DriverRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.UpsertDriverRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpsertDriverRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpsertDriverRequest; static fromJsonString(jsonString: string, options?: Partial): UpsertDriverRequest; static equals(a: UpsertDriverRequest | PlainMessage | undefined, b: UpsertDriverRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.UpsertDriverResponse */ export declare class UpsertDriverResponse extends Message { /** * The persisted driver record with server-set timestamps. * * @generated from field: cloud.v1.DriverRecord driver = 1; */ driver?: DriverRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.UpsertDriverResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpsertDriverResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UpsertDriverResponse; static fromJsonString(jsonString: string, options?: Partial): UpsertDriverResponse; static equals(a: UpsertDriverResponse | PlainMessage | undefined, b: UpsertDriverResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.DeleteDriverRequest */ export declare class DeleteDriverRequest extends Message { /** * Driver name to delete. Required. * * @generated from field: string name = 1; */ name: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.DeleteDriverRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteDriverRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteDriverRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteDriverRequest; static equals(a: DeleteDriverRequest | PlainMessage | undefined, b: DeleteDriverRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.DeleteDriverResponse */ export declare class DeleteDriverResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.DeleteDriverResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteDriverResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteDriverResponse; static fromJsonString(jsonString: string, options?: Partial): DeleteDriverResponse; static equals(a: DeleteDriverResponse | PlainMessage | undefined, b: DeleteDriverResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ListProvidersRequest */ export declare class ListProvidersRequest extends Message { /** * Optional provider name filter, e.g. "github". When omitted, all providers returned. * * @generated from field: string provider = 1; */ provider: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListProvidersRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListProvidersRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListProvidersRequest; static fromJsonString(jsonString: string, options?: Partial): ListProvidersRequest; static equals(a: ListProvidersRequest | PlainMessage | undefined, b: ListProvidersRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ListProvidersResponse */ export declare class ListProvidersResponse extends Message { /** * All provider records matching the filter. * * @generated from field: repeated cloud.v1.ProviderRecord providers = 1; */ providers: ProviderRecord[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListProvidersResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListProvidersResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListProvidersResponse; static fromJsonString(jsonString: string, options?: Partial): ListProvidersResponse; static equals(a: ListProvidersResponse | PlainMessage | undefined, b: ListProvidersResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetProviderRequest */ export declare class GetProviderRequest extends Message { /** * SCM provider name. Required. * * @generated from field: string provider = 1; */ provider: string; /** * Server-generated instance hash. Required. * * @generated from field: string hash = 2; */ hash: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetProviderRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetProviderRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetProviderRequest; static fromJsonString(jsonString: string, options?: Partial): GetProviderRequest; static equals(a: GetProviderRequest | PlainMessage | undefined, b: GetProviderRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetProviderResponse */ export declare class GetProviderResponse extends Message { /** * The matching provider record. * * @generated from field: cloud.v1.ProviderRecord provider = 1; */ provider?: ProviderRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetProviderResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetProviderResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetProviderResponse; static fromJsonString(jsonString: string, options?: Partial): GetProviderResponse; static equals(a: GetProviderResponse | PlainMessage | undefined, b: GetProviderResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.UpsertProviderRequest */ export declare class UpsertProviderRequest extends Message { /** * Provider record to create or update. Required. * Omit hash on first create; include it on subsequent updates. * * @generated from field: cloud.v1.ProviderRecord provider = 1; */ provider?: ProviderRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.UpsertProviderRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpsertProviderRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpsertProviderRequest; static fromJsonString(jsonString: string, options?: Partial): UpsertProviderRequest; static equals(a: UpsertProviderRequest | PlainMessage | undefined, b: UpsertProviderRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.UpsertProviderResponse */ export declare class UpsertProviderResponse extends Message { /** * The persisted provider record with server-assigned hash and timestamps. * * @generated from field: cloud.v1.ProviderRecord provider = 1; */ provider?: ProviderRecord; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.UpsertProviderResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpsertProviderResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UpsertProviderResponse; static fromJsonString(jsonString: string, options?: Partial): UpsertProviderResponse; static equals(a: UpsertProviderResponse | PlainMessage | undefined, b: UpsertProviderResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.DeleteProviderRequest */ export declare class DeleteProviderRequest extends Message { /** * SCM provider name. Required. * * @generated from field: string provider = 1; */ provider: string; /** * Server-generated instance hash. Required. * * @generated from field: string hash = 2; */ hash: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.DeleteProviderRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteProviderRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteProviderRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteProviderRequest; static equals(a: DeleteProviderRequest | PlainMessage | undefined, b: DeleteProviderRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.DeleteProviderResponse */ export declare class DeleteProviderResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.DeleteProviderResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteProviderResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteProviderResponse; static fromJsonString(jsonString: string, options?: Partial): DeleteProviderResponse; static equals(a: DeleteProviderResponse | PlainMessage | undefined, b: DeleteProviderResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ListEventLogsRequest */ export declare class ListEventLogsRequest extends Message { /** * Optional provider filter, e.g. "github". * * @generated from field: string provider = 1; */ provider: string; /** * Optional event type name filter, e.g. "pull_request". * * @generated from field: string name = 2; */ name: string; /** * Optional broker topic filter. * * @generated from field: string topic = 3; */ topic: string; /** * Optional request ID filter for a specific webhook delivery. * * @generated from field: string request_id = 4; */ requestId: string; /** * Optional tenant ID filter (state_id). Defaults to the calling tenant. * * @generated from field: string state_id = 5; */ stateId: string; /** * Optional installation ID filter. * * @generated from field: string installation_id = 6; */ installationId: string; /** * Optional namespace (repo) ID filter. * * @generated from field: string namespace_id = 7; */ namespaceId: string; /** * Optional namespace full name filter. * * @generated from field: string namespace_name = 8; */ namespaceName: string; /** * Optional rule ID filter. * * @generated from field: string rule_id = 9; */ ruleId: string; /** * Optional rule when expression filter (exact match). * * @generated from field: string rule_when = 10; */ ruleWhen: string; /** * When true, only return events that matched at least one rule. * * @generated from field: bool matched_only = 11; */ matchedOnly: boolean; /** * Number of records per page. Must be 0-200; defaults to server default when 0. * * @generated from field: int32 page_size = 12; */ pageSize: number; /** * Cursor from a previous response's next_page_token. Omit for the first page. * * @generated from field: string page_token = 13; */ pageToken: string; /** * Inclusive start of the time range filter. * * @generated from field: google.protobuf.Timestamp start_time = 14; */ startTime?: Timestamp; /** * Exclusive end of the time range filter. * * @generated from field: google.protobuf.Timestamp end_time = 15; */ endTime?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListEventLogsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListEventLogsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListEventLogsRequest; static fromJsonString(jsonString: string, options?: Partial): ListEventLogsRequest; static equals(a: ListEventLogsRequest | PlainMessage | undefined, b: ListEventLogsRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ListEventLogsResponse */ export declare class ListEventLogsResponse extends Message { /** * Event log records for this page. * * @generated from field: repeated cloud.v1.EventLogRecord logs = 1; */ logs: EventLogRecord[]; /** * Cursor for the next page. Empty when there are no more results. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ListEventLogsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListEventLogsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListEventLogsResponse; static fromJsonString(jsonString: string, options?: Partial): ListEventLogsResponse; static equals(a: ListEventLogsResponse | PlainMessage | undefined, b: ListEventLogsResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetEventLogAnalyticsRequest */ export declare class GetEventLogAnalyticsRequest extends Message { /** * Optional provider filter. * * @generated from field: string provider = 1; */ provider: string; /** * Optional event type name filter. * * @generated from field: string name = 2; */ name: string; /** * Optional broker topic filter. * * @generated from field: string topic = 3; */ topic: string; /** * Optional request ID filter. * * @generated from field: string request_id = 4; */ requestId: string; /** * Optional tenant ID filter (state_id). * * @generated from field: string state_id = 5; */ stateId: string; /** * Optional installation ID filter. * * @generated from field: string installation_id = 6; */ installationId: string; /** * Optional namespace ID filter. * * @generated from field: string namespace_id = 7; */ namespaceId: string; /** * Optional namespace full name filter. * * @generated from field: string namespace_name = 8; */ namespaceName: string; /** * Optional rule ID filter. * * @generated from field: string rule_id = 9; */ ruleId: string; /** * Optional rule when expression filter. * * @generated from field: string rule_when = 10; */ ruleWhen: string; /** * When true, only count events that matched at least one rule. * * @generated from field: bool matched_only = 11; */ matchedOnly: boolean; /** * Inclusive start of the time range. * * @generated from field: google.protobuf.Timestamp start_time = 12; */ startTime?: Timestamp; /** * Exclusive end of the time range. * * @generated from field: google.protobuf.Timestamp end_time = 13; */ endTime?: Timestamp; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetEventLogAnalyticsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetEventLogAnalyticsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetEventLogAnalyticsRequest; static fromJsonString(jsonString: string, options?: Partial): GetEventLogAnalyticsRequest; static equals(a: GetEventLogAnalyticsRequest | PlainMessage | undefined, b: GetEventLogAnalyticsRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetEventLogAnalyticsResponse */ export declare class GetEventLogAnalyticsResponse extends Message { /** * Aggregate analytics over the filtered event set. * * @generated from field: cloud.v1.EventLogAnalytics analytics = 1; */ analytics?: EventLogAnalytics; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetEventLogAnalyticsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetEventLogAnalyticsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetEventLogAnalyticsResponse; static fromJsonString(jsonString: string, options?: Partial): GetEventLogAnalyticsResponse; static equals(a: GetEventLogAnalyticsResponse | PlainMessage | undefined, b: GetEventLogAnalyticsResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetEventLogTimeseriesRequest */ export declare class GetEventLogTimeseriesRequest extends Message { /** * Optional provider filter. * * @generated from field: string provider = 1; */ provider: string; /** * Optional event type name filter. * * @generated from field: string name = 2; */ name: string; /** * Optional broker topic filter. * * @generated from field: string topic = 3; */ topic: string; /** * Optional request ID filter. * * @generated from field: string request_id = 4; */ requestId: string; /** * Optional tenant ID filter (state_id). * * @generated from field: string state_id = 5; */ stateId: string; /** * Optional installation ID filter. * * @generated from field: string installation_id = 6; */ installationId: string; /** * Optional namespace ID filter. * * @generated from field: string namespace_id = 7; */ namespaceId: string; /** * Optional namespace full name filter. * * @generated from field: string namespace_name = 8; */ namespaceName: string; /** * Optional rule ID filter. * * @generated from field: string rule_id = 9; */ ruleId: string; /** * Optional rule when expression filter. * * @generated from field: string rule_when = 10; */ ruleWhen: string; /** * When true, only count events that matched at least one rule. * * @generated from field: bool matched_only = 11; */ matchedOnly: boolean; /** * Inclusive start of the time range. * * @generated from field: google.protobuf.Timestamp start_time = 12; */ startTime?: Timestamp; /** * Exclusive end of the time range. * * @generated from field: google.protobuf.Timestamp end_time = 13; */ endTime?: Timestamp; /** * Bucket width for the timeseries. Required; must not be UNSPECIFIED. * * @generated from field: cloud.v1.EventLogTimeseriesInterval interval = 14; */ interval: EventLogTimeseriesInterval; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetEventLogTimeseriesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetEventLogTimeseriesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetEventLogTimeseriesRequest; static fromJsonString(jsonString: string, options?: Partial): GetEventLogTimeseriesRequest; static equals(a: GetEventLogTimeseriesRequest | PlainMessage | undefined, b: GetEventLogTimeseriesRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetEventLogTimeseriesResponse */ export declare class GetEventLogTimeseriesResponse extends Message { /** * Time-ordered list of event count buckets covering the requested range. * * @generated from field: repeated cloud.v1.EventLogTimeseriesBucket buckets = 1; */ buckets: EventLogTimeseriesBucket[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetEventLogTimeseriesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetEventLogTimeseriesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetEventLogTimeseriesResponse; static fromJsonString(jsonString: string, options?: Partial): GetEventLogTimeseriesResponse; static equals(a: GetEventLogTimeseriesResponse | PlainMessage | undefined, b: GetEventLogTimeseriesResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetEventLogBreakdownRequest */ export declare class GetEventLogBreakdownRequest extends Message { /** * Optional provider filter. * * @generated from field: string provider = 1; */ provider: string; /** * Optional event type name filter. * * @generated from field: string name = 2; */ name: string; /** * Optional broker topic filter. * * @generated from field: string topic = 3; */ topic: string; /** * Optional request ID filter. * * @generated from field: string request_id = 4; */ requestId: string; /** * Optional tenant ID filter (state_id). * * @generated from field: string state_id = 5; */ stateId: string; /** * Optional installation ID filter. * * @generated from field: string installation_id = 6; */ installationId: string; /** * Optional namespace ID filter. * * @generated from field: string namespace_id = 7; */ namespaceId: string; /** * Optional namespace full name filter. * * @generated from field: string namespace_name = 8; */ namespaceName: string; /** * Optional rule ID filter. * * @generated from field: string rule_id = 9; */ ruleId: string; /** * Optional rule when expression filter. * * @generated from field: string rule_when = 10; */ ruleWhen: string; /** * When true, only count events that matched at least one rule. * * @generated from field: bool matched_only = 11; */ matchedOnly: boolean; /** * Inclusive start of the time range. * * @generated from field: google.protobuf.Timestamp start_time = 12; */ startTime?: Timestamp; /** * Exclusive end of the time range. * * @generated from field: google.protobuf.Timestamp end_time = 13; */ endTime?: Timestamp; /** * Dimension to group results by. Required; must not be UNSPECIFIED. * * @generated from field: cloud.v1.EventLogBreakdownGroup group_by = 14; */ groupBy: EventLogBreakdownGroup; /** * Field to sort results by. Defaults to COUNT when UNSPECIFIED. * * @generated from field: cloud.v1.EventLogBreakdownSort sort_by = 15; */ sortBy: EventLogBreakdownSort; /** * When true, sort descending (highest first). When false, sort ascending. * * @generated from field: bool sort_desc = 16; */ sortDesc: boolean; /** * Number of records per page. Must be 0-200; defaults to server default when 0. * * @generated from field: int32 page_size = 17; */ pageSize: number; /** * Cursor from a previous response's next_page_token. Omit for the first page. * * @generated from field: string page_token = 18; */ pageToken: string; /** * When true, populate latency_p50_ms, latency_p95_ms, latency_p99_ms in results. * * @generated from field: bool include_latency = 19; */ includeLatency: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetEventLogBreakdownRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetEventLogBreakdownRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetEventLogBreakdownRequest; static fromJsonString(jsonString: string, options?: Partial): GetEventLogBreakdownRequest; static equals(a: GetEventLogBreakdownRequest | PlainMessage | undefined, b: GetEventLogBreakdownRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.GetEventLogBreakdownResponse */ export declare class GetEventLogBreakdownResponse extends Message { /** * Breakdown rows for this page, one per distinct group_by value. * * @generated from field: repeated cloud.v1.EventLogBreakdown breakdowns = 1; */ breakdowns: EventLogBreakdown[]; /** * Cursor for the next page. Empty when there are no more results. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.GetEventLogBreakdownResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetEventLogBreakdownResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetEventLogBreakdownResponse; static fromJsonString(jsonString: string, options?: Partial): GetEventLogBreakdownResponse; static equals(a: GetEventLogBreakdownResponse | PlainMessage | undefined, b: GetEventLogBreakdownResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.UpdateEventLogStatusRequest */ export declare class UpdateEventLogStatusRequest extends Message { /** * ID of the event log record to update. Required. * * @generated from field: string log_id = 1; */ logId: string; /** * New delivery status. Required. Must be one of: * "queued", "delivered", "success", "failed". * * @generated from field: string status = 2; */ status: string; /** * Optional error detail when status is "failed". Ignored for other statuses. * * @generated from field: string error_message = 3; */ errorMessage: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.UpdateEventLogStatusRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateEventLogStatusRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateEventLogStatusRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateEventLogStatusRequest; static equals(a: UpdateEventLogStatusRequest | PlainMessage | undefined, b: UpdateEventLogStatusRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.UpdateEventLogStatusResponse */ export declare class UpdateEventLogStatusResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.UpdateEventLogStatusResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateEventLogStatusResponse; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateEventLogStatusResponse; static fromJsonString(jsonString: string, options?: Partial): UpdateEventLogStatusResponse; static equals(a: UpdateEventLogStatusResponse | PlainMessage | undefined, b: UpdateEventLogStatusResponse | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ReplayEventLogRequest */ export declare class ReplayEventLogRequest extends Message { /** * @generated from field: string log_id = 1; */ logId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ReplayEventLogRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ReplayEventLogRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ReplayEventLogRequest; static fromJsonString(jsonString: string, options?: Partial): ReplayEventLogRequest; static equals(a: ReplayEventLogRequest | PlainMessage | undefined, b: ReplayEventLogRequest | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ReplayPublishResult */ export declare class ReplayPublishResult extends Message { /** * @generated from field: string rule_id = 1; */ ruleId: string; /** * @generated from field: string topic = 2; */ topic: string; /** * @generated from field: string driver_name = 3; */ driverName: string; /** * @generated from field: string status = 4; */ status: string; /** * @generated from field: string error_message = 5; */ errorMessage: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ReplayPublishResult"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ReplayPublishResult; static fromJson(jsonValue: JsonValue, options?: Partial): ReplayPublishResult; static fromJsonString(jsonString: string, options?: Partial): ReplayPublishResult; static equals(a: ReplayPublishResult | PlainMessage | undefined, b: ReplayPublishResult | PlainMessage | undefined): boolean; } /** * @generated from message cloud.v1.ReplayEventLogResponse */ export declare class ReplayEventLogResponse extends Message { /** * @generated from field: string log_id = 1; */ logId: string; /** * @generated from field: repeated cloud.v1.ReplayPublishResult results = 2; */ results: ReplayPublishResult[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "cloud.v1.ReplayEventLogResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ReplayEventLogResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ReplayEventLogResponse; static fromJsonString(jsonString: string, options?: Partial): ReplayEventLogResponse; static equals(a: ReplayEventLogResponse | PlainMessage | undefined, b: ReplayEventLogResponse | PlainMessage | undefined): boolean; }