@metal-stack/api 0.4.4 → 0.5.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.
Files changed (151) hide show
  1. package/{js/Makefile → Makefile} +5 -2
  2. package/bun.lock +74 -0
  3. package/client-test.d.ts +1 -0
  4. package/client-test.js +45 -0
  5. package/client-test.ts +49 -0
  6. package/client.d.ts +97 -0
  7. package/client.js +347 -0
  8. package/client.ts +662 -0
  9. package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
  10. package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
  11. package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
  12. package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
  13. package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
  14. package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
  15. package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +16 -16
  16. package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
  17. package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
  18. package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
  19. package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
  20. package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
  21. package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
  22. package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +36 -36
  23. package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +36 -36
  24. package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
  25. package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
  26. package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
  27. package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
  28. package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
  29. package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
  30. package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
  31. package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
  32. package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
  33. package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
  34. package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
  35. package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
  36. package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
  37. package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
  38. package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
  39. package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
  40. package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
  41. package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
  42. package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
  43. package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
  44. package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
  45. package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
  46. package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
  47. package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
  48. package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
  49. package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
  50. package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
  51. package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
  52. package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
  53. package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
  54. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
  55. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
  56. package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
  57. package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
  58. package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
  59. package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
  60. package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
  61. package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
  62. package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
  63. package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
  64. package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
  65. package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
  66. package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
  67. package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
  68. package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
  69. package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
  70. package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
  71. package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +98 -98
  72. package/{js/metalstack → metalstack}/api/v2/network_pb.js +16 -16
  73. package/{js/metalstack → metalstack}/api/v2/network_pb.ts +98 -98
  74. package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
  75. package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
  76. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
  77. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
  78. package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
  79. package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
  80. package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
  81. package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
  82. package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
  83. package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
  84. package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
  85. package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
  86. package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
  87. package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
  88. package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
  89. package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
  90. package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
  91. package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
  92. package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
  93. package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
  94. package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
  95. package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
  96. package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
  97. package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
  98. package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
  99. package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
  100. package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
  101. package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
  102. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
  103. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
  104. package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
  105. package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
  106. package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
  107. package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
  108. package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
  109. package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
  110. package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
  111. package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
  112. package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
  113. package/package.json +4 -3
  114. package/test-interceptor.d.ts +9 -0
  115. package/test-interceptor.js +33 -0
  116. package/test-interceptor.ts +49 -0
  117. package/tsconfig.json +14 -0
  118. package/LICENSE +0 -21
  119. package/README.md +0 -117
  120. package/js/tsconfig.json +0 -70
  121. /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
  122. /package/{js/buf → buf}/validate/validate_pb.js +0 -0
  123. /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
  124. /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
  125. /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
  126. /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
  127. /package/{js/metalstack → metalstack}/admin/v2/image_pb.js +0 -0
  128. /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
  129. /package/{js/metalstack → metalstack}/admin/v2/network_pb.js +0 -0
  130. /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
  131. /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
  132. /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
  133. /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
  134. /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
  135. /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
  136. /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
  137. /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
  138. /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
  139. /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
  140. /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
  141. /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
  142. /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
  143. /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
  144. /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
  145. /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
  146. /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
  147. /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
  148. /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
  149. /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
  150. /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
  151. /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
@@ -12,7 +12,7 @@ export declare const file_metalstack_admin_v2_token: GenFile;
12
12
  */
13
13
  export type TokenServiceListRequest = Message<"metalstack.admin.v2.TokenServiceListRequest"> & {
14
14
  /**
15
- * Query for tokens
15
+ * Query for tokens.
16
16
  *
17
17
  * @generated from field: metalstack.api.v2.TokenQuery query = 1;
18
18
  */
@@ -30,7 +30,7 @@ export declare const TokenServiceListRequestSchema: GenMessage<TokenServiceListR
30
30
  */
31
31
  export type TokenServiceListResponse = Message<"metalstack.admin.v2.TokenServiceListResponse"> & {
32
32
  /**
33
- * Tokens contains the list of tokens
33
+ * Tokens contains the list of tokens.
34
34
  *
35
35
  * @generated from field: repeated metalstack.api.v2.Token tokens = 1;
36
36
  */
@@ -48,13 +48,13 @@ export declare const TokenServiceListResponseSchema: GenMessage<TokenServiceList
48
48
  */
49
49
  export type TokenServiceRevokeRequest = Message<"metalstack.admin.v2.TokenServiceRevokeRequest"> & {
50
50
  /**
51
- * Uuid is the uuid of the token which should be revoked
51
+ * Uuid is the uuid of the token which should be revoked.
52
52
  *
53
53
  * @generated from field: string uuid = 1;
54
54
  */
55
55
  uuid: string;
56
56
  /**
57
- * User is the id of the user for which the token should be revoked
57
+ * User is the id of the user for which the token should be revoked.
58
58
  *
59
59
  * @generated from field: string user = 2;
60
60
  */
@@ -83,13 +83,13 @@ export declare const TokenServiceRevokeResponseSchema: GenMessage<TokenServiceRe
83
83
  */
84
84
  export type TokenServiceCreateRequest = Message<"metalstack.admin.v2.TokenServiceCreateRequest"> & {
85
85
  /**
86
- * User this token should be created for, if omitted, user is derived from caller
86
+ * User this token should be created for, if omitted, user is derived from caller.
87
87
  *
88
88
  * @generated from field: optional string user = 1;
89
89
  */
90
90
  user?: string | undefined;
91
91
  /**
92
- * TokenCreateRequest which should be created
92
+ * TokenCreateRequest which should be created.
93
93
  *
94
94
  * @generated from field: metalstack.api.v2.TokenServiceCreateRequest token_create_request = 2;
95
95
  */
@@ -107,13 +107,13 @@ export declare const TokenServiceCreateRequestSchema: GenMessage<TokenServiceCre
107
107
  */
108
108
  export type TokenServiceCreateResponse = Message<"metalstack.admin.v2.TokenServiceCreateResponse"> & {
109
109
  /**
110
- * Token contains the created token
110
+ * Token contains the created token.
111
111
  *
112
112
  * @generated from field: metalstack.api.v2.Token token = 1;
113
113
  */
114
114
  token?: Token | undefined;
115
115
  /**
116
- * Secret is the body if the JWT token, should be used in API requests as bearer token
116
+ * Secret is the body if the JWT token, should be used in API requests as bearer token.
117
117
  *
118
118
  * @generated from field: string secret = 2;
119
119
  */
@@ -24,7 +24,7 @@ export const file_metalstack_admin_v2_token: GenFile = /*@__PURE__*/
24
24
  */
25
25
  export type TokenServiceListRequest = Message<"metalstack.admin.v2.TokenServiceListRequest"> & {
26
26
  /**
27
- * Query for tokens
27
+ * Query for tokens.
28
28
  *
29
29
  * @generated from field: metalstack.api.v2.TokenQuery query = 1;
30
30
  */
@@ -45,7 +45,7 @@ export const TokenServiceListRequestSchema: GenMessage<TokenServiceListRequest>
45
45
  */
46
46
  export type TokenServiceListResponse = Message<"metalstack.admin.v2.TokenServiceListResponse"> & {
47
47
  /**
48
- * Tokens contains the list of tokens
48
+ * Tokens contains the list of tokens.
49
49
  *
50
50
  * @generated from field: repeated metalstack.api.v2.Token tokens = 1;
51
51
  */
@@ -66,14 +66,14 @@ export const TokenServiceListResponseSchema: GenMessage<TokenServiceListResponse
66
66
  */
67
67
  export type TokenServiceRevokeRequest = Message<"metalstack.admin.v2.TokenServiceRevokeRequest"> & {
68
68
  /**
69
- * Uuid is the uuid of the token which should be revoked
69
+ * Uuid is the uuid of the token which should be revoked.
70
70
  *
71
71
  * @generated from field: string uuid = 1;
72
72
  */
73
73
  uuid: string;
74
74
 
75
75
  /**
76
- * User is the id of the user for which the token should be revoked
76
+ * User is the id of the user for which the token should be revoked.
77
77
  *
78
78
  * @generated from field: string user = 2;
79
79
  */
@@ -109,14 +109,14 @@ export const TokenServiceRevokeResponseSchema: GenMessage<TokenServiceRevokeResp
109
109
  */
110
110
  export type TokenServiceCreateRequest = Message<"metalstack.admin.v2.TokenServiceCreateRequest"> & {
111
111
  /**
112
- * User this token should be created for, if omitted, user is derived from caller
112
+ * User this token should be created for, if omitted, user is derived from caller.
113
113
  *
114
114
  * @generated from field: optional string user = 1;
115
115
  */
116
116
  user?: string | undefined;
117
117
 
118
118
  /**
119
- * TokenCreateRequest which should be created
119
+ * TokenCreateRequest which should be created.
120
120
  *
121
121
  * @generated from field: metalstack.api.v2.TokenServiceCreateRequest token_create_request = 2;
122
122
  */
@@ -137,14 +137,14 @@ export const TokenServiceCreateRequestSchema: GenMessage<TokenServiceCreateReque
137
137
  */
138
138
  export type TokenServiceCreateResponse = Message<"metalstack.admin.v2.TokenServiceCreateResponse"> & {
139
139
  /**
140
- * Token contains the created token
140
+ * Token contains the created token.
141
141
  *
142
142
  * @generated from field: metalstack.api.v2.Token token = 1;
143
143
  */
144
144
  token?: Token | undefined;
145
145
 
146
146
  /**
147
- * Secret is the body if the JWT token, should be used in API requests as bearer token
147
+ * Secret is the body if the JWT token, should be used in API requests as bearer token.
148
148
  *
149
149
  * @generated from field: string secret = 2;
150
150
  */
@@ -13,26 +13,26 @@ export declare const file_metalstack_admin_v2_vpn: GenFile;
13
13
  */
14
14
  export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAuthKeyRequest"> & {
15
15
  /**
16
- * Project for which a VPN authentication key should be generated
16
+ * Project for which a VPN authentication key should be generated.
17
17
  *
18
18
  * @generated from field: string project = 1;
19
19
  */
20
20
  project: string;
21
21
  /**
22
- * Ephemeral defines if the authentication key should be ephemeral
22
+ * Ephemeral defines if the authentication key should be ephemeral.
23
23
  *
24
24
  * @generated from field: bool ephemeral = 2;
25
25
  */
26
26
  ephemeral: boolean;
27
27
  /**
28
- * Expires defines the duration after which the authentication key expires
28
+ * Expires defines the duration after which the authentication key expires.
29
29
  *
30
30
  * @generated from field: google.protobuf.Duration expires = 3;
31
31
  */
32
32
  expires?: Duration | undefined;
33
33
  /**
34
- * Reason must be provided why access to the VPN is requested
35
- * Reason is only forwarded to an audit sink
34
+ * Reason must be provided why access to the VPN is requested.
35
+ * Reason is only forwarded to an audit sink.
36
36
  *
37
37
  * @generated from field: string reason = 4;
38
38
  */
@@ -50,32 +50,32 @@ export declare const VPNServiceAuthKeyRequestSchema: GenMessage<VPNServiceAuthKe
50
50
  */
51
51
  export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceAuthKeyResponse"> & {
52
52
  /**
53
- * Address is the address of the VPN control plane
53
+ * Address is the address of the VPN control plane.
54
54
  *
55
55
  * @generated from field: string address = 1;
56
56
  */
57
57
  address: string;
58
58
  /**
59
- * AuthKey is the key to connect to the VPN at the given address
60
- * This key can only be seen once
59
+ * AuthKey is the key to connect to the VPN at the given address.
60
+ * This key can only be seen once.
61
61
  *
62
62
  * @generated from field: string auth_key = 2;
63
63
  */
64
64
  authKey: string;
65
65
  /**
66
- * Ephemeral defines if the authentication key should be ephemeral
66
+ * Ephemeral defines if the authentication key should be ephemeral.
67
67
  *
68
68
  * @generated from field: bool ephemeral = 3;
69
69
  */
70
70
  ephemeral: boolean;
71
71
  /**
72
- * ExpiresAt this key cannot be used after this timestamp
72
+ * ExpiresAt this key cannot be used after this timestamp.
73
73
  *
74
74
  * @generated from field: google.protobuf.Timestamp expires_at = 4;
75
75
  */
76
76
  expiresAt?: Timestamp | undefined;
77
77
  /**
78
- * CreatedAt this key was created at this timestamp
78
+ * CreatedAt this key was created at this timestamp.
79
79
  *
80
80
  * @generated from field: google.protobuf.Timestamp created_at = 5;
81
81
  */
@@ -93,7 +93,7 @@ export declare const VPNServiceAuthKeyResponseSchema: GenMessage<VPNServiceAuthK
93
93
  */
94
94
  export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNServiceListNodesRequest"> & {
95
95
  /**
96
- * Project filters nodes by this project
96
+ * Project filters nodes by this project.
97
97
  *
98
98
  * @generated from field: optional string project = 1;
99
99
  */
@@ -111,7 +111,7 @@ export declare const VPNServiceListNodesRequestSchema: GenMessage<VPNServiceList
111
111
  */
112
112
  export type VPNServiceListNodesResponse = Message<"metalstack.admin.v2.VPNServiceListNodesResponse"> & {
113
113
  /**
114
- * Nodes connected to the VPN
114
+ * Nodes connected to the VPN.
115
115
  *
116
116
  * @generated from field: repeated metalstack.api.v2.VPNNode nodes = 1;
117
117
  */
@@ -25,29 +25,29 @@ export const file_metalstack_admin_v2_vpn: GenFile = /*@__PURE__*/
25
25
  */
26
26
  export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAuthKeyRequest"> & {
27
27
  /**
28
- * Project for which a VPN authentication key should be generated
28
+ * Project for which a VPN authentication key should be generated.
29
29
  *
30
30
  * @generated from field: string project = 1;
31
31
  */
32
32
  project: string;
33
33
 
34
34
  /**
35
- * Ephemeral defines if the authentication key should be ephemeral
35
+ * Ephemeral defines if the authentication key should be ephemeral.
36
36
  *
37
37
  * @generated from field: bool ephemeral = 2;
38
38
  */
39
39
  ephemeral: boolean;
40
40
 
41
41
  /**
42
- * Expires defines the duration after which the authentication key expires
42
+ * Expires defines the duration after which the authentication key expires.
43
43
  *
44
44
  * @generated from field: google.protobuf.Duration expires = 3;
45
45
  */
46
46
  expires?: Duration | undefined;
47
47
 
48
48
  /**
49
- * Reason must be provided why access to the VPN is requested
50
- * Reason is only forwarded to an audit sink
49
+ * Reason must be provided why access to the VPN is requested.
50
+ * Reason is only forwarded to an audit sink.
51
51
  *
52
52
  * @generated from field: string reason = 4;
53
53
  */
@@ -68,36 +68,36 @@ export const VPNServiceAuthKeyRequestSchema: GenMessage<VPNServiceAuthKeyRequest
68
68
  */
69
69
  export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceAuthKeyResponse"> & {
70
70
  /**
71
- * Address is the address of the VPN control plane
71
+ * Address is the address of the VPN control plane.
72
72
  *
73
73
  * @generated from field: string address = 1;
74
74
  */
75
75
  address: string;
76
76
 
77
77
  /**
78
- * AuthKey is the key to connect to the VPN at the given address
79
- * This key can only be seen once
78
+ * AuthKey is the key to connect to the VPN at the given address.
79
+ * This key can only be seen once.
80
80
  *
81
81
  * @generated from field: string auth_key = 2;
82
82
  */
83
83
  authKey: string;
84
84
 
85
85
  /**
86
- * Ephemeral defines if the authentication key should be ephemeral
86
+ * Ephemeral defines if the authentication key should be ephemeral.
87
87
  *
88
88
  * @generated from field: bool ephemeral = 3;
89
89
  */
90
90
  ephemeral: boolean;
91
91
 
92
92
  /**
93
- * ExpiresAt this key cannot be used after this timestamp
93
+ * ExpiresAt this key cannot be used after this timestamp.
94
94
  *
95
95
  * @generated from field: google.protobuf.Timestamp expires_at = 4;
96
96
  */
97
97
  expiresAt?: Timestamp | undefined;
98
98
 
99
99
  /**
100
- * CreatedAt this key was created at this timestamp
100
+ * CreatedAt this key was created at this timestamp.
101
101
  *
102
102
  * @generated from field: google.protobuf.Timestamp created_at = 5;
103
103
  */
@@ -118,7 +118,7 @@ export const VPNServiceAuthKeyResponseSchema: GenMessage<VPNServiceAuthKeyRespon
118
118
  */
119
119
  export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNServiceListNodesRequest"> & {
120
120
  /**
121
- * Project filters nodes by this project
121
+ * Project filters nodes by this project.
122
122
  *
123
123
  * @generated from field: optional string project = 1;
124
124
  */
@@ -139,7 +139,7 @@ export const VPNServiceListNodesRequestSchema: GenMessage<VPNServiceListNodesReq
139
139
  */
140
140
  export type VPNServiceListNodesResponse = Message<"metalstack.admin.v2.VPNServiceListNodesResponse"> & {
141
141
  /**
142
- * Nodes connected to the VPN
142
+ * Nodes connected to the VPN.
143
143
  *
144
144
  * @generated from field: repeated metalstack.api.v2.VPNNode nodes = 1;
145
145
  */
@@ -13,67 +13,67 @@ export declare const file_metalstack_api_v2_audit: GenFile;
13
13
  */
14
14
  export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
15
15
  /**
16
- * Uuid of the audit trace
16
+ * Uuid of the audit trace.
17
17
  *
18
18
  * @generated from field: string uuid = 1;
19
19
  */
20
20
  uuid: string;
21
21
  /**
22
- * Timestamp is the timestamp when the request arrived at the API
22
+ * Timestamp is the timestamp when the request arrived at the API.
23
23
  *
24
24
  * @generated from field: google.protobuf.Timestamp timestamp = 2;
25
25
  */
26
26
  timestamp?: Timestamp | undefined;
27
27
  /**
28
- * User is the login user who called the API method
28
+ * User is the login user who called the API method.
29
29
  *
30
30
  * @generated from field: string user = 3;
31
31
  */
32
32
  user: string;
33
33
  /**
34
- * Tenant is the tenant targeted by the API call
34
+ * Tenant is the tenant targeted by the API call.
35
35
  *
36
36
  * @generated from field: string tenant = 4;
37
37
  */
38
38
  tenant: string;
39
39
  /**
40
- * Project is the project targeted by the API call
40
+ * Project is the project targeted by the API call.
41
41
  *
42
42
  * @generated from field: optional string project = 5;
43
43
  */
44
44
  project?: string | undefined;
45
45
  /**
46
- * Method is the API method that was called
46
+ * Method is the API method that was called.
47
47
  *
48
48
  * @generated from field: string method = 6;
49
49
  */
50
50
  method: string;
51
51
  /**
52
- * Body is the payload of the API call. In the request phase this contains the payload sent by the client, in the response phase it contains the payload returned by the API server
52
+ * Body is the payload of the API call. In the request phase this contains the payload sent by the client, in the response phase it contains the payload returned by the API server.
53
53
  *
54
54
  * @generated from field: optional string body = 7;
55
55
  */
56
56
  body?: string | undefined;
57
57
  /**
58
- * SourceIP contains the source IP address of the API call
58
+ * SourceIP contains the source IP address of the API call.
59
59
  *
60
60
  * @generated from field: string source_ip = 8;
61
61
  */
62
62
  sourceIp: string;
63
63
  /**
64
- * ResultCode is a status code describing the result of the API call. It is set for traces in the response phase and contains official gRPC status codes
64
+ * ResultCode is a status code describing the result of the API call. It is set for traces in the response phase and contains official gRPC status codes.
65
65
  *
66
66
  * @generated from field: optional int32 result_code = 9;
67
67
  */
68
68
  resultCode?: number | undefined;
69
69
  /**
70
- * Phase represents the phase of the audit trace
70
+ * Phase represents the phase of the audit trace.
71
71
  *
72
72
  * @generated from field: metalstack.api.v2.AuditPhase phase = 10;
73
73
  */
74
74
  phase: AuditPhase;
75
75
  /**
76
- * Meta for this audit trace
76
+ * Meta for this audit trace.
77
77
  *
78
78
  * @generated from field: metalstack.api.v2.Meta meta = 11;
79
79
  */
@@ -85,73 +85,73 @@ export type AuditTrace = Message<"metalstack.api.v2.AuditTrace"> & {
85
85
  */
86
86
  export declare const AuditTraceSchema: GenMessage<AuditTrace>;
87
87
  /**
88
- * AuditQuery is the query for audit traces
88
+ * AuditQuery is the query for audit traces.
89
89
  *
90
90
  * @generated from message metalstack.api.v2.AuditQuery
91
91
  */
92
92
  export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & {
93
93
  /**
94
- * Uuid of the audit trace
94
+ * Uuid of the audit trace.
95
95
  *
96
96
  * @generated from field: optional string uuid = 2;
97
97
  */
98
98
  uuid?: string | undefined;
99
99
  /**
100
- * From describes the start of the time window in which to list audit traces. Defaults to the last eight hours
100
+ * From describes the start of the time window in which to list audit traces. Defaults to the last eight hours.
101
101
  *
102
102
  * @generated from field: optional google.protobuf.Timestamp from = 3;
103
103
  */
104
104
  from?: Timestamp | undefined;
105
105
  /**
106
- * To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued
106
+ * To describes the end of the time window in which to list audit traces. Defaults to the time the request was issued.
107
107
  *
108
108
  * @generated from field: optional google.protobuf.Timestamp to = 4;
109
109
  */
110
110
  to?: Timestamp | undefined;
111
111
  /**
112
- * User is the user who called the api method
112
+ * User is the user who called the api method.
113
113
  *
114
114
  * @generated from field: optional string user = 5;
115
115
  */
116
116
  user?: string | undefined;
117
117
  /**
118
- * Project is the project targeted by the api call
118
+ * Project is the project targeted by the api call.
119
119
  *
120
120
  * @generated from field: optional string project = 6;
121
121
  */
122
122
  project?: string | undefined;
123
123
  /**
124
- * Method is the api method that was called
124
+ * Method is the api method that was called.
125
125
  *
126
126
  * @generated from field: optional string method = 7;
127
127
  */
128
128
  method?: string | undefined;
129
129
  /**
130
- * Source IP contains the ip address of the caller
130
+ * Source IP contains the ip address of the caller.
131
131
  *
132
132
  * @generated from field: optional string source_ip = 8;
133
133
  */
134
134
  sourceIp?: string | undefined;
135
135
  /**
136
- * Result Code is a string describing the result of the api call
136
+ * Result Code is a string describing the result of the api call.
137
137
  *
138
138
  * @generated from field: optional int32 result_code = 9;
139
139
  */
140
140
  resultCode?: number | undefined;
141
141
  /**
142
- * Body is a string providing text-search of the body field
142
+ * Body is a string providing text-search of the body field.
143
143
  *
144
144
  * @generated from field: optional string body = 10;
145
145
  */
146
146
  body?: string | undefined;
147
147
  /**
148
- * Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200)
148
+ * Limit is a number limiting the length of the response (min: 1, max: 1000, defaults to 200).
149
149
  *
150
150
  * @generated from field: optional int32 limit = 11;
151
151
  */
152
152
  limit?: number | undefined;
153
153
  /**
154
- * Phase specifies the audit phase
154
+ * Phase specifies the audit phase.
155
155
  *
156
156
  * @generated from field: optional metalstack.api.v2.AuditPhase phase = 12;
157
157
  */
@@ -163,19 +163,19 @@ export type AuditQuery = Message<"metalstack.api.v2.AuditQuery"> & {
163
163
  */
164
164
  export declare const AuditQuerySchema: GenMessage<AuditQuery>;
165
165
  /**
166
- * AuditServiceListRequest is the request payload for an audit list request
166
+ * AuditServiceListRequest is the request payload for an audit list request.
167
167
  *
168
168
  * @generated from message metalstack.api.v2.AuditServiceListRequest
169
169
  */
170
170
  export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceListRequest"> & {
171
171
  /**
172
- * Login for this tenant
172
+ * Login for this tenant.
173
173
  *
174
174
  * @generated from field: string login = 1;
175
175
  */
176
176
  login: string;
177
177
  /**
178
- * Query for audit traces
178
+ * Query for audit traces.
179
179
  *
180
180
  * @generated from field: metalstack.api.v2.AuditQuery query = 2;
181
181
  */
@@ -187,13 +187,13 @@ export type AuditServiceListRequest = Message<"metalstack.api.v2.AuditServiceLis
187
187
  */
188
188
  export declare const AuditServiceListRequestSchema: GenMessage<AuditServiceListRequest>;
189
189
  /**
190
- * AuditServiceListResponse is the response payload of a audit list request
190
+ * AuditServiceListResponse is the response payload of a audit list request.
191
191
  *
192
192
  * @generated from message metalstack.api.v2.AuditServiceListResponse
193
193
  */
194
194
  export type AuditServiceListResponse = Message<"metalstack.api.v2.AuditServiceListResponse"> & {
195
195
  /**
196
- * Traces is a list of audit traces
196
+ * Traces is a list of audit traces.
197
197
  *
198
198
  * @generated from field: repeated metalstack.api.v2.AuditTrace traces = 1;
199
199
  */
@@ -205,25 +205,25 @@ export type AuditServiceListResponse = Message<"metalstack.api.v2.AuditServiceLi
205
205
  */
206
206
  export declare const AuditServiceListResponseSchema: GenMessage<AuditServiceListResponse>;
207
207
  /**
208
- * AuditServiceGetRequest is the request payload of a audit get request
208
+ * AuditServiceGetRequest is the request payload of a audit get request.
209
209
  *
210
210
  * @generated from message metalstack.api.v2.AuditServiceGetRequest
211
211
  */
212
212
  export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetRequest"> & {
213
213
  /**
214
- * Login for this tenant
214
+ * Login for this tenant.
215
215
  *
216
216
  * @generated from field: string login = 1;
217
217
  */
218
218
  login: string;
219
219
  /**
220
- * Uuid of the audit trace
220
+ * Uuid of the audit trace.
221
221
  *
222
222
  * @generated from field: string uuid = 2;
223
223
  */
224
224
  uuid: string;
225
225
  /**
226
- * Phase specifies the audit phase. Defaults to request
226
+ * Phase specifies the audit phase. Defaults to request.
227
227
  *
228
228
  * @generated from field: optional metalstack.api.v2.AuditPhase phase = 3;
229
229
  */
@@ -235,13 +235,13 @@ export type AuditServiceGetRequest = Message<"metalstack.api.v2.AuditServiceGetR
235
235
  */
236
236
  export declare const AuditServiceGetRequestSchema: GenMessage<AuditServiceGetRequest>;
237
237
  /**
238
- * AuditServiceGetResponse is the response payload of a audit get request
238
+ * AuditServiceGetResponse is the response payload of a audit get request.
239
239
  *
240
240
  * @generated from message metalstack.api.v2.AuditServiceGetResponse
241
241
  */
242
242
  export type AuditServiceGetResponse = Message<"metalstack.api.v2.AuditServiceGetResponse"> & {
243
243
  /**
244
- * Trace is the audit trace
244
+ * Trace is the audit trace.
245
245
  *
246
246
  * @generated from field: metalstack.api.v2.AuditTrace trace = 1;
247
247
  */
@@ -259,19 +259,19 @@ export declare const AuditServiceGetResponseSchema: GenMessage<AuditServiceGetRe
259
259
  */
260
260
  export declare enum AuditPhase {
261
261
  /**
262
- * AUDIT_PHASE_UNSPECIFIED is not specified
262
+ * AUDIT_PHASE_UNSPECIFIED is not specified.
263
263
  *
264
264
  * @generated from enum value: AUDIT_PHASE_UNSPECIFIED = 0;
265
265
  */
266
266
  UNSPECIFIED = 0,
267
267
  /**
268
- * AUDIT_PHASE_REQUEST defines an audit trace in the request phase
268
+ * AUDIT_PHASE_REQUEST defines an audit trace in the request phase.
269
269
  *
270
270
  * @generated from enum value: AUDIT_PHASE_REQUEST = 1;
271
271
  */
272
272
  REQUEST = 1,
273
273
  /**
274
- * AUDIT_PHASE_RESPONSE defines an audit trace in the response phase
274
+ * AUDIT_PHASE_RESPONSE defines an audit trace in the response phase.
275
275
  *
276
276
  * @generated from enum value: AUDIT_PHASE_RESPONSE = 2;
277
277
  */
@@ -48,19 +48,19 @@ export const AuditServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_meta
48
48
  export var AuditPhase;
49
49
  (function (AuditPhase) {
50
50
  /**
51
- * AUDIT_PHASE_UNSPECIFIED is not specified
51
+ * AUDIT_PHASE_UNSPECIFIED is not specified.
52
52
  *
53
53
  * @generated from enum value: AUDIT_PHASE_UNSPECIFIED = 0;
54
54
  */
55
55
  AuditPhase[AuditPhase["UNSPECIFIED"] = 0] = "UNSPECIFIED";
56
56
  /**
57
- * AUDIT_PHASE_REQUEST defines an audit trace in the request phase
57
+ * AUDIT_PHASE_REQUEST defines an audit trace in the request phase.
58
58
  *
59
59
  * @generated from enum value: AUDIT_PHASE_REQUEST = 1;
60
60
  */
61
61
  AuditPhase[AuditPhase["REQUEST"] = 1] = "REQUEST";
62
62
  /**
63
- * AUDIT_PHASE_RESPONSE defines an audit trace in the response phase
63
+ * AUDIT_PHASE_RESPONSE defines an audit trace in the response phase.
64
64
  *
65
65
  * @generated from enum value: AUDIT_PHASE_RESPONSE = 2;
66
66
  */