agntcy-dir 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,39 +1,177 @@
1
+ import { BasicAuthCredentials } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
2
+ import { BasicAuthCredentialsSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
1
3
  import { Client as Client_2 } from '@connectrpc/connect';
2
- import type { EmptySchema } from '@bufbuild/protobuf/wkt';
3
- import type { GenEnum } from '@bufbuild/protobuf/codegenv2';
4
- import type { GenFile } from '@bufbuild/protobuf/codegenv2';
5
- import type { GenMessage } from '@bufbuild/protobuf/codegenv2';
6
- import type { GenService } from '@bufbuild/protobuf/codegenv2';
7
- import type { JsonObject } from '@bufbuild/protobuf';
8
- import type { Message } from '@bufbuild/protobuf';
9
- import type { Timestamp } from '@bufbuild/protobuf/wkt';
4
+ import { CreatePublicationResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
5
+ import { CreatePublicationResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
6
+ import { CreateSyncRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
7
+ import { CreateSyncRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
8
+ import { CreateSyncResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
9
+ import { CreateSyncResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
10
+ import { DeleteSyncRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
11
+ import { DeleteSyncRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
12
+ import { DeleteSyncResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
13
+ import { DeleteSyncResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
14
+ import { DomainVerification } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/name_verification_pb';
15
+ import { DomainVerificationSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/name_verification_pb';
16
+ import { Event as Event_2 } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/events/v1/event_service_pb';
17
+ import { EventSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/events/v1/event_service_pb';
18
+ import { EventService } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/events/v1/event_service_pb';
19
+ import { EventType } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/events/v1/event_service_pb';
20
+ import { EventTypeSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/events/v1/event_service_pb';
21
+ import { file_agntcy_dir_core_v1_record } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
22
+ import { file_agntcy_dir_events_v1_event_service } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/events/v1/event_service_pb';
23
+ import { file_agntcy_dir_naming_v1_name_verification } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/name_verification_pb';
24
+ import { file_agntcy_dir_naming_v1_naming_service } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/naming_service_pb';
25
+ import { file_agntcy_dir_routing_v1_peer } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/peer_pb';
26
+ import { file_agntcy_dir_routing_v1_publication_service } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
27
+ import { file_agntcy_dir_routing_v1_record_query } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/record_query_pb';
28
+ import { file_agntcy_dir_routing_v1_routing_service } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
29
+ import { file_agntcy_dir_search_v1_record_query } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/record_query_pb';
30
+ import { file_agntcy_dir_search_v1_search_service } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/search_service_pb';
31
+ import { file_agntcy_dir_sign_v1_public_key } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/public_key_pb';
32
+ import { file_agntcy_dir_sign_v1_sign_service } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
33
+ import { file_agntcy_dir_sign_v1_signature } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/signature_pb';
34
+ import { file_agntcy_dir_store_v1_store_service } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/store_service_pb';
35
+ import { file_agntcy_dir_store_v1_sync_service } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
36
+ import { GetPublicationRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
37
+ import { GetPublicationRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
38
+ import { GetPublicationResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
39
+ import { GetPublicationResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
40
+ import { GetSyncRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
41
+ import { GetSyncRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
42
+ import { GetSyncResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
43
+ import { GetSyncResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
44
+ import { GetVerificationInfoRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/naming_service_pb';
45
+ import { GetVerificationInfoRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/naming_service_pb';
46
+ import { GetVerificationInfoResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/naming_service_pb';
47
+ import { GetVerificationInfoResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/naming_service_pb';
48
+ import { ListenRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/events/v1/event_service_pb';
49
+ import { ListenRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/events/v1/event_service_pb';
50
+ import { ListenResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/events/v1/event_service_pb';
51
+ import { ListenResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/events/v1/event_service_pb';
52
+ import { ListPublicationsItem } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
53
+ import { ListPublicationsItemSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
54
+ import { ListPublicationsRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
55
+ import { ListPublicationsRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
56
+ import { ListRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
57
+ import { ListRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
58
+ import { ListResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
59
+ import { ListResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
60
+ import { ListSyncsItem } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
61
+ import { ListSyncsItemSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
62
+ import { ListSyncsRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
63
+ import { ListSyncsRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
64
+ import { NamedRecordRef } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
65
+ import { NamedRecordRefSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
66
+ import { NamingService } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/naming_service_pb';
67
+ import { Peer } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/peer_pb';
68
+ import { PeerConnectionType } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/peer_pb';
69
+ import { PeerConnectionTypeSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/peer_pb';
70
+ import { PeerSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/peer_pb';
71
+ import { PublicationService } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
72
+ import { PublicationStatus } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
73
+ import { PublicationStatusSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/publication_service_pb';
74
+ import { PublicKey } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/public_key_pb';
75
+ import { PublicKeySchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/public_key_pb';
76
+ import { PublishRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
77
+ import { PublishRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
78
+ import { PullReferrerRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/store_service_pb';
79
+ import { PullReferrerRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/store_service_pb';
80
+ import { PullReferrerResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/store_service_pb';
81
+ import { PullReferrerResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/store_service_pb';
82
+ import { PushReferrerRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/store_service_pb';
83
+ import { PushReferrerRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/store_service_pb';
84
+ import { PushReferrerResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/store_service_pb';
85
+ import { PushReferrerResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/store_service_pb';
86
+ import { Record as Record_2 } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
87
+ import { RecordMeta } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
88
+ import { RecordMetaSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
89
+ import { RecordQueries } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
90
+ import { RecordQueriesSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
91
+ import { RecordQuery } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/record_query_pb';
92
+ import { RecordQuery as RecordQuery_2 } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/record_query_pb';
93
+ import { RecordQuerySchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/record_query_pb';
94
+ import { RecordQuerySchema as RecordQuerySchema_2 } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/record_query_pb';
95
+ import { RecordQueryType } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/record_query_pb';
96
+ import { RecordQueryType as RecordQueryType_2 } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/record_query_pb';
97
+ import { RecordQueryTypeSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/record_query_pb';
98
+ import { RecordQueryTypeSchema as RecordQueryTypeSchema_2 } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/record_query_pb';
99
+ import { RecordRef } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
100
+ import { RecordReferrer } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
101
+ import { RecordReferrerSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
102
+ import { RecordRefs } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
103
+ import { RecordRefSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
104
+ import { RecordRefsSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
105
+ import { RecordSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/core/v1/record_pb';
106
+ import { RequestRegistryCredentialsRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
107
+ import { RequestRegistryCredentialsRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
108
+ import { RequestRegistryCredentialsResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
109
+ import { RequestRegistryCredentialsResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
110
+ import { ResolveRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/naming_service_pb';
111
+ import { ResolveRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/naming_service_pb';
112
+ import { ResolveResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/naming_service_pb';
113
+ import { ResolveResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/naming_service_pb';
114
+ import { RoutingService } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
115
+ import { SearchCIDsRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/search_service_pb';
116
+ import { SearchCIDsRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/search_service_pb';
117
+ import { SearchCIDsResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/search_service_pb';
118
+ import { SearchCIDsResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/search_service_pb';
119
+ import { SearchRecordsRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/search_service_pb';
120
+ import { SearchRecordsRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/search_service_pb';
121
+ import { SearchRecordsResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/search_service_pb';
122
+ import { SearchRecordsResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/search_service_pb';
123
+ import { SearchRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
124
+ import { SearchRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
125
+ import { SearchResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
126
+ import { SearchResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
127
+ import { SearchService } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/search/v1/search_service_pb';
128
+ import { Signature } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/signature_pb';
129
+ import { SignatureSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/signature_pb';
130
+ import { SignerInfo } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
131
+ import { SignerInfoKey } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
132
+ import { SignerInfoKeySchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
133
+ import { SignerInfoOIDC } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
134
+ import { SignerInfoOIDCSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
135
+ import { SignerInfoSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
136
+ import { SignOptionsOIDC } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
137
+ import { SignOptionsOIDCSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
138
+ import { SignRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
139
+ import { SignRequestProvider } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
140
+ import { SignRequestProviderSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
141
+ import { SignRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
142
+ import { SignResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
143
+ import { SignResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
144
+ import { SignService } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
145
+ import { SignWithKey } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
146
+ import { SignWithKeySchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
147
+ import { SignWithOIDC } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
148
+ import { SignWithOIDCSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
149
+ import { StoreService } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/store_service_pb';
150
+ import { SyncService } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
151
+ import { SyncStatus } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
152
+ import { SyncStatusSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/store/v1/sync_service_pb';
10
153
  import { Transport } from '@connectrpc/connect';
154
+ import { UnpublishRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
155
+ import { UnpublishRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/routing/v1/routing_service_pb';
156
+ import { Verification } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/name_verification_pb';
157
+ import { VerificationSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/naming/v1/name_verification_pb';
158
+ import { VerifyOptionsOIDC } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
159
+ import { VerifyOptionsOIDCSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
160
+ import { VerifyRequest } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
161
+ import { VerifyRequestProvider } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
162
+ import { VerifyRequestProviderSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
163
+ import { VerifyRequestSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
164
+ import { VerifyResponse } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
165
+ import { VerifyResponseSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
166
+ import { VerifyWithAny } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
167
+ import { VerifyWithAnySchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
168
+ import { VerifyWithKey } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
169
+ import { VerifyWithKeySchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
170
+ import { VerifyWithOIDC } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
171
+ import { VerifyWithOIDCSchema } from '@buf/agntcy_dir.bufbuild_es/agntcy/dir/sign/v1/sign_service_pb';
11
172
 
12
173
  export declare type AuthMode = '' | 'x509' | 'jwt' | 'tls' | 'oidc';
13
174
 
14
- /**
15
- * Supporting credential type definitions
16
- *
17
- * @generated from message agntcy.dir.store.v1.BasicAuthCredentials
18
- */
19
- declare type BasicAuthCredentials = Message<"agntcy.dir.store.v1.BasicAuthCredentials"> & {
20
- /**
21
- * @generated from field: string username = 1;
22
- */
23
- username: string;
24
-
25
- /**
26
- * @generated from field: string password = 2;
27
- */
28
- password: string;
29
- };
30
-
31
- /**
32
- * Describes the message agntcy.dir.store.v1.BasicAuthCredentials.
33
- * Use `create(BasicAuthCredentialsSchema)` to create a new message.
34
- */
35
- declare const BasicAuthCredentialsSchema: GenMessage<BasicAuthCredentials>;
36
-
37
175
  export declare class CachedToken {
38
176
  accessToken: string;
39
177
  tokenType: string;
@@ -735,6 +873,7 @@ export declare class Config {
735
873
  oidcCallbackPort: number;
736
874
  oidcAuthTimeout: number;
737
875
  oidcScopes: string[];
876
+ dockerConfig: DockerConfig | undefined;
738
877
  /**
739
878
  * Creates a new Config instance.
740
879
  *
@@ -744,7 +883,7 @@ export declare class Config {
744
883
  * @param authMode - Authentication mode: '' for insecure, 'x509', 'jwt', 'tls', or 'oidc'. Defaults to ''
745
884
  * @param jwtAudience - JWT audience for JWT authentication. Required when authMode is 'jwt'
746
885
  */
747
- constructor(serverAddress?: string, dirctlPath?: string, spiffeEndpointSocket?: string, authMode?: AuthMode, jwtAudience?: string, tlsCaFile?: string, tlsCertFile?: string, tlsKeyFile?: string, authToken?: string, tlsServerName?: string, tlsSkipVerify?: boolean, oidcIssuer?: string, oidcClientId?: string, oidcClientSecret?: string, oidcRedirectUri?: string, oidcCallbackPort?: number, oidcAuthTimeout?: number, oidcScopes?: string[] | undefined, oidcAccessToken?: string | undefined);
886
+ constructor(serverAddress?: string, dirctlPath?: string, spiffeEndpointSocket?: string, authMode?: AuthMode, jwtAudience?: string, tlsCaFile?: string, tlsCertFile?: string, tlsKeyFile?: string, authToken?: string, tlsServerName?: string, tlsSkipVerify?: boolean, oidcIssuer?: string, oidcClientId?: string, oidcClientSecret?: string, oidcRedirectUri?: string, oidcCallbackPort?: number, oidcAuthTimeout?: number, oidcScopes?: string[] | undefined, oidcAccessToken?: string | undefined, dockerConfig?: DockerConfig | undefined);
748
887
  /**
749
888
  * Load configuration from environment variables.
750
889
  *
@@ -761,6 +900,7 @@ export declare class Config {
761
900
  * ```
762
901
  */
763
902
  static loadFromEnv(prefix?: string): Config;
903
+ getCommandAndArgs(args: string[]): [string, string[]];
764
904
  }
765
905
 
766
906
  export declare namespace core_v1 {
@@ -779,263 +919,18 @@ export declare namespace core_v1 {
779
919
  }
780
920
  }
781
921
 
782
- /**
783
- * CreatePublicationResponse returns the result of creating a publication request.
784
- * This includes the publication ID and any relevant metadata.
785
- *
786
- * @generated from message agntcy.dir.routing.v1.CreatePublicationResponse
787
- */
788
- declare type CreatePublicationResponse = Message<"agntcy.dir.routing.v1.CreatePublicationResponse"> & {
789
- /**
790
- * Unique identifier of the publication operation.
791
- *
792
- * @generated from field: string publication_id = 1;
793
- */
794
- publicationId: string;
795
- };
796
-
797
- /**
798
- * Describes the message agntcy.dir.routing.v1.CreatePublicationResponse.
799
- * Use `create(CreatePublicationResponseSchema)` to create a new message.
800
- */
801
- declare const CreatePublicationResponseSchema: GenMessage<CreatePublicationResponse>;
802
-
803
- /**
804
- * CreateSyncRequest defines the parameters for creating a new synchronization operation.
805
- *
806
- * Currently supports basic synchronization of all objects from a remote Directory.
807
- * Future versions may include additional options for filtering and scheduling capabilities.
808
- *
809
- * @generated from message agntcy.dir.store.v1.CreateSyncRequest
810
- */
811
- declare type CreateSyncRequest = Message<"agntcy.dir.store.v1.CreateSyncRequest"> & {
812
- /**
813
- * URL of the remote Registry to synchronize from.
814
- *
815
- * This should be a complete URL including protocol and port if non-standard.
816
- * Examples:
817
- * - "https://directory.example.com"
818
- * - "http://localhost:8080"
819
- * - "https://directory.example.com:9443"
820
- *
821
- * @generated from field: string remote_directory_url = 1;
822
- */
823
- remoteDirectoryUrl: string;
824
-
825
- /**
826
- * List of CIDs to synchronize from the remote Directory.
827
- * If empty, all objects will be synchronized.
828
- *
829
- * @generated from field: repeated string cids = 2;
830
- */
831
- cids: string[];
832
- };
833
-
834
- /**
835
- * Describes the message agntcy.dir.store.v1.CreateSyncRequest.
836
- * Use `create(CreateSyncRequestSchema)` to create a new message.
837
- */
838
- declare const CreateSyncRequestSchema: GenMessage<CreateSyncRequest>;
839
-
840
- /**
841
- * CreateSyncResponse contains the result of creating a new synchronization operation.
842
- *
843
- * @generated from message agntcy.dir.store.v1.CreateSyncResponse
844
- */
845
- declare type CreateSyncResponse = Message<"agntcy.dir.store.v1.CreateSyncResponse"> & {
846
- /**
847
- * Unique identifier for the created synchronization operation.
848
- * This ID can be used with other SyncService RPCs to monitor and manage the sync.
849
- *
850
- * @generated from field: string sync_id = 1;
851
- */
852
- syncId: string;
853
- };
854
-
855
- /**
856
- * Describes the message agntcy.dir.store.v1.CreateSyncResponse.
857
- * Use `create(CreateSyncResponseSchema)` to create a new message.
858
- */
859
- declare const CreateSyncResponseSchema: GenMessage<CreateSyncResponse>;
860
-
861
- /**
862
- * @generated from message agntcy.dir.store.v1.DeleteReferrerRequest
863
- */
864
- declare type DeleteReferrerRequest = Message<"agntcy.dir.store.v1.DeleteReferrerRequest"> & {
865
- /**
866
- * The record the referrer(s) are referring to.
867
- *
868
- * @generated from field: agntcy.dir.core.v1.RecordRef record = 1;
869
- */
870
- record?: RecordRef;
871
-
872
- /**
873
- * The CID of the referrer to delete.
874
- * If set, delete the referrer by CID.
875
- *
876
- * @generated from field: optional agntcy.dir.core.v1.ReferrerRef referrer_ref = 2;
877
- */
878
- referrerRef?: ReferrerRef;
879
-
880
- /**
881
- * The referrer type of the referrers to delete.
882
- * If set, delete the referrers with given type.
883
- *
884
- * @generated from field: optional string referrer_type = 3;
885
- */
886
- referrerType?: string;
887
- };
888
-
889
- /**
890
- * Describes the message agntcy.dir.store.v1.DeleteReferrerRequest.
891
- * Use `create(DeleteReferrerRequestSchema)` to create a new message.
892
- */
893
- declare const DeleteReferrerRequestSchema: GenMessage<DeleteReferrerRequest>;
894
-
895
- /**
896
- * @generated from message agntcy.dir.store.v1.DeleteReferrerResponse
897
- */
898
- declare type DeleteReferrerResponse = Message<"agntcy.dir.store.v1.DeleteReferrerResponse"> & {
899
- /**
900
- * The CID(s) of the deleted referrers.
901
- *
902
- * @generated from field: repeated agntcy.dir.core.v1.ReferrerRef referrer_refs = 1;
903
- */
904
- referrerRefs: ReferrerRef[];
905
- };
906
-
907
- /**
908
- * Describes the message agntcy.dir.store.v1.DeleteReferrerResponse.
909
- * Use `create(DeleteReferrerResponseSchema)` to create a new message.
910
- */
911
- declare const DeleteReferrerResponseSchema: GenMessage<DeleteReferrerResponse>;
912
-
913
- /**
914
- * DeleteSyncRequest specifies which synchronization to delete.
915
- *
916
- * @generated from message agntcy.dir.store.v1.DeleteSyncRequest
917
- */
918
- declare type DeleteSyncRequest = Message<"agntcy.dir.store.v1.DeleteSyncRequest"> & {
919
- /**
920
- * Unique identifier of the synchronization operation to delete.
921
- *
922
- * @generated from field: string sync_id = 1;
923
- */
924
- syncId: string;
925
- };
926
-
927
- /**
928
- * Describes the message agntcy.dir.store.v1.DeleteSyncRequest.
929
- * Use `create(DeleteSyncRequestSchema)` to create a new message.
930
- */
931
- declare const DeleteSyncRequestSchema: GenMessage<DeleteSyncRequest>;
932
-
933
- /**
934
- * DeleteSyncResponse
935
- *
936
- * @generated from message agntcy.dir.store.v1.DeleteSyncResponse
937
- */
938
- declare type DeleteSyncResponse = Message<"agntcy.dir.store.v1.DeleteSyncResponse"> & {
939
- };
940
-
941
- /**
942
- * Describes the message agntcy.dir.store.v1.DeleteSyncResponse.
943
- * Use `create(DeleteSyncResponseSchema)` to create a new message.
944
- */
945
- declare const DeleteSyncResponseSchema: GenMessage<DeleteSyncResponse>;
946
-
947
- /**
948
- * DomainVerification represents the result of verifying that a record's
949
- * signing key is authorized by the domain claimed in the record's name.
950
- *
951
- * @generated from message agntcy.dir.naming.v1.DomainVerification
952
- */
953
- declare type DomainVerification = Message<"agntcy.dir.naming.v1.DomainVerification"> & {
954
- /**
955
- * The domain that was verified (e.g., "cisco.com").
956
- *
957
- * @generated from field: string domain = 1;
958
- */
959
- domain: string;
960
-
961
- /**
962
- * The verification method used: "wellknown".
963
- *
964
- * @generated from field: string method = 2;
965
- */
966
- method: string;
967
-
968
- /**
969
- * The identifier of the domain's public key that matched the record's signing key.
970
- * This is the "id" field from the well-known file.
971
- *
972
- * @generated from field: string key_id = 3;
973
- */
974
- keyId: string;
975
-
976
- /**
977
- * When the verification was performed.
978
- *
979
- * @generated from field: google.protobuf.Timestamp verified_at = 4;
980
- */
981
- verifiedAt?: Timestamp;
982
- };
983
-
984
- /**
985
- * Describes the message agntcy.dir.naming.v1.DomainVerification.
986
- * Use `create(DomainVerificationSchema)` to create a new message.
987
- */
988
- declare const DomainVerificationSchema: GenMessage<DomainVerification>;
989
-
990
- /**
991
- * Event represents a system event that occurred.
992
- *
993
- * @generated from message agntcy.dir.events.v1.Event
994
- */
995
- declare type Event_2 = Message<"agntcy.dir.events.v1.Event"> & {
996
- /**
997
- * Unique event identifier (generated by the system).
998
- *
999
- * @generated from field: string id = 1;
1000
- */
1001
- id: string;
1002
-
1003
- /**
1004
- * Type of event that occurred.
1005
- *
1006
- * @generated from field: agntcy.dir.events.v1.EventType type = 2;
1007
- */
1008
- type: EventType;
1009
-
1010
- /**
1011
- * When the event occurred.
1012
- *
1013
- * @generated from field: google.protobuf.Timestamp timestamp = 3;
1014
- */
1015
- timestamp?: Timestamp;
1016
-
1017
- /**
1018
- * Resource identifier (CID for records, sync_id for syncs, etc.).
1019
- *
1020
- * @generated from field: string resource_id = 4;
1021
- */
1022
- resourceId: string;
1023
-
1024
- /**
1025
- * Optional labels associated with the record (for record events).
1026
- *
1027
- * @generated from field: repeated string labels = 5;
1028
- */
1029
- labels: string[];
1030
-
1031
- /**
1032
- * Optional metadata for additional context.
1033
- * Used for flexible event-specific data that doesn't fit standard fields.
1034
- *
1035
- * @generated from field: map<string, string> metadata = 7;
1036
- */
1037
- metadata: { [key: string]: string };
1038
- };
922
+ declare class DockerConfig {
923
+ static DEFAULT_DIRCTL_IMAGE: string;
924
+ static DEFAULT_DIRCTL_IMAGE_TAG: string;
925
+ dirctlImage: string;
926
+ dirctlImageTag: string;
927
+ envs: Map<string, string>;
928
+ mounts: string[];
929
+ user: string;
930
+ constructor(dirctlImage: string, dirctlImageTag: string, envs: Map<string, string>, mounts: string[], user: string);
931
+ getDockerArgs(): string[];
932
+ pruneMounts(): void;
933
+ }
1039
934
 
1040
935
  export declare namespace events_v1 {
1041
936
  export {
@@ -1052,2509 +947,172 @@ export declare namespace events_v1 {
1052
947
  }
1053
948
  }
1054
949
 
1055
- /**
1056
- * Describes the message agntcy.dir.events.v1.Event.
1057
- * Use `create(EventSchema)` to create a new message.
1058
- */
1059
- declare const EventSchema: GenMessage<Event_2>;
1060
-
1061
- /**
1062
- * EventService provides real-time event streaming for all system operations.
1063
- * Events are delivered from subscription time forward with no history or replay.
1064
- * This service enables external applications to react to system changes in real-time.
1065
- *
1066
- * @generated from service agntcy.dir.events.v1.EventService
1067
- */
1068
- declare const EventService: GenService<{
1069
- /**
1070
- * Listen establishes a streaming connection to receive events.
1071
- * Events are only delivered while the stream is active.
1072
- * On disconnect, missed events are not recoverable.
1073
- *
1074
- * @generated from rpc agntcy.dir.events.v1.EventService.Listen
1075
- */
1076
- listen: {
1077
- methodKind: "server_streaming";
1078
- input: typeof ListenRequestSchema;
1079
- output: typeof ListenResponseSchema;
1080
- },
1081
- }>;
1082
-
1083
- /**
1084
- * EventType represents all valid event types in the system.
1085
- * Each value represents a specific operation that can occur.
1086
- *
1087
- * Supported Events:
1088
- * - Store: RECORD_PUSHED, RECORD_PULLED, RECORD_DELETED
1089
- * - Routing: RECORD_PUBLISHED, RECORD_UNPUBLISHED
1090
- * - Sync: SYNC_CREATED, SYNC_COMPLETED, SYNC_FAILED
1091
- * - Sign: RECORD_SIGNED
1092
- *
1093
- * @generated from enum agntcy.dir.events.v1.EventType
1094
- */
1095
- declare enum EventType {
1096
- /**
1097
- * Unknown/unspecified event type.
1098
- *
1099
- * @generated from enum value: EVENT_TYPE_UNSPECIFIED = 0;
1100
- */
1101
- UNSPECIFIED = 0,
1102
-
1103
- /**
1104
- * A record was pushed to local storage.
1105
- *
1106
- * @generated from enum value: EVENT_TYPE_RECORD_PUSHED = 1;
1107
- */
1108
- RECORD_PUSHED = 1,
1109
-
1110
- /**
1111
- * A record was pulled from storage.
1112
- *
1113
- * @generated from enum value: EVENT_TYPE_RECORD_PULLED = 2;
1114
- */
1115
- RECORD_PULLED = 2,
1116
-
1117
- /**
1118
- * A record was deleted from storage.
1119
- *
1120
- * @generated from enum value: EVENT_TYPE_RECORD_DELETED = 3;
1121
- */
1122
- RECORD_DELETED = 3,
1123
-
1124
- /**
1125
- * A record was published/announced to the network.
1126
- *
1127
- * @generated from enum value: EVENT_TYPE_RECORD_PUBLISHED = 4;
1128
- */
1129
- RECORD_PUBLISHED = 4,
1130
-
1131
- /**
1132
- * A record was unpublished from the network.
1133
- *
1134
- * @generated from enum value: EVENT_TYPE_RECORD_UNPUBLISHED = 5;
1135
- */
1136
- RECORD_UNPUBLISHED = 5,
1137
-
1138
- /**
1139
- * A sync operation was created/initiated.
1140
- *
1141
- * @generated from enum value: EVENT_TYPE_SYNC_CREATED = 6;
1142
- */
1143
- SYNC_CREATED = 6,
1144
-
1145
- /**
1146
- * A sync operation completed successfully.
1147
- *
1148
- * @generated from enum value: EVENT_TYPE_SYNC_COMPLETED = 7;
1149
- */
1150
- SYNC_COMPLETED = 7,
1151
-
1152
- /**
1153
- * A sync operation failed.
1154
- *
1155
- * @generated from enum value: EVENT_TYPE_SYNC_FAILED = 8;
1156
- */
1157
- SYNC_FAILED = 8,
1158
-
1159
- /**
1160
- * A record was signed.
1161
- *
1162
- * @generated from enum value: EVENT_TYPE_RECORD_SIGNED = 9;
1163
- */
1164
- RECORD_SIGNED = 9,
1165
-
1166
- /**
1167
- * A public key was uploaded.
1168
- *
1169
- * @generated from enum value: EVENT_TYPE_PUBLIC_KEY_UPLOADED = 10;
1170
- */
1171
- PUBLIC_KEY_UPLOADED = 10,
950
+ export declare namespace models {
951
+ export {
952
+ core_v1,
953
+ naming_v1,
954
+ routing_v1,
955
+ search_v1,
956
+ sign_v1,
957
+ store_v1,
958
+ events_v1
959
+ }
1172
960
  }
1173
961
 
1174
- /**
1175
- * Describes the enum agntcy.dir.events.v1.EventType.
1176
- */
1177
- declare const EventTypeSchema: GenEnum<EventType>;
962
+ declare namespace models_2 {
963
+ export {
964
+ core_v1,
965
+ naming_v1,
966
+ routing_v1,
967
+ search_v1,
968
+ sign_v1,
969
+ store_v1,
970
+ events_v1
971
+ }
972
+ }
1178
973
 
1179
- /**
1180
- * Describes the file agntcy/dir/core/v1/record.proto.
1181
- */
1182
- declare const file_agntcy_dir_core_v1_record: GenFile;
974
+ export declare namespace naming_v1 {
975
+ export {
976
+ file_agntcy_dir_naming_v1_naming_service,
977
+ GetVerificationInfoRequest,
978
+ GetVerificationInfoRequestSchema,
979
+ GetVerificationInfoResponse,
980
+ GetVerificationInfoResponseSchema,
981
+ ResolveRequest,
982
+ ResolveRequestSchema,
983
+ ResolveResponse,
984
+ ResolveResponseSchema,
985
+ NamingService,
986
+ file_agntcy_dir_naming_v1_name_verification,
987
+ Verification,
988
+ VerificationSchema,
989
+ DomainVerification,
990
+ DomainVerificationSchema
991
+ }
992
+ }
1183
993
 
1184
- /**
1185
- * Describes the file agntcy/dir/events/v1/event_service.proto.
1186
- */
1187
- declare const file_agntcy_dir_events_v1_event_service: GenFile;
994
+ export declare class OAuthPkceError extends Error {
995
+ constructor(message: string);
996
+ }
1188
997
 
1189
- /**
1190
- * Describes the file agntcy/dir/naming/v1/name_verification.proto.
1191
- */
1192
- declare const file_agntcy_dir_naming_v1_name_verification: GenFile;
998
+ export declare class OAuthTokenHolder {
999
+ private accessToken;
1000
+ setTokens(accessToken: string): void;
1001
+ updateFromTokenResponse(payload: Record<string, unknown>): void;
1002
+ getAccessToken(): string;
1003
+ }
1193
1004
 
1194
- /**
1195
- * Describes the file agntcy/dir/naming/v1/naming_service.proto.
1196
- */
1197
- declare const file_agntcy_dir_naming_v1_naming_service: GenFile;
1198
-
1199
- /**
1200
- * Describes the file agntcy/dir/routing/v1/peer.proto.
1201
- */
1202
- declare const file_agntcy_dir_routing_v1_peer: GenFile;
1203
-
1204
- /**
1205
- * Describes the file agntcy/dir/routing/v1/publication_service.proto.
1206
- */
1207
- declare const file_agntcy_dir_routing_v1_publication_service: GenFile;
1208
-
1209
- /**
1210
- * Describes the file agntcy/dir/routing/v1/record_query.proto.
1211
- */
1212
- declare const file_agntcy_dir_routing_v1_record_query: GenFile;
1213
-
1214
- /**
1215
- * Describes the file agntcy/dir/routing/v1/routing_service.proto.
1216
- */
1217
- declare const file_agntcy_dir_routing_v1_routing_service: GenFile;
1218
-
1219
- /**
1220
- * Describes the file agntcy/dir/search/v1/record_query.proto.
1221
- */
1222
- declare const file_agntcy_dir_search_v1_record_query: GenFile;
1223
-
1224
- /**
1225
- * Describes the file agntcy/dir/search/v1/search_service.proto.
1226
- */
1227
- declare const file_agntcy_dir_search_v1_search_service: GenFile;
1228
-
1229
- /**
1230
- * Describes the file agntcy/dir/sign/v1/public_key.proto.
1231
- */
1232
- declare const file_agntcy_dir_sign_v1_public_key: GenFile;
1233
-
1234
- /**
1235
- * Describes the file agntcy/dir/sign/v1/sign_service.proto.
1236
- */
1237
- declare const file_agntcy_dir_sign_v1_sign_service: GenFile;
1238
-
1239
- /**
1240
- * Describes the file agntcy/dir/sign/v1/signature.proto.
1241
- */
1242
- declare const file_agntcy_dir_sign_v1_signature: GenFile;
1243
-
1244
- /**
1245
- * Describes the file agntcy/dir/store/v1/store_service.proto.
1246
- */
1247
- declare const file_agntcy_dir_store_v1_store_service: GenFile;
1248
-
1249
- /**
1250
- * Describes the file agntcy/dir/store/v1/sync_service.proto.
1251
- */
1252
- declare const file_agntcy_dir_store_v1_sync_service: GenFile;
1253
-
1254
- /**
1255
- * GetPublicationRequest specifies which publication to retrieve by its identifier.
1256
- *
1257
- * @generated from message agntcy.dir.routing.v1.GetPublicationRequest
1258
- */
1259
- declare type GetPublicationRequest = Message<"agntcy.dir.routing.v1.GetPublicationRequest"> & {
1260
- /**
1261
- * Unique identifier of the publication operation to query.
1262
- *
1263
- * @generated from field: string publication_id = 1;
1264
- */
1265
- publicationId: string;
1266
- };
1267
-
1268
- /**
1269
- * Describes the message agntcy.dir.routing.v1.GetPublicationRequest.
1270
- * Use `create(GetPublicationRequestSchema)` to create a new message.
1271
- */
1272
- declare const GetPublicationRequestSchema: GenMessage<GetPublicationRequest>;
1273
-
1274
- /**
1275
- * GetPublicationResponse contains the full details of a specific publication request.
1276
- * Includes status, progress information, and any error details if applicable.
1277
- *
1278
- * @generated from message agntcy.dir.routing.v1.GetPublicationResponse
1279
- */
1280
- declare type GetPublicationResponse = Message<"agntcy.dir.routing.v1.GetPublicationResponse"> & {
1281
- /**
1282
- * Unique identifier of the publication operation.
1283
- *
1284
- * @generated from field: string publication_id = 1;
1285
- */
1286
- publicationId: string;
1287
-
1288
- /**
1289
- * Current status of the publication operation.
1290
- *
1291
- * @generated from field: agntcy.dir.routing.v1.PublicationStatus status = 2;
1292
- */
1293
- status: PublicationStatus;
1294
-
1295
- /**
1296
- * Timestamp when the publication operation was created in the RFC3339 format.
1297
- * Specs: https://www.rfc-editor.org/rfc/rfc3339.html
1298
- *
1299
- * @generated from field: string created_time = 3;
1300
- */
1301
- createdTime: string;
1302
-
1303
- /**
1304
- * Timestamp of the most recent status update for this publication in the RFC3339 format.
1305
- *
1306
- * @generated from field: string last_update_time = 4;
1307
- */
1308
- lastUpdateTime: string;
1309
- };
1310
-
1311
- /**
1312
- * Describes the message agntcy.dir.routing.v1.GetPublicationResponse.
1313
- * Use `create(GetPublicationResponseSchema)` to create a new message.
1314
- */
1315
- declare const GetPublicationResponseSchema: GenMessage<GetPublicationResponse>;
1316
-
1317
- /**
1318
- * GetSyncRequest specifies which synchronization status to retrieve.
1319
- *
1320
- * @generated from message agntcy.dir.store.v1.GetSyncRequest
1321
- */
1322
- declare type GetSyncRequest = Message<"agntcy.dir.store.v1.GetSyncRequest"> & {
1323
- /**
1324
- * Unique identifier of the synchronization operation to query.
1325
- *
1326
- * @generated from field: string sync_id = 1;
1327
- */
1328
- syncId: string;
1329
- };
1330
-
1331
- /**
1332
- * Describes the message agntcy.dir.store.v1.GetSyncRequest.
1333
- * Use `create(GetSyncRequestSchema)` to create a new message.
1334
- */
1335
- declare const GetSyncRequestSchema: GenMessage<GetSyncRequest>;
1336
-
1337
- /**
1338
- * GetSyncResponse provides detailed information about a specific synchronization operation.
1339
- *
1340
- * @generated from message agntcy.dir.store.v1.GetSyncResponse
1341
- */
1342
- declare type GetSyncResponse = Message<"agntcy.dir.store.v1.GetSyncResponse"> & {
1343
- /**
1344
- * Unique identifier of the synchronization operation.
1345
- *
1346
- * @generated from field: string sync_id = 1;
1347
- */
1348
- syncId: string;
1349
-
1350
- /**
1351
- * Current status of the synchronization operation.
1352
- *
1353
- * @generated from field: agntcy.dir.store.v1.SyncStatus status = 2;
1354
- */
1355
- status: SyncStatus;
1356
-
1357
- /**
1358
- * URL of the remote Directory node being synchronized from.
1359
- *
1360
- * @generated from field: string remote_directory_url = 3;
1361
- */
1362
- remoteDirectoryUrl: string;
1363
-
1364
- /**
1365
- * Timestamp when the synchronization operation was created in the RFC3339 format.
1366
- * Specs: https://www.rfc-editor.org/rfc/rfc3339.html
1367
- *
1368
- * @generated from field: string created_time = 4;
1369
- */
1370
- createdTime: string;
1371
-
1372
- /**
1373
- * Timestamp of the most recent status update for this synchronization in the RFC3339 format.
1374
- *
1375
- * @generated from field: string last_update_time = 5;
1376
- */
1377
- lastUpdateTime: string;
1378
- };
1379
-
1380
- /**
1381
- * Describes the message agntcy.dir.store.v1.GetSyncResponse.
1382
- * Use `create(GetSyncResponseSchema)` to create a new message.
1383
- */
1384
- declare const GetSyncResponseSchema: GenMessage<GetSyncResponse>;
1385
-
1386
- /**
1387
- * GetVerificationInfoRequest is the request for retrieving verification info.
1388
- * Either cid OR name must be provided. If name is provided, it will be resolved
1389
- * to a CID first (using the latest version if version is not specified).
1390
- *
1391
- * @generated from message agntcy.dir.naming.v1.GetVerificationInfoRequest
1392
- */
1393
- declare type GetVerificationInfoRequest = Message<"agntcy.dir.naming.v1.GetVerificationInfoRequest"> & {
1394
- /**
1395
- * The CID of the record to check.
1396
- * If provided, name and version are ignored.
1397
- *
1398
- * @generated from field: optional string cid = 1;
1399
- */
1400
- cid?: string;
1401
-
1402
- /**
1403
- * The name of the record to check (e.g., "cisco.com/agent").
1404
- * Used when cid is not provided.
1405
- *
1406
- * @generated from field: optional string name = 2;
1407
- */
1408
- name?: string;
1409
-
1410
- /**
1411
- * Optional version when looking up by name (e.g., "v1.0.0").
1412
- * If not specified, the latest version is used.
1413
- *
1414
- * @generated from field: optional string version = 3;
1415
- */
1416
- version?: string;
1417
- };
1418
-
1419
- /**
1420
- * Describes the message agntcy.dir.naming.v1.GetVerificationInfoRequest.
1421
- * Use `create(GetVerificationInfoRequestSchema)` to create a new message.
1422
- */
1423
- declare const GetVerificationInfoRequestSchema: GenMessage<GetVerificationInfoRequest>;
1424
-
1425
- /**
1426
- * GetVerificationInfoResponse is the response for retrieving verification info.
1427
- *
1428
- * @generated from message agntcy.dir.naming.v1.GetVerificationInfoResponse
1429
- */
1430
- declare type GetVerificationInfoResponse = Message<"agntcy.dir.naming.v1.GetVerificationInfoResponse"> & {
1431
- /**
1432
- * Whether the record has verified name ownership.
1433
- *
1434
- * @generated from field: bool verified = 1;
1435
- */
1436
- verified: boolean;
1437
-
1438
- /**
1439
- * The verification details (only set if verified is true).
1440
- *
1441
- * @generated from field: agntcy.dir.naming.v1.Verification verification = 2;
1442
- */
1443
- verification?: Verification;
1444
-
1445
- /**
1446
- * Error message if lookup failed.
1447
- *
1448
- * @generated from field: optional string error_message = 3;
1449
- */
1450
- errorMessage?: string;
1451
- };
1452
-
1453
- /**
1454
- * Describes the message agntcy.dir.naming.v1.GetVerificationInfoResponse.
1455
- * Use `create(GetVerificationInfoResponseSchema)` to create a new message.
1456
- */
1457
- declare const GetVerificationInfoResponseSchema: GenMessage<GetVerificationInfoResponse>;
1458
-
1459
- /**
1460
- * ListenRequest specifies filters for event subscription.
1461
- *
1462
- * @generated from message agntcy.dir.events.v1.ListenRequest
1463
- */
1464
- declare type ListenRequest = Message<"agntcy.dir.events.v1.ListenRequest"> & {
1465
- /**
1466
- * Event types to subscribe to.
1467
- * If empty, subscribes to all event types.
1468
- *
1469
- * @generated from field: repeated agntcy.dir.events.v1.EventType event_types = 1;
1470
- */
1471
- eventTypes: EventType[];
1472
-
1473
- /**
1474
- * Optional label filters (e.g., "/skills/AI", "/domains/research").
1475
- * Only events for records matching these labels are delivered.
1476
- * Uses substring matching.
1477
- *
1478
- * @generated from field: repeated string label_filters = 2;
1479
- */
1480
- labelFilters: string[];
1481
-
1482
- /**
1483
- * Optional CID filters.
1484
- * Only events for specific CIDs are delivered.
1485
- *
1486
- * @generated from field: repeated string cid_filters = 3;
1487
- */
1488
- cidFilters: string[];
1489
- };
1490
-
1491
- /**
1492
- * Describes the message agntcy.dir.events.v1.ListenRequest.
1493
- * Use `create(ListenRequestSchema)` to create a new message.
1494
- */
1495
- declare const ListenRequestSchema: GenMessage<ListenRequest>;
1496
-
1497
- /**
1498
- * ListenResponse is the response message for the Listen RPC.
1499
- * Wraps the Event message to allow for future extensions without breaking the Event structure.
1500
- *
1501
- * @generated from message agntcy.dir.events.v1.ListenResponse
1502
- */
1503
- declare type ListenResponse = Message<"agntcy.dir.events.v1.ListenResponse"> & {
1504
- /**
1505
- * The event that occurred.
1506
- *
1507
- * @generated from field: agntcy.dir.events.v1.Event event = 1;
1508
- */
1509
- event?: Event_2;
1510
- };
1511
-
1512
- /**
1513
- * Describes the message agntcy.dir.events.v1.ListenResponse.
1514
- * Use `create(ListenResponseSchema)` to create a new message.
1515
- */
1516
- declare const ListenResponseSchema: GenMessage<ListenResponse>;
1517
-
1518
- /**
1519
- * ListPublicationsItem represents a single publication request in the list response.
1520
- * Contains publication details including ID, status, and creation timestamp.
1521
- *
1522
- * @generated from message agntcy.dir.routing.v1.ListPublicationsItem
1523
- */
1524
- declare type ListPublicationsItem = Message<"agntcy.dir.routing.v1.ListPublicationsItem"> & {
1525
- /**
1526
- * Unique identifier of the publication operation.
1527
- *
1528
- * @generated from field: string publication_id = 1;
1529
- */
1530
- publicationId: string;
1531
-
1532
- /**
1533
- * Current status of the publication operation.
1534
- *
1535
- * @generated from field: agntcy.dir.routing.v1.PublicationStatus status = 2;
1536
- */
1537
- status: PublicationStatus;
1538
-
1539
- /**
1540
- * Timestamp when the publication operation was created in the RFC3339 format.
1541
- * Specs: https://www.rfc-editor.org/rfc/rfc3339.html
1542
- *
1543
- * @generated from field: string created_time = 3;
1544
- */
1545
- createdTime: string;
1546
-
1547
- /**
1548
- * Timestamp of the most recent status update for this publication in the RFC3339 format.
1549
- *
1550
- * @generated from field: string last_update_time = 4;
1551
- */
1552
- lastUpdateTime: string;
1553
- };
1554
-
1555
- /**
1556
- * Describes the message agntcy.dir.routing.v1.ListPublicationsItem.
1557
- * Use `create(ListPublicationsItemSchema)` to create a new message.
1558
- */
1559
- declare const ListPublicationsItemSchema: GenMessage<ListPublicationsItem>;
1560
-
1561
- /**
1562
- * ListPublicationsRequest contains optional filters for listing publication requests.
1563
- *
1564
- * @generated from message agntcy.dir.routing.v1.ListPublicationsRequest
1565
- */
1566
- declare type ListPublicationsRequest = Message<"agntcy.dir.routing.v1.ListPublicationsRequest"> & {
1567
- /**
1568
- * Optional limit on the number of results to return.
1569
- *
1570
- * @generated from field: optional uint32 limit = 2;
1571
- */
1572
- limit?: number;
1573
-
1574
- /**
1575
- * Optional offset for pagination of results.
1576
- *
1577
- * @generated from field: optional uint32 offset = 3;
1578
- */
1579
- offset?: number;
1580
- };
1581
-
1582
- /**
1583
- * Describes the message agntcy.dir.routing.v1.ListPublicationsRequest.
1584
- * Use `create(ListPublicationsRequestSchema)` to create a new message.
1585
- */
1586
- declare const ListPublicationsRequestSchema: GenMessage<ListPublicationsRequest>;
1587
-
1588
- /**
1589
- * @generated from message agntcy.dir.routing.v1.ListRequest
1590
- */
1591
- declare type ListRequest = Message<"agntcy.dir.routing.v1.ListRequest"> & {
1592
- /**
1593
- * List of queries to match against the records.
1594
- * If set, all queries must match for the record to be returned.
1595
- *
1596
- * @generated from field: repeated agntcy.dir.routing.v1.RecordQuery queries = 1;
1597
- */
1598
- queries: RecordQuery_2[];
1599
-
1600
- /**
1601
- * Limit the number of results returned.
1602
- * If not set, it will return all records that this peer is providing.
1603
- *
1604
- * @generated from field: optional uint32 limit = 2;
1605
- */
1606
- limit?: number;
1607
- };
1608
-
1609
- /**
1610
- * Describes the message agntcy.dir.routing.v1.ListRequest.
1611
- * Use `create(ListRequestSchema)` to create a new message.
1612
- */
1613
- declare const ListRequestSchema: GenMessage<ListRequest>;
1614
-
1615
- /**
1616
- * @generated from message agntcy.dir.routing.v1.ListResponse
1617
- */
1618
- declare type ListResponse = Message<"agntcy.dir.routing.v1.ListResponse"> & {
1619
- /**
1620
- * The record that matches the list queries.
1621
- *
1622
- * @generated from field: agntcy.dir.core.v1.RecordRef record_ref = 1;
1623
- */
1624
- recordRef?: RecordRef;
1625
-
1626
- /**
1627
- * Labels associated with this record (skills, domains, modules)
1628
- * Derived from the record content for CLI display purposes
1629
- *
1630
- * @generated from field: repeated string labels = 2;
1631
- */
1632
- labels: string[];
1633
- };
1634
-
1635
- /**
1636
- * Describes the message agntcy.dir.routing.v1.ListResponse.
1637
- * Use `create(ListResponseSchema)` to create a new message.
1638
- */
1639
- declare const ListResponseSchema: GenMessage<ListResponse>;
1640
-
1641
- /**
1642
- * ListSyncItem represents a single synchronization in the list of all syncs.
1643
- *
1644
- * @generated from message agntcy.dir.store.v1.ListSyncsItem
1645
- */
1646
- declare type ListSyncsItem = Message<"agntcy.dir.store.v1.ListSyncsItem"> & {
1647
- /**
1648
- * Unique identifier of the synchronization operation.
1649
- *
1650
- * @generated from field: string sync_id = 1;
1651
- */
1652
- syncId: string;
1653
-
1654
- /**
1655
- * Current status of the synchronization operation.
1656
- *
1657
- * @generated from field: agntcy.dir.store.v1.SyncStatus status = 2;
1658
- */
1659
- status: SyncStatus;
1660
-
1661
- /**
1662
- * URL of the remote Directory being synchronized from.
1663
- *
1664
- * @generated from field: string remote_directory_url = 3;
1665
- */
1666
- remoteDirectoryUrl: string;
1667
- };
1668
-
1669
- /**
1670
- * Describes the message agntcy.dir.store.v1.ListSyncsItem.
1671
- * Use `create(ListSyncsItemSchema)` to create a new message.
1672
- */
1673
- declare const ListSyncsItemSchema: GenMessage<ListSyncsItem>;
1674
-
1675
- /**
1676
- * ListSyncsRequest specifies parameters for listing synchronization operations.
1677
- *
1678
- * @generated from message agntcy.dir.store.v1.ListSyncsRequest
1679
- */
1680
- declare type ListSyncsRequest = Message<"agntcy.dir.store.v1.ListSyncsRequest"> & {
1681
- /**
1682
- * Optional limit on the number of results to return.
1683
- *
1684
- * @generated from field: optional uint32 limit = 2;
1685
- */
1686
- limit?: number;
1687
-
1688
- /**
1689
- * Optional offset for pagination of results.
1690
- *
1691
- * @generated from field: optional uint32 offset = 3;
1692
- */
1693
- offset?: number;
1694
- };
1695
-
1696
- /**
1697
- * Describes the message agntcy.dir.store.v1.ListSyncsRequest.
1698
- * Use `create(ListSyncsRequestSchema)` to create a new message.
1699
- */
1700
- declare const ListSyncsRequestSchema: GenMessage<ListSyncsRequest>;
1701
-
1702
- export declare namespace models {
1703
- export {
1704
- core_v1,
1705
- naming_v1,
1706
- routing_v1,
1707
- search_v1,
1708
- sign_v1,
1709
- store_v1,
1710
- events_v1
1711
- }
1712
- }
1713
-
1714
- declare namespace models_2 {
1715
- export {
1716
- core_v1,
1717
- naming_v1,
1718
- routing_v1,
1719
- search_v1,
1720
- sign_v1,
1721
- store_v1,
1722
- events_v1
1723
- }
1724
- }
1725
-
1726
- /**
1727
- * Represents a named reference to a Record with version information.
1728
- *
1729
- * @generated from message agntcy.dir.core.v1.NamedRecordRef
1730
- */
1731
- declare type NamedRecordRef = Message<"agntcy.dir.core.v1.NamedRecordRef"> & {
1732
- /**
1733
- * The name of the record.
1734
- *
1735
- * @generated from field: string name = 1;
1736
- */
1737
- name: string;
1738
-
1739
- /**
1740
- * The version of the record.
1741
- *
1742
- * @generated from field: string version = 2;
1743
- */
1744
- version: string;
1745
-
1746
- /**
1747
- * The CID of the record.
1748
- *
1749
- * @generated from field: string cid = 3;
1750
- */
1751
- cid: string;
1752
- };
1753
-
1754
- /**
1755
- * Describes the message agntcy.dir.core.v1.NamedRecordRef.
1756
- * Use `create(NamedRecordRefSchema)` to create a new message.
1757
- */
1758
- declare const NamedRecordRefSchema: GenMessage<NamedRecordRef>;
1759
-
1760
- export declare namespace naming_v1 {
1761
- export {
1762
- file_agntcy_dir_naming_v1_naming_service,
1763
- GetVerificationInfoRequest,
1764
- GetVerificationInfoRequestSchema,
1765
- GetVerificationInfoResponse,
1766
- GetVerificationInfoResponseSchema,
1767
- ResolveRequest,
1768
- ResolveRequestSchema,
1769
- ResolveResponse,
1770
- ResolveResponseSchema,
1771
- NamingService,
1772
- file_agntcy_dir_naming_v1_name_verification,
1773
- Verification,
1774
- VerificationSchema,
1775
- DomainVerification,
1776
- DomainVerificationSchema
1777
- }
1778
- }
1779
-
1780
- /**
1781
- * NamingService provides methods for name resolution and verification.
1782
- * Note: Verification is performed automatically by the backend scheduler
1783
- * for signed records with verifiable names (http://, https:// prefixes).
1784
- *
1785
- * @generated from service agntcy.dir.naming.v1.NamingService
1786
- */
1787
- declare const NamingService: GenService<{
1788
- /**
1789
- * GetVerificationInfo retrieves the verification info for a record.
1790
- *
1791
- * @generated from rpc agntcy.dir.naming.v1.NamingService.GetVerificationInfo
1792
- */
1793
- getVerificationInfo: {
1794
- methodKind: "unary";
1795
- input: typeof GetVerificationInfoRequestSchema;
1796
- output: typeof GetVerificationInfoResponseSchema;
1797
- },
1798
- /**
1799
- * Resolve resolves a record reference (name with optional version) to CIDs.
1800
- * Supports Docker-style references:
1801
- * - "name" -> returns all versions (newest first)
1802
- * - "name:version" -> returns the specific version
1803
- * - "name@cid" -> hash-verified lookup (latest version)
1804
- * - "name:version@cid" -> hash-verified lookup (specific version)
1805
- * Returns an error if no matching record is found.
1806
- *
1807
- * @generated from rpc agntcy.dir.naming.v1.NamingService.Resolve
1808
- */
1809
- resolve: {
1810
- methodKind: "unary";
1811
- input: typeof ResolveRequestSchema;
1812
- output: typeof ResolveResponseSchema;
1813
- },
1814
- }>;
1815
-
1816
- export declare class OAuthPkceError extends Error {
1817
- constructor(message: string);
1818
- }
1819
-
1820
- export declare class OAuthTokenHolder {
1821
- private accessToken;
1822
- setTokens(accessToken: string): void;
1823
- updateFromTokenResponse(payload: Record<string, unknown>): void;
1824
- getAccessToken(): string;
1825
- }
1826
-
1827
- /**
1828
- * @generated from message agntcy.dir.routing.v1.Peer
1829
- */
1830
- declare type Peer = Message<"agntcy.dir.routing.v1.Peer"> & {
1831
- /**
1832
- * ID of a given peer, typically described by a protocol.
1833
- * For example:
1834
- * - SPIFFE: "spiffe://example.org/service/foo"
1835
- * - JWT: "jwt:sub=alice,iss=https://issuer.example.com"
1836
- * - Tor: "onion:abcdefghijklmno.onion"
1837
- * - DID: "did:example:123456789abcdefghi"
1838
- * - IPFS: "ipfs:QmYwAPJzv5CZsnAzt8auVZRn2E6sD1c4x8pN5o6d5cW4D5"
1839
- *
1840
- * @generated from field: string id = 1;
1841
- */
1842
- id: string;
1843
-
1844
- /**
1845
- * Multiaddrs for a given peer.
1846
- * For example:
1847
- * - "/ip4/127.0.0.1/tcp/4001"
1848
- * - "/ip6/::1/tcp/4001"
1849
- * - "/dns4/example.com/tcp/443/https"
1850
- *
1851
- * @generated from field: repeated string addrs = 2;
1852
- */
1853
- addrs: string[];
1854
-
1855
- /**
1856
- * Additional metadata about the peer.
1857
- *
1858
- * @generated from field: map<string, string> annotations = 3;
1859
- */
1860
- annotations: { [key: string]: string };
1861
-
1862
- /**
1863
- * Used to signal the sender's connection capabilities to the peer.
1864
- *
1865
- * @generated from field: agntcy.dir.routing.v1.PeerConnectionType connection = 4;
1866
- */
1867
- connection: PeerConnectionType;
1868
- };
1869
-
1870
- /**
1871
- * @generated from enum agntcy.dir.routing.v1.PeerConnectionType
1872
- */
1873
- declare enum PeerConnectionType {
1874
- /**
1875
- * Sender does not have a connection to peer, and no extra information (default)
1876
- *
1877
- * @generated from enum value: PEER_CONNECTION_TYPE_NOT_CONNECTED = 0;
1878
- */
1879
- NOT_CONNECTED = 0,
1880
-
1881
- /**
1882
- * Sender has a live connection to peer.
1883
- *
1884
- * @generated from enum value: PEER_CONNECTION_TYPE_CONNECTED = 1;
1885
- */
1886
- CONNECTED = 1,
1887
-
1888
- /**
1889
- * Sender recently connected to peer.
1890
- *
1891
- * @generated from enum value: PEER_CONNECTION_TYPE_CAN_CONNECT = 2;
1892
- */
1893
- CAN_CONNECT = 2,
1894
-
1895
- /**
1896
- * Sender made strong effort to connect to peer repeatedly but failed.
1897
- *
1898
- * @generated from enum value: PEER_CONNECTION_TYPE_CANNOT_CONNECT = 3;
1899
- */
1900
- CANNOT_CONNECT = 3,
1901
- }
1902
-
1903
- /**
1904
- * Describes the enum agntcy.dir.routing.v1.PeerConnectionType.
1905
- */
1906
- declare const PeerConnectionTypeSchema: GenEnum<PeerConnectionType>;
1907
-
1908
- /**
1909
- * Describes the message agntcy.dir.routing.v1.Peer.
1910
- * Use `create(PeerSchema)` to create a new message.
1911
- */
1912
- declare const PeerSchema: GenMessage<Peer>;
1913
-
1914
- /**
1915
- * PublicationService manages publication requests for announcing records to the DHT.
1916
- *
1917
- * Publications are stored in the database and processed by a worker that runs every hour.
1918
- * The publication workflow:
1919
- * 1. Publications are created via routing's Publish RPC by specifying either a query, a list of CIDs, or all records
1920
- * 2. Publication requests are added to the database
1921
- * 3. PublicationWorker queries the data using the publication request from the database to get the list of CIDs to be published
1922
- * 4. PublicationWorker announces the records with these CIDs to the DHT
1923
- *
1924
- * @generated from service agntcy.dir.routing.v1.PublicationService
1925
- */
1926
- declare const PublicationService: GenService<{
1927
- /**
1928
- * CreatePublication creates a new publication request that will be processed by the PublicationWorker.
1929
- * The publication request can specify either a query, a list of specific CIDs, or all records to be announced to the DHT.
1930
- *
1931
- * @generated from rpc agntcy.dir.routing.v1.PublicationService.CreatePublication
1932
- */
1933
- createPublication: {
1934
- methodKind: "unary";
1935
- input: typeof PublishRequestSchema;
1936
- output: typeof CreatePublicationResponseSchema;
1937
- },
1938
- /**
1939
- * ListPublications returns a stream of all publication requests in the system.
1940
- * This allows monitoring of pending, processing, and completed publication requests.
1941
- *
1942
- * @generated from rpc agntcy.dir.routing.v1.PublicationService.ListPublications
1943
- */
1944
- listPublications: {
1945
- methodKind: "server_streaming";
1946
- input: typeof ListPublicationsRequestSchema;
1947
- output: typeof ListPublicationsItemSchema;
1948
- },
1949
- /**
1950
- * GetPublication retrieves details of a specific publication request by its identifier.
1951
- * This includes the current status and any associated metadata.
1952
- *
1953
- * @generated from rpc agntcy.dir.routing.v1.PublicationService.GetPublication
1954
- */
1955
- getPublication: {
1956
- methodKind: "unary";
1957
- input: typeof GetPublicationRequestSchema;
1958
- output: typeof GetPublicationResponseSchema;
1959
- },
1960
- }>;
1961
-
1962
- /**
1963
- * PublicationStatus represents the current state of a publication request.
1964
- * Publications progress from pending to processing to completed or failed states.
1965
- *
1966
- * @generated from enum agntcy.dir.routing.v1.PublicationStatus
1967
- */
1968
- declare enum PublicationStatus {
1969
- /**
1970
- * Default/unset status - should not be used in practice
1971
- *
1972
- * @generated from enum value: PUBLICATION_STATUS_UNSPECIFIED = 0;
1973
- */
1974
- UNSPECIFIED = 0,
1975
-
1976
- /**
1977
- * Sync operation has been created but not yet started
1978
- *
1979
- * @generated from enum value: PUBLICATION_STATUS_PENDING = 1;
1980
- */
1981
- PENDING = 1,
1982
-
1983
- /**
1984
- * Sync operation is actively discovering and transferring objects
1985
- *
1986
- * @generated from enum value: PUBLICATION_STATUS_IN_PROGRESS = 2;
1987
- */
1988
- IN_PROGRESS = 2,
1989
-
1990
- /**
1991
- * Sync operation has been successfully completed
1992
- *
1993
- * @generated from enum value: PUBLICATION_STATUS_COMPLETED = 3;
1994
- */
1995
- COMPLETED = 3,
1996
-
1997
- /**
1998
- * Sync operation encountered an error and stopped
1999
- *
2000
- * @generated from enum value: PUBLICATION_STATUS_FAILED = 4;
2001
- */
2002
- FAILED = 4,
2003
- }
2004
-
2005
- /**
2006
- * Describes the enum agntcy.dir.routing.v1.PublicationStatus.
2007
- */
2008
- declare const PublicationStatusSchema: GenEnum<PublicationStatus>;
2009
-
2010
- /**
2011
- * PublicKey is the public key data associated with a Record.
2012
- * Multiple public keys can be associated with a single Record.
2013
- *
2014
- * @generated from message agntcy.dir.sign.v1.PublicKey
2015
- */
2016
- declare type PublicKey = Message<"agntcy.dir.sign.v1.PublicKey"> & {
2017
- /**
2018
- * PEM-encoded public key string.
2019
- *
2020
- * @generated from field: string key = 1;
2021
- */
2022
- key: string;
2023
- };
2024
-
2025
- /**
2026
- * Describes the message agntcy.dir.sign.v1.PublicKey.
2027
- * Use `create(PublicKeySchema)` to create a new message.
2028
- */
2029
- declare const PublicKeySchema: GenMessage<PublicKey>;
2030
-
2031
- /**
2032
- * @generated from message agntcy.dir.routing.v1.PublishRequest
2033
- */
2034
- declare type PublishRequest = Message<"agntcy.dir.routing.v1.PublishRequest"> & {
2035
- /**
2036
- * @generated from oneof agntcy.dir.routing.v1.PublishRequest.request
2037
- */
2038
- request: {
2039
- /**
2040
- * References to the records to be published.
2041
- *
2042
- * @generated from field: agntcy.dir.routing.v1.RecordRefs record_refs = 1;
2043
- */
2044
- value: RecordRefs;
2045
- case: "recordRefs";
2046
- } | {
2047
- /**
2048
- * Queries to match against the records to be published.
2049
- *
2050
- * @generated from field: agntcy.dir.routing.v1.RecordQueries queries = 2;
2051
- */
2052
- value: RecordQueries;
2053
- case: "queries";
2054
- } | { case: undefined; value?: undefined };
2055
- };
2056
-
2057
- /**
2058
- * Describes the message agntcy.dir.routing.v1.PublishRequest.
2059
- * Use `create(PublishRequestSchema)` to create a new message.
2060
- */
2061
- declare const PublishRequestSchema: GenMessage<PublishRequest>;
2062
-
2063
- /**
2064
- * PullReferrerRequest represents a record with optional OCI artifacts for pull operations.
2065
- *
2066
- * @generated from message agntcy.dir.store.v1.PullReferrerRequest
2067
- */
2068
- declare type PullReferrerRequest = Message<"agntcy.dir.store.v1.PullReferrerRequest"> & {
2069
- /**
2070
- * Record reference
2071
- *
2072
- * @generated from field: agntcy.dir.core.v1.RecordRef record_ref = 1;
2073
- */
2074
- recordRef?: RecordRef;
2075
-
2076
- /**
2077
- * Record referrer type to be pulled
2078
- * If not provided, all referrers will be pulled
2079
- *
2080
- * @generated from field: optional string referrer_type = 2;
2081
- */
2082
- referrerType?: string;
2083
-
2084
- /**
2085
- * If set, return the given referrer.
2086
- *
2087
- * @generated from field: optional agntcy.dir.core.v1.ReferrerRef referrer_ref = 3;
2088
- */
2089
- referrerRef?: ReferrerRef;
2090
- };
2091
-
2092
- /**
2093
- * Describes the message agntcy.dir.store.v1.PullReferrerRequest.
2094
- * Use `create(PullReferrerRequestSchema)` to create a new message.
2095
- */
2096
- declare const PullReferrerRequestSchema: GenMessage<PullReferrerRequest>;
2097
-
2098
- /**
2099
- * PullReferrerResponse is returned after successfully fetching a record referrer.
2100
- *
2101
- * @generated from message agntcy.dir.store.v1.PullReferrerResponse
2102
- */
2103
- declare type PullReferrerResponse = Message<"agntcy.dir.store.v1.PullReferrerResponse"> & {
2104
- /**
2105
- * RecordReferrer object associated with the record
2106
- *
2107
- * @generated from field: agntcy.dir.core.v1.RecordReferrer referrer = 1;
2108
- */
2109
- referrer?: RecordReferrer;
2110
- };
2111
-
2112
- /**
2113
- * Describes the message agntcy.dir.store.v1.PullReferrerResponse.
2114
- * Use `create(PullReferrerResponseSchema)` to create a new message.
2115
- */
2116
- declare const PullReferrerResponseSchema: GenMessage<PullReferrerResponse>;
2117
-
2118
- /**
2119
- * PushReferrerRequest represents a record with optional OCI artifacts for push operations.
2120
- *
2121
- * @generated from message agntcy.dir.store.v1.PushReferrerRequest
2122
- */
2123
- declare type PushReferrerRequest = Message<"agntcy.dir.store.v1.PushReferrerRequest"> & {
2124
- /**
2125
- * Record reference
2126
- *
2127
- * @generated from field: agntcy.dir.core.v1.RecordRef record_ref = 1;
2128
- */
2129
- recordRef?: RecordRef;
2130
-
2131
- /**
2132
- * The type of the referrer.
2133
- * For example, "agntcy.dir.sign.v1.Signature" for signatures.
2134
- *
2135
- * @generated from field: string type = 2;
2136
- */
2137
- type: string;
2138
-
2139
- /**
2140
- * Annotations attached to the referrer object.
2141
- *
2142
- * @generated from field: map<string, string> annotations = 3;
2143
- */
2144
- annotations: { [key: string]: string };
2145
-
2146
- /**
2147
- * Creation timestamp of the record in the RFC3339 format.
2148
- * Specs: https://www.rfc-editor.org/rfc/rfc3339.html
2149
- *
2150
- * @generated from field: string created_at = 4;
2151
- */
2152
- createdAt: string;
2153
-
2154
- /**
2155
- * The actual data of the referrer.
2156
- *
2157
- * @generated from field: google.protobuf.Struct data = 5;
2158
- */
2159
- data?: JsonObject;
2160
- };
2161
-
2162
- /**
2163
- * Describes the message agntcy.dir.store.v1.PushReferrerRequest.
2164
- * Use `create(PushReferrerRequestSchema)` to create a new message.
2165
- */
2166
- declare const PushReferrerRequestSchema: GenMessage<PushReferrerRequest>;
2167
-
2168
- /**
2169
- * PushReferrerResponse
2170
- *
2171
- * @generated from message agntcy.dir.store.v1.PushReferrerResponse
2172
- */
2173
- declare type PushReferrerResponse = Message<"agntcy.dir.store.v1.PushReferrerResponse"> & {
2174
- /**
2175
- * The push process result
2176
- *
2177
- * @generated from field: bool success = 1;
2178
- */
2179
- success: boolean;
2180
-
2181
- /**
2182
- * Optional error message if push failed
2183
- *
2184
- * @generated from field: optional string error_message = 2;
2185
- */
2186
- errorMessage?: string;
2187
-
2188
- /**
2189
- * The CID of the referrer
2190
- *
2191
- * @generated from field: agntcy.dir.core.v1.ReferrerRef referrer_ref = 3;
2192
- */
2193
- referrerRef?: ReferrerRef;
2194
- };
2195
-
2196
- /**
2197
- * Describes the message agntcy.dir.store.v1.PushReferrerResponse.
2198
- * Use `create(PushReferrerResponseSchema)` to create a new message.
2199
- */
2200
- declare const PushReferrerResponseSchema: GenMessage<PushReferrerResponse>;
2201
-
2202
- /**
2203
- * Record is a generic object that encapsulates data of different Record types.
2204
- *
2205
- * Supported schemas:
2206
- *
2207
- * v0.7.0: https://schema.oasf.outshift.com/0.7.0/objects/record
2208
- * v0.8.0: https://schema.oasf.outshift.com/0.8.0/objects/record
2209
- * v1.0.0: https://schema.oasf.outshift.com/1.0.0/objects/record
2210
- *
2211
- * @generated from message agntcy.dir.core.v1.Record
2212
- */
2213
- declare type Record_2 = Message<"agntcy.dir.core.v1.Record"> & {
2214
- /**
2215
- * @generated from field: google.protobuf.Struct data = 1;
2216
- */
2217
- data?: JsonObject;
2218
- };
2219
-
2220
- /**
2221
- * Defines metadata about a record.
2222
- *
2223
- * @generated from message agntcy.dir.core.v1.RecordMeta
2224
- */
2225
- declare type RecordMeta = Message<"agntcy.dir.core.v1.RecordMeta"> & {
2226
- /**
2227
- * CID of the record.
2228
- *
2229
- * @generated from field: string cid = 1;
2230
- */
2231
- cid: string;
2232
-
2233
- /**
2234
- * Annotations attached to the record.
2235
- *
2236
- * @generated from field: map<string, string> annotations = 2;
2237
- */
2238
- annotations: { [key: string]: string };
2239
-
2240
- /**
2241
- * Schema version of the record.
2242
- *
2243
- * @generated from field: string schema_version = 3;
2244
- */
2245
- schemaVersion: string;
2246
-
2247
- /**
2248
- * Creation timestamp of the record in the RFC3339 format.
2249
- * Specs: https://www.rfc-editor.org/rfc/rfc3339.html
2250
- *
2251
- * @generated from field: string created_at = 4;
2252
- */
2253
- createdAt: string;
2254
- };
2255
-
2256
- /**
2257
- * Describes the message agntcy.dir.core.v1.RecordMeta.
2258
- * Use `create(RecordMetaSchema)` to create a new message.
2259
- */
2260
- declare const RecordMetaSchema: GenMessage<RecordMeta>;
2261
-
2262
- /**
2263
- * @generated from message agntcy.dir.routing.v1.RecordQueries
2264
- */
2265
- declare type RecordQueries = Message<"agntcy.dir.routing.v1.RecordQueries"> & {
2266
- /**
2267
- * @generated from field: repeated agntcy.dir.search.v1.RecordQuery queries = 1;
2268
- */
2269
- queries: RecordQuery[];
2270
- };
2271
-
2272
- /**
2273
- * Describes the message agntcy.dir.routing.v1.RecordQueries.
2274
- * Use `create(RecordQueriesSchema)` to create a new message.
2275
- */
2276
- declare const RecordQueriesSchema: GenMessage<RecordQueries>;
2277
-
2278
- /**
2279
- * A query to match the record against during discovery.
2280
- * For example:
2281
- * Exact match: { type: RECORD_QUERY_TYPE_NAME, value: "my-agent" }
2282
- * Wildcard match: { type: RECORD_QUERY_TYPE_NAME, value: "web*" }
2283
- * Pattern match: { type: RECORD_QUERY_TYPE_SKILL_NAME, value: "*machine*learning*" }
2284
- * Question mark: { type: RECORD_QUERY_TYPE_VERSION, value: "v1.0.?" }
2285
- * Complex match: { type: RECORD_QUERY_TYPE_LOCATOR, value: "docker-image:https://*.example.com/*" }
2286
- *
2287
- * @generated from message agntcy.dir.search.v1.RecordQuery
2288
- */
2289
- declare type RecordQuery = Message<"agntcy.dir.search.v1.RecordQuery"> & {
2290
- /**
2291
- * The type of the query to match against.
2292
- *
2293
- * @generated from field: agntcy.dir.search.v1.RecordQueryType type = 1;
2294
- */
2295
- type: RecordQueryType;
2296
-
2297
- /**
2298
- * The query value to match against.
2299
- * Supports wildcard patterns:
2300
- * '*' - matches zero or more characters
2301
- * '?' - matches exactly one character
2302
- *
2303
- * @generated from field: string value = 2;
2304
- */
2305
- value: string;
2306
- };
2307
-
2308
- /**
2309
- * A query to match the record against during discovery.
2310
- * For example:
2311
- * { type: RECORD_QUERY_TYPE_SKILL, value: "Natural Language Processing" }
2312
- * { type: RECORD_QUERY_TYPE_LOCATOR, value: "helm-chart" }
2313
- * { type: RECORD_QUERY_TYPE_DOMAIN, value: "research" }
2314
- * { type: RECORD_QUERY_TYPE_MODULE, value: "core/llm/model" }
2315
- *
2316
- * @generated from message agntcy.dir.routing.v1.RecordQuery
2317
- */
2318
- declare type RecordQuery_2 = Message<"agntcy.dir.routing.v1.RecordQuery"> & {
2319
- /**
2320
- * The type of the query to match against.
2321
- *
2322
- * @generated from field: agntcy.dir.routing.v1.RecordQueryType type = 1;
2323
- */
2324
- type: RecordQueryType_2;
2325
-
2326
- /**
2327
- * The query value to match against.
2328
- *
2329
- * @generated from field: string value = 2;
2330
- */
2331
- value: string;
2332
- };
2333
-
2334
- /**
2335
- * Describes the message agntcy.dir.routing.v1.RecordQuery.
2336
- * Use `create(RecordQuerySchema)` to create a new message.
2337
- */
2338
- declare const RecordQuerySchema: GenMessage<RecordQuery_2>;
2339
-
2340
- /**
2341
- * Describes the message agntcy.dir.search.v1.RecordQuery.
2342
- * Use `create(RecordQuerySchema)` to create a new message.
2343
- */
2344
- declare const RecordQuerySchema_2: GenMessage<RecordQuery>;
2345
-
2346
- /**
2347
- * Defines a list of supported record query types.
2348
- *
2349
- * @generated from enum agntcy.dir.search.v1.RecordQueryType
2350
- */
2351
- declare enum RecordQueryType {
2352
- /**
2353
- * Unspecified query type.
2354
- *
2355
- * @generated from enum value: RECORD_QUERY_TYPE_UNSPECIFIED = 0;
2356
- */
2357
- UNSPECIFIED = 0,
2358
-
2359
- /**
2360
- * Query for a record name.
2361
- * Supports wildcard patterns: "web*", "*service", "api-*-v2", "???api"
2362
- *
2363
- * @generated from enum value: RECORD_QUERY_TYPE_NAME = 1;
2364
- */
2365
- NAME = 1,
2366
-
2367
- /**
2368
- * Query for a record version.
2369
- * Supports wildcard patterns: "v1.*", "v2.*", "*-beta", "v1.0.?"
2370
- *
2371
- * @generated from enum value: RECORD_QUERY_TYPE_VERSION = 2;
2372
- */
2373
- VERSION = 2,
2374
-
2375
- /**
2376
- * Query for a skill ID.
2377
- * Numeric field - exact match only, no wildcard support.
2378
- *
2379
- * @generated from enum value: RECORD_QUERY_TYPE_SKILL_ID = 3;
2380
- */
2381
- SKILL_ID = 3,
2382
-
2383
- /**
2384
- * Query for a skill name.
2385
- * Supports wildcard patterns: "python*", "*script", "*machine*learning*", "Pytho?"
2386
- *
2387
- * @generated from enum value: RECORD_QUERY_TYPE_SKILL_NAME = 4;
2388
- */
2389
- SKILL_NAME = 4,
2390
-
2391
- /**
2392
- * Query for a locator type.
2393
- * Supports wildcard patterns: "http*", "ftp*", "*docker*"
2394
- *
2395
- * @generated from enum value: RECORD_QUERY_TYPE_LOCATOR = 5;
2396
- */
2397
- LOCATOR = 5,
2398
-
2399
- /**
2400
- * Query for a module name.
2401
- * Supports wildcard patterns: "*-plugin", "*-module", "core*", "mod-?"
2402
- *
2403
- * @generated from enum value: RECORD_QUERY_TYPE_MODULE_NAME = 6;
2404
- */
2405
- MODULE_NAME = 6,
2406
-
2407
- /**
2408
- * Query for a domain ID.
2409
- * Numeric field - exact match only, no wildcard support.
2410
- *
2411
- * @generated from enum value: RECORD_QUERY_TYPE_DOMAIN_ID = 7;
2412
- */
2413
- DOMAIN_ID = 7,
2414
-
2415
- /**
2416
- * Query for a domain name.
2417
- * Supports wildcard patterns: "*education*", "healthcare/*", "*technology"
2418
- *
2419
- * @generated from enum value: RECORD_QUERY_TYPE_DOMAIN_NAME = 8;
2420
- */
2421
- DOMAIN_NAME = 8,
2422
-
2423
- /**
2424
- * Query for a record's created_at timestamp.
2425
- * Supports wildcard patterns for date strings: "2025-*", ">=2025-01-01"
2426
- *
2427
- * @generated from enum value: RECORD_QUERY_TYPE_CREATED_AT = 9;
2428
- */
2429
- CREATED_AT = 9,
2430
-
2431
- /**
2432
- * Query for a record author.
2433
- * Supports wildcard patterns: "AGNTCY*", "*@example.com", "*Team*"
2434
- *
2435
- * @generated from enum value: RECORD_QUERY_TYPE_AUTHOR = 10;
2436
- */
2437
- AUTHOR = 10,
2438
-
2439
- /**
2440
- * Query for a schema version.
2441
- * Supports wildcard patterns: "0.7.*", "0.*", "1.0.?"
2442
- *
2443
- * @generated from enum value: RECORD_QUERY_TYPE_SCHEMA_VERSION = 11;
2444
- */
2445
- SCHEMA_VERSION = 11,
2446
-
2447
- /**
2448
- * Query for a module ID.
2449
- * Numeric field - exact match only, no wildcard support.
2450
- *
2451
- * @generated from enum value: RECORD_QUERY_TYPE_MODULE_ID = 12;
2452
- */
2453
- MODULE_ID = 12,
2454
-
2455
- /**
2456
- * Query for verified records (name ownership verified via JWKS).
2457
- * Boolean field - use "true" or "false" as value.
2458
- *
2459
- * @generated from enum value: RECORD_QUERY_TYPE_VERIFIED = 13;
2460
- */
2461
- VERIFIED = 13,
2462
-
2463
- /**
2464
- * Query for trusted records (signature verification passed).
2465
- * Boolean field - use "true" or "false" as value.
2466
- *
2467
- * @generated from enum value: RECORD_QUERY_TYPE_TRUSTED = 14;
2468
- */
2469
- TRUSTED = 14,
2470
- }
2471
-
2472
- /**
2473
- * Defines a list of supported record query types.
2474
- *
2475
- * @generated from enum agntcy.dir.routing.v1.RecordQueryType
2476
- */
2477
- declare enum RecordQueryType_2 {
2478
- /**
2479
- * Unspecified query type.
2480
- *
2481
- * @generated from enum value: RECORD_QUERY_TYPE_UNSPECIFIED = 0;
2482
- */
2483
- UNSPECIFIED = 0,
2484
-
2485
- /**
2486
- * Query for a skill name.
2487
- *
2488
- * @generated from enum value: RECORD_QUERY_TYPE_SKILL = 1;
2489
- */
2490
- SKILL = 1,
2491
-
2492
- /**
2493
- * Query for a locator type.
2494
- *
2495
- * @generated from enum value: RECORD_QUERY_TYPE_LOCATOR = 2;
2496
- */
2497
- LOCATOR = 2,
2498
-
2499
- /**
2500
- * Query for a domain name.
2501
- *
2502
- * @generated from enum value: RECORD_QUERY_TYPE_DOMAIN = 3;
2503
- */
2504
- DOMAIN = 3,
2505
-
2506
- /**
2507
- * Query for a module name.
2508
- *
2509
- * @generated from enum value: RECORD_QUERY_TYPE_MODULE = 4;
2510
- */
2511
- MODULE = 4,
2512
- }
2513
-
2514
- /**
2515
- * Describes the enum agntcy.dir.routing.v1.RecordQueryType.
2516
- */
2517
- declare const RecordQueryTypeSchema: GenEnum<RecordQueryType_2>;
2518
-
2519
- /**
2520
- * Describes the enum agntcy.dir.search.v1.RecordQueryType.
2521
- */
2522
- declare const RecordQueryTypeSchema_2: GenEnum<RecordQueryType>;
2523
-
2524
- /**
2525
- * Defines a reference or a globally unique content identifier of a record.
2526
- *
2527
- * @generated from message agntcy.dir.core.v1.RecordRef
2528
- */
2529
- declare type RecordRef = Message<"agntcy.dir.core.v1.RecordRef"> & {
2530
- /**
2531
- * Globally-unique content identifier (CID) of the record.
2532
- * Specs: https://github.com/multiformats/cid
2533
- *
2534
- * @generated from field: string cid = 1;
2535
- */
2536
- cid: string;
2537
- };
2538
-
2539
- /**
2540
- * RecordReferrer represents a referrer object or an association
2541
- * to a record. The actual structure of the referrer object can vary
2542
- * depending on the type of referrer (e.g., signature, public key, etc.).
2543
- *
2544
- * RecordReferrer types in the `agntcy.dir.` namespace are reserved for
2545
- * Directory-specific schemas and will be validated across Dir services.
2546
- *
2547
- * @generated from message agntcy.dir.core.v1.RecordReferrer
2548
- */
2549
- declare type RecordReferrer = Message<"agntcy.dir.core.v1.RecordReferrer"> & {
2550
- /**
2551
- * The type of the referrer.
2552
- * For example, "agntcy.dir.sign.v1.Signature" for signatures.
2553
- *
2554
- * @generated from field: string type = 1;
2555
- */
2556
- type: string;
2557
-
2558
- /**
2559
- * Record reference to which this referrer is associated.
2560
- *
2561
- * @generated from field: agntcy.dir.core.v1.RecordRef record_ref = 2;
2562
- */
2563
- recordRef?: RecordRef;
2564
-
2565
- /**
2566
- * Annotations attached to the referrer object.
2567
- *
2568
- * @generated from field: map<string, string> annotations = 3;
2569
- */
2570
- annotations: { [key: string]: string };
2571
-
2572
- /**
2573
- * Creation timestamp of the record in the RFC3339 format.
2574
- * Specs: https://www.rfc-editor.org/rfc/rfc3339.html
2575
- *
2576
- * @generated from field: string created_at = 4;
2577
- */
2578
- createdAt: string;
2579
-
2580
- /**
2581
- * The actual data of the referrer.
2582
- *
2583
- * @generated from field: google.protobuf.Struct data = 5;
2584
- */
2585
- data?: JsonObject;
2586
-
2587
- /**
2588
- * The CID of the referrer.
2589
- *
2590
- * @generated from field: agntcy.dir.core.v1.ReferrerRef referrer_ref = 6;
2591
- */
2592
- referrerRef?: ReferrerRef;
2593
- };
2594
-
2595
- /**
2596
- * Describes the message agntcy.dir.core.v1.RecordReferrer.
2597
- * Use `create(RecordReferrerSchema)` to create a new message.
2598
- */
2599
- declare const RecordReferrerSchema: GenMessage<RecordReferrer>;
2600
-
2601
- /**
2602
- * @generated from message agntcy.dir.routing.v1.RecordRefs
2603
- */
2604
- declare type RecordRefs = Message<"agntcy.dir.routing.v1.RecordRefs"> & {
2605
- /**
2606
- * @generated from field: repeated agntcy.dir.core.v1.RecordRef refs = 1;
2607
- */
2608
- refs: RecordRef[];
2609
- };
2610
-
2611
- /**
2612
- * Describes the message agntcy.dir.core.v1.RecordRef.
2613
- * Use `create(RecordRefSchema)` to create a new message.
2614
- */
2615
- declare const RecordRefSchema: GenMessage<RecordRef>;
2616
-
2617
- /**
2618
- * Describes the message agntcy.dir.routing.v1.RecordRefs.
2619
- * Use `create(RecordRefsSchema)` to create a new message.
2620
- */
2621
- declare const RecordRefsSchema: GenMessage<RecordRefs>;
2622
-
2623
- /**
2624
- * Describes the message agntcy.dir.core.v1.Record.
2625
- * Use `create(RecordSchema)` to create a new message.
2626
- */
2627
- declare const RecordSchema: GenMessage<Record_2>;
2628
-
2629
- /**
2630
- * @generated from message agntcy.dir.core.v1.ReferrerRef
2631
- */
2632
- declare type ReferrerRef = Message<"agntcy.dir.core.v1.ReferrerRef"> & {
2633
- /**
2634
- * Content Identifier (https://github.com/multiformats/cid)
2635
- * A self-describing, content-addressed identifier
2636
- *
2637
- * @generated from field: string cid = 1;
2638
- */
2639
- cid: string;
2640
- };
2641
-
2642
- /**
2643
- * @generated from message agntcy.dir.store.v1.RequestRegistryCredentialsRequest
2644
- */
2645
- declare type RequestRegistryCredentialsRequest = Message<"agntcy.dir.store.v1.RequestRegistryCredentialsRequest"> & {
2646
- };
2647
-
2648
- /**
2649
- * Describes the message agntcy.dir.store.v1.RequestRegistryCredentialsRequest.
2650
- * Use `create(RequestRegistryCredentialsRequestSchema)` to create a new message.
2651
- */
2652
- declare const RequestRegistryCredentialsRequestSchema: GenMessage<RequestRegistryCredentialsRequest>;
2653
-
2654
- /**
2655
- * @generated from message agntcy.dir.store.v1.RequestRegistryCredentialsResponse
2656
- */
2657
- declare type RequestRegistryCredentialsResponse = Message<"agntcy.dir.store.v1.RequestRegistryCredentialsResponse"> & {
2658
- /**
2659
- * Success status of the credential negotiation
2660
- *
2661
- * @generated from field: bool success = 1;
2662
- */
2663
- success: boolean;
2664
-
2665
- /**
2666
- * Error message if negotiation failed
2667
- *
2668
- * @generated from field: string error_message = 2;
2669
- */
2670
- errorMessage: string;
2671
-
2672
- /**
2673
- * Address of the remote Registry (e.g., "ghcr.io", "dir-zot.default.svc.cluster.local:5000")
2674
- *
2675
- * @generated from field: string registry_address = 3;
2676
- */
2677
- registryAddress: string;
2678
-
2679
- /**
2680
- * Repository name within the registry (e.g., "user/dir-test/dir", "dir")
2681
- *
2682
- * @generated from field: string repository_name = 6;
2683
- */
2684
- repositoryName: string;
2685
-
2686
- /**
2687
- * Registry credentials (oneof based on credential type)
2688
- *
2689
- * @generated from oneof agntcy.dir.store.v1.RequestRegistryCredentialsResponse.credentials
2690
- */
2691
- credentials: {
2692
- /**
2693
- * CertificateCredentials certificate = 5;
2694
- *
2695
- * @generated from field: agntcy.dir.store.v1.BasicAuthCredentials basic_auth = 4;
2696
- */
2697
- value: BasicAuthCredentials;
2698
- case: "basicAuth";
2699
- } | { case: undefined; value?: undefined };
2700
-
2701
- /**
2702
- * Whether the registry uses plain HTTP (insecure) instead of HTTPS
2703
- * When true, TLS should be disabled for connections to this registry
2704
- *
2705
- * @generated from field: bool insecure = 7;
2706
- */
2707
- insecure: boolean;
2708
- };
2709
-
2710
- /**
2711
- * Describes the message agntcy.dir.store.v1.RequestRegistryCredentialsResponse.
2712
- * Use `create(RequestRegistryCredentialsResponseSchema)` to create a new message.
2713
- */
2714
- declare const RequestRegistryCredentialsResponseSchema: GenMessage<RequestRegistryCredentialsResponse>;
2715
-
2716
- /**
2717
- * ResolveRequest is the request for resolving a record reference to CIDs.
2718
- *
2719
- * @generated from message agntcy.dir.naming.v1.ResolveRequest
2720
- */
2721
- declare type ResolveRequest = Message<"agntcy.dir.naming.v1.ResolveRequest"> & {
2722
- /**
2723
- * The name of the record to resolve (e.g., "cisco.com/agent").
2724
- *
2725
- * @generated from field: string name = 1;
2726
- */
2727
- name: string;
2728
-
2729
- /**
2730
- * Optional version to resolve to (e.g., "v1.0.0").
2731
- *
2732
- * @generated from field: optional string version = 2;
2733
- */
2734
- version?: string;
2735
- };
2736
-
2737
- /**
2738
- * Describes the message agntcy.dir.naming.v1.ResolveRequest.
2739
- * Use `create(ResolveRequestSchema)` to create a new message.
2740
- */
2741
- declare const ResolveRequestSchema: GenMessage<ResolveRequest>;
2742
-
2743
- /**
2744
- * ResolveResponse is the response containing the resolved records.
2745
- *
2746
- * @generated from message agntcy.dir.naming.v1.ResolveResponse
2747
- */
2748
- declare type ResolveResponse = Message<"agntcy.dir.naming.v1.ResolveResponse"> & {
2749
- /**
2750
- * The resolved record references (newest first by created_at).
2751
- *
2752
- * @generated from field: repeated agntcy.dir.core.v1.NamedRecordRef records = 1;
2753
- */
2754
- records: NamedRecordRef[];
2755
- };
2756
-
2757
- /**
2758
- * Describes the message agntcy.dir.naming.v1.ResolveResponse.
2759
- * Use `create(ResolveResponseSchema)` to create a new message.
2760
- */
2761
- declare const ResolveResponseSchema: GenMessage<ResolveResponse>;
2762
-
2763
- export declare namespace routing_v1 {
2764
- export {
2765
- file_agntcy_dir_routing_v1_peer,
2766
- Peer,
2767
- PeerSchema,
2768
- PeerConnectionType,
2769
- PeerConnectionTypeSchema,
2770
- file_agntcy_dir_routing_v1_publication_service,
2771
- CreatePublicationResponse,
2772
- CreatePublicationResponseSchema,
2773
- ListPublicationsRequest,
2774
- ListPublicationsRequestSchema,
2775
- ListPublicationsItem,
2776
- ListPublicationsItemSchema,
2777
- GetPublicationRequest,
2778
- GetPublicationRequestSchema,
2779
- GetPublicationResponse,
2780
- GetPublicationResponseSchema,
2781
- PublicationStatus,
2782
- PublicationStatusSchema,
2783
- PublicationService,
2784
- file_agntcy_dir_routing_v1_record_query,
2785
- RecordQuery_2 as RecordQuery,
2786
- RecordQuerySchema,
2787
- RecordQueryType_2 as RecordQueryType,
2788
- RecordQueryTypeSchema,
2789
- file_agntcy_dir_routing_v1_routing_service,
2790
- PublishRequest,
2791
- PublishRequestSchema,
2792
- UnpublishRequest,
2793
- UnpublishRequestSchema,
2794
- RecordRefs,
2795
- RecordRefsSchema,
2796
- RecordQueries,
2797
- RecordQueriesSchema,
2798
- SearchRequest,
2799
- SearchRequestSchema,
2800
- SearchResponse,
2801
- SearchResponseSchema,
2802
- ListRequest,
2803
- ListRequestSchema,
2804
- ListResponse,
2805
- ListResponseSchema,
2806
- RoutingService
2807
- }
2808
- }
2809
-
2810
- /**
2811
- * Defines an interface for announcement and discovery
2812
- * of records across interconnected network.
2813
- *
2814
- * Middleware should be used to control who can perform these RPCs.
2815
- * Policies for the middleware can be handled via separate service.
2816
- *
2817
- * @generated from service agntcy.dir.routing.v1.RoutingService
2818
- */
2819
- declare const RoutingService: GenService<{
2820
- /**
2821
- * Announce to the network that this peer is providing a given record.
2822
- * This enables other peers to discover this record and retrieve it
2823
- * from this peer. Listeners can use this event to perform custom operations,
2824
- * for example by cloning the record.
2825
- *
2826
- * Items need to be periodically republished (eg. 24h) to the network
2827
- * to avoid stale data. Republication should be done in the background.
2828
- *
2829
- * @generated from rpc agntcy.dir.routing.v1.RoutingService.Publish
2830
- */
2831
- publish: {
2832
- methodKind: "unary";
2833
- input: typeof PublishRequestSchema;
2834
- output: typeof EmptySchema;
2835
- },
2836
- /**
2837
- * Stop serving this record to the network. If other peers try
2838
- * to retrieve this record, the peer will refuse the request.
2839
- *
2840
- * @generated from rpc agntcy.dir.routing.v1.RoutingService.Unpublish
2841
- */
2842
- unpublish: {
2843
- methodKind: "unary";
2844
- input: typeof UnpublishRequestSchema;
2845
- output: typeof EmptySchema;
2846
- },
2847
- /**
2848
- * Search records based on the request across the network.
2849
- * This will search the network for the record with the given parameters.
2850
- *
2851
- * It is possible that the records are stale or that they do not exist.
2852
- * Some records may be provided by multiple peers.
2853
- *
2854
- * Results from the search can be used as an input
2855
- * to Pull operation to retrieve the records.
2856
- *
2857
- * @generated from rpc agntcy.dir.routing.v1.RoutingService.Search
2858
- */
2859
- search: {
2860
- methodKind: "server_streaming";
2861
- input: typeof SearchRequestSchema;
2862
- output: typeof SearchResponseSchema;
2863
- },
2864
- /**
2865
- * List all records that this peer is currently providing
2866
- * that match the given parameters.
2867
- * This operation does not interact with the network.
2868
- *
2869
- * @generated from rpc agntcy.dir.routing.v1.RoutingService.List
2870
- */
2871
- list: {
2872
- methodKind: "server_streaming";
2873
- input: typeof ListRequestSchema;
2874
- output: typeof ListResponseSchema;
2875
- },
2876
- }>;
2877
-
2878
- export declare namespace search_v1 {
2879
- export {
2880
- file_agntcy_dir_search_v1_record_query,
2881
- RecordQuery,
2882
- RecordQuerySchema_2 as RecordQuerySchema,
2883
- RecordQueryType,
2884
- RecordQueryTypeSchema_2 as RecordQueryTypeSchema,
2885
- file_agntcy_dir_search_v1_search_service,
2886
- SearchCIDsRequest,
2887
- SearchCIDsRequestSchema,
2888
- SearchRecordsRequest,
2889
- SearchRecordsRequestSchema,
2890
- SearchCIDsResponse,
2891
- SearchCIDsResponseSchema,
2892
- SearchRecordsResponse,
2893
- SearchRecordsResponseSchema,
2894
- SearchService
2895
- }
2896
- }
2897
-
2898
- /**
2899
- * @generated from message agntcy.dir.search.v1.SearchCIDsRequest
2900
- */
2901
- declare type SearchCIDsRequest = Message<"agntcy.dir.search.v1.SearchCIDsRequest"> & {
2902
- /**
2903
- * List of queries to match against the records.
2904
- *
2905
- * @generated from field: repeated agntcy.dir.search.v1.RecordQuery queries = 1;
2906
- */
2907
- queries: RecordQuery[];
2908
-
2909
- /**
2910
- * Optional limit on the number of results to return.
2911
- *
2912
- * @generated from field: optional uint32 limit = 2;
2913
- */
2914
- limit?: number;
2915
-
2916
- /**
2917
- * Optional offset for pagination of results.
2918
- *
2919
- * @generated from field: optional uint32 offset = 3;
2920
- */
2921
- offset?: number;
2922
- };
2923
-
2924
- /**
2925
- * Describes the message agntcy.dir.search.v1.SearchCIDsRequest.
2926
- * Use `create(SearchCIDsRequestSchema)` to create a new message.
2927
- */
2928
- declare const SearchCIDsRequestSchema: GenMessage<SearchCIDsRequest>;
2929
-
2930
- /**
2931
- * @generated from message agntcy.dir.search.v1.SearchCIDsResponse
2932
- */
2933
- declare type SearchCIDsResponse = Message<"agntcy.dir.search.v1.SearchCIDsResponse"> & {
2934
- /**
2935
- * The CID of the record that matches the search criteria.
2936
- *
2937
- * @generated from field: string record_cid = 1;
2938
- */
2939
- recordCid: string;
2940
- };
2941
-
2942
- /**
2943
- * Describes the message agntcy.dir.search.v1.SearchCIDsResponse.
2944
- * Use `create(SearchCIDsResponseSchema)` to create a new message.
2945
- */
2946
- declare const SearchCIDsResponseSchema: GenMessage<SearchCIDsResponse>;
2947
-
2948
- /**
2949
- * @generated from message agntcy.dir.search.v1.SearchRecordsRequest
2950
- */
2951
- declare type SearchRecordsRequest = Message<"agntcy.dir.search.v1.SearchRecordsRequest"> & {
2952
- /**
2953
- * List of queries to match against the records.
2954
- *
2955
- * @generated from field: repeated agntcy.dir.search.v1.RecordQuery queries = 1;
2956
- */
2957
- queries: RecordQuery[];
2958
-
2959
- /**
2960
- * Optional limit on the number of results to return.
2961
- *
2962
- * @generated from field: optional uint32 limit = 2;
2963
- */
2964
- limit?: number;
2965
-
2966
- /**
2967
- * Optional offset for pagination of results.
2968
- *
2969
- * @generated from field: optional uint32 offset = 3;
2970
- */
2971
- offset?: number;
2972
- };
2973
-
2974
- /**
2975
- * Describes the message agntcy.dir.search.v1.SearchRecordsRequest.
2976
- * Use `create(SearchRecordsRequestSchema)` to create a new message.
2977
- */
2978
- declare const SearchRecordsRequestSchema: GenMessage<SearchRecordsRequest>;
2979
-
2980
- /**
2981
- * @generated from message agntcy.dir.search.v1.SearchRecordsResponse
2982
- */
2983
- declare type SearchRecordsResponse = Message<"agntcy.dir.search.v1.SearchRecordsResponse"> & {
2984
- /**
2985
- * The full record that matches the search criteria.
2986
- *
2987
- * @generated from field: agntcy.dir.core.v1.Record record = 1;
2988
- */
2989
- record?: Record_2;
2990
- };
2991
-
2992
- /**
2993
- * Describes the message agntcy.dir.search.v1.SearchRecordsResponse.
2994
- * Use `create(SearchRecordsResponseSchema)` to create a new message.
2995
- */
2996
- declare const SearchRecordsResponseSchema: GenMessage<SearchRecordsResponse>;
2997
-
2998
- /**
2999
- * @generated from message agntcy.dir.routing.v1.SearchRequest
3000
- */
3001
- declare type SearchRequest = Message<"agntcy.dir.routing.v1.SearchRequest"> & {
3002
- /**
3003
- * List of queries to match against the records.
3004
- *
3005
- * @generated from field: repeated agntcy.dir.routing.v1.RecordQuery queries = 1;
3006
- */
3007
- queries: RecordQuery_2[];
3008
-
3009
- /**
3010
- * Minimal target query match score.
3011
- * For example, if min_match_score=2, it will return records that match
3012
- * at least two of the queries.
3013
- * If not set, it will return records that match at least one query.
3014
- *
3015
- * @generated from field: optional uint32 min_match_score = 2;
3016
- */
3017
- minMatchScore?: number;
3018
-
3019
- /**
3020
- * Limit the number of results returned.
3021
- * If not set, it will return all discovered records.
3022
- * Note that this is a soft limit, as the search may return more results
3023
- * than the limit if there are multiple peers providing the same record.
3024
- *
3025
- * @generated from field: optional uint32 limit = 3;
3026
- */
3027
- limit?: number;
3028
- };
3029
-
3030
- /**
3031
- * Describes the message agntcy.dir.routing.v1.SearchRequest.
3032
- * Use `create(SearchRequestSchema)` to create a new message.
3033
- */
3034
- declare const SearchRequestSchema: GenMessage<SearchRequest>;
3035
-
3036
- /**
3037
- * @generated from message agntcy.dir.routing.v1.SearchResponse
3038
- */
3039
- declare type SearchResponse = Message<"agntcy.dir.routing.v1.SearchResponse"> & {
3040
- /**
3041
- * The record that matches the search query.
3042
- *
3043
- * @generated from field: agntcy.dir.core.v1.RecordRef record_ref = 1;
3044
- */
3045
- recordRef?: RecordRef;
3046
-
3047
- /**
3048
- * The peer that provided the record.
3049
- *
3050
- * @generated from field: agntcy.dir.routing.v1.Peer peer = 2;
3051
- */
3052
- peer?: Peer;
3053
-
3054
- /**
3055
- * The queries that were matched.
3056
- *
3057
- * @generated from field: repeated agntcy.dir.routing.v1.RecordQuery match_queries = 3;
3058
- */
3059
- matchQueries: RecordQuery_2[];
3060
-
3061
- /**
3062
- * The score of the search match.
3063
- *
3064
- * @generated from field: uint32 match_score = 4;
3065
- */
3066
- matchScore: number;
3067
- };
3068
-
3069
- /**
3070
- * Describes the message agntcy.dir.routing.v1.SearchResponse.
3071
- * Use `create(SearchResponseSchema)` to create a new message.
3072
- */
3073
- declare const SearchResponseSchema: GenMessage<SearchResponse>;
3074
-
3075
- /**
3076
- * @generated from service agntcy.dir.search.v1.SearchService
3077
- */
3078
- declare const SearchService: GenService<{
3079
- /**
3080
- * Search for record CIDs that match the given parameters.
3081
- * Returns only CIDs for efficient lookups and piping to other commands.
3082
- * This operation does not interact with the network.
3083
- *
3084
- * @generated from rpc agntcy.dir.search.v1.SearchService.SearchCIDs
3085
- */
3086
- searchCIDs: {
3087
- methodKind: "server_streaming";
3088
- input: typeof SearchCIDsRequestSchema;
3089
- output: typeof SearchCIDsResponseSchema;
3090
- },
3091
- /**
3092
- * Search for full records that match the given parameters.
3093
- * Returns complete record data including all metadata, skills, domains, etc.
3094
- * This operation does not interact with the network.
3095
- *
3096
- * @generated from rpc agntcy.dir.search.v1.SearchService.SearchRecords
3097
- */
3098
- searchRecords: {
3099
- methodKind: "server_streaming";
3100
- input: typeof SearchRecordsRequestSchema;
3101
- output: typeof SearchRecordsResponseSchema;
3102
- },
3103
- }>;
3104
-
3105
- export declare namespace sign_v1 {
3106
- export {
3107
- file_agntcy_dir_sign_v1_sign_service,
3108
- SignOptionsOIDC,
3109
- SignOptionsOIDCSchema,
3110
- VerifyOptionsOIDC,
3111
- VerifyOptionsOIDCSchema,
3112
- SignRequest,
3113
- SignRequestSchema,
3114
- SignRequestProvider,
3115
- SignRequestProviderSchema,
3116
- SignWithKey,
3117
- SignWithKeySchema,
3118
- SignWithOIDC,
3119
- SignWithOIDCSchema,
3120
- SignResponse,
3121
- SignResponseSchema,
3122
- VerifyRequest,
3123
- VerifyRequestSchema,
3124
- VerifyRequestProvider,
3125
- VerifyRequestProviderSchema,
3126
- VerifyWithKey,
3127
- VerifyWithKeySchema,
3128
- VerifyWithOIDC,
3129
- VerifyWithOIDCSchema,
3130
- VerifyWithAny,
3131
- VerifyWithAnySchema,
3132
- VerifyResponse,
3133
- VerifyResponseSchema,
3134
- SignerInfo,
3135
- SignerInfoSchema,
3136
- SignerInfoKey,
3137
- SignerInfoKeySchema,
3138
- SignerInfoOIDC,
3139
- SignerInfoOIDCSchema,
3140
- SignService,
3141
- file_agntcy_dir_sign_v1_signature,
3142
- Signature,
3143
- SignatureSchema,
3144
- file_agntcy_dir_sign_v1_public_key,
3145
- PublicKey,
3146
- PublicKeySchema
1005
+ export declare namespace routing_v1 {
1006
+ export {
1007
+ file_agntcy_dir_routing_v1_peer,
1008
+ Peer,
1009
+ PeerSchema,
1010
+ PeerConnectionType,
1011
+ PeerConnectionTypeSchema,
1012
+ file_agntcy_dir_routing_v1_publication_service,
1013
+ CreatePublicationResponse,
1014
+ CreatePublicationResponseSchema,
1015
+ ListPublicationsRequest,
1016
+ ListPublicationsRequestSchema,
1017
+ ListPublicationsItem,
1018
+ ListPublicationsItemSchema,
1019
+ GetPublicationRequest,
1020
+ GetPublicationRequestSchema,
1021
+ GetPublicationResponse,
1022
+ GetPublicationResponseSchema,
1023
+ PublicationStatus,
1024
+ PublicationStatusSchema,
1025
+ PublicationService,
1026
+ file_agntcy_dir_routing_v1_record_query,
1027
+ RecordQuery,
1028
+ RecordQuerySchema,
1029
+ RecordQueryType,
1030
+ RecordQueryTypeSchema,
1031
+ file_agntcy_dir_routing_v1_routing_service,
1032
+ PublishRequest,
1033
+ PublishRequestSchema,
1034
+ UnpublishRequest,
1035
+ UnpublishRequestSchema,
1036
+ RecordRefs,
1037
+ RecordRefsSchema,
1038
+ RecordQueries,
1039
+ RecordQueriesSchema,
1040
+ SearchRequest,
1041
+ SearchRequestSchema,
1042
+ SearchResponse,
1043
+ SearchResponseSchema,
1044
+ ListRequest,
1045
+ ListRequestSchema,
1046
+ ListResponse,
1047
+ ListResponseSchema,
1048
+ RoutingService
3147
1049
  }
3148
1050
  }
3149
1051
 
3150
- /**
3151
- * Signature is the signing data associated with a Record.
3152
- * Multiple signatures can be associated with a single Record.
3153
- *
3154
- * Storage and management of signatures is provided via
3155
- * StoreService as a RecordReferrer object.
3156
- *
3157
- * Signature can be encoded into RecordReferrer object as follows:
3158
- * type = "agntcy.dir.sign.v1.Signature"
3159
- * data = Signature message encoded as JSON
3160
- *
3161
- * @generated from message agntcy.dir.sign.v1.Signature
3162
- */
3163
- declare type Signature = Message<"agntcy.dir.sign.v1.Signature"> & {
3164
- /**
3165
- * Metadata associated with the signature.
3166
- *
3167
- * @generated from field: map<string, string> annotations = 1;
3168
- */
3169
- annotations: { [key: string]: string };
3170
-
3171
- /**
3172
- * Signing timestamp of the record in the RFC3339 format.
3173
- * Specs: https://www.rfc-editor.org/rfc/rfc3339.html
3174
- *
3175
- * @generated from field: string signed_at = 2;
3176
- */
3177
- signedAt: string;
3178
-
3179
- /**
3180
- * The signature algorithm used (e.g., "ECDSA_P256_SHA256").
3181
- *
3182
- * @generated from field: string algorithm = 3;
3183
- */
3184
- algorithm: string;
3185
-
3186
- /**
3187
- * Base64-encoded signature.
3188
- *
3189
- * @generated from field: string signature = 4;
3190
- */
3191
- signature: string;
3192
-
3193
- /**
3194
- * Base64-encoded signing certificate.
3195
- *
3196
- * @generated from field: string certificate = 5;
3197
- */
3198
- certificate: string;
3199
-
3200
- /**
3201
- * Type of the signature content bundle.
3202
- *
3203
- * @generated from field: string content_type = 6;
3204
- */
3205
- contentType: string;
3206
-
3207
- /**
3208
- * Base64-encoded signature bundle produced by the signer.
3209
- * It is up to the client to interpret the content of the bundle.
3210
- *
3211
- * @generated from field: string content_bundle = 7;
3212
- */
3213
- contentBundle: string;
3214
- };
3215
-
3216
- /**
3217
- * Describes the message agntcy.dir.sign.v1.Signature.
3218
- * Use `create(SignatureSchema)` to create a new message.
3219
- */
3220
- declare const SignatureSchema: GenMessage<Signature>;
3221
-
3222
- /**
3223
- * Structured information about who signed the record
3224
- *
3225
- * @generated from message agntcy.dir.sign.v1.SignerInfo
3226
- */
3227
- declare type SignerInfo = Message<"agntcy.dir.sign.v1.SignerInfo"> & {
3228
- /**
3229
- * @generated from oneof agntcy.dir.sign.v1.SignerInfo.type
3230
- */
3231
- type: {
3232
- /**
3233
- * Key-based signer information
3234
- *
3235
- * @generated from field: agntcy.dir.sign.v1.SignerInfoKey key = 1;
3236
- */
3237
- value: SignerInfoKey;
3238
- case: "key";
3239
- } | {
3240
- /**
3241
- * OIDC-based signer information
3242
- *
3243
- * @generated from field: agntcy.dir.sign.v1.SignerInfoOIDC oidc = 2;
3244
- */
3245
- value: SignerInfoOIDC;
3246
- case: "oidc";
3247
- } | { case: undefined; value?: undefined };
3248
- };
3249
-
3250
- /**
3251
- * Information about a key-based signer
3252
- *
3253
- * @generated from message agntcy.dir.sign.v1.SignerInfoKey
3254
- */
3255
- declare type SignerInfoKey = Message<"agntcy.dir.sign.v1.SignerInfoKey"> & {
3256
- /**
3257
- * Public key used for verification (PEM-encoded)
3258
- *
3259
- * @generated from field: string public_key = 1;
3260
- */
3261
- publicKey: string;
3262
-
3263
- /**
3264
- * Key algorithm (e.g., "ECDSA-P256", "Ed25519", "RSA")
3265
- *
3266
- * @generated from field: string algorithm = 2;
3267
- */
3268
- algorithm: string;
3269
- };
3270
-
3271
- /**
3272
- * Describes the message agntcy.dir.sign.v1.SignerInfoKey.
3273
- * Use `create(SignerInfoKeySchema)` to create a new message.
3274
- */
3275
- declare const SignerInfoKeySchema: GenMessage<SignerInfoKey>;
3276
-
3277
- /**
3278
- * Information about an OIDC-based signer
3279
- *
3280
- * @generated from message agntcy.dir.sign.v1.SignerInfoOIDC
3281
- */
3282
- declare type SignerInfoOIDC = Message<"agntcy.dir.sign.v1.SignerInfoOIDC"> & {
3283
- /**
3284
- * OIDC issuer URL (e.g., "https://github.com/login/oauth")
3285
- *
3286
- * @generated from field: string issuer = 1;
3287
- */
3288
- issuer: string;
3289
-
3290
- /**
3291
- * OIDC subject/identity (e.g., "user@example.com")
3292
- *
3293
- * @generated from field: string subject = 2;
3294
- */
3295
- subject: string;
3296
-
3297
- /**
3298
- * X.509 certificate issuer (e.g., "CN=sigstore-intermediate,O=sigstore.dev")
3299
- *
3300
- * @generated from field: string certificate_issuer = 3;
3301
- */
3302
- certificateIssuer: string;
3303
- };
3304
-
3305
- /**
3306
- * Describes the message agntcy.dir.sign.v1.SignerInfoOIDC.
3307
- * Use `create(SignerInfoOIDCSchema)` to create a new message.
3308
- */
3309
- declare const SignerInfoOIDCSchema: GenMessage<SignerInfoOIDC>;
3310
-
3311
- /**
3312
- * Describes the message agntcy.dir.sign.v1.SignerInfo.
3313
- * Use `create(SignerInfoSchema)` to create a new message.
3314
- */
3315
- declare const SignerInfoSchema: GenMessage<SignerInfo>;
3316
-
3317
- /**
3318
- * Options for OIDC-based signing.
3319
- *
3320
- * @generated from message agntcy.dir.sign.v1.SignOptionsOIDC
3321
- */
3322
- declare type SignOptionsOIDC = Message<"agntcy.dir.sign.v1.SignOptionsOIDC"> & {
3323
- /**
3324
- * Fulcio authority access URL.
3325
- * Default: https://fulcio.sigstore.dev
3326
- *
3327
- * @generated from field: string fulcio_url = 1;
3328
- */
3329
- fulcioUrl: string;
3330
-
3331
- /**
3332
- * Rekor transparency log access URL.
3333
- * Default: https://rekor.sigstore.dev
3334
- *
3335
- * @generated from field: string rekor_url = 2;
3336
- */
3337
- rekorUrl: string;
3338
-
3339
- /**
3340
- * Timestamp authority access URL.
3341
- * Default: https://timestamp.sigstore.dev/api/v1/timestamp
3342
- *
3343
- * @generated from field: string timestamp_url = 3;
3344
- */
3345
- timestampUrl: string;
3346
-
3347
- /**
3348
- * OIDC provider access URL.
3349
- * Default: https://oauth2.sigstore.dev/auth
3350
- *
3351
- * @generated from field: string oidc_provider_url = 4;
3352
- */
3353
- oidcProviderUrl: string;
3354
-
3355
- /**
3356
- * OIDC client ID.
3357
- * Default: sigstore
3358
- *
3359
- * @generated from field: string oidc_client_id = 5;
3360
- */
3361
- oidcClientId: string;
3362
-
3363
- /**
3364
- * OIDC client secret.
3365
- * Required for confidential OIDC clients that require client authentication.
3366
- * Default: empty
3367
- *
3368
- * @generated from field: string oidc_client_secret = 6;
3369
- */
3370
- oidcClientSecret: string;
3371
-
3372
- /**
3373
- * Skip uploading signature to transparency log (Rekor).
3374
- * Set to true for private signing where transparency log upload is not desired.
3375
- * Note: Signatures created with this option cannot be verified against Rekor.
3376
- * Default: false
3377
- *
3378
- * @generated from field: bool skip_tlog = 7;
3379
- */
3380
- skipTlog: boolean;
3381
- };
3382
-
3383
- /**
3384
- * Describes the message agntcy.dir.sign.v1.SignOptionsOIDC.
3385
- * Use `create(SignOptionsOIDCSchema)` to create a new message.
3386
- */
3387
- declare const SignOptionsOIDCSchema: GenMessage<SignOptionsOIDC>;
3388
-
3389
- /**
3390
- * @generated from message agntcy.dir.sign.v1.SignRequest
3391
- */
3392
- declare type SignRequest = Message<"agntcy.dir.sign.v1.SignRequest"> & {
3393
- /**
3394
- * Record reference to be signed
3395
- *
3396
- * @generated from field: agntcy.dir.core.v1.RecordRef record_ref = 1;
3397
- */
3398
- recordRef?: RecordRef;
3399
-
3400
- /**
3401
- * Signing provider to use
3402
- *
3403
- * @generated from field: agntcy.dir.sign.v1.SignRequestProvider provider = 2;
3404
- */
3405
- provider?: SignRequestProvider;
3406
- };
3407
-
3408
- /**
3409
- * @generated from message agntcy.dir.sign.v1.SignRequestProvider
3410
- */
3411
- declare type SignRequestProvider = Message<"agntcy.dir.sign.v1.SignRequestProvider"> & {
3412
- /**
3413
- * @generated from oneof agntcy.dir.sign.v1.SignRequestProvider.request
3414
- */
3415
- request: {
3416
- /**
3417
- * Sign with PEM-encoded public key
3418
- *
3419
- * @generated from field: agntcy.dir.sign.v1.SignWithKey key = 1;
3420
- */
3421
- value: SignWithKey;
3422
- case: "key";
3423
- } | {
3424
- /**
3425
- * Sign with OIDC provider
3426
- *
3427
- * @generated from field: agntcy.dir.sign.v1.SignWithOIDC oidc = 2;
3428
- */
3429
- value: SignWithOIDC;
3430
- case: "oidc";
3431
- } | { case: undefined; value?: undefined };
3432
- };
3433
-
3434
- /**
3435
- * Describes the message agntcy.dir.sign.v1.SignRequestProvider.
3436
- * Use `create(SignRequestProviderSchema)` to create a new message.
3437
- */
3438
- declare const SignRequestProviderSchema: GenMessage<SignRequestProvider>;
3439
-
3440
- /**
3441
- * Describes the message agntcy.dir.sign.v1.SignRequest.
3442
- * Use `create(SignRequestSchema)` to create a new message.
3443
- */
3444
- declare const SignRequestSchema: GenMessage<SignRequest>;
3445
-
3446
- /**
3447
- * @generated from message agntcy.dir.sign.v1.SignResponse
3448
- */
3449
- declare type SignResponse = Message<"agntcy.dir.sign.v1.SignResponse"> & {
3450
- /**
3451
- * Cryptographic signature of the record
3452
- *
3453
- * @generated from field: agntcy.dir.sign.v1.Signature signature = 1;
3454
- */
3455
- signature?: Signature;
3456
- };
3457
-
3458
- /**
3459
- * Describes the message agntcy.dir.sign.v1.SignResponse.
3460
- * Use `create(SignResponseSchema)` to create a new message.
3461
- */
3462
- declare const SignResponseSchema: GenMessage<SignResponse>;
3463
-
3464
- /**
3465
- * SignService provides methods to sign and verify records.
3466
- *
3467
- * NOTE: This is a client-side service and is not available on the server.
3468
- *
3469
- * @generated from service agntcy.dir.sign.v1.SignService
3470
- */
3471
- declare const SignService: GenService<{
3472
- /**
3473
- * Sign record using keyless OIDC based provider or
3474
- * using PEM-encoded private key with an optional passphrase.
3475
- *
3476
- * @generated from rpc agntcy.dir.sign.v1.SignService.Sign
3477
- */
3478
- sign: {
3479
- methodKind: "unary";
3480
- input: typeof SignRequestSchema;
3481
- output: typeof SignResponseSchema;
3482
- },
3483
- /**
3484
- * Verify signed record using keyless OIDC based provider or
3485
- * using PEM-encoded public key.
3486
- *
3487
- * @generated from rpc agntcy.dir.sign.v1.SignService.Verify
3488
- */
3489
- verify: {
3490
- methodKind: "unary";
3491
- input: typeof VerifyRequestSchema;
3492
- output: typeof VerifyResponseSchema;
3493
- },
3494
- }>;
3495
-
3496
- /**
3497
- * @generated from message agntcy.dir.sign.v1.SignWithKey
3498
- */
3499
- declare type SignWithKey = Message<"agntcy.dir.sign.v1.SignWithKey"> & {
3500
- /**
3501
- * Private key for signing.
3502
- * Accepts either:
3503
- * - PEM-encoded private key content (inline)
3504
- * - Reference to a private key:
3505
- * - File path: "/path/to/cosign.key" or "./cosign.key"
3506
- * - HTTP(S) URL: "https://example.com/cosign.key"
3507
- * - Environment variable: "env://COSIGN_PRIVATE_KEY"
3508
- * - AWS KMS: "awskms://[ENDPOINT]/[ID/ALIAS/ARN]"
3509
- * - GCP KMS: "gcpkms://projects/[PROJECT]/locations/[LOC]/keyRings/[RING]/cryptoKeys/[KEY]"
3510
- * - Azure Key Vault: "azurekms://[VAULT_NAME][VAULT_URI]/[KEY]"
3511
- * - Hashicorp Vault: "hashivault://[KEY]"
3512
- * - Kubernetes secret: "k8s://[NAMESPACE]/[SECRET_NAME]"
3513
- * - PKCS11 token: "pkcs11:token=...;slot-id=...;object=..."
3514
- * - GitLab: "gitlab://[PROJECT]"
3515
- *
3516
- * @generated from field: string private_key = 1;
3517
- */
3518
- privateKey: string;
3519
-
3520
- /**
3521
- * Password to unlock the private key (if encrypted).
3522
- *
3523
- * @generated from field: optional bytes password = 2;
3524
- */
3525
- password?: Uint8Array;
3526
- };
3527
-
3528
- /**
3529
- * Describes the message agntcy.dir.sign.v1.SignWithKey.
3530
- * Use `create(SignWithKeySchema)` to create a new message.
3531
- */
3532
- declare const SignWithKeySchema: GenMessage<SignWithKey>;
3533
-
3534
- /**
3535
- * @generated from message agntcy.dir.sign.v1.SignWithOIDC
3536
- */
3537
- declare type SignWithOIDC = Message<"agntcy.dir.sign.v1.SignWithOIDC"> & {
3538
- /**
3539
- * Token for OIDC provider
3540
- *
3541
- * @generated from field: string id_token = 1;
3542
- */
3543
- idToken: string;
3544
-
3545
- /**
3546
- * Signing options for OIDC
3547
- *
3548
- * @generated from field: optional agntcy.dir.sign.v1.SignOptionsOIDC options = 2;
3549
- */
3550
- options?: SignOptionsOIDC;
3551
- };
1052
+ export declare namespace search_v1 {
1053
+ export {
1054
+ file_agntcy_dir_search_v1_record_query,
1055
+ RecordQuery_2 as RecordQuery,
1056
+ RecordQuerySchema_2 as RecordQuerySchema,
1057
+ RecordQueryType_2 as RecordQueryType,
1058
+ RecordQueryTypeSchema_2 as RecordQueryTypeSchema,
1059
+ file_agntcy_dir_search_v1_search_service,
1060
+ SearchCIDsRequest,
1061
+ SearchCIDsRequestSchema,
1062
+ SearchRecordsRequest,
1063
+ SearchRecordsRequestSchema,
1064
+ SearchCIDsResponse,
1065
+ SearchCIDsResponseSchema,
1066
+ SearchRecordsResponse,
1067
+ SearchRecordsResponseSchema,
1068
+ SearchService
1069
+ }
1070
+ }
3552
1071
 
3553
- /**
3554
- * Describes the message agntcy.dir.sign.v1.SignWithOIDC.
3555
- * Use `create(SignWithOIDCSchema)` to create a new message.
3556
- */
3557
- declare const SignWithOIDCSchema: GenMessage<SignWithOIDC>;
1072
+ export declare namespace sign_v1 {
1073
+ export {
1074
+ file_agntcy_dir_sign_v1_sign_service,
1075
+ SignOptionsOIDC,
1076
+ SignOptionsOIDCSchema,
1077
+ VerifyOptionsOIDC,
1078
+ VerifyOptionsOIDCSchema,
1079
+ SignRequest,
1080
+ SignRequestSchema,
1081
+ SignRequestProvider,
1082
+ SignRequestProviderSchema,
1083
+ SignWithKey,
1084
+ SignWithKeySchema,
1085
+ SignWithOIDC,
1086
+ SignWithOIDCSchema,
1087
+ SignResponse,
1088
+ SignResponseSchema,
1089
+ VerifyRequest,
1090
+ VerifyRequestSchema,
1091
+ VerifyRequestProvider,
1092
+ VerifyRequestProviderSchema,
1093
+ VerifyWithKey,
1094
+ VerifyWithKeySchema,
1095
+ VerifyWithOIDC,
1096
+ VerifyWithOIDCSchema,
1097
+ VerifyWithAny,
1098
+ VerifyWithAnySchema,
1099
+ VerifyResponse,
1100
+ VerifyResponseSchema,
1101
+ SignerInfo,
1102
+ SignerInfoSchema,
1103
+ SignerInfoKey,
1104
+ SignerInfoKeySchema,
1105
+ SignerInfoOIDC,
1106
+ SignerInfoOIDCSchema,
1107
+ SignService,
1108
+ file_agntcy_dir_sign_v1_signature,
1109
+ Signature,
1110
+ SignatureSchema,
1111
+ file_agntcy_dir_sign_v1_public_key,
1112
+ PublicKey,
1113
+ PublicKeySchema
1114
+ }
1115
+ }
3558
1116
 
3559
1117
  export declare namespace store_v1 {
3560
1118
  export {
@@ -3567,10 +1125,6 @@ export declare namespace store_v1 {
3567
1125
  PullReferrerRequestSchema,
3568
1126
  PullReferrerResponse,
3569
1127
  PullReferrerResponseSchema,
3570
- DeleteReferrerRequest,
3571
- DeleteReferrerRequestSchema,
3572
- DeleteReferrerResponse,
3573
- DeleteReferrerResponseSchema,
3574
1128
  StoreService,
3575
1129
  file_agntcy_dir_store_v1_sync_service,
3576
1130
  CreateSyncRequest,
@@ -3601,229 +1155,6 @@ export declare namespace store_v1 {
3601
1155
  }
3602
1156
  }
3603
1157
 
3604
- /**
3605
- * Defines an interface for content-addressable storage
3606
- * service for objects.
3607
- *
3608
- * Max object size: 4MB (to fully fit in a single request)
3609
- * Max metadata size: 100KB
3610
- *
3611
- * Store service can be implemented by various storage backends,
3612
- * such as local file system, OCI registry, etc.
3613
- *
3614
- * Middleware should be used to control who can perform these RPCs.
3615
- * Policies for the middleware can be handled via separate service.
3616
- *
3617
- * Each operation is performed sequentially, meaning that
3618
- * for the N-th request, N-th response will be returned.
3619
- * If an error occurs, the stream will be cancelled.
3620
- *
3621
- * @generated from service agntcy.dir.store.v1.StoreService
3622
- */
3623
- declare const StoreService: GenService<{
3624
- /**
3625
- * Push performs write operation for given records.
3626
- *
3627
- * @generated from rpc agntcy.dir.store.v1.StoreService.Push
3628
- */
3629
- push: {
3630
- methodKind: "bidi_streaming";
3631
- input: typeof RecordSchema;
3632
- output: typeof RecordRefSchema;
3633
- },
3634
- /**
3635
- * Pull performs read operation for given records.
3636
- *
3637
- * @generated from rpc agntcy.dir.store.v1.StoreService.Pull
3638
- */
3639
- pull: {
3640
- methodKind: "bidi_streaming";
3641
- input: typeof RecordRefSchema;
3642
- output: typeof RecordSchema;
3643
- },
3644
- /**
3645
- * Lookup resolves basic metadata for the records.
3646
- *
3647
- * @generated from rpc agntcy.dir.store.v1.StoreService.Lookup
3648
- */
3649
- lookup: {
3650
- methodKind: "bidi_streaming";
3651
- input: typeof RecordRefSchema;
3652
- output: typeof RecordMetaSchema;
3653
- },
3654
- /**
3655
- * Remove performs delete operation for the records.
3656
- *
3657
- * @generated from rpc agntcy.dir.store.v1.StoreService.Delete
3658
- */
3659
- delete: {
3660
- methodKind: "client_streaming";
3661
- input: typeof RecordRefSchema;
3662
- output: typeof EmptySchema;
3663
- },
3664
- /**
3665
- * PushReferrer performs write operation for record referrers.
3666
- *
3667
- * @generated from rpc agntcy.dir.store.v1.StoreService.PushReferrer
3668
- */
3669
- pushReferrer: {
3670
- methodKind: "bidi_streaming";
3671
- input: typeof PushReferrerRequestSchema;
3672
- output: typeof PushReferrerResponseSchema;
3673
- },
3674
- /**
3675
- * PullReferrer performs read operation for record referrers.
3676
- *
3677
- * @generated from rpc agntcy.dir.store.v1.StoreService.PullReferrer
3678
- */
3679
- pullReferrer: {
3680
- methodKind: "bidi_streaming";
3681
- input: typeof PullReferrerRequestSchema;
3682
- output: typeof PullReferrerResponseSchema;
3683
- },
3684
- /**
3685
- * DeleteReferrer performs delete operation for record referrers.
3686
- *
3687
- * @generated from rpc agntcy.dir.store.v1.StoreService.DeleteReferrer
3688
- */
3689
- deleteReferrer: {
3690
- methodKind: "bidi_streaming";
3691
- input: typeof DeleteReferrerRequestSchema;
3692
- output: typeof DeleteReferrerResponseSchema;
3693
- },
3694
- }>;
3695
-
3696
- /**
3697
- * SyncService provides functionality for synchronizing objects between Directory nodes.
3698
- *
3699
- * This service enables one-way synchronization from a remote Directory node to the local node,
3700
- * allowing distributed Directory instances to share and replicate objects. The service supports
3701
- * both on-demand synchronization and tracking of sync operations through their lifecycle.
3702
- *
3703
- * @generated from service agntcy.dir.store.v1.SyncService
3704
- */
3705
- declare const SyncService: GenService<{
3706
- /**
3707
- * CreateSync initiates a new synchronization operation from a remote Directory node.
3708
- *
3709
- * The operation is non-blocking and returns immediately with a sync ID that can be used
3710
- * to track progress and manage the sync operation.
3711
- *
3712
- * @generated from rpc agntcy.dir.store.v1.SyncService.CreateSync
3713
- */
3714
- createSync: {
3715
- methodKind: "unary";
3716
- input: typeof CreateSyncRequestSchema;
3717
- output: typeof CreateSyncResponseSchema;
3718
- },
3719
- /**
3720
- * ListSyncs returns a stream of all sync operations known to the system.
3721
- *
3722
- * This includes active, completed, and failed synchronizations.
3723
- *
3724
- * @generated from rpc agntcy.dir.store.v1.SyncService.ListSyncs
3725
- */
3726
- listSyncs: {
3727
- methodKind: "server_streaming";
3728
- input: typeof ListSyncsRequestSchema;
3729
- output: typeof ListSyncsItemSchema;
3730
- },
3731
- /**
3732
- * GetSync retrieves detailed status information for a specific synchronization.
3733
- *
3734
- * @generated from rpc agntcy.dir.store.v1.SyncService.GetSync
3735
- */
3736
- getSync: {
3737
- methodKind: "unary";
3738
- input: typeof GetSyncRequestSchema;
3739
- output: typeof GetSyncResponseSchema;
3740
- },
3741
- /**
3742
- * DeleteSync removes a synchronization operation from the system.
3743
- *
3744
- * @generated from rpc agntcy.dir.store.v1.SyncService.DeleteSync
3745
- */
3746
- deleteSync: {
3747
- methodKind: "unary";
3748
- input: typeof DeleteSyncRequestSchema;
3749
- output: typeof DeleteSyncResponseSchema;
3750
- },
3751
- /**
3752
- * RequestRegistryCredentials requests registry credentials between two Directory nodes.
3753
- *
3754
- * This RPC allows a requesting node to authenticate with this node and obtain
3755
- * temporary registry credentials for secure OCI synchronization.
3756
- *
3757
- * @generated from rpc agntcy.dir.store.v1.SyncService.RequestRegistryCredentials
3758
- */
3759
- requestRegistryCredentials: {
3760
- methodKind: "unary";
3761
- input: typeof RequestRegistryCredentialsRequestSchema;
3762
- output: typeof RequestRegistryCredentialsResponseSchema;
3763
- },
3764
- }>;
3765
-
3766
- /**
3767
- * SyncStatus enumeration defines the possible states of a synchronization operation.
3768
- *
3769
- * @generated from enum agntcy.dir.store.v1.SyncStatus
3770
- */
3771
- declare enum SyncStatus {
3772
- /**
3773
- * Default/unset status - should not be used in practice
3774
- *
3775
- * @generated from enum value: SYNC_STATUS_UNSPECIFIED = 0;
3776
- */
3777
- UNSPECIFIED = 0,
3778
-
3779
- /**
3780
- * Sync operation has been created but not yet started
3781
- *
3782
- * @generated from enum value: SYNC_STATUS_PENDING = 1;
3783
- */
3784
- PENDING = 1,
3785
-
3786
- /**
3787
- * Sync operation is actively discovering and transferring objects
3788
- *
3789
- * @generated from enum value: SYNC_STATUS_IN_PROGRESS = 2;
3790
- */
3791
- IN_PROGRESS = 2,
3792
-
3793
- /**
3794
- * Sync operation encountered an error and stopped
3795
- *
3796
- * @generated from enum value: SYNC_STATUS_FAILED = 3;
3797
- */
3798
- FAILED = 3,
3799
-
3800
- /**
3801
- * Sync operation has been marked for deletion but cleanup not yet started
3802
- *
3803
- * @generated from enum value: SYNC_STATUS_DELETE_PENDING = 4;
3804
- */
3805
- DELETE_PENDING = 4,
3806
-
3807
- /**
3808
- * Sync operation has been successfully deleted and cleaned up
3809
- *
3810
- * @generated from enum value: SYNC_STATUS_DELETED = 5;
3811
- */
3812
- DELETED = 5,
3813
-
3814
- /**
3815
- * Sync operation has completed successfully
3816
- *
3817
- * @generated from enum value: SYNC_STATUS_COMPLETED = 6;
3818
- */
3819
- COMPLETED = 6,
3820
- }
3821
-
3822
- /**
3823
- * Describes the enum agntcy.dir.store.v1.SyncStatus.
3824
- */
3825
- declare const SyncStatusSchema: GenEnum<SyncStatus>;
3826
-
3827
1158
  export declare const TOKEN_CACHE_FILE = "auth-token.json";
3828
1159
 
3829
1160
  export declare class TokenCache {
@@ -3837,320 +1168,4 @@ export declare class TokenCache {
3837
1168
  getValidToken(): CachedToken | undefined;
3838
1169
  }
3839
1170
 
3840
- /**
3841
- * @generated from message agntcy.dir.routing.v1.UnpublishRequest
3842
- */
3843
- declare type UnpublishRequest = Message<"agntcy.dir.routing.v1.UnpublishRequest"> & {
3844
- /**
3845
- * @generated from oneof agntcy.dir.routing.v1.UnpublishRequest.request
3846
- */
3847
- request: {
3848
- /**
3849
- * References to the records to be unpublished.
3850
- *
3851
- * @generated from field: agntcy.dir.routing.v1.RecordRefs record_refs = 1;
3852
- */
3853
- value: RecordRefs;
3854
- case: "recordRefs";
3855
- } | {
3856
- /**
3857
- * Queries to match against the records to be unpublished.
3858
- *
3859
- * @generated from field: agntcy.dir.routing.v1.RecordQueries queries = 2;
3860
- */
3861
- value: RecordQueries;
3862
- case: "queries";
3863
- } | { case: undefined; value?: undefined };
3864
- };
3865
-
3866
- /**
3867
- * Describes the message agntcy.dir.routing.v1.UnpublishRequest.
3868
- * Use `create(UnpublishRequestSchema)` to create a new message.
3869
- */
3870
- declare const UnpublishRequestSchema: GenMessage<UnpublishRequest>;
3871
-
3872
- /**
3873
- * Verification represents the result of verifying a record's name ownership.
3874
- * It uses a oneof to support different verification types.
3875
- *
3876
- * @generated from message agntcy.dir.naming.v1.Verification
3877
- */
3878
- declare type Verification = Message<"agntcy.dir.naming.v1.Verification"> & {
3879
- /**
3880
- * @generated from oneof agntcy.dir.naming.v1.Verification.info
3881
- */
3882
- info: {
3883
- /**
3884
- * Domain verification details.
3885
- *
3886
- * Future verification types can be added here.
3887
- *
3888
- * @generated from field: agntcy.dir.naming.v1.DomainVerification domain = 1;
3889
- */
3890
- value: DomainVerification;
3891
- case: "domain";
3892
- } | { case: undefined; value?: undefined };
3893
- };
3894
-
3895
- /**
3896
- * Describes the message agntcy.dir.naming.v1.Verification.
3897
- * Use `create(VerificationSchema)` to create a new message.
3898
- */
3899
- declare const VerificationSchema: GenMessage<Verification>;
3900
-
3901
- /**
3902
- * Options for OIDC-based verification.
3903
- *
3904
- * @generated from message agntcy.dir.sign.v1.VerifyOptionsOIDC
3905
- */
3906
- declare type VerifyOptionsOIDC = Message<"agntcy.dir.sign.v1.VerifyOptionsOIDC"> & {
3907
- /**
3908
- * TUF repository mirror URL.
3909
- * Used to fetch trusted root material (certificates, keys) for verification.
3910
- * Default: https://tuf-repo-cdn.sigstore.dev (public good instance)
3911
- *
3912
- * @generated from field: string tuf_mirror_url = 1;
3913
- */
3914
- tufMirrorUrl: string;
3915
-
3916
- /**
3917
- * Path to a Sigstore TrustedRoot JSON file.
3918
- * When provided, verification uses this file instead of fetching from TUF.
3919
- * Required for fully offline/air-gapped verification.
3920
- * The file contains Fulcio CAs, Rekor keys, TSA certs, and CT log keys.
3921
- * Default: empty (uses TUF to fetch trusted root)
3922
- *
3923
- * @generated from field: string trusted_root_path = 2;
3924
- */
3925
- trustedRootPath: string;
3926
-
3927
- /**
3928
- * Skip transparency log (Rekor) verification.
3929
- * Set to true for private infrastructure without Rekor,
3930
- * or when signatures weren't uploaded to the transparency log.
3931
- * Default: false
3932
- *
3933
- * @generated from field: bool ignore_tlog = 3;
3934
- */
3935
- ignoreTlog: boolean;
3936
-
3937
- /**
3938
- * Skip timestamp authority (TSA) verification.
3939
- * Set to true when timestamps aren't required or TSA wasn't used during signing.
3940
- * Default: false
3941
- *
3942
- * @generated from field: bool ignore_tsa = 4;
3943
- */
3944
- ignoreTsa: boolean;
3945
-
3946
- /**
3947
- * Skip Signed Certificate Timestamp (SCT) verification.
3948
- * Set to true for private PKI where Certificate Transparency logs aren't used.
3949
- * Default: false
3950
- *
3951
- * @generated from field: bool ignore_sct = 5;
3952
- */
3953
- ignoreSct: boolean;
3954
- };
3955
-
3956
- /**
3957
- * Describes the message agntcy.dir.sign.v1.VerifyOptionsOIDC.
3958
- * Use `create(VerifyOptionsOIDCSchema)` to create a new message.
3959
- */
3960
- declare const VerifyOptionsOIDCSchema: GenMessage<VerifyOptionsOIDC>;
3961
-
3962
- /**
3963
- * @generated from message agntcy.dir.sign.v1.VerifyRequest
3964
- */
3965
- declare type VerifyRequest = Message<"agntcy.dir.sign.v1.VerifyRequest"> & {
3966
- /**
3967
- * Record reference to be verified
3968
- *
3969
- * @generated from field: agntcy.dir.core.v1.RecordRef record_ref = 1;
3970
- */
3971
- recordRef?: RecordRef;
3972
-
3973
- /**
3974
- * Verification provider to use
3975
- *
3976
- * @generated from field: agntcy.dir.sign.v1.VerifyRequestProvider provider = 2;
3977
- */
3978
- provider?: VerifyRequestProvider;
3979
-
3980
- /**
3981
- * When true, use cached verification result from server.
3982
- * When false, verification is performed locally.
3983
- *
3984
- * @generated from field: bool from_server = 3;
3985
- */
3986
- fromServer: boolean;
3987
- };
3988
-
3989
- /**
3990
- * @generated from message agntcy.dir.sign.v1.VerifyRequestProvider
3991
- */
3992
- declare type VerifyRequestProvider = Message<"agntcy.dir.sign.v1.VerifyRequestProvider"> & {
3993
- /**
3994
- * @generated from oneof agntcy.dir.sign.v1.VerifyRequestProvider.request
3995
- */
3996
- request: {
3997
- /**
3998
- * Verify with PEM-encoded public key
3999
- *
4000
- * @generated from field: agntcy.dir.sign.v1.VerifyWithKey key = 1;
4001
- */
4002
- value: VerifyWithKey;
4003
- case: "key";
4004
- } | {
4005
- /**
4006
- * Verify with OIDC provider
4007
- *
4008
- * @generated from field: agntcy.dir.sign.v1.VerifyWithOIDC oidc = 2;
4009
- */
4010
- value: VerifyWithOIDC;
4011
- case: "oidc";
4012
- } | {
4013
- /**
4014
- * Verify implicitly without providing any key or OIDC information.
4015
- * This will attempt to verify any signature found on the record.
4016
- * This is useful for verifying records that have been signed and have signatures attached,
4017
- * without needing to verify against a specific key or OIDC identity.
4018
- *
4019
- * @generated from field: agntcy.dir.sign.v1.VerifyWithAny any = 3;
4020
- */
4021
- value: VerifyWithAny;
4022
- case: "any";
4023
- } | { case: undefined; value?: undefined };
4024
- };
4025
-
4026
- /**
4027
- * Describes the message agntcy.dir.sign.v1.VerifyRequestProvider.
4028
- * Use `create(VerifyRequestProviderSchema)` to create a new message.
4029
- */
4030
- declare const VerifyRequestProviderSchema: GenMessage<VerifyRequestProvider>;
4031
-
4032
- /**
4033
- * Describes the message agntcy.dir.sign.v1.VerifyRequest.
4034
- * Use `create(VerifyRequestSchema)` to create a new message.
4035
- */
4036
- declare const VerifyRequestSchema: GenMessage<VerifyRequest>;
4037
-
4038
- /**
4039
- * @generated from message agntcy.dir.sign.v1.VerifyResponse
4040
- */
4041
- declare type VerifyResponse = Message<"agntcy.dir.sign.v1.VerifyResponse"> & {
4042
- /**
4043
- * The verify process result
4044
- *
4045
- * @generated from field: bool success = 1;
4046
- */
4047
- success: boolean;
4048
-
4049
- /**
4050
- * List of all signers that signed the record.
4051
- * Each entry represents one valid signature on the record.
4052
- *
4053
- * @generated from field: repeated agntcy.dir.sign.v1.SignerInfo signers = 2;
4054
- */
4055
- signers: SignerInfo[];
4056
-
4057
- /**
4058
- * Optional error message if verification failed
4059
- *
4060
- * @generated from field: optional string error_message = 3;
4061
- */
4062
- errorMessage?: string;
4063
- };
4064
-
4065
- /**
4066
- * Describes the message agntcy.dir.sign.v1.VerifyResponse.
4067
- * Use `create(VerifyResponseSchema)` to create a new message.
4068
- */
4069
- declare const VerifyResponseSchema: GenMessage<VerifyResponse>;
4070
-
4071
- /**
4072
- * @generated from message agntcy.dir.sign.v1.VerifyWithAny
4073
- */
4074
- declare type VerifyWithAny = Message<"agntcy.dir.sign.v1.VerifyWithAny"> & {
4075
- /**
4076
- * Verification options for OIDC.
4077
- * This is used to verify only OIDC signatures on the record.
4078
- * For key-based signatures, this field is ignored.
4079
- *
4080
- * @generated from field: optional agntcy.dir.sign.v1.VerifyOptionsOIDC oidc_options = 1;
4081
- */
4082
- oidcOptions?: VerifyOptionsOIDC;
4083
- };
4084
-
4085
- /**
4086
- * Describes the message agntcy.dir.sign.v1.VerifyWithAny.
4087
- * Use `create(VerifyWithAnySchema)` to create a new message.
4088
- */
4089
- declare const VerifyWithAnySchema: GenMessage<VerifyWithAny>;
4090
-
4091
- /**
4092
- * @generated from message agntcy.dir.sign.v1.VerifyWithKey
4093
- */
4094
- declare type VerifyWithKey = Message<"agntcy.dir.sign.v1.VerifyWithKey"> & {
4095
- /**
4096
- * Public key to verify against.
4097
- * Accepts either:
4098
- * - PEM-encoded public key content (inline)
4099
- * - Reference to a public key:
4100
- * - File path: "/path/to/cosign.pub" or "./cosign.pub"
4101
- * - HTTP(S) URL: "https://example.com/cosign.pub"
4102
- * - Environment variable: "env://COSIGN_PUBLIC_KEY"
4103
- * - AWS KMS: "awskms://[ENDPOINT]/[ID/ALIAS/ARN]"
4104
- * - GCP KMS: "gcpkms://projects/[PROJECT]/locations/[LOC]/keyRings/[RING]/cryptoKeys/[KEY]"
4105
- * - Azure Key Vault: "azurekms://[VAULT_NAME][VAULT_URI]/[KEY]"
4106
- * - Hashicorp Vault: "hashivault://[KEY]"
4107
- * - Kubernetes secret: "k8s://[NAMESPACE]/[SECRET_NAME]"
4108
- * - PKCS11 token: "pkcs11:token=...;slot-id=...;object=..."
4109
- * - GitLab: "gitlab://[PROJECT]"
4110
- *
4111
- * @generated from field: string public_key = 1;
4112
- */
4113
- publicKey: string;
4114
- };
4115
-
4116
- /**
4117
- * Describes the message agntcy.dir.sign.v1.VerifyWithKey.
4118
- * Use `create(VerifyWithKeySchema)` to create a new message.
4119
- */
4120
- declare const VerifyWithKeySchema: GenMessage<VerifyWithKey>;
4121
-
4122
- /**
4123
- * @generated from message agntcy.dir.sign.v1.VerifyWithOIDC
4124
- */
4125
- declare type VerifyWithOIDC = Message<"agntcy.dir.sign.v1.VerifyWithOIDC"> & {
4126
- /**
4127
- * OIDC issuer URL.
4128
- * Accepts exact match or regular expression (e.g., "https://github.com/login/oauth")
4129
- *
4130
- * @generated from field: string issuer = 1;
4131
- */
4132
- issuer: string;
4133
-
4134
- /**
4135
- * OIDC subject/identity.
4136
- * Accepts exact match or regular expression (e.g., "user@example.com")
4137
- *
4138
- * @generated from field: string subject = 2;
4139
- */
4140
- subject: string;
4141
-
4142
- /**
4143
- * Verification options for OIDC
4144
- *
4145
- * @generated from field: optional agntcy.dir.sign.v1.VerifyOptionsOIDC options = 3;
4146
- */
4147
- options?: VerifyOptionsOIDC;
4148
- };
4149
-
4150
- /**
4151
- * Describes the message agntcy.dir.sign.v1.VerifyWithOIDC.
4152
- * Use `create(VerifyWithOIDCSchema)` to create a new message.
4153
- */
4154
- declare const VerifyWithOIDCSchema: GenMessage<VerifyWithOIDC>;
4155
-
4156
1171
  export { }