@admiral-io/sdk 1.6.3 → 1.6.5

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,5 +1,5 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
- import type { AccessToken } from "../../../common/v1/token_pb.js";
2
+ import type { ApiKey } from "../../../common/v1/apikey_pb.js";
3
3
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
4
4
  import type { Message } from "@bufbuild/protobuf";
5
5
  /**
@@ -139,13 +139,13 @@ export type GetUserResponse = Message<"admiral.api.user.v1.GetUserResponse"> & {
139
139
  */
140
140
  export declare const GetUserResponseSchema: GenMessage<GetUserResponse>;
141
141
  /**
142
- * CreatePersonalAccessTokenRequest contains the parameters for creating a new PAT.
142
+ * CreateApiKeyRequest contains the parameters for creating a new API key.
143
143
  *
144
- * @generated from message admiral.api.user.v1.CreatePersonalAccessTokenRequest
144
+ * @generated from message admiral.api.user.v1.CreateApiKeyRequest
145
145
  */
146
- export type CreatePersonalAccessTokenRequest = Message<"admiral.api.user.v1.CreatePersonalAccessTokenRequest"> & {
146
+ export type CreateApiKeyRequest = Message<"admiral.api.user.v1.CreateApiKeyRequest"> & {
147
147
  /**
148
- * URL-safe, human-readable identifier for the token (e.g., "postman-testing").
148
+ * URL-safe, human-readable identifier for the key (e.g., "postman-testing").
149
149
  * Unique per user within the tenant. Lowercase alphanumeric and hyphens only,
150
150
  * must start with a letter and end with an alphanumeric character (1-63 chars).
151
151
  *
@@ -153,15 +153,15 @@ export type CreatePersonalAccessTokenRequest = Message<"admiral.api.user.v1.Crea
153
153
  */
154
154
  name: string;
155
155
  /**
156
- * The scopes to grant this token. Must be valid scopes allowed for PATs.
156
+ * The scopes to grant this key. Must be scopes assignable to a user-bound key.
157
157
  * The server enforces that issued scopes are a subset of the caller's own
158
- * scopes. A token cannot grant more access than the user holds.
158
+ * scopes. A key cannot grant more access than the user holds.
159
159
  *
160
160
  * @generated from field: repeated string scopes = 2;
161
161
  */
162
162
  scopes: string[];
163
163
  /**
164
- * Optional expiration time. If unset, the token does not expire.
164
+ * Optional expiration time. If unset, the key does not expire.
165
165
  * Tenant policies may enforce a maximum lifetime.
166
166
  *
167
167
  * @generated from field: google.protobuf.Timestamp expires_at = 3;
@@ -169,48 +169,48 @@ export type CreatePersonalAccessTokenRequest = Message<"admiral.api.user.v1.Crea
169
169
  expiresAt?: Timestamp | undefined;
170
170
  };
171
171
  /**
172
- * Describes the message admiral.api.user.v1.CreatePersonalAccessTokenRequest.
173
- * Use `create(CreatePersonalAccessTokenRequestSchema)` to create a new message.
172
+ * Describes the message admiral.api.user.v1.CreateApiKeyRequest.
173
+ * Use `create(CreateApiKeyRequestSchema)` to create a new message.
174
174
  */
175
- export declare const CreatePersonalAccessTokenRequestSchema: GenMessage<CreatePersonalAccessTokenRequest>;
175
+ export declare const CreateApiKeyRequestSchema: GenMessage<CreateApiKeyRequest>;
176
176
  /**
177
- * CreatePersonalAccessTokenResponse contains the newly created PAT.
177
+ * CreateApiKeyResponse contains the newly created API key.
178
178
  *
179
- * @generated from message admiral.api.user.v1.CreatePersonalAccessTokenResponse
179
+ * @generated from message admiral.api.user.v1.CreateApiKeyResponse
180
180
  */
181
- export type CreatePersonalAccessTokenResponse = Message<"admiral.api.user.v1.CreatePersonalAccessTokenResponse"> & {
181
+ export type CreateApiKeyResponse = Message<"admiral.api.user.v1.CreateApiKeyResponse"> & {
182
182
  /**
183
- * The created token metadata.
183
+ * The created key metadata.
184
184
  *
185
- * @generated from field: admiral.common.v1.AccessToken access_token = 1;
185
+ * @generated from field: admiral.common.v1.ApiKey api_key = 1;
186
186
  */
187
- accessToken?: AccessToken | undefined;
187
+ apiKey?: ApiKey | undefined;
188
188
  /**
189
- * The raw token secret (e.g., "admp_7kH3mNqR2xFb..."). This value is
189
+ * The raw secret (e.g., "admp_7kH3mNqR2xFb..."). This value is
190
190
  * shown exactly once and cannot be retrieved again. Store it securely.
191
191
  *
192
- * @generated from field: string plain_text_token = 2;
192
+ * @generated from field: string plain_text_key = 2;
193
193
  */
194
- plainTextToken: string;
194
+ plainTextKey: string;
195
195
  };
196
196
  /**
197
- * Describes the message admiral.api.user.v1.CreatePersonalAccessTokenResponse.
198
- * Use `create(CreatePersonalAccessTokenResponseSchema)` to create a new message.
197
+ * Describes the message admiral.api.user.v1.CreateApiKeyResponse.
198
+ * Use `create(CreateApiKeyResponseSchema)` to create a new message.
199
199
  */
200
- export declare const CreatePersonalAccessTokenResponseSchema: GenMessage<CreatePersonalAccessTokenResponse>;
200
+ export declare const CreateApiKeyResponseSchema: GenMessage<CreateApiKeyResponse>;
201
201
  /**
202
- * ListPersonalAccessTokensRequest contains pagination and filter parameters.
202
+ * ListApiKeysRequest contains pagination and filter parameters.
203
203
  *
204
- * @generated from message admiral.api.user.v1.ListPersonalAccessTokensRequest
204
+ * @generated from message admiral.api.user.v1.ListApiKeysRequest
205
205
  */
206
- export type ListPersonalAccessTokensRequest = Message<"admiral.api.user.v1.ListPersonalAccessTokensRequest"> & {
206
+ export type ListApiKeysRequest = Message<"admiral.api.user.v1.ListApiKeysRequest"> & {
207
207
  /**
208
208
  * Filter expression to narrow results. Uses the Admiral filter DSL (see the
209
209
  * API documentation for the full operator and predicate reference).
210
210
  *
211
211
  * Filterable fields:
212
- * - `name`: filter by token name.
213
- * - `status`: filter by token status (ACTIVE, REVOKED).
212
+ * - `name`: filter by key name.
213
+ * - `status`: filter by key status (ACTIVE, REVOKED).
214
214
  *
215
215
  * Example: `field['status'] = 'ACTIVE'`
216
216
  *
@@ -218,7 +218,7 @@ export type ListPersonalAccessTokensRequest = Message<"admiral.api.user.v1.ListP
218
218
  */
219
219
  filter: string;
220
220
  /**
221
- * Maximum number of tokens to return per page. Defaults to 50 when omitted
221
+ * Maximum number of keys to return per page. Defaults to 50 when omitted
222
222
  * or 0; must not exceed 100.
223
223
  *
224
224
  * @generated from field: int32 page_size = 2;
@@ -232,22 +232,22 @@ export type ListPersonalAccessTokensRequest = Message<"admiral.api.user.v1.ListP
232
232
  pageToken: string;
233
233
  };
234
234
  /**
235
- * Describes the message admiral.api.user.v1.ListPersonalAccessTokensRequest.
236
- * Use `create(ListPersonalAccessTokensRequestSchema)` to create a new message.
235
+ * Describes the message admiral.api.user.v1.ListApiKeysRequest.
236
+ * Use `create(ListApiKeysRequestSchema)` to create a new message.
237
237
  */
238
- export declare const ListPersonalAccessTokensRequestSchema: GenMessage<ListPersonalAccessTokensRequest>;
238
+ export declare const ListApiKeysRequestSchema: GenMessage<ListApiKeysRequest>;
239
239
  /**
240
- * ListPersonalAccessTokensResponse contains a page of PAT metadata.
240
+ * ListApiKeysResponse contains a page of API key metadata.
241
241
  *
242
- * @generated from message admiral.api.user.v1.ListPersonalAccessTokensResponse
242
+ * @generated from message admiral.api.user.v1.ListApiKeysResponse
243
243
  */
244
- export type ListPersonalAccessTokensResponse = Message<"admiral.api.user.v1.ListPersonalAccessTokensResponse"> & {
244
+ export type ListApiKeysResponse = Message<"admiral.api.user.v1.ListApiKeysResponse"> & {
245
245
  /**
246
- * The list of tokens. Token secrets are never included.
246
+ * The list of keys. Secrets are never included.
247
247
  *
248
- * @generated from field: repeated admiral.common.v1.AccessToken access_tokens = 1;
248
+ * @generated from field: repeated admiral.common.v1.ApiKey api_keys = 1;
249
249
  */
250
- accessTokens: AccessToken[];
250
+ apiKeys: ApiKey[];
251
251
  /**
252
252
  * Pagination token for the next page. Empty when there are no more results.
253
253
  *
@@ -256,70 +256,70 @@ export type ListPersonalAccessTokensResponse = Message<"admiral.api.user.v1.List
256
256
  nextPageToken: string;
257
257
  };
258
258
  /**
259
- * Describes the message admiral.api.user.v1.ListPersonalAccessTokensResponse.
260
- * Use `create(ListPersonalAccessTokensResponseSchema)` to create a new message.
259
+ * Describes the message admiral.api.user.v1.ListApiKeysResponse.
260
+ * Use `create(ListApiKeysResponseSchema)` to create a new message.
261
261
  */
262
- export declare const ListPersonalAccessTokensResponseSchema: GenMessage<ListPersonalAccessTokensResponse>;
262
+ export declare const ListApiKeysResponseSchema: GenMessage<ListApiKeysResponse>;
263
263
  /**
264
- * GetPersonalAccessTokenRequest identifies a PAT to retrieve.
264
+ * GetApiKeyRequest identifies an API key to retrieve.
265
265
  *
266
- * @generated from message admiral.api.user.v1.GetPersonalAccessTokenRequest
266
+ * @generated from message admiral.api.user.v1.GetApiKeyRequest
267
267
  */
268
- export type GetPersonalAccessTokenRequest = Message<"admiral.api.user.v1.GetPersonalAccessTokenRequest"> & {
268
+ export type GetApiKeyRequest = Message<"admiral.api.user.v1.GetApiKeyRequest"> & {
269
269
  /**
270
- * The unique identifier of the token (UUID).
270
+ * The unique identifier of the key (UUID).
271
271
  *
272
272
  * @generated from field: string token_id = 1;
273
273
  */
274
274
  tokenId: string;
275
275
  };
276
276
  /**
277
- * Describes the message admiral.api.user.v1.GetPersonalAccessTokenRequest.
278
- * Use `create(GetPersonalAccessTokenRequestSchema)` to create a new message.
277
+ * Describes the message admiral.api.user.v1.GetApiKeyRequest.
278
+ * Use `create(GetApiKeyRequestSchema)` to create a new message.
279
279
  */
280
- export declare const GetPersonalAccessTokenRequestSchema: GenMessage<GetPersonalAccessTokenRequest>;
280
+ export declare const GetApiKeyRequestSchema: GenMessage<GetApiKeyRequest>;
281
281
  /**
282
- * GetPersonalAccessTokenResponse contains the requested PAT metadata.
282
+ * GetApiKeyResponse contains the requested API key metadata.
283
283
  *
284
- * @generated from message admiral.api.user.v1.GetPersonalAccessTokenResponse
284
+ * @generated from message admiral.api.user.v1.GetApiKeyResponse
285
285
  */
286
- export type GetPersonalAccessTokenResponse = Message<"admiral.api.user.v1.GetPersonalAccessTokenResponse"> & {
286
+ export type GetApiKeyResponse = Message<"admiral.api.user.v1.GetApiKeyResponse"> & {
287
287
  /**
288
- * The token metadata. The token secret is never included.
288
+ * The key metadata. The key secret is never included.
289
289
  *
290
- * @generated from field: admiral.common.v1.AccessToken access_token = 1;
290
+ * @generated from field: admiral.common.v1.ApiKey api_key = 1;
291
291
  */
292
- accessToken?: AccessToken | undefined;
292
+ apiKey?: ApiKey | undefined;
293
293
  };
294
294
  /**
295
- * Describes the message admiral.api.user.v1.GetPersonalAccessTokenResponse.
296
- * Use `create(GetPersonalAccessTokenResponseSchema)` to create a new message.
295
+ * Describes the message admiral.api.user.v1.GetApiKeyResponse.
296
+ * Use `create(GetApiKeyResponseSchema)` to create a new message.
297
297
  */
298
- export declare const GetPersonalAccessTokenResponseSchema: GenMessage<GetPersonalAccessTokenResponse>;
298
+ export declare const GetApiKeyResponseSchema: GenMessage<GetApiKeyResponse>;
299
299
  /**
300
- * UpdatePersonalAccessTokenRequest contains the fields to update on a PAT.
300
+ * UpdateApiKeyRequest contains the fields to update on an API key.
301
301
  * Only provided fields are updated; omitted fields remain unchanged.
302
302
  *
303
- * @generated from message admiral.api.user.v1.UpdatePersonalAccessTokenRequest
303
+ * @generated from message admiral.api.user.v1.UpdateApiKeyRequest
304
304
  */
305
- export type UpdatePersonalAccessTokenRequest = Message<"admiral.api.user.v1.UpdatePersonalAccessTokenRequest"> & {
305
+ export type UpdateApiKeyRequest = Message<"admiral.api.user.v1.UpdateApiKeyRequest"> & {
306
306
  /**
307
- * The unique identifier of the token to update (UUID).
307
+ * The unique identifier of the key to update (UUID).
308
308
  *
309
309
  * @generated from field: string token_id = 1;
310
310
  */
311
311
  tokenId: string;
312
312
  /**
313
- * New name for the token. Must follow the same naming rules as creation.
313
+ * New name for the key. Must follow the same naming rules as creation.
314
314
  * Omit to leave the name unchanged.
315
315
  *
316
316
  * @generated from field: optional string name = 2;
317
317
  */
318
318
  name?: string | undefined;
319
319
  /**
320
- * New scopes for the token. Replaces all existing scopes.
320
+ * New scopes for the key. Replaces all existing scopes.
321
321
  * The server enforces that issued scopes are a subset of the caller's own
322
- * scopes. A token cannot grant more access than the user holds.
322
+ * scopes. A key cannot grant more access than the user holds.
323
323
  * Omit to leave scopes unchanged.
324
324
  *
325
325
  * @generated from field: repeated string scopes = 3;
@@ -327,71 +327,73 @@ export type UpdatePersonalAccessTokenRequest = Message<"admiral.api.user.v1.Upda
327
327
  scopes: string[];
328
328
  };
329
329
  /**
330
- * Describes the message admiral.api.user.v1.UpdatePersonalAccessTokenRequest.
331
- * Use `create(UpdatePersonalAccessTokenRequestSchema)` to create a new message.
330
+ * Describes the message admiral.api.user.v1.UpdateApiKeyRequest.
331
+ * Use `create(UpdateApiKeyRequestSchema)` to create a new message.
332
332
  */
333
- export declare const UpdatePersonalAccessTokenRequestSchema: GenMessage<UpdatePersonalAccessTokenRequest>;
333
+ export declare const UpdateApiKeyRequestSchema: GenMessage<UpdateApiKeyRequest>;
334
334
  /**
335
- * UpdatePersonalAccessTokenResponse contains the updated PAT metadata.
335
+ * UpdateApiKeyResponse contains the updated API key metadata.
336
336
  *
337
- * @generated from message admiral.api.user.v1.UpdatePersonalAccessTokenResponse
337
+ * @generated from message admiral.api.user.v1.UpdateApiKeyResponse
338
338
  */
339
- export type UpdatePersonalAccessTokenResponse = Message<"admiral.api.user.v1.UpdatePersonalAccessTokenResponse"> & {
339
+ export type UpdateApiKeyResponse = Message<"admiral.api.user.v1.UpdateApiKeyResponse"> & {
340
340
  /**
341
- * The updated token metadata.
341
+ * The updated key metadata.
342
342
  *
343
- * @generated from field: admiral.common.v1.AccessToken access_token = 1;
343
+ * @generated from field: admiral.common.v1.ApiKey api_key = 1;
344
344
  */
345
- accessToken?: AccessToken | undefined;
345
+ apiKey?: ApiKey | undefined;
346
346
  };
347
347
  /**
348
- * Describes the message admiral.api.user.v1.UpdatePersonalAccessTokenResponse.
349
- * Use `create(UpdatePersonalAccessTokenResponseSchema)` to create a new message.
348
+ * Describes the message admiral.api.user.v1.UpdateApiKeyResponse.
349
+ * Use `create(UpdateApiKeyResponseSchema)` to create a new message.
350
350
  */
351
- export declare const UpdatePersonalAccessTokenResponseSchema: GenMessage<UpdatePersonalAccessTokenResponse>;
351
+ export declare const UpdateApiKeyResponseSchema: GenMessage<UpdateApiKeyResponse>;
352
352
  /**
353
- * RevokePersonalAccessTokenRequest identifies a PAT to revoke.
353
+ * RevokeApiKeyRequest identifies an API key to revoke.
354
354
  *
355
- * @generated from message admiral.api.user.v1.RevokePersonalAccessTokenRequest
355
+ * @generated from message admiral.api.user.v1.RevokeApiKeyRequest
356
356
  */
357
- export type RevokePersonalAccessTokenRequest = Message<"admiral.api.user.v1.RevokePersonalAccessTokenRequest"> & {
357
+ export type RevokeApiKeyRequest = Message<"admiral.api.user.v1.RevokeApiKeyRequest"> & {
358
358
  /**
359
- * The unique identifier of the token to revoke (UUID).
359
+ * The unique identifier of the key to revoke (UUID).
360
360
  *
361
361
  * @generated from field: string token_id = 1;
362
362
  */
363
363
  tokenId: string;
364
364
  };
365
365
  /**
366
- * Describes the message admiral.api.user.v1.RevokePersonalAccessTokenRequest.
367
- * Use `create(RevokePersonalAccessTokenRequestSchema)` to create a new message.
366
+ * Describes the message admiral.api.user.v1.RevokeApiKeyRequest.
367
+ * Use `create(RevokeApiKeyRequestSchema)` to create a new message.
368
368
  */
369
- export declare const RevokePersonalAccessTokenRequestSchema: GenMessage<RevokePersonalAccessTokenRequest>;
369
+ export declare const RevokeApiKeyRequestSchema: GenMessage<RevokeApiKeyRequest>;
370
370
  /**
371
- * RevokePersonalAccessTokenResponse contains the revoked PAT metadata.
371
+ * RevokeApiKeyResponse contains the revoked API key metadata.
372
372
  *
373
- * @generated from message admiral.api.user.v1.RevokePersonalAccessTokenResponse
373
+ * @generated from message admiral.api.user.v1.RevokeApiKeyResponse
374
374
  */
375
- export type RevokePersonalAccessTokenResponse = Message<"admiral.api.user.v1.RevokePersonalAccessTokenResponse"> & {
375
+ export type RevokeApiKeyResponse = Message<"admiral.api.user.v1.RevokeApiKeyResponse"> & {
376
376
  /**
377
- * The token metadata with updated status.
377
+ * The key metadata with updated status.
378
378
  *
379
- * @generated from field: admiral.common.v1.AccessToken access_token = 1;
379
+ * @generated from field: admiral.common.v1.ApiKey api_key = 1;
380
380
  */
381
- accessToken?: AccessToken | undefined;
381
+ apiKey?: ApiKey | undefined;
382
382
  };
383
383
  /**
384
- * Describes the message admiral.api.user.v1.RevokePersonalAccessTokenResponse.
385
- * Use `create(RevokePersonalAccessTokenResponseSchema)` to create a new message.
384
+ * Describes the message admiral.api.user.v1.RevokeApiKeyResponse.
385
+ * Use `create(RevokeApiKeyResponseSchema)` to create a new message.
386
386
  */
387
- export declare const RevokePersonalAccessTokenResponseSchema: GenMessage<RevokePersonalAccessTokenResponse>;
387
+ export declare const RevokeApiKeyResponseSchema: GenMessage<RevokeApiKeyResponse>;
388
388
  /**
389
- * UserAPI provides operations for user profile retrieval and Personal Access
390
- * Token (PAT) management.
389
+ * UserAPI provides operations for user profile retrieval and management of the
390
+ * caller's own API keys.
391
391
  *
392
- * PATs allow users to authenticate with the Admiral API from scripts, CI
393
- * pipelines, and other programmatic contexts. Each PAT has user-selected
394
- * scopes and an optional expiration.
392
+ * An API key here is bound to the calling user (BINDING_TYPE_USER) and lets them
393
+ * authenticate from scripts, CI pipelines, and other programmatic contexts. Its
394
+ * scopes are selected at creation and it may carry an expiration. Personal
395
+ * access token is the same thing said in user-facing words, and the REST routes
396
+ * and generated documentation keep that name; the contract has one noun.
395
397
  *
396
398
  * @generated from service admiral.api.user.v1.UserAPI
397
399
  */
@@ -400,7 +402,7 @@ export declare const UserAPI: GenService<{
400
402
  * GetMe retrieves the profile of the currently authenticated user.
401
403
  * The user is identified by the authentication token provided in the request.
402
404
  *
403
- * Scope: any authenticated token (no specific scope required).
405
+ * Scope: any authenticated key (no specific scope required).
404
406
  *
405
407
  * @generated from rpc admiral.api.user.v1.UserAPI.GetMe
406
408
  */
@@ -422,71 +424,71 @@ export declare const UserAPI: GenService<{
422
424
  output: typeof GetUserResponseSchema;
423
425
  };
424
426
  /**
425
- * CreatePersonalAccessToken creates a new PAT for the authenticated user.
426
- * The response includes the raw token secret, which is shown exactly once
427
+ * CreateApiKey creates a new API key for the authenticated user.
428
+ * The response includes the raw secret, which is shown exactly once
427
429
  * and cannot be retrieved again.
428
430
  *
429
431
  * Scope: `token:write`
430
432
  *
431
- * @generated from rpc admiral.api.user.v1.UserAPI.CreatePersonalAccessToken
433
+ * @generated from rpc admiral.api.user.v1.UserAPI.CreateApiKey
432
434
  */
433
- createPersonalAccessToken: {
435
+ createApiKey: {
434
436
  methodKind: "unary";
435
- input: typeof CreatePersonalAccessTokenRequestSchema;
436
- output: typeof CreatePersonalAccessTokenResponseSchema;
437
+ input: typeof CreateApiKeyRequestSchema;
438
+ output: typeof CreateApiKeyResponseSchema;
437
439
  };
438
440
  /**
439
- * ListPersonalAccessTokens returns a paginated list of the authenticated
440
- * user's PATs. Token secrets are never included.
441
+ * ListApiKeys returns a paginated list of the authenticated user's own API
442
+ * keys. Secrets are never included.
441
443
  *
442
444
  * Scope: `token:read`
443
445
  *
444
- * @generated from rpc admiral.api.user.v1.UserAPI.ListPersonalAccessTokens
446
+ * @generated from rpc admiral.api.user.v1.UserAPI.ListApiKeys
445
447
  */
446
- listPersonalAccessTokens: {
448
+ listApiKeys: {
447
449
  methodKind: "unary";
448
- input: typeof ListPersonalAccessTokensRequestSchema;
449
- output: typeof ListPersonalAccessTokensResponseSchema;
450
+ input: typeof ListApiKeysRequestSchema;
451
+ output: typeof ListApiKeysResponseSchema;
450
452
  };
451
453
  /**
452
- * GetPersonalAccessToken retrieves a single PAT by ID.
453
- * Returns metadata only. The token secret is never included.
454
+ * GetApiKey retrieves a single API key by ID.
455
+ * Returns metadata only. The key secret is never included.
454
456
  *
455
457
  * Scope: `token:read`
456
458
  *
457
- * @generated from rpc admiral.api.user.v1.UserAPI.GetPersonalAccessToken
459
+ * @generated from rpc admiral.api.user.v1.UserAPI.GetApiKey
458
460
  */
459
- getPersonalAccessToken: {
461
+ getApiKey: {
460
462
  methodKind: "unary";
461
- input: typeof GetPersonalAccessTokenRequestSchema;
462
- output: typeof GetPersonalAccessTokenResponseSchema;
463
+ input: typeof GetApiKeyRequestSchema;
464
+ output: typeof GetApiKeyResponseSchema;
463
465
  };
464
466
  /**
465
- * UpdatePersonalAccessToken updates a PAT's mutable fields (name, scopes).
466
- * Only active tokens can be updated. The token secret and expiration are
467
+ * UpdateApiKey updates an API key's mutable fields (name, scopes).
468
+ * Only active keys can be updated. The secret and expiration are
467
469
  * immutable after creation.
468
470
  *
469
471
  * Scope: `token:write`
470
472
  *
471
- * @generated from rpc admiral.api.user.v1.UserAPI.UpdatePersonalAccessToken
473
+ * @generated from rpc admiral.api.user.v1.UserAPI.UpdateApiKey
472
474
  */
473
- updatePersonalAccessToken: {
475
+ updateApiKey: {
474
476
  methodKind: "unary";
475
- input: typeof UpdatePersonalAccessTokenRequestSchema;
476
- output: typeof UpdatePersonalAccessTokenResponseSchema;
477
+ input: typeof UpdateApiKeyRequestSchema;
478
+ output: typeof UpdateApiKeyResponseSchema;
477
479
  };
478
480
  /**
479
- * RevokePersonalAccessToken permanently revokes a PAT. The token becomes
481
+ * RevokeApiKey permanently revokes an API key. The key becomes
480
482
  * immediately unusable and cannot be restored.
481
483
  *
482
484
  * Scope: `token:write`
483
485
  *
484
- * @generated from rpc admiral.api.user.v1.UserAPI.RevokePersonalAccessToken
486
+ * @generated from rpc admiral.api.user.v1.UserAPI.RevokeApiKey
485
487
  */
486
- revokePersonalAccessToken: {
488
+ revokeApiKey: {
487
489
  methodKind: "unary";
488
- input: typeof RevokePersonalAccessTokenRequestSchema;
489
- output: typeof RevokePersonalAccessTokenResponseSchema;
490
+ input: typeof RevokeApiKeyRequestSchema;
491
+ output: typeof RevokeApiKeyResponseSchema;
490
492
  };
491
493
  }>;
492
494
  //# sourceMappingURL=user_pb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user_pb.d.ts","sourceRoot":"","sources":["../../../../../../proto/admiral/api/user/v1/user_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGpF,OAAO,KAAK,EAAE,WAAW,EAAE,M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ACH,wBAAwB,EAAE;QACxB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,qCAAqC,CAAC;QACpD,MAAM,EAAE,OAAO,sCAAsC,CAAC;KACvD,CAAC;IACF;;;;;;;OAOG;IACH,sBAAsB,EAAE;QACtB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,mCAAmC,CAAC;QAClD,MAAM,EAAE,OAAO,oCAAoC,CAAC;KACrD,CAAC;IACF;;;;;;;;OAQG;IACH,yBAAyB,EAAE;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sCAAsC,CAAC;QACrD,MAAM,EAAE,OAAO,uCAAuC,CAAC;KACxD,CAAC;IACF;;;;;;;OAOG;IACH,yBAAyB,EAAE;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,sCAAsC,CAAC;QACrD,MAAM,EAAE,OAAO,uCAAuC,CAAC;KACxD,CAAC;CACH,CAC8C,CAAC"}
1
+ {"version":3,"file":"user_pb.d.ts","sourceRoot":"","sources":["../../../../../../proto/admiral/api/user/v1/user_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAGpF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAM9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE,OACmsI,CAAC;AAEhvI;;;;GAIG;AACH,MAAM,MAAM,IAAI,GAAG,OAAO,CAAC,0BAA0B,CAAC,GAAG;IACvD;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,aAAa,EAAE,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MAAM,EAAE,OAAO,0BAA0B,CAAC;KAC3C,CAAC;IACF;;;;;;;OAOG;IACH,YAAY,EAAE;QACZ,UAAU,EAAE,OAAO,CAAC;QACpB,KAAK,EAAE,OAAO,yBAAyB,CAAC;QACxC,MAAM,EAAE,OAAO,0BAA0B,CAAC;KAC3C,CAAC;CACH,CAC8C,CAAC"}
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  import { file_admiral_common_v1_annotations } from "../../../common/v1/annotations_pb.js";
6
- import { file_admiral_common_v1_token } from "../../../common/v1/token_pb.js";
6
+ import { file_admiral_common_v1_apikey } from "../../../common/v1/apikey_pb.js";
7
7
  import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
8
8
  import { file_gnostic_openapi_v3_annotations } from "../../../../gnostic/openapi/v3/annotations_pb.js";
9
9
  import { file_google_api_annotations } from "../../../../google/api/annotations_pb.js";
@@ -12,7 +12,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
12
12
  /**
13
13
  * Describes the file admiral/api/user/v1/user.proto.
14
14
  */
15
- export const file_admiral_api_user_v1_user = /*@__PURE__*/ fileDesc("Ch5hZG1pcmFsL2FwaS91c2VyL3YxL3VzZXIucHJvdG8SE2FkbWlyYWwuYXBpLnVzZXIudjEiyQIKBFVzZXISFAoCaWQYASABKAlCCLpIBXIDsAEBEg0KBWVtYWlsGAIgASgJEhYKDmVtYWlsX3ZlcmlmaWVkGAMgASgIEhkKDGRpc3BsYXlfbmFtZRgEIAEoCUgAiAEBEhcKCmdpdmVuX25hbWUYBSABKAlIAYgBARIYCgtmYW1pbHlfbmFtZRgGIAEoCUgCiAEBEhcKCmF2YXRhcl91cmwYByABKAlIA4gBARIuCgpjcmVhdGVkX2F0GAggASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAkgASgLMhouZ29vZ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vucy97dG9rZW5faWR9Ev0BChlVcGRhdGVQZXJzb25hbEFjY2Vzc1Rva2VuEjUuYWRtaXJhbC5hcGkudXNlci52MS5VcGRhdGVQZXJzb25hbEFjY2Vzc1Rva2VuUmVxdWVzdBo2LmFkbWlyYWwuYXBpLnVzZXIudjEuVXBkYXRlUGVyc29uYWxBY2Nlc3NUb2tlblJlc3BvbnNlInG6RzgKFlBlcnNvbmFsIEFjY2VzcyBUb2tlbnMSHlVwZGF0ZSBhIHBlcnNvbmFsIGFjY2VzcyB0b2tlbqKXJA0KC3Rva2VuOndyaXRlgtPkkwIfOgEqMhovdjEvdXNlci90b2tlbnMve3Rva2VuX2lkfRKEAgoZUmV2b2tlUGVyc29uYWxBY2Nlc3NUb2tlbhI1LmFkbWlyYWwuYXBpLnVzZXIudjEuUmV2b2tlUGVyc29uYWxBY2Nlc3NUb2tlblJlcXVlc3QaNi5hZG1pcmFsLmFwaS51c2VyLnYxLlJldm9rZVBlcnNvbmFsQWNjZXNzVG9rZW5SZXNwb25zZSJ4ukc4ChZQZXJzb25hbCBBY2Nlc3MgVG9rZW5zEh5SZXZva2UgYSBwZXJzb25hbCBhY2Nlc3MgdG9rZW6ilyQNCgt0b2tlbjp3cml0ZYLT5JMCJjoBKiIhL3YxL3VzZXIvdG9rZW5zL3t0b2tlbl9pZH0vcmV2b2tlQscBChdjb20uYWRtaXJhbC5hcGkudXNlci52MUIJVXNlclByb3RvUAFaMmdvLmFkbWlyYWwuaW8vc2RrL3Byb3RvL2FkbWlyYWwvYXBpL3VzZXIvdjE7dXNlcnYxogIDQUFVqgITQWRtaXJhbC5BcGkuVXNlci5WMcoCE0FkbWlyYWxcQXBpXFVzZXJcVjHiAh9BZG1pcmFsXEFwaVxVc2VyXFYxXEdQQk1ldGFkYXRh6gIWQWRtaXJhbDo6QXBpOjpVc2VyOjpWMWIGcHJvdG8z", [file_admiral_common_v1_annotations, file_admiral_common_v1_token, file_buf_validate_validate, file_gnostic_openapi_v3_annotations, file_google_api_annotations, file_google_api_field_behavior, file_google_protobuf_timestamp]);
15
+ export const file_admiral_api_user_v1_user = /*@__PURE__*/ fileDesc("Ch5hZG1pcmFsL2FwaS91c2VyL3YxL3VzZXIucHJvdG8SE2FkbWlyYWwuYXBpLnVzZXIudjEiyQIKBFVzZXISFAoCaWQYASABKAlCCLpIBXIDsAEBEg0KBWVtYWlsGAIgASgJEhYKDmVtYWlsX3ZlcmlmaWVkGAMgASgIEhkKDGRpc3BsYXlfbmFtZRgEIAEoCUgAiAEBEhcKCmdpdmVuX25hbWUYBSABKAlIAYgBARIYCgtmYW1pbHlfbmFtZRgGIAEoCUgCiAEBEhcKCmF2YXRhcl91cmwYByABKAlIA4gBARIuCgpjcmVhdGVkX2F0GAggASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEIPCg1fZGlzcGxheV9uYW1lQg0KC19naXZlbl9uYW1lQg4KDF9mYW1pbHlfbmFtZUINCgtfYXZhdGFyX3VybCIOCgxHZXRNZVJlcXVlc3QiOAoNR2V0TWVSZXNwb25zZRInCgR1c2VyGAEgASgLMhkuYWRtaXJhbC5hcGkudXNlci52MS5Vc2VyIi4KDkdldFVzZXJSZXF1ZXN0EhwKB3VzZXJfaWQYASABKAlCC+BBArpIBXIDsAEBIjoKD0dldFVzZXJSZXNwb25zZRInCgR1c2VyGAEgASgLMhkuYWRtaXJhbC5hcGkudXNlci52MS5Vc2VyIqcBChNDcmVhdGVBcGlLZXlSZXF1ZXN0Ej0KBG5hbWUYASABKAlCL+BBArpIKXInEAEYPzIhXlthLXpdKFthLXowLTktXXswLDYxfVthLXowLTldKT8kEiEKBnNjb3BlcxgCIAMoCUIRukgOkgELEP8BIgZyBBABGEASLgoKZXhwaXJlc19hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiWgoUQ3JlYXRlQXBpS2V5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FkgtPkkwIcEhovdjEvdXNlci90b2tlbnMve3Rva2VuX2lkfRLWAQoMVXBkYXRlQXBpS2V5EiguYWRtaXJhbC5hcGkudXNlci52MS5VcGRhdGVBcGlLZXlSZXF1ZXN0GikuYWRtaXJhbC5hcGkudXNlci52MS5VcGRhdGVBcGlLZXlSZXNwb25zZSJxukc4ChZQZXJzb25hbCBBY2Nlc3MgVG9rZW5zEh5VcGRhdGUgYSBwZXJzb25hbCBhY2Nlc3MgdG9rZW6ilyQNCgt0b2tlbjp3cml0ZYLT5JMCHzoBKjIaL3YxL3VzZXIvdG9rZW5zL3t0b2tlbl9pZH0S3QEKDFJldm9rZUFwaUtleRIoLmFkbWlyYWwuYXBpLnVzZXIudjEuUmV2b2tlQXBpS2V5UmVxdWVzdBopLmFkbWlyYWwuYXBpLnVzZXIudjEuUmV2b2tlQXBpS2V5UmVzcG9uc2UieLpHOAoWUGVyc29uYWwgQWNjZXNzIFRva2VucxIeUmV2b2tlIGEgcGVyc29uYWwgYWNjZXNzIHRva2VuopckDQoLdG9rZW46d3JpdGWC0+STAiY6ASoiIS92MS91c2VyL3Rva2Vucy97dG9rZW5faWR9L3Jldm9rZULHAQoXY29tLmFkbWlyYWwuYXBpLnVzZXIudjFCCVVzZXJQcm90b1ABWjJnby5hZG1pcmFsLmlvL3Nkay9wcm90by9hZG1pcmFsL2FwaS91c2VyL3YxO3VzZXJ2MaICA0FBVaoCE0FkbWlyYWwuQXBpLlVzZXIuVjHKAhNBZG1pcmFsXEFwaVxVc2VyXFYx4gIfQWRtaXJhbFxBcGlcVXNlclxWMVxHUEJNZXRhZGF0YeoCFkFkbWlyYWw6OkFwaTo6VXNlcjo6VjFiBnByb3RvMw", [file_admiral_common_v1_annotations, file_admiral_common_v1_apikey, file_buf_validate_validate, file_gnostic_openapi_v3_annotations, file_google_api_annotations, file_google_api_field_behavior, file_google_protobuf_timestamp]);
16
16
  /**
17
17
  * Describes the message admiral.api.user.v1.User.
18
18
  * Use `create(UserSchema)` to create a new message.
@@ -39,62 +39,64 @@ export const GetUserRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_u
39
39
  */
40
40
  export const GetUserResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 4);
41
41
  /**
42
- * Describes the message admiral.api.user.v1.CreatePersonalAccessTokenRequest.
43
- * Use `create(CreatePersonalAccessTokenRequestSchema)` to create a new message.
42
+ * Describes the message admiral.api.user.v1.CreateApiKeyRequest.
43
+ * Use `create(CreateApiKeyRequestSchema)` to create a new message.
44
44
  */
45
- export const CreatePersonalAccessTokenRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 5);
45
+ export const CreateApiKeyRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 5);
46
46
  /**
47
- * Describes the message admiral.api.user.v1.CreatePersonalAccessTokenResponse.
48
- * Use `create(CreatePersonalAccessTokenResponseSchema)` to create a new message.
47
+ * Describes the message admiral.api.user.v1.CreateApiKeyResponse.
48
+ * Use `create(CreateApiKeyResponseSchema)` to create a new message.
49
49
  */
50
- export const CreatePersonalAccessTokenResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 6);
50
+ export const CreateApiKeyResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 6);
51
51
  /**
52
- * Describes the message admiral.api.user.v1.ListPersonalAccessTokensRequest.
53
- * Use `create(ListPersonalAccessTokensRequestSchema)` to create a new message.
52
+ * Describes the message admiral.api.user.v1.ListApiKeysRequest.
53
+ * Use `create(ListApiKeysRequestSchema)` to create a new message.
54
54
  */
55
- export const ListPersonalAccessTokensRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 7);
55
+ export const ListApiKeysRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 7);
56
56
  /**
57
- * Describes the message admiral.api.user.v1.ListPersonalAccessTokensResponse.
58
- * Use `create(ListPersonalAccessTokensResponseSchema)` to create a new message.
57
+ * Describes the message admiral.api.user.v1.ListApiKeysResponse.
58
+ * Use `create(ListApiKeysResponseSchema)` to create a new message.
59
59
  */
60
- export const ListPersonalAccessTokensResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 8);
60
+ export const ListApiKeysResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 8);
61
61
  /**
62
- * Describes the message admiral.api.user.v1.GetPersonalAccessTokenRequest.
63
- * Use `create(GetPersonalAccessTokenRequestSchema)` to create a new message.
62
+ * Describes the message admiral.api.user.v1.GetApiKeyRequest.
63
+ * Use `create(GetApiKeyRequestSchema)` to create a new message.
64
64
  */
65
- export const GetPersonalAccessTokenRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 9);
65
+ export const GetApiKeyRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 9);
66
66
  /**
67
- * Describes the message admiral.api.user.v1.GetPersonalAccessTokenResponse.
68
- * Use `create(GetPersonalAccessTokenResponseSchema)` to create a new message.
67
+ * Describes the message admiral.api.user.v1.GetApiKeyResponse.
68
+ * Use `create(GetApiKeyResponseSchema)` to create a new message.
69
69
  */
70
- export const GetPersonalAccessTokenResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 10);
70
+ export const GetApiKeyResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 10);
71
71
  /**
72
- * Describes the message admiral.api.user.v1.UpdatePersonalAccessTokenRequest.
73
- * Use `create(UpdatePersonalAccessTokenRequestSchema)` to create a new message.
72
+ * Describes the message admiral.api.user.v1.UpdateApiKeyRequest.
73
+ * Use `create(UpdateApiKeyRequestSchema)` to create a new message.
74
74
  */
75
- export const UpdatePersonalAccessTokenRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 11);
75
+ export const UpdateApiKeyRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 11);
76
76
  /**
77
- * Describes the message admiral.api.user.v1.UpdatePersonalAccessTokenResponse.
78
- * Use `create(UpdatePersonalAccessTokenResponseSchema)` to create a new message.
77
+ * Describes the message admiral.api.user.v1.UpdateApiKeyResponse.
78
+ * Use `create(UpdateApiKeyResponseSchema)` to create a new message.
79
79
  */
80
- export const UpdatePersonalAccessTokenResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 12);
80
+ export const UpdateApiKeyResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 12);
81
81
  /**
82
- * Describes the message admiral.api.user.v1.RevokePersonalAccessTokenRequest.
83
- * Use `create(RevokePersonalAccessTokenRequestSchema)` to create a new message.
82
+ * Describes the message admiral.api.user.v1.RevokeApiKeyRequest.
83
+ * Use `create(RevokeApiKeyRequestSchema)` to create a new message.
84
84
  */
85
- export const RevokePersonalAccessTokenRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 13);
85
+ export const RevokeApiKeyRequestSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 13);
86
86
  /**
87
- * Describes the message admiral.api.user.v1.RevokePersonalAccessTokenResponse.
88
- * Use `create(RevokePersonalAccessTokenResponseSchema)` to create a new message.
87
+ * Describes the message admiral.api.user.v1.RevokeApiKeyResponse.
88
+ * Use `create(RevokeApiKeyResponseSchema)` to create a new message.
89
89
  */
90
- export const RevokePersonalAccessTokenResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 14);
90
+ export const RevokeApiKeyResponseSchema = /*@__PURE__*/ messageDesc(file_admiral_api_user_v1_user, 14);
91
91
  /**
92
- * UserAPI provides operations for user profile retrieval and Personal Access
93
- * Token (PAT) management.
92
+ * UserAPI provides operations for user profile retrieval and management of the
93
+ * caller's own API keys.
94
94
  *
95
- * PATs allow users to authenticate with the Admiral API from scripts, CI
96
- * pipelines, and other programmatic contexts. Each PAT has user-selected
97
- * scopes and an optional expiration.
95
+ * An API key here is bound to the calling user (BINDING_TYPE_USER) and lets them
96
+ * authenticate from scripts, CI pipelines, and other programmatic contexts. Its
97
+ * scopes are selected at creation and it may carry an expiration. Personal
98
+ * access token is the same thing said in user-facing words, and the REST routes
99
+ * and generated documentation keep that name; the contract has one noun.
98
100
  *
99
101
  * @generated from service admiral.api.user.v1.UserAPI
100
102
  */