Skip to content

Commit 2042c38

Browse files
authored
feat: add missing special secret version revision (#882)
1 parent 38af291 commit 2042c38

File tree

1 file changed

+40
-8
lines changed

1 file changed

+40
-8
lines changed

packages/clients/src/api/secret/v1alpha1/types.gen.ts

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,11 @@ export type GetSecretVersionRequest = {
434434
secretId: string
435435
/**
436436
* Version number. The first version of the secret is numbered 1, and all
437-
* subsequent revisions augment by 1. Value can be a number or "latest".
437+
* subsequent revisions augment by 1. Value can be either:
438+
*
439+
* - A number (the revision number)
440+
* - "latest" (the latest revision)
441+
* - "latest_enabled" (the latest enabled revision).
438442
*/
439443
revision: string
440444
}
@@ -449,7 +453,11 @@ export type GetSecretVersionByNameRequest = {
449453
secretName: string
450454
/**
451455
* Version number. The first version of the secret is numbered 1, and all
452-
* subsequent revisions augment by 1. Value can be a number or "latest".
456+
* subsequent revisions augment by 1. Value can be either:
457+
*
458+
* - A number (the revision number)
459+
* - "latest" (the latest revision)
460+
* - "latest_enabled" (the latest enabled revision).
453461
*/
454462
revision: string
455463
/**
@@ -469,7 +477,11 @@ export type UpdateSecretVersionRequest = {
469477
secretId: string
470478
/**
471479
* Version number. The first version of the secret is numbered 1, and all
472-
* subsequent revisions augment by 1. Value can be a number or "latest".
480+
* subsequent revisions augment by 1. Value can be either:
481+
*
482+
* - A number (the revision number)
483+
* - "latest" (the latest revision)
484+
* - "latest_enabled" (the latest enabled revision).
473485
*/
474486
revision: string
475487
/** Description of the version. */
@@ -519,7 +531,11 @@ export type EnableSecretVersionRequest = {
519531
secretId: string
520532
/**
521533
* Version number. The first version of the secret is numbered 1, and all
522-
* subsequent revisions augment by 1. Value can be a number or "latest".
534+
* subsequent revisions augment by 1. Value can be either:
535+
*
536+
* - A number (the revision number)
537+
* - "latest" (the latest revision)
538+
* - "latest_enabled" (the latest enabled revision).
523539
*/
524540
revision: string
525541
}
@@ -534,7 +550,11 @@ export type DisableSecretVersionRequest = {
534550
secretId: string
535551
/**
536552
* Version number. The first version of the secret is numbered 1, and all
537-
* subsequent revisions augment by 1. Value can be a number or "latest".
553+
* subsequent revisions augment by 1. Value can be either:
554+
*
555+
* - A number (the revision number)
556+
* - "latest" (the latest revision)
557+
* - "latest_enabled" (the latest enabled revision).
538558
*/
539559
revision: string
540560
}
@@ -549,7 +569,11 @@ export type AccessSecretVersionRequest = {
549569
secretId: string
550570
/**
551571
* Version number. The first version of the secret is numbered 1, and all
552-
* subsequent revisions augment by 1. Value can be a number or "latest".
572+
* subsequent revisions augment by 1. Value can be either:
573+
*
574+
* - A number (the revision number)
575+
* - "latest" (the latest revision)
576+
* - "latest_enabled" (the latest enabled revision).
553577
*/
554578
revision: string
555579
}
@@ -564,7 +588,11 @@ export type AccessSecretVersionByNameRequest = {
564588
secretName: string
565589
/**
566590
* Version number. The first version of the secret is numbered 1, and all
567-
* subsequent revisions augment by 1. Value can be a number or "latest".
591+
* subsequent revisions augment by 1. Value can be either:
592+
*
593+
* - A number (the revision number)
594+
* - "latest" (the latest revision)
595+
* - "latest_enabled" (the latest enabled revision).
568596
*/
569597
revision: string
570598
/**
@@ -584,7 +612,11 @@ export type DestroySecretVersionRequest = {
584612
secretId: string
585613
/**
586614
* Version number. The first version of the secret is numbered 1, and all
587-
* subsequent revisions augment by 1. Value can be a number or "latest".
615+
* subsequent revisions augment by 1. Value can be either:
616+
*
617+
* - A number (the revision number)
618+
* - "latest" (the latest revision)
619+
* - "latest_enabled" (the latest enabled revision).
588620
*/
589621
revision: string
590622
}

0 commit comments

Comments
 (0)