@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.
- package/{js/Makefile → Makefile} +5 -2
- package/bun.lock +74 -0
- package/client-test.d.ts +1 -0
- package/client-test.js +45 -0
- package/client-test.ts +49 -0
- package/client.d.ts +97 -0
- package/client.js +347 -0
- package/client.ts +662 -0
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
- package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +36 -36
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
- package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
- package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
- package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
- package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
- package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
- package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
- package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
- package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +98 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +16 -16
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +98 -98
- package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
- package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
- package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
- package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
- package/package.json +4 -3
- package/test-interceptor.d.ts +9 -0
- package/test-interceptor.js +33 -0
- package/test-interceptor.ts +49 -0
- package/tsconfig.json +14 -0
- package/LICENSE +0 -21
- package/README.md +0 -117
- package/js/tsconfig.json +0 -70
- /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
- /package/{js/buf → buf}/validate/validate_pb.js +0 -0
- /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/image_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/network_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
|
@@ -40,39 +40,39 @@ export const LabelsPatchSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v
|
|
|
40
40
|
*/
|
|
41
41
|
export const UpdateMetaSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_common, 5);
|
|
42
42
|
/**
|
|
43
|
-
* TenantRole specifies what role a logged in user needs to call this tenant scoped service
|
|
43
|
+
* TenantRole specifies what role a logged in user needs to call this tenant scoped service.
|
|
44
44
|
*
|
|
45
45
|
* @generated from enum metalstack.api.v2.TenantRole
|
|
46
46
|
*/
|
|
47
47
|
export var TenantRole;
|
|
48
48
|
(function (TenantRole) {
|
|
49
49
|
/**
|
|
50
|
-
* TENANT_ROLE_UNSPECIFIED is not specified
|
|
50
|
+
* TENANT_ROLE_UNSPECIFIED is not specified.
|
|
51
51
|
*
|
|
52
52
|
* @generated from enum value: TENANT_ROLE_UNSPECIFIED = 0;
|
|
53
53
|
*/
|
|
54
54
|
TenantRole[TenantRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
55
55
|
/**
|
|
56
|
-
* TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method
|
|
56
|
+
* TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method.
|
|
57
57
|
*
|
|
58
58
|
* @generated from enum value: TENANT_ROLE_OWNER = 1;
|
|
59
59
|
*/
|
|
60
60
|
TenantRole[TenantRole["OWNER"] = 1] = "OWNER";
|
|
61
61
|
/**
|
|
62
|
-
* TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
62
|
+
* TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method.
|
|
63
63
|
*
|
|
64
64
|
* @generated from enum value: TENANT_ROLE_EDITOR = 2;
|
|
65
65
|
*/
|
|
66
66
|
TenantRole[TenantRole["EDITOR"] = 2] = "EDITOR";
|
|
67
67
|
/**
|
|
68
|
-
* TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
68
|
+
* TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method.
|
|
69
69
|
*
|
|
70
70
|
* @generated from enum value: TENANT_ROLE_VIEWER = 3;
|
|
71
71
|
*/
|
|
72
72
|
TenantRole[TenantRole["VIEWER"] = 3] = "VIEWER";
|
|
73
73
|
/**
|
|
74
|
-
* TENANT_ROLE_GUEST the logged in user needs at least guest role to call this method
|
|
75
|
-
* The guest role is assumed by users who are invited to a tenant's project without them
|
|
74
|
+
* TENANT_ROLE_GUEST the logged in user needs at least guest role to call this method.
|
|
75
|
+
* The guest role is assumed by users who are invited to a tenant's project without them.
|
|
76
76
|
* having a direct membership within the tenant.
|
|
77
77
|
*
|
|
78
78
|
* @generated from enum value: TENANT_ROLE_GUEST = 4;
|
|
@@ -84,32 +84,32 @@ export var TenantRole;
|
|
|
84
84
|
*/
|
|
85
85
|
export const TenantRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 0);
|
|
86
86
|
/**
|
|
87
|
-
* ProjectRole specifies what role a logged in user needs to call this project scoped service
|
|
87
|
+
* ProjectRole specifies what role a logged in user needs to call this project scoped service.
|
|
88
88
|
*
|
|
89
89
|
* @generated from enum metalstack.api.v2.ProjectRole
|
|
90
90
|
*/
|
|
91
91
|
export var ProjectRole;
|
|
92
92
|
(function (ProjectRole) {
|
|
93
93
|
/**
|
|
94
|
-
* PROJECT_ROLE_UNSPECIFIED is not specified
|
|
94
|
+
* PROJECT_ROLE_UNSPECIFIED is not specified.
|
|
95
95
|
*
|
|
96
96
|
* @generated from enum value: PROJECT_ROLE_UNSPECIFIED = 0;
|
|
97
97
|
*/
|
|
98
98
|
ProjectRole[ProjectRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
99
99
|
/**
|
|
100
|
-
* PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method
|
|
100
|
+
* PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method.
|
|
101
101
|
*
|
|
102
102
|
* @generated from enum value: PROJECT_ROLE_OWNER = 1;
|
|
103
103
|
*/
|
|
104
104
|
ProjectRole[ProjectRole["OWNER"] = 1] = "OWNER";
|
|
105
105
|
/**
|
|
106
|
-
* PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
106
|
+
* PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method.
|
|
107
107
|
*
|
|
108
108
|
* @generated from enum value: PROJECT_ROLE_EDITOR = 2;
|
|
109
109
|
*/
|
|
110
110
|
ProjectRole[ProjectRole["EDITOR"] = 2] = "EDITOR";
|
|
111
111
|
/**
|
|
112
|
-
* PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
112
|
+
* PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method.
|
|
113
113
|
*
|
|
114
114
|
* @generated from enum value: PROJECT_ROLE_VIEWER = 3;
|
|
115
115
|
*/
|
|
@@ -120,26 +120,26 @@ export var ProjectRole;
|
|
|
120
120
|
*/
|
|
121
121
|
export const ProjectRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 1);
|
|
122
122
|
/**
|
|
123
|
-
* AdminRole specifies what role a logged in user needs to call this admin service
|
|
123
|
+
* AdminRole specifies what role a logged in user needs to call this admin service.
|
|
124
124
|
*
|
|
125
125
|
* @generated from enum metalstack.api.v2.AdminRole
|
|
126
126
|
*/
|
|
127
127
|
export var AdminRole;
|
|
128
128
|
(function (AdminRole) {
|
|
129
129
|
/**
|
|
130
|
-
* ADMIN_ROLE_UNSPECIFIED is not specified
|
|
130
|
+
* ADMIN_ROLE_UNSPECIFIED is not specified.
|
|
131
131
|
*
|
|
132
132
|
* @generated from enum value: ADMIN_ROLE_UNSPECIFIED = 0;
|
|
133
133
|
*/
|
|
134
134
|
AdminRole[AdminRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
135
135
|
/**
|
|
136
|
-
* ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
136
|
+
* ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method.
|
|
137
137
|
*
|
|
138
138
|
* @generated from enum value: ADMIN_ROLE_EDITOR = 1;
|
|
139
139
|
*/
|
|
140
140
|
AdminRole[AdminRole["EDITOR"] = 1] = "EDITOR";
|
|
141
141
|
/**
|
|
142
|
-
* ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
142
|
+
* ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method.
|
|
143
143
|
*
|
|
144
144
|
* @generated from enum value: ADMIN_ROLE_VIEWER = 2;
|
|
145
145
|
*/
|
|
@@ -150,26 +150,26 @@ export var AdminRole;
|
|
|
150
150
|
*/
|
|
151
151
|
export const AdminRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 2);
|
|
152
152
|
/**
|
|
153
|
-
* InfraRole specifies what role a microservice needs to call this infra service
|
|
153
|
+
* InfraRole specifies what role a microservice needs to call this infra service.
|
|
154
154
|
*
|
|
155
155
|
* @generated from enum metalstack.api.v2.InfraRole
|
|
156
156
|
*/
|
|
157
157
|
export var InfraRole;
|
|
158
158
|
(function (InfraRole) {
|
|
159
159
|
/**
|
|
160
|
-
* INFRA_ROLE_UNSPECIFIED is not specified
|
|
160
|
+
* INFRA_ROLE_UNSPECIFIED is not specified.
|
|
161
161
|
*
|
|
162
162
|
* @generated from enum value: INFRA_ROLE_UNSPECIFIED = 0;
|
|
163
163
|
*/
|
|
164
164
|
InfraRole[InfraRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
165
165
|
/**
|
|
166
|
-
* INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method
|
|
166
|
+
* INFRA_ROLE_EDITOR a microservice needs at least editor role to call this method.
|
|
167
167
|
*
|
|
168
168
|
* @generated from enum value: INFRA_ROLE_EDITOR = 1;
|
|
169
169
|
*/
|
|
170
170
|
InfraRole[InfraRole["EDITOR"] = 1] = "EDITOR";
|
|
171
171
|
/**
|
|
172
|
-
* INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method
|
|
172
|
+
* INFRA_ROLE_VIEWER a microservice needs at least viewer role to call this method.
|
|
173
173
|
*
|
|
174
174
|
* @generated from enum value: INFRA_ROLE_VIEWER = 2;
|
|
175
175
|
*/
|
|
@@ -180,26 +180,26 @@ export var InfraRole;
|
|
|
180
180
|
*/
|
|
181
181
|
export const InfraRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 3);
|
|
182
182
|
/**
|
|
183
|
-
* MachineRole specifies what role a microservice needs to call this machine service
|
|
183
|
+
* MachineRole specifies what role a microservice needs to call this machine service.
|
|
184
184
|
*
|
|
185
185
|
* @generated from enum metalstack.api.v2.MachineRole
|
|
186
186
|
*/
|
|
187
187
|
export var MachineRole;
|
|
188
188
|
(function (MachineRole) {
|
|
189
189
|
/**
|
|
190
|
-
* MACHINE_ROLE_UNSPECIFIED is not specified
|
|
190
|
+
* MACHINE_ROLE_UNSPECIFIED is not specified.
|
|
191
191
|
*
|
|
192
192
|
* @generated from enum value: MACHINE_ROLE_UNSPECIFIED = 0;
|
|
193
193
|
*/
|
|
194
194
|
MachineRole[MachineRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
195
195
|
/**
|
|
196
|
-
* MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method
|
|
196
|
+
* MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method.
|
|
197
197
|
*
|
|
198
198
|
* @generated from enum value: MACHINE_ROLE_EDITOR = 1;
|
|
199
199
|
*/
|
|
200
200
|
MachineRole[MachineRole["EDITOR"] = 1] = "EDITOR";
|
|
201
201
|
/**
|
|
202
|
-
* MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method
|
|
202
|
+
* MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method.
|
|
203
203
|
*
|
|
204
204
|
* @generated from enum value: MACHINE_ROLE_VIEWER = 2;
|
|
205
205
|
*/
|
|
@@ -210,26 +210,26 @@ export var MachineRole;
|
|
|
210
210
|
*/
|
|
211
211
|
export const MachineRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 4);
|
|
212
212
|
/**
|
|
213
|
-
* Visibility of a method
|
|
213
|
+
* Visibility of a method.
|
|
214
214
|
*
|
|
215
215
|
* @generated from enum metalstack.api.v2.Visibility
|
|
216
216
|
*/
|
|
217
217
|
export var Visibility;
|
|
218
218
|
(function (Visibility) {
|
|
219
219
|
/**
|
|
220
|
-
* VISIBILITY_UNSPECIFIED is not defined
|
|
220
|
+
* VISIBILITY_UNSPECIFIED is not defined.
|
|
221
221
|
*
|
|
222
222
|
* @generated from enum value: VISIBILITY_UNSPECIFIED = 0;
|
|
223
223
|
*/
|
|
224
224
|
Visibility[Visibility["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
225
225
|
/**
|
|
226
|
-
* VISIBILITY_PUBLIC specifies that this service is accessible without authentication
|
|
226
|
+
* VISIBILITY_PUBLIC specifies that this service is accessible without authentication.
|
|
227
227
|
*
|
|
228
228
|
* @generated from enum value: VISIBILITY_PUBLIC = 1;
|
|
229
229
|
*/
|
|
230
230
|
Visibility[Visibility["PUBLIC"] = 1] = "PUBLIC";
|
|
231
231
|
/**
|
|
232
|
-
* VISIBILITY_SELF restricts calls to the authenticated user only
|
|
232
|
+
* VISIBILITY_SELF restricts calls to the authenticated user only.
|
|
233
233
|
*
|
|
234
234
|
* @generated from enum value: VISIBILITY_SELF = 2;
|
|
235
235
|
*/
|
|
@@ -240,28 +240,28 @@ export var Visibility;
|
|
|
240
240
|
*/
|
|
241
241
|
export const VisibilitySchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 5);
|
|
242
242
|
/**
|
|
243
|
-
* Auditing option specified per service method
|
|
244
|
-
*
|
|
245
|
-
*
|
|
243
|
+
* Auditing option specified per service method.
|
|
244
|
+
* By default all service methods are included.
|
|
245
|
+
* Add the auditing option if you want to exclude a method in auditing.
|
|
246
246
|
*
|
|
247
247
|
* @generated from enum metalstack.api.v2.Auditing
|
|
248
248
|
*/
|
|
249
249
|
export var Auditing;
|
|
250
250
|
(function (Auditing) {
|
|
251
251
|
/**
|
|
252
|
-
* AUDITING_UNSPECIFIED is not specified
|
|
252
|
+
* AUDITING_UNSPECIFIED is not specified.
|
|
253
253
|
*
|
|
254
254
|
* @generated from enum value: AUDITING_UNSPECIFIED = 0;
|
|
255
255
|
*/
|
|
256
256
|
Auditing[Auditing["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
257
257
|
/**
|
|
258
|
-
* AUDITING_INCLUDED if a method is annotated with this, all calls are audited
|
|
258
|
+
* AUDITING_INCLUDED if a method is annotated with this, all calls are audited.
|
|
259
259
|
*
|
|
260
260
|
* @generated from enum value: AUDITING_INCLUDED = 1;
|
|
261
261
|
*/
|
|
262
262
|
Auditing[Auditing["INCLUDED"] = 1] = "INCLUDED";
|
|
263
263
|
/**
|
|
264
|
-
* AUDITING_EXCLUDED if a method is annotated with this, no calls are audited
|
|
264
|
+
* AUDITING_EXCLUDED if a method is annotated with this, no calls are audited.
|
|
265
265
|
*
|
|
266
266
|
* @generated from enum value: AUDITING_EXCLUDED = 2;
|
|
267
267
|
*/
|
|
@@ -273,27 +273,27 @@ export var Auditing;
|
|
|
273
273
|
export const AuditingSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 6);
|
|
274
274
|
/**
|
|
275
275
|
* OptimisticLockingStrategy defines how optimistic locking should be handled.
|
|
276
|
-
* It defaults to client side, which requires the UpdatedAt timestamp to be provided
|
|
276
|
+
* It defaults to client side, which requires the UpdatedAt timestamp to be provided.
|
|
277
277
|
*
|
|
278
278
|
* @generated from enum metalstack.api.v2.OptimisticLockingStrategy
|
|
279
279
|
*/
|
|
280
280
|
export var OptimisticLockingStrategy;
|
|
281
281
|
(function (OptimisticLockingStrategy) {
|
|
282
282
|
/**
|
|
283
|
-
* OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side
|
|
283
|
+
* OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side.
|
|
284
284
|
*
|
|
285
285
|
* @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED = 0;
|
|
286
286
|
*/
|
|
287
287
|
OptimisticLockingStrategy[OptimisticLockingStrategy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
288
288
|
/**
|
|
289
|
-
* OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified
|
|
289
|
+
* OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified.
|
|
290
290
|
*
|
|
291
291
|
* @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_CLIENT = 1;
|
|
292
292
|
*/
|
|
293
293
|
OptimisticLockingStrategy[OptimisticLockingStrategy["CLIENT"] = 1] = "CLIENT";
|
|
294
294
|
/**
|
|
295
|
-
* OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt
|
|
296
|
-
* and fetches the most recent entity before updating with the given values with the update request
|
|
295
|
+
* OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt.
|
|
296
|
+
* and fetches the most recent entity before updating with the given values with the update request.
|
|
297
297
|
*
|
|
298
298
|
* @generated from enum value: OPTIMISTIC_LOCKING_STRATEGY_SERVER = 2;
|
|
299
299
|
*/
|
|
@@ -304,49 +304,49 @@ export var OptimisticLockingStrategy;
|
|
|
304
304
|
*/
|
|
305
305
|
export const OptimisticLockingStrategySchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 7);
|
|
306
306
|
/**
|
|
307
|
-
* TenantRoles are used to define the tenant role a logged in user must provide to call this method
|
|
307
|
+
* TenantRoles are used to define the tenant role a logged in user must provide to call this method.
|
|
308
308
|
*
|
|
309
309
|
* @generated from extension: repeated metalstack.api.v2.TenantRole tenant_roles = 51000;
|
|
310
310
|
*/
|
|
311
311
|
export const tenant_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 0);
|
|
312
312
|
/**
|
|
313
|
-
* ProjectRoles are used to define the project role a logged in user must provide to call this method
|
|
313
|
+
* ProjectRoles are used to define the project role a logged in user must provide to call this method.
|
|
314
314
|
*
|
|
315
315
|
* @generated from extension: repeated metalstack.api.v2.ProjectRole project_roles = 51001;
|
|
316
316
|
*/
|
|
317
317
|
export const project_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 1);
|
|
318
318
|
/**
|
|
319
|
-
* AdminRoles are used to define the admin role a logged in user must provide to call this method
|
|
319
|
+
* AdminRoles are used to define the admin role a logged in user must provide to call this method.
|
|
320
320
|
*
|
|
321
321
|
* @generated from extension: repeated metalstack.api.v2.AdminRole admin_roles = 51002;
|
|
322
322
|
*/
|
|
323
323
|
export const admin_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 2);
|
|
324
324
|
/**
|
|
325
|
-
* Visibility defines the visibility of this method, this is used to have public or self visible methods
|
|
325
|
+
* Visibility defines the visibility of this method, this is used to have public or self visible methods.
|
|
326
326
|
*
|
|
327
327
|
* @generated from extension: metalstack.api.v2.Visibility visibility = 51003;
|
|
328
328
|
*/
|
|
329
329
|
export const visibility = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 3);
|
|
330
330
|
/**
|
|
331
|
-
* Auditing defines if calls to this method should be audited or not
|
|
331
|
+
* Auditing defines if calls to this method should be audited or not.
|
|
332
332
|
*
|
|
333
333
|
* @generated from extension: metalstack.api.v2.Auditing auditing = 51004;
|
|
334
334
|
*/
|
|
335
335
|
export const auditing = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 4);
|
|
336
336
|
/**
|
|
337
|
-
* InfraRoles are used to define the infra role a microservice must provide to call this method
|
|
337
|
+
* InfraRoles are used to define the infra role a microservice must provide to call this method.
|
|
338
338
|
*
|
|
339
339
|
* @generated from extension: repeated metalstack.api.v2.InfraRole infra_roles = 51005;
|
|
340
340
|
*/
|
|
341
341
|
export const infra_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 5);
|
|
342
342
|
/**
|
|
343
|
-
* MachineRole are used to define which machine role a microservice must provide to call this method
|
|
343
|
+
* MachineRole are used to define which machine role a microservice must provide to call this method.
|
|
344
344
|
*
|
|
345
345
|
* @generated from extension: repeated metalstack.api.v2.MachineRole machine_roles = 51006;
|
|
346
346
|
*/
|
|
347
347
|
export const machine_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 6);
|
|
348
348
|
/**
|
|
349
|
-
* StringValue which can be set to a enum
|
|
349
|
+
* StringValue which can be set to a enum.
|
|
350
350
|
*
|
|
351
351
|
* @generated from extension: string enum_string_value = 52000;
|
|
352
352
|
*/
|