import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Params } from "./genesis_pb.js"; import { DomainVerification, JWK, Service, ServiceOIDCConfig, ServiceStatus } from "./state_pb.js"; /** * QueryParamsRequest is the request type for the Query/Params RPC method. * * @generated from message svc.v1.QueryParamsRequest */ export declare class QueryParamsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryParamsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest; static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean; } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * * @generated from message svc.v1.QueryParamsResponse */ export declare class QueryParamsResponse extends Message { /** * params defines the parameters of the module. * * @generated from field: svc.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse; static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean; } /** * QueryDomainVerificationRequest is the request type for the * Query/DomainVerification RPC method. * * @generated from message svc.v1.QueryDomainVerificationRequest */ export declare class QueryDomainVerificationRequest extends Message { /** * @generated from field: string domain = 1; */ domain: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryDomainVerificationRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDomainVerificationRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDomainVerificationRequest; static fromJsonString(jsonString: string, options?: Partial): QueryDomainVerificationRequest; static equals(a: QueryDomainVerificationRequest | PlainMessage | undefined, b: QueryDomainVerificationRequest | PlainMessage | undefined): boolean; } /** * QueryDomainVerificationResponse is the response type for the * Query/DomainVerification RPC method. * * @generated from message svc.v1.QueryDomainVerificationResponse */ export declare class QueryDomainVerificationResponse extends Message { /** * @generated from field: svc.v1.DomainVerification domain_verification = 1; */ domainVerification?: DomainVerification; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryDomainVerificationResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryDomainVerificationResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryDomainVerificationResponse; static fromJsonString(jsonString: string, options?: Partial): QueryDomainVerificationResponse; static equals(a: QueryDomainVerificationResponse | PlainMessage | undefined, b: QueryDomainVerificationResponse | PlainMessage | undefined): boolean; } /** * QueryServiceRequest is the request type for the Query/Service RPC method. * * @generated from message svc.v1.QueryServiceRequest */ export declare class QueryServiceRequest extends Message { /** * @generated from field: string service_id = 1; */ serviceId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServiceRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServiceRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServiceRequest; static fromJsonString(jsonString: string, options?: Partial): QueryServiceRequest; static equals(a: QueryServiceRequest | PlainMessage | undefined, b: QueryServiceRequest | PlainMessage | undefined): boolean; } /** * QueryServiceResponse is the response type for the Query/Service RPC method. * * @generated from message svc.v1.QueryServiceResponse */ export declare class QueryServiceResponse extends Message { /** * @generated from field: svc.v1.Service service = 1; */ service?: Service; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServiceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServiceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServiceResponse; static fromJsonString(jsonString: string, options?: Partial): QueryServiceResponse; static equals(a: QueryServiceResponse | PlainMessage | undefined, b: QueryServiceResponse | PlainMessage | undefined): boolean; } /** * QueryServicesByOwnerRequest is the request type for the Query/ServicesByOwner * RPC method. * * @generated from message svc.v1.QueryServicesByOwnerRequest */ export declare class QueryServicesByOwnerRequest extends Message { /** * @generated from field: string owner = 1; */ owner: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServicesByOwnerRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServicesByOwnerRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServicesByOwnerRequest; static fromJsonString(jsonString: string, options?: Partial): QueryServicesByOwnerRequest; static equals(a: QueryServicesByOwnerRequest | PlainMessage | undefined, b: QueryServicesByOwnerRequest | PlainMessage | undefined): boolean; } /** * QueryServicesByOwnerResponse is the response type for the * Query/ServicesByOwner RPC method. * * @generated from message svc.v1.QueryServicesByOwnerResponse */ export declare class QueryServicesByOwnerResponse extends Message { /** * @generated from field: repeated svc.v1.Service services = 1; */ services: Service[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServicesByOwnerResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServicesByOwnerResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServicesByOwnerResponse; static fromJsonString(jsonString: string, options?: Partial): QueryServicesByOwnerResponse; static equals(a: QueryServicesByOwnerResponse | PlainMessage | undefined, b: QueryServicesByOwnerResponse | PlainMessage | undefined): boolean; } /** * QueryServicesByDomainRequest is the request type for the * Query/ServicesByDomain RPC method. * * @generated from message svc.v1.QueryServicesByDomainRequest */ export declare class QueryServicesByDomainRequest extends Message { /** * @generated from field: string domain = 1; */ domain: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServicesByDomainRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServicesByDomainRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServicesByDomainRequest; static fromJsonString(jsonString: string, options?: Partial): QueryServicesByDomainRequest; static equals(a: QueryServicesByDomainRequest | PlainMessage | undefined, b: QueryServicesByDomainRequest | PlainMessage | undefined): boolean; } /** * QueryServicesByDomainResponse is the response type for the * Query/ServicesByDomain RPC method. * * @generated from message svc.v1.QueryServicesByDomainResponse */ export declare class QueryServicesByDomainResponse extends Message { /** * @generated from field: repeated svc.v1.Service services = 1; */ services: Service[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServicesByDomainResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServicesByDomainResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServicesByDomainResponse; static fromJsonString(jsonString: string, options?: Partial): QueryServicesByDomainResponse; static equals(a: QueryServicesByDomainResponse | PlainMessage | undefined, b: QueryServicesByDomainResponse | PlainMessage | undefined): boolean; } /** * QueryServiceOIDCDiscoveryRequest is the request type for the * Query/ServiceOIDCDiscovery RPC method. * * @generated from message svc.v1.QueryServiceOIDCDiscoveryRequest */ export declare class QueryServiceOIDCDiscoveryRequest extends Message { /** * @generated from field: string service_id = 1; */ serviceId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServiceOIDCDiscoveryRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServiceOIDCDiscoveryRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServiceOIDCDiscoveryRequest; static fromJsonString(jsonString: string, options?: Partial): QueryServiceOIDCDiscoveryRequest; static equals(a: QueryServiceOIDCDiscoveryRequest | PlainMessage | undefined, b: QueryServiceOIDCDiscoveryRequest | PlainMessage | undefined): boolean; } /** * QueryServiceOIDCDiscoveryResponse is the response type for the * Query/ServiceOIDCDiscovery RPC method. * This response follows the OpenID Connect Discovery 1.0 specification * * @generated from message svc.v1.QueryServiceOIDCDiscoveryResponse */ export declare class QueryServiceOIDCDiscoveryResponse extends Message { /** * The issuer identifier * * @generated from field: string issuer = 1; */ issuer: string; /** * URL of the authorization endpoint * * @generated from field: string authorization_endpoint = 2; */ authorizationEndpoint: string; /** * URL of the token endpoint * * @generated from field: string token_endpoint = 3; */ tokenEndpoint: string; /** * URL of the JSON Web Key Set * * @generated from field: string jwks_uri = 4; */ jwksUri: string; /** * URL of the UserInfo endpoint * * @generated from field: string userinfo_endpoint = 5; */ userinfoEndpoint: string; /** * URL for the registration endpoint * * @generated from field: string registration_endpoint = 6; */ registrationEndpoint: string; /** * JSON array containing a list of the OAuth 2.0 scope values * * @generated from field: repeated string scopes_supported = 7; */ scopesSupported: string[]; /** * JSON array containing a list of the OAuth 2.0 response_type values * * @generated from field: repeated string response_types_supported = 8; */ responseTypesSupported: string[]; /** * JSON array containing a list of the OAuth 2.0 grant_type values * * @generated from field: repeated string grant_types_supported = 9; */ grantTypesSupported: string[]; /** * JSON array containing a list of the JWS signing algorithms * * @generated from field: repeated string id_token_signing_alg_values_supported = 10; */ idTokenSigningAlgValuesSupported: string[]; /** * JSON array containing a list of the Subject Identifier types * * @generated from field: repeated string subject_types_supported = 11; */ subjectTypesSupported: string[]; /** * JSON array containing a list of client authentication methods * * @generated from field: repeated string token_endpoint_auth_methods_supported = 12; */ tokenEndpointAuthMethodsSupported: string[]; /** * JSON array containing a list of the Claim Names * * @generated from field: repeated string claims_supported = 13; */ claimsSupported: string[]; /** * JSON array containing a list of the OAuth 2.0 response_mode values * * @generated from field: repeated string response_modes_supported = 14; */ responseModesSupported: string[]; /** * Service URL for documentation * * @generated from field: string service_documentation = 15; */ serviceDocumentation: string; /** * Languages supported for the UI * * @generated from field: repeated string ui_locales_supported = 16; */ uiLocalesSupported: string[]; /** * Languages supported for claims * * @generated from field: repeated string claims_locales_supported = 17; */ claimsLocalesSupported: string[]; /** * Boolean value specifying whether the OP supports use of the request parameter * * @generated from field: bool request_parameter_supported = 18; */ requestParameterSupported: boolean; /** * Boolean value specifying whether the OP supports use of the request_uri parameter * * @generated from field: bool request_uri_parameter_supported = 19; */ requestUriParameterSupported: boolean; /** * Boolean value specifying whether the OP requires any request_uri values * * @generated from field: bool require_request_uri_registration = 20; */ requireRequestUriRegistration: boolean; /** * URL that the OP provides to the person registering the Client * * @generated from field: string op_policy_uri = 21; */ opPolicyUri: string; /** * URL that the OP provides to the person registering the Client * * @generated from field: string op_tos_uri = 22; */ opTosUri: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServiceOIDCDiscoveryResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServiceOIDCDiscoveryResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServiceOIDCDiscoveryResponse; static fromJsonString(jsonString: string, options?: Partial): QueryServiceOIDCDiscoveryResponse; static equals(a: QueryServiceOIDCDiscoveryResponse | PlainMessage | undefined, b: QueryServiceOIDCDiscoveryResponse | PlainMessage | undefined): boolean; } /** * QueryServiceOIDCJWKSRequest is the request type for the * Query/ServiceOIDCJWKS RPC method. * * @generated from message svc.v1.QueryServiceOIDCJWKSRequest */ export declare class QueryServiceOIDCJWKSRequest extends Message { /** * @generated from field: string service_id = 1; */ serviceId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServiceOIDCJWKSRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServiceOIDCJWKSRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServiceOIDCJWKSRequest; static fromJsonString(jsonString: string, options?: Partial): QueryServiceOIDCJWKSRequest; static equals(a: QueryServiceOIDCJWKSRequest | PlainMessage | undefined, b: QueryServiceOIDCJWKSRequest | PlainMessage | undefined): boolean; } /** * QueryServiceOIDCJWKSResponse is the response type for the * Query/ServiceOIDCJWKS RPC method. * This response follows the JSON Web Key Set specification * * @generated from message svc.v1.QueryServiceOIDCJWKSResponse */ export declare class QueryServiceOIDCJWKSResponse extends Message { /** * Array of JWK values * * @generated from field: repeated svc.v1.JWK keys = 1; */ keys: JWK[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServiceOIDCJWKSResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServiceOIDCJWKSResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServiceOIDCJWKSResponse; static fromJsonString(jsonString: string, options?: Partial): QueryServiceOIDCJWKSResponse; static equals(a: QueryServiceOIDCJWKSResponse | PlainMessage | undefined, b: QueryServiceOIDCJWKSResponse | PlainMessage | undefined): boolean; } /** * QueryServiceOIDCMetadataRequest is the request type for the * Query/ServiceOIDCMetadata RPC method. * * @generated from message svc.v1.QueryServiceOIDCMetadataRequest */ export declare class QueryServiceOIDCMetadataRequest extends Message { /** * @generated from field: string service_id = 1; */ serviceId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServiceOIDCMetadataRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServiceOIDCMetadataRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServiceOIDCMetadataRequest; static fromJsonString(jsonString: string, options?: Partial): QueryServiceOIDCMetadataRequest; static equals(a: QueryServiceOIDCMetadataRequest | PlainMessage | undefined, b: QueryServiceOIDCMetadataRequest | PlainMessage | undefined): boolean; } /** * QueryServiceOIDCMetadataResponse is the response type for the * Query/ServiceOIDCMetadata RPC method. * * @generated from message svc.v1.QueryServiceOIDCMetadataResponse */ export declare class QueryServiceOIDCMetadataResponse extends Message { /** * Service-specific OIDC metadata * * @generated from field: svc.v1.ServiceOIDCConfig config = 1; */ config?: ServiceOIDCConfig; /** * The verified domain of the service * * @generated from field: string verified_domain = 2; */ verifiedDomain: string; /** * Service status * * @generated from field: svc.v1.ServiceStatus service_status = 3; */ serviceStatus: ServiceStatus; /** * Additional metadata as key-value pairs * * @generated from field: map metadata = 4; */ metadata: { [key: string]: string; }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "svc.v1.QueryServiceOIDCMetadataResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryServiceOIDCMetadataResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryServiceOIDCMetadataResponse; static fromJsonString(jsonString: string, options?: Partial): QueryServiceOIDCMetadataResponse; static equals(a: QueryServiceOIDCMetadataResponse | PlainMessage | undefined, b: QueryServiceOIDCMetadataResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=query_pb.d.ts.map