@fi-ts/api 0.0.0-pr.54.ae00561e → 0.0.0-pr.55.f39e7d5b
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/fits/api/mvm/v1/contact_pb.d.ts +45 -0
- package/fits/api/mvm/v1/contact_pb.js +11 -1
- package/fits/api/mvm/v1/contact_pb.ts +54 -1
- package/fits/api/mvm/v1/mvm_on_behalf_pb.d.ts +73 -0
- package/fits/api/mvm/v1/mvm_on_behalf_pb.js +27 -0
- package/fits/api/mvm/v1/mvm_on_behalf_pb.ts +94 -0
- package/fits/api/mvm/v1/mvm_provider_pb.d.ts +66 -0
- package/fits/api/mvm/v1/mvm_provider_pb.js +26 -0
- package/fits/api/mvm/v1/mvm_provider_pb.ts +85 -0
- package/fits/api/pcvm/v1/pcvm_pb.d.ts +1 -1
- package/fits/api/pcvm/v1/pcvm_pb.js +1 -1
- package/fits/api/pcvm/v1/pcvm_pb.ts +1 -1
- package/fits/api/v1/common_pb.d.ts +35 -32
- package/fits/api/v1/common_pb.js +39 -36
- package/fits/api/v1/common_pb.ts +42 -39
- package/fits/api/v1/method_pb.d.ts +1 -7
- package/fits/api/v1/method_pb.js +1 -2
- package/fits/api/v1/method_pb.ts +2 -10
- package/fits/api/v1/token_pb.d.ts +53 -37
- package/fits/api/v1/token_pb.js +23 -18
- package/fits/api/v1/token_pb.ts +74 -54
- package/package.json +1 -1
|
@@ -214,35 +214,6 @@ export declare enum ProjectRole {
|
|
|
214
214
|
* Describes the enum fits.api.v1.ProjectRole.
|
|
215
215
|
*/
|
|
216
216
|
export declare const ProjectRoleSchema: GenEnum<ProjectRole>;
|
|
217
|
-
/**
|
|
218
|
-
* OperatorRole specifies what role a logged in user needs to call this operator service
|
|
219
|
-
*
|
|
220
|
-
* @generated from enum fits.api.v1.OperatorRole
|
|
221
|
-
*/
|
|
222
|
-
export declare enum OperatorRole {
|
|
223
|
-
/**
|
|
224
|
-
* OPERATOR_ROLE_UNSPECIFIED is not specified
|
|
225
|
-
*
|
|
226
|
-
* @generated from enum value: OPERATOR_ROLE_UNSPECIFIED = 0;
|
|
227
|
-
*/
|
|
228
|
-
UNSPECIFIED = 0,
|
|
229
|
-
/**
|
|
230
|
-
* OPERATOR_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
231
|
-
*
|
|
232
|
-
* @generated from enum value: OPERATOR_ROLE_EDITOR = 1;
|
|
233
|
-
*/
|
|
234
|
-
EDITOR = 1,
|
|
235
|
-
/**
|
|
236
|
-
* OPERATOR_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
237
|
-
*
|
|
238
|
-
* @generated from enum value: OPERATOR_ROLE_VIEWER = 2;
|
|
239
|
-
*/
|
|
240
|
-
VIEWER = 2
|
|
241
|
-
}
|
|
242
|
-
/**
|
|
243
|
-
* Describes the enum fits.api.v1.OperatorRole.
|
|
244
|
-
*/
|
|
245
|
-
export declare const OperatorRoleSchema: GenEnum<OperatorRole>;
|
|
246
217
|
/**
|
|
247
218
|
* Visibility of a method
|
|
248
219
|
*
|
|
@@ -303,6 +274,37 @@ export declare enum Auditing {
|
|
|
303
274
|
* Describes the enum fits.api.v1.Auditing.
|
|
304
275
|
*/
|
|
305
276
|
export declare const AuditingSchema: GenEnum<Auditing>;
|
|
277
|
+
/**
|
|
278
|
+
* RoleContext declares in which context a method's roles apply. It belongs only
|
|
279
|
+
* on provider or on-behalf services, never on public ones. It is not a
|
|
280
|
+
* visibility setting or feature flag.
|
|
281
|
+
*
|
|
282
|
+
* @generated from enum fits.api.v1.RoleContext
|
|
283
|
+
*/
|
|
284
|
+
export declare enum RoleContext {
|
|
285
|
+
/**
|
|
286
|
+
* ROLE_CONTEXT_UNSPECIFIED is the default and accepts any context.
|
|
287
|
+
*
|
|
288
|
+
* @generated from enum value: ROLE_CONTEXT_UNSPECIFIED = 0;
|
|
289
|
+
*/
|
|
290
|
+
UNSPECIFIED = 0,
|
|
291
|
+
/**
|
|
292
|
+
* ROLE_CONTEXT_PROVIDER needs the caller to be in the provider tenant.
|
|
293
|
+
*
|
|
294
|
+
* @generated from enum value: ROLE_CONTEXT_PROVIDER = 1;
|
|
295
|
+
*/
|
|
296
|
+
PROVIDER = 1,
|
|
297
|
+
/**
|
|
298
|
+
* ROLE_CONTEXT_ON_BEHALF lets a provider user act for another tenant.
|
|
299
|
+
*
|
|
300
|
+
* @generated from enum value: ROLE_CONTEXT_ON_BEHALF = 2;
|
|
301
|
+
*/
|
|
302
|
+
ON_BEHALF = 2
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Describes the enum fits.api.v1.RoleContext.
|
|
306
|
+
*/
|
|
307
|
+
export declare const RoleContextSchema: GenEnum<RoleContext>;
|
|
306
308
|
/**
|
|
307
309
|
* OptimisticLockingStrategy defines how optimistic locking should be handled.
|
|
308
310
|
* It defaults to client side, which requires the UpdatedAt timestamp to be provided
|
|
@@ -347,11 +349,12 @@ export declare const tenant_roles: GenExtension<MethodOptions, TenantRole[]>;
|
|
|
347
349
|
*/
|
|
348
350
|
export declare const project_roles: GenExtension<MethodOptions, ProjectRole[]>;
|
|
349
351
|
/**
|
|
350
|
-
*
|
|
352
|
+
* RoleContext sets the context the roles above apply in. Only for provider or
|
|
353
|
+
* on-behalf services, never public ones.
|
|
351
354
|
*
|
|
352
|
-
* @generated from extension:
|
|
355
|
+
* @generated from extension: fits.api.v1.RoleContext role_context = 51002;
|
|
353
356
|
*/
|
|
354
|
-
export declare const
|
|
357
|
+
export declare const role_context: GenExtension<MethodOptions, RoleContext>;
|
|
355
358
|
/**
|
|
356
359
|
* Visibility defines the visibility of this method, this is used to have public or self visible methods
|
|
357
360
|
*
|
package/fits/api/v1/common_pb.js
CHANGED
|
@@ -8,7 +8,7 @@ import { file_google_protobuf_descriptor, file_google_protobuf_timestamp } from
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file fits/api/v1/common.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_fits_api_v1_common = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_fits_api_v1_common = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS9jb21tb24ucHJvdG8SC2ZpdHMuYXBpLnYxIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQiiAEKBkxhYmVscxJPCgZsYWJlbHMYASADKAsyHy5maXRzLmFwaS52MS5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIq8BCgRNZXRhEigKBmxhYmVscxgBIAEoCzITLmZpdHMuYXBpLnYxLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhIKCmdlbmVyYXRpb24YBCABKARCCQoHX2xhYmVscyJDCgxVcGRhdGVMYWJlbHMSIwoGdXBkYXRlGAEgASgLMhMuZml0cy5hcGkudjEuTGFiZWxzEg4KBnJlbW92ZRgCIAMoCSKIAQoKVXBkYXRlTWV0YRIuCgp1cGRhdGVkX2F0GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBJKChBsb2NraW5nX3N0cmF0ZWd5GAIgASgOMiYuZml0cy5hcGkudjEuT3B0aW1pc3RpY0xvY2tpbmdTdHJhdGVneUIIukgFggECEAEqhwEKClRlbmFudFJvbGUSGwoXVEVOQU5UX1JPTEVfVU5TUEVDSUZJRUQQABIVChFURU5BTlRfUk9MRV9BRE1JThABEhYKElRFTkFOVF9ST0xFX0VESVRPUhACEhYKElRFTkFOVF9ST0xFX1ZJRVdFUhADEhUKEVRFTkFOVF9ST0xFX0dVRVNUEAQqdQoLUHJvamVjd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JvbGVDb250ZXh0Ugtyb2xlQ29udGV4dDpZCgp2aXNpYmlsaXR5Eh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYu44DIAEoDjIXLmZpdHMuYXBpLnYxLlZpc2liaWxpdHlSCnZpc2liaWxpdHk6UwoIYXVkaXRpbmcSHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxi8jgMgASgOMhUuZml0cy5hcGkudjEuQXVkaXRpbmdSCGF1ZGl0aW5nOk8KEWVudW1fc3RyaW5nX3ZhbHVlEiEuZ29vZ2xlLnByb3RvYnVmLkVudW1WYWx1ZU9wdGlvbnMYoJYDIAEoCVIPZW51bVN0cmluZ1ZhbHVlQpcBCg9jb20uZml0cy5hcGkudjFCC0NvbW1vblByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_predefined_rules, file_google_protobuf_descriptor, file_google_protobuf_timestamp]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message fits.api.v1.Paging.
|
|
14
14
|
* Use `create(PagingSchema)` to create a new message.
|
|
@@ -114,36 +114,6 @@ export var ProjectRole;
|
|
|
114
114
|
* Describes the enum fits.api.v1.ProjectRole.
|
|
115
115
|
*/
|
|
116
116
|
export const ProjectRoleSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 1);
|
|
117
|
-
/**
|
|
118
|
-
* OperatorRole specifies what role a logged in user needs to call this operator service
|
|
119
|
-
*
|
|
120
|
-
* @generated from enum fits.api.v1.OperatorRole
|
|
121
|
-
*/
|
|
122
|
-
export var OperatorRole;
|
|
123
|
-
(function (OperatorRole) {
|
|
124
|
-
/**
|
|
125
|
-
* OPERATOR_ROLE_UNSPECIFIED is not specified
|
|
126
|
-
*
|
|
127
|
-
* @generated from enum value: OPERATOR_ROLE_UNSPECIFIED = 0;
|
|
128
|
-
*/
|
|
129
|
-
OperatorRole[OperatorRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
130
|
-
/**
|
|
131
|
-
* OPERATOR_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
132
|
-
*
|
|
133
|
-
* @generated from enum value: OPERATOR_ROLE_EDITOR = 1;
|
|
134
|
-
*/
|
|
135
|
-
OperatorRole[OperatorRole["EDITOR"] = 1] = "EDITOR";
|
|
136
|
-
/**
|
|
137
|
-
* OPERATOR_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
138
|
-
*
|
|
139
|
-
* @generated from enum value: OPERATOR_ROLE_VIEWER = 2;
|
|
140
|
-
*/
|
|
141
|
-
OperatorRole[OperatorRole["VIEWER"] = 2] = "VIEWER";
|
|
142
|
-
})(OperatorRole || (OperatorRole = {}));
|
|
143
|
-
/**
|
|
144
|
-
* Describes the enum fits.api.v1.OperatorRole.
|
|
145
|
-
*/
|
|
146
|
-
export const OperatorRoleSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 2);
|
|
147
117
|
/**
|
|
148
118
|
* Visibility of a method
|
|
149
119
|
*
|
|
@@ -173,7 +143,7 @@ export var Visibility;
|
|
|
173
143
|
/**
|
|
174
144
|
* Describes the enum fits.api.v1.Visibility.
|
|
175
145
|
*/
|
|
176
|
-
export const VisibilitySchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common,
|
|
146
|
+
export const VisibilitySchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 2);
|
|
177
147
|
/**
|
|
178
148
|
* Auditing option specified per service method
|
|
179
149
|
* by default all service methods are included
|
|
@@ -205,7 +175,39 @@ export var Auditing;
|
|
|
205
175
|
/**
|
|
206
176
|
* Describes the enum fits.api.v1.Auditing.
|
|
207
177
|
*/
|
|
208
|
-
export const AuditingSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common,
|
|
178
|
+
export const AuditingSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 3);
|
|
179
|
+
/**
|
|
180
|
+
* RoleContext declares in which context a method's roles apply. It belongs only
|
|
181
|
+
* on provider or on-behalf services, never on public ones. It is not a
|
|
182
|
+
* visibility setting or feature flag.
|
|
183
|
+
*
|
|
184
|
+
* @generated from enum fits.api.v1.RoleContext
|
|
185
|
+
*/
|
|
186
|
+
export var RoleContext;
|
|
187
|
+
(function (RoleContext) {
|
|
188
|
+
/**
|
|
189
|
+
* ROLE_CONTEXT_UNSPECIFIED is the default and accepts any context.
|
|
190
|
+
*
|
|
191
|
+
* @generated from enum value: ROLE_CONTEXT_UNSPECIFIED = 0;
|
|
192
|
+
*/
|
|
193
|
+
RoleContext[RoleContext["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
194
|
+
/**
|
|
195
|
+
* ROLE_CONTEXT_PROVIDER needs the caller to be in the provider tenant.
|
|
196
|
+
*
|
|
197
|
+
* @generated from enum value: ROLE_CONTEXT_PROVIDER = 1;
|
|
198
|
+
*/
|
|
199
|
+
RoleContext[RoleContext["PROVIDER"] = 1] = "PROVIDER";
|
|
200
|
+
/**
|
|
201
|
+
* ROLE_CONTEXT_ON_BEHALF lets a provider user act for another tenant.
|
|
202
|
+
*
|
|
203
|
+
* @generated from enum value: ROLE_CONTEXT_ON_BEHALF = 2;
|
|
204
|
+
*/
|
|
205
|
+
RoleContext[RoleContext["ON_BEHALF"] = 2] = "ON_BEHALF";
|
|
206
|
+
})(RoleContext || (RoleContext = {}));
|
|
207
|
+
/**
|
|
208
|
+
* Describes the enum fits.api.v1.RoleContext.
|
|
209
|
+
*/
|
|
210
|
+
export const RoleContextSchema = /*@__PURE__*/ enumDesc(file_fits_api_v1_common, 4);
|
|
209
211
|
/**
|
|
210
212
|
* OptimisticLockingStrategy defines how optimistic locking should be handled.
|
|
211
213
|
* It defaults to client side, which requires the UpdatedAt timestamp to be provided
|
|
@@ -251,11 +253,12 @@ export const tenant_roles = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 0);
|
|
|
251
253
|
*/
|
|
252
254
|
export const project_roles = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 1);
|
|
253
255
|
/**
|
|
254
|
-
*
|
|
256
|
+
* RoleContext sets the context the roles above apply in. Only for provider or
|
|
257
|
+
* on-behalf services, never public ones.
|
|
255
258
|
*
|
|
256
|
-
* @generated from extension:
|
|
259
|
+
* @generated from extension: fits.api.v1.RoleContext role_context = 51002;
|
|
257
260
|
*/
|
|
258
|
-
export const
|
|
261
|
+
export const role_context = /*@__PURE__*/ extDesc(file_fits_api_v1_common, 2);
|
|
259
262
|
/**
|
|
260
263
|
* Visibility defines the visibility of this method, this is used to have public or self visible methods
|
|
261
264
|
*
|
package/fits/api/v1/common_pb.ts
CHANGED
|
@@ -14,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
14
14
|
* Describes the file fits/api/v1/common.proto.
|
|
15
15
|
*/
|
|
16
16
|
export const file_fits_api_v1_common: GenFile = /*@__PURE__*/
|
|
17
|
-
fileDesc("
|
|
17
|
+
fileDesc("ChhmaXRzL2FwaS92MS9jb21tb24ucHJvdG8SC2ZpdHMuYXBpLnYxIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQiiAEKBkxhYmVscxJPCgZsYWJlbHMYASADKAsyHy5maXRzLmFwaS52MS5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIq8BCgRNZXRhEigKBmxhYmVscxgBIAEoCzITLmZpdHMuYXBpLnYxLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1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Rml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_predefined_rules, file_google_protobuf_descriptor, file_google_protobuf_timestamp]);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Paging defines paging for methods with a lot of results
|
|
@@ -257,40 +257,6 @@ export enum ProjectRole {
|
|
|
257
257
|
export const ProjectRoleSchema: GenEnum<ProjectRole> = /*@__PURE__*/
|
|
258
258
|
enumDesc(file_fits_api_v1_common, 1);
|
|
259
259
|
|
|
260
|
-
/**
|
|
261
|
-
* OperatorRole specifies what role a logged in user needs to call this operator service
|
|
262
|
-
*
|
|
263
|
-
* @generated from enum fits.api.v1.OperatorRole
|
|
264
|
-
*/
|
|
265
|
-
export enum OperatorRole {
|
|
266
|
-
/**
|
|
267
|
-
* OPERATOR_ROLE_UNSPECIFIED is not specified
|
|
268
|
-
*
|
|
269
|
-
* @generated from enum value: OPERATOR_ROLE_UNSPECIFIED = 0;
|
|
270
|
-
*/
|
|
271
|
-
UNSPECIFIED = 0,
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* OPERATOR_ROLE_EDITOR the logged in user needs at least editor role to call this method
|
|
275
|
-
*
|
|
276
|
-
* @generated from enum value: OPERATOR_ROLE_EDITOR = 1;
|
|
277
|
-
*/
|
|
278
|
-
EDITOR = 1,
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* OPERATOR_ROLE_VIEWER the logged in user needs at least viewer role to call this method
|
|
282
|
-
*
|
|
283
|
-
* @generated from enum value: OPERATOR_ROLE_VIEWER = 2;
|
|
284
|
-
*/
|
|
285
|
-
VIEWER = 2,
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Describes the enum fits.api.v1.OperatorRole.
|
|
290
|
-
*/
|
|
291
|
-
export const OperatorRoleSchema: GenEnum<OperatorRole> = /*@__PURE__*/
|
|
292
|
-
enumDesc(file_fits_api_v1_common, 2);
|
|
293
|
-
|
|
294
260
|
/**
|
|
295
261
|
* Visibility of a method
|
|
296
262
|
*
|
|
@@ -323,7 +289,7 @@ export enum Visibility {
|
|
|
323
289
|
* Describes the enum fits.api.v1.Visibility.
|
|
324
290
|
*/
|
|
325
291
|
export const VisibilitySchema: GenEnum<Visibility> = /*@__PURE__*/
|
|
326
|
-
enumDesc(file_fits_api_v1_common,
|
|
292
|
+
enumDesc(file_fits_api_v1_common, 2);
|
|
327
293
|
|
|
328
294
|
/**
|
|
329
295
|
* Auditing option specified per service method
|
|
@@ -359,6 +325,42 @@ export enum Auditing {
|
|
|
359
325
|
* Describes the enum fits.api.v1.Auditing.
|
|
360
326
|
*/
|
|
361
327
|
export const AuditingSchema: GenEnum<Auditing> = /*@__PURE__*/
|
|
328
|
+
enumDesc(file_fits_api_v1_common, 3);
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* RoleContext declares in which context a method's roles apply. It belongs only
|
|
332
|
+
* on provider or on-behalf services, never on public ones. It is not a
|
|
333
|
+
* visibility setting or feature flag.
|
|
334
|
+
*
|
|
335
|
+
* @generated from enum fits.api.v1.RoleContext
|
|
336
|
+
*/
|
|
337
|
+
export enum RoleContext {
|
|
338
|
+
/**
|
|
339
|
+
* ROLE_CONTEXT_UNSPECIFIED is the default and accepts any context.
|
|
340
|
+
*
|
|
341
|
+
* @generated from enum value: ROLE_CONTEXT_UNSPECIFIED = 0;
|
|
342
|
+
*/
|
|
343
|
+
UNSPECIFIED = 0,
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* ROLE_CONTEXT_PROVIDER needs the caller to be in the provider tenant.
|
|
347
|
+
*
|
|
348
|
+
* @generated from enum value: ROLE_CONTEXT_PROVIDER = 1;
|
|
349
|
+
*/
|
|
350
|
+
PROVIDER = 1,
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* ROLE_CONTEXT_ON_BEHALF lets a provider user act for another tenant.
|
|
354
|
+
*
|
|
355
|
+
* @generated from enum value: ROLE_CONTEXT_ON_BEHALF = 2;
|
|
356
|
+
*/
|
|
357
|
+
ON_BEHALF = 2,
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Describes the enum fits.api.v1.RoleContext.
|
|
362
|
+
*/
|
|
363
|
+
export const RoleContextSchema: GenEnum<RoleContext> = /*@__PURE__*/
|
|
362
364
|
enumDesc(file_fits_api_v1_common, 4);
|
|
363
365
|
|
|
364
366
|
/**
|
|
@@ -414,11 +416,12 @@ export const project_roles: GenExtension<MethodOptions, ProjectRole[]> = /*@__PU
|
|
|
414
416
|
extDesc(file_fits_api_v1_common, 1);
|
|
415
417
|
|
|
416
418
|
/**
|
|
417
|
-
*
|
|
419
|
+
* RoleContext sets the context the roles above apply in. Only for provider or
|
|
420
|
+
* on-behalf services, never public ones.
|
|
418
421
|
*
|
|
419
|
-
* @generated from extension:
|
|
422
|
+
* @generated from extension: fits.api.v1.RoleContext role_context = 51002;
|
|
420
423
|
*/
|
|
421
|
-
export const
|
|
424
|
+
export const role_context: GenExtension<MethodOptions, RoleContext> = /*@__PURE__*/
|
|
422
425
|
extDesc(file_fits_api_v1_common, 2);
|
|
423
426
|
|
|
424
427
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ProjectRole, TenantRole } from "./common_pb.js";
|
|
3
3
|
import type { MethodPermission } from "./token_pb.js";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
@@ -74,12 +74,6 @@ export type MethodServiceTokenScopedListResponse = Message<"fits.api.v1.MethodSe
|
|
|
74
74
|
tenantRoles: {
|
|
75
75
|
[key: string]: TenantRole;
|
|
76
76
|
};
|
|
77
|
-
/**
|
|
78
|
-
* OperatorRole defines the operator role of the token owner
|
|
79
|
-
*
|
|
80
|
-
* @generated from field: optional fits.api.v1.OperatorRole operator_role = 4;
|
|
81
|
-
*/
|
|
82
|
-
operatorRole?: OperatorRole | undefined;
|
|
83
77
|
};
|
|
84
78
|
/**
|
|
85
79
|
* Describes the message fits.api.v1.MethodServiceTokenScopedListResponse.
|
package/fits/api/v1/method_pb.js
CHANGED
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
// @generated from file fits/api/v1/method.proto (package fits.api.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
-
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
6
5
|
import { file_fits_api_v1_common } from "./common_pb.js";
|
|
7
6
|
import { file_fits_api_v1_token } from "./token_pb.js";
|
|
8
7
|
/**
|
|
9
8
|
* Describes the file fits/api/v1/method.proto.
|
|
10
9
|
*/
|
|
11
|
-
export const file_fits_api_v1_method = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_fits_api_v1_method = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS9tZXRob2QucHJvdG8SC2ZpdHMuYXBpLnYxIhoKGE1ldGhvZFNlcnZpY2VMaXN0UmVxdWVzdCIsChlNZXRob2RTZXJ2aWNlTGlzdFJlc3BvbnNlEg8KB21ldGhvZHMYASADKAkiJQojTWV0aG9kU2VydmljZVRva2VuU2NvcGVkTGlzdFJlcXVlc3QirAMKJE1ldGhvZFNlcnZpY2VUb2tlblNjb3BlZExpc3RSZXNwb25zZRIyCgtwZXJtaXNzaW9ucxgBIAMoCzIdLmZpdHMuYXBpLnYxLk1ldGhvZFBlcm1pc3Npb24SWgoNcHJvamVjdF9yb2xlcxgCIAMoCzJDLmZpdHMuYXBpLnYxLk1ldGhvZFNlcnZpY2VUb2tlblNjb3BlZExpc3RSZXNwb25zZS5Qcm9qZWN0Um9sZXNFbnRyeRJYCgx0ZW5hbnRfcm9sZXMYAyADKAsyQi5maXRzLmFwaS52MS5NZXRob2RTZXJ2aWNlVG9rZW5TY29wZWRMaXN0UmVzcG9uc2UuVGVuYW50Um9sZXNFbnRyeRpNChFQcm9qZWN0Um9sZXNFbnRyeRILCgNrZXkYASABKAkSJwoFdmFsdWUYAiABKA4yGC5maXRzLmFwaS52MS5Qcm9qZWN0Um9sZToCOAEaSwoQVGVuYW50Um9sZXNFbnRyeRILCgNrZXkYASABKAkSJgoFdmFsdWUYAiABKA4yFy5maXRzLmFwaS52MS5UZW5hbnRSb2xlOgI4ATLzAQoNTWV0aG9kU2VydmljZRJfCgRMaXN0EiUuZml0cy5hcGkudjEuTWV0aG9kU2VydmljZUxpc3RSZXF1ZXN0GiYuZml0cy5hcGkudjEuTWV0aG9kU2VydmljZUxpc3RSZXNwb25zZSII2PMYAeDzGAISgAEKD1Rva2VuU2NvcGVkTGlzdBIwLmZpdHMuYXBpLnYxLk1ldGhvZFNlcnZpY2VUb2tlblNjb3BlZExpc3RSZXF1ZXN0GjEuZml0cy5hcGkudjEuTWV0aG9kU2VydmljZVRva2VuU2NvcGVkTGlzdFJlc3BvbnNlIgjY8xgC4PMYAkKXAQoPY29tLmZpdHMuYXBpLnYxQgtNZXRob2RQcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_fits_api_v1_common, file_fits_api_v1_token]);
|
|
12
11
|
/**
|
|
13
12
|
* Describes the message fits.api.v1.MethodServiceListRequest.
|
|
14
13
|
* Use `create(MethodServiceListRequestSchema)` to create a new message.
|
package/fits/api/v1/method_pb.ts
CHANGED
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
-
import {
|
|
8
|
-
import type { OperatorRole, ProjectRole, TenantRole } from "./common_pb.js";
|
|
7
|
+
import type { ProjectRole, TenantRole } from "./common_pb.js";
|
|
9
8
|
import { file_fits_api_v1_common } from "./common_pb.js";
|
|
10
9
|
import type { MethodPermission } from "./token_pb.js";
|
|
11
10
|
import { file_fits_api_v1_token } from "./token_pb.js";
|
|
@@ -15,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
15
14
|
* Describes the file fits/api/v1/method.proto.
|
|
16
15
|
*/
|
|
17
16
|
export const file_fits_api_v1_method: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
17
|
+
fileDesc("ChhmaXRzL2FwaS92MS9tZXRob2QucHJvdG8SC2ZpdHMuYXBpLnYxIhoKGE1ldGhvZFNlcnZpY2VMaXN0UmVxdWVzdCIsChlNZXRob2RTZXJ2aWNlTGlzdFJlc3BvbnNlEg8KB21ldGhvZHMYASADKAkiJQojTWV0aG9kU2VydmljZVRva2VuU2NvcGVkTGlzdFJlcXVlc3QirAMKJE1ldGhvZFNlcnZpY2VUb2tlblNjb3BlZExpc3RSZXNwb25zZRIyCgtwZXJtaXNzaW9ucxgBIAMoCzIdLmZpdHMuYXBpLnYxLk1ldGhvZFBlcm1pc3Npb24SWgoNcHJvamVjdF9yb2xlcxgCIAMoCzJDLmZpdHMuYXBpLnYxLk1ldGhvZFNlcnZpY2VUb2tlblNjb3BlZExpc3RSZXNwb25zZS5Qcm9qZWN0Um9sZXNFbnRyeRJYCgx0ZW5hbnRfcm9sZXMYAyADKAsyQi5maXRzLmFwaS52MS5NZXRob2RTZXJ2aWNlVG9rZW5TY29wZWRMaXN0UmVzcG9uc2UuVGVuYW50Um9sZXNFbnRyeRpNChFQcm9qZWN0Um9sZXNFbnRyeRILCgNrZXkYASABKAkSJwoFdmFsdWUYAiABKA4yGC5maXRzLmFwaS52MS5Qcm9qZWN0Um9sZToCOAEaSwoQVGVuYW50Um9sZXNFbnRyeRILCgNrZXkYASABKAkSJgoFdmFsdWUYAiABKA4yFy5maXRzLmFwaS52MS5UZW5hbnRSb2xlOgI4ATLzAQoNTWV0aG9kU2VydmljZRJfCgRMaXN0EiUuZml0cy5hcGkudjEuTWV0aG9kU2VydmljZUxpc3RSZXF1ZXN0GiYuZml0cy5hcGkudjEuTWV0aG9kU2VydmljZUxpc3RSZXNwb25zZSII2PMYAeDzGAISgAEKD1Rva2VuU2NvcGVkTGlzdBIwLmZpdHMuYXBpLnYxLk1ldGhvZFNlcnZpY2VUb2tlblNjb3BlZExpc3RSZXF1ZXN0GjEuZml0cy5hcGkudjEuTWV0aG9kU2VydmljZVRva2VuU2NvcGVkTGlzdFJlc3BvbnNlIgjY8xgC4PMYAkKXAQoPY29tLmZpdHMuYXBpLnYxQgtNZXRob2RQcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_fits_api_v1_common, file_fits_api_v1_token]);
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
20
|
* MethodServiceListRequest is the request payload for listing all public methods.
|
|
@@ -94,13 +93,6 @@ export type MethodServiceTokenScopedListResponse = Message<"fits.api.v1.MethodSe
|
|
|
94
93
|
* @generated from field: map<string, fits.api.v1.TenantRole> tenant_roles = 3;
|
|
95
94
|
*/
|
|
96
95
|
tenantRoles: { [key: string]: TenantRole };
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* OperatorRole defines the operator role of the token owner
|
|
100
|
-
*
|
|
101
|
-
* @generated from field: optional fits.api.v1.OperatorRole operator_role = 4;
|
|
102
|
-
*/
|
|
103
|
-
operatorRole?: OperatorRole | undefined;
|
|
104
96
|
};
|
|
105
97
|
|
|
106
98
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { Meta,
|
|
2
|
+
import type { Meta, ProjectRole, RoleContext, TenantRole } from "./common_pb.js";
|
|
3
3
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
@@ -74,25 +74,19 @@ export type Token = Message<"fits.api.v1.Token"> & {
|
|
|
74
74
|
/**
|
|
75
75
|
* ProjectRoles associates a project id with the corresponding role of the token owner
|
|
76
76
|
*
|
|
77
|
-
* @generated from field: map<string, fits.api.v1.
|
|
77
|
+
* @generated from field: map<string, fits.api.v1.ProjectContext> project_roles = 9;
|
|
78
78
|
*/
|
|
79
79
|
projectRoles: {
|
|
80
|
-
[key: string]:
|
|
80
|
+
[key: string]: ProjectContext;
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
83
|
* TenantRoles associates a tenant id with the corresponding role of the token owner.
|
|
84
84
|
*
|
|
85
|
-
* @generated from field: map<string, fits.api.v1.
|
|
85
|
+
* @generated from field: map<string, fits.api.v1.TenantContext> tenant_roles = 10;
|
|
86
86
|
*/
|
|
87
87
|
tenantRoles: {
|
|
88
|
-
[key: string]:
|
|
88
|
+
[key: string]: TenantContext;
|
|
89
89
|
};
|
|
90
|
-
/**
|
|
91
|
-
* OperatorRole defines the operator role of the token owner
|
|
92
|
-
*
|
|
93
|
-
* @generated from field: optional fits.api.v1.OperatorRole operator_role = 11;
|
|
94
|
-
*/
|
|
95
|
-
operatorRole?: OperatorRole | undefined;
|
|
96
90
|
/**
|
|
97
91
|
* RawRoles are the normalized roles transmitted by the OIDC provider.
|
|
98
92
|
*
|
|
@@ -129,6 +123,54 @@ export type Token = Message<"fits.api.v1.Token"> & {
|
|
|
129
123
|
* Use `create(TokenSchema)` to create a new message.
|
|
130
124
|
*/
|
|
131
125
|
export declare const TokenSchema: GenMessage<Token>;
|
|
126
|
+
/**
|
|
127
|
+
* ProjectContext provides the role context leading to the project role.
|
|
128
|
+
*
|
|
129
|
+
* @generated from message fits.api.v1.ProjectContext
|
|
130
|
+
*/
|
|
131
|
+
export type ProjectContext = Message<"fits.api.v1.ProjectContext"> & {
|
|
132
|
+
/**
|
|
133
|
+
* Role that the user has in this project.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: fits.api.v1.ProjectRole role = 1;
|
|
136
|
+
*/
|
|
137
|
+
role: ProjectRole;
|
|
138
|
+
/**
|
|
139
|
+
* Context that lead to this role.
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: fits.api.v1.RoleContext context = 2;
|
|
142
|
+
*/
|
|
143
|
+
context: RoleContext;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Describes the message fits.api.v1.ProjectContext.
|
|
147
|
+
* Use `create(ProjectContextSchema)` to create a new message.
|
|
148
|
+
*/
|
|
149
|
+
export declare const ProjectContextSchema: GenMessage<ProjectContext>;
|
|
150
|
+
/**
|
|
151
|
+
* TenantContext provides the role context leading to the tenant role.
|
|
152
|
+
*
|
|
153
|
+
* @generated from message fits.api.v1.TenantContext
|
|
154
|
+
*/
|
|
155
|
+
export type TenantContext = Message<"fits.api.v1.TenantContext"> & {
|
|
156
|
+
/**
|
|
157
|
+
* Role that the user has in this tenant.
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: fits.api.v1.TenantRole role = 1;
|
|
160
|
+
*/
|
|
161
|
+
role: TenantRole;
|
|
162
|
+
/**
|
|
163
|
+
* Context that lead to this role.
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: fits.api.v1.RoleContext context = 2;
|
|
166
|
+
*/
|
|
167
|
+
context: RoleContext;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* Describes the message fits.api.v1.TenantContext.
|
|
171
|
+
* Use `create(TenantContextSchema)` to create a new message.
|
|
172
|
+
*/
|
|
173
|
+
export declare const TenantContextSchema: GenMessage<TenantContext>;
|
|
132
174
|
/**
|
|
133
175
|
* MethodPermission is a mapping from a subject/project to a service method
|
|
134
176
|
*
|
|
@@ -201,14 +243,6 @@ export type PermissionsByVisibility = Message<"fits.api.v1.PermissionsByVisibili
|
|
|
201
243
|
*/
|
|
202
244
|
value: TenantPermissions;
|
|
203
245
|
case: "tenant";
|
|
204
|
-
} | {
|
|
205
|
-
/**
|
|
206
|
-
* OperatorPermissions carries operator method permissions.
|
|
207
|
-
*
|
|
208
|
-
* @generated from field: fits.api.v1.OperatorPermissions operator = 5;
|
|
209
|
-
*/
|
|
210
|
-
value: OperatorPermissions;
|
|
211
|
-
case: "operator";
|
|
212
246
|
} | {
|
|
213
247
|
case: undefined;
|
|
214
248
|
value?: undefined;
|
|
@@ -305,24 +339,6 @@ export type TenantPermissions = Message<"fits.api.v1.TenantPermissions"> & {
|
|
|
305
339
|
* Use `create(TenantPermissionsSchema)` to create a new message.
|
|
306
340
|
*/
|
|
307
341
|
export declare const TenantPermissionsSchema: GenMessage<TenantPermissions>;
|
|
308
|
-
/**
|
|
309
|
-
* OperatorPermissions carries operator method permissions.
|
|
310
|
-
*
|
|
311
|
-
* @generated from message fits.api.v1.OperatorPermissions
|
|
312
|
-
*/
|
|
313
|
-
export type OperatorPermissions = Message<"fits.api.v1.OperatorPermissions"> & {
|
|
314
|
-
/**
|
|
315
|
-
* Methods which should be accessible.
|
|
316
|
-
*
|
|
317
|
-
* @generated from field: repeated string methods = 1;
|
|
318
|
-
*/
|
|
319
|
-
methods: string[];
|
|
320
|
-
};
|
|
321
|
-
/**
|
|
322
|
-
* Describes the message fits.api.v1.OperatorPermissions.
|
|
323
|
-
* Use `create(OperatorPermissionsSchema)` to create a new message.
|
|
324
|
-
*/
|
|
325
|
-
export declare const OperatorPermissionsSchema: GenMessage<OperatorPermissions>;
|
|
326
342
|
/**
|
|
327
343
|
* TokenServiceListRequest is the request payload to list tokens
|
|
328
344
|
*
|