@fi-ts/api 0.0.0-pr.41.d7919f06 → 0.0.0-pr.43.0cf2f47a
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/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_pb.d.ts +59 -27
- package/fits/api/mvm/v1/mvm_pb.js +17 -12
- package/fits/api/mvm/v1/mvm_pb.ts +67 -34
- 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/health_pb.d.ts +12 -38
- package/fits/api/v1/health_pb.js +12 -11
- package/fits/api/v1/health_pb.ts +16 -44
- 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/predefined_rules_pb.d.ts +6 -0
- package/fits/api/v1/predefined_rules_pb.js +18 -12
- package/fits/api/v1/predefined_rules_pb.ts +20 -12
- package/fits/api/v1/token_pb.d.ts +1 -33
- package/fits/api/v1/token_pb.js +7 -12
- package/fits/api/v1/token_pb.ts +8 -44
- package/package.json +1 -1
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("ChhmaXRzL2FwaS92MS9jb21tb24ucHJvdG8SC2ZpdHMuYXBpLnYxIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQiiAEKBkxhYmVscxJPCgZsYWJlbHMYASADKAsyHy5maXRzLmFwaS52MS5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIq8BCgRNZXRhEigKBmxhYmVscxgBIAEoCzITLmZpdHMuYXBpLnYxLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhIKCmdlbmVyYXRpb24YBCABKARCCQoHX2xhYmVscyJDCgxVcGRhdGVMYWJlbHMSIwoGdXBkYXRlGAEgASgLMhMuZml0cy5hcGkudjEuTGFiZWxzEg4KBnJlbW92ZRgCIAMoCSKIAQoKVXBkYXRlTWV0YRIuCgp1cGRhdGVkX2F0GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBJKChBsb2NraW5nX3N0cmF0ZWd5GAIgASgOMiYuZml0cy5hcGkudjEuT3B0aW1pc3RpY0xvY2tpbmdTdHJhdGVneUIIukgFggECEAEqhwEKClRlbmFudFJvbGUSGwoXVEVOQU5UX1JPTEVfVU5TUEVDSUZJRUQQABIVChFURU5BTlRfUk9MRV9BRE1JThABEhYKElRFTkFOVF9ST0xFX0VESVRPUhACEhYKElRFTkFOVF9ST0xFX1ZJRVdFUhADE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vZE9wdGlvbnMYuo4DIAEoDjIYLmZpdHMuYXBpLnYxLlJvbGVDb250ZXh0Ugtyb2xlQ29udGV4dDpZCgp2aXNpYmlsaXR5Eh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYu44DIAEoDjIXLmZpdHMuYXBpLnYxLlZpc2liaWxpdHlSCnZpc2liaWxpdHk6UwoIYXVkaXRpbmcSHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxi8jgMgASgOMhUuZml0cy5hcGkudjEuQXVkaXRpbmdSCGF1ZGl0aW5nOk8KEWVudW1fc3RyaW5nX3ZhbHVlEiEuZ29vZ2xlLnByb3RvYnVmLkVudW1WYWx1ZU9wdGlvbnMYoJYDIAEoCVIPZW51bVN0cmluZ1ZhbHVlQpcBCg9jb20uZml0cy5hcGkudjFCC0NvbW1vblByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [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("ChhmaXRzL2FwaS92MS9jb21tb24ucHJvdG8SC2ZpdHMuYXBpLnYxIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQiiAEKBkxhYmVscxJPCgZsYWJlbHMYASADKAsyHy5maXRzLmFwaS52MS5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIq8BCgRNZXRhEigKBmxhYmVscxgBIAEoCzITLmZpdHMuYXBpLnYxLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWR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YXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [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
|
/**
|
|
@@ -29,11 +29,11 @@ export declare const HealthSchema: GenMessage<Health>;
|
|
|
29
29
|
*/
|
|
30
30
|
export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Service is the service this health status is reported for
|
|
33
33
|
*
|
|
34
|
-
* @generated from field: fits.api.v1.Service
|
|
34
|
+
* @generated from field: fits.api.v1.Service service = 1;
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
service: Service;
|
|
37
37
|
/**
|
|
38
38
|
* Status is the status of this service
|
|
39
39
|
*
|
|
@@ -46,44 +46,12 @@ export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
|
|
|
46
46
|
* @generated from field: string message = 3;
|
|
47
47
|
*/
|
|
48
48
|
message: string;
|
|
49
|
-
/**
|
|
50
|
-
* Partitions describes the health of the service by partition
|
|
51
|
-
*
|
|
52
|
-
* @generated from field: map<string, fits.api.v1.PartitionHealth> partitions = 4;
|
|
53
|
-
*/
|
|
54
|
-
partitions: {
|
|
55
|
-
[key: string]: PartitionHealth;
|
|
56
|
-
};
|
|
57
49
|
};
|
|
58
50
|
/**
|
|
59
51
|
* Describes the message fits.api.v1.HealthStatus.
|
|
60
52
|
* Use `create(HealthStatusSchema)` to create a new message.
|
|
61
53
|
*/
|
|
62
54
|
export declare const HealthStatusSchema: GenMessage<HealthStatus>;
|
|
63
|
-
/**
|
|
64
|
-
* PartitionHealth represents the status of a specific service in this partition.
|
|
65
|
-
*
|
|
66
|
-
* @generated from message fits.api.v1.PartitionHealth
|
|
67
|
-
*/
|
|
68
|
-
export type PartitionHealth = Message<"fits.api.v1.PartitionHealth"> & {
|
|
69
|
-
/**
|
|
70
|
-
* Status is the health status of the service in this partition
|
|
71
|
-
*
|
|
72
|
-
* @generated from field: fits.api.v1.ServiceStatus status = 1;
|
|
73
|
-
*/
|
|
74
|
-
status: ServiceStatus;
|
|
75
|
-
/**
|
|
76
|
-
* Message describes the reason for the unhealthy status if possible
|
|
77
|
-
*
|
|
78
|
-
* @generated from field: string message = 2;
|
|
79
|
-
*/
|
|
80
|
-
message: string;
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* Describes the message fits.api.v1.PartitionHealth.
|
|
84
|
-
* Use `create(PartitionHealthSchema)` to create a new message.
|
|
85
|
-
*/
|
|
86
|
-
export declare const PartitionHealthSchema: GenMessage<PartitionHealth>;
|
|
87
55
|
/**
|
|
88
56
|
* HealthServiceGetRequest is the request payload for getting the health of the system.
|
|
89
57
|
*
|
|
@@ -161,11 +129,17 @@ export declare enum Service {
|
|
|
161
129
|
*/
|
|
162
130
|
UNSPECIFIED = 0,
|
|
163
131
|
/**
|
|
164
|
-
*
|
|
132
|
+
* SERVICE_MVM the managed vm service
|
|
133
|
+
*
|
|
134
|
+
* @generated from enum value: SERVICE_MVM = 1;
|
|
135
|
+
*/
|
|
136
|
+
MVM = 1,
|
|
137
|
+
/**
|
|
138
|
+
* SERVICE_PCVM the public cloud vm service
|
|
165
139
|
*
|
|
166
|
-
* @generated from enum value:
|
|
140
|
+
* @generated from enum value: SERVICE_PCVM = 2;
|
|
167
141
|
*/
|
|
168
|
-
|
|
142
|
+
PCVM = 2
|
|
169
143
|
}
|
|
170
144
|
/**
|
|
171
145
|
* Describes the enum fits.api.v1.Service.
|
package/fits/api/v1/health_pb.js
CHANGED
|
@@ -6,7 +6,7 @@ import { file_fits_api_v1_common } from "./common_pb.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file fits/api/v1/health.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_fits_api_v1_health = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_fits_api_v1_health = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS92MS9oZWFsdGgucHJvdG8SC2ZpdHMuYXBpLnYxIjUKBkhlYWx0aBIrCghzZXJ2aWNlcxgBIAMoCzIZLmZpdHMuYXBpLnYxLkhlYWx0aFN0YXR1cyJyCgxIZWFsdGhTdGF0dXMSJQoHc2VydmljZRgBIAEoDjIULmZpdHMuYXBpLnYxLlNlcnZpY2USKgoGc3RhdHVzGAIgASgOMhouZml0cy5hcGkudjEuU2VydmljZVN0YXR1cxIPCgdtZXNzYWdlGAMgASgJIhkKF0hlYWx0aFNlcnZpY2VHZXRSZXF1ZXN0Ij8KGEhlYWx0aFNlcnZpY2VHZXRSZXNwb25zZRIjCgZoZWFsdGgYASABKAsyEy5maXRzLmFwaS52MS5IZWFsdGgqhgEKDVNlcnZpY2VTdGF0dXMSHgoaU0VSVklDRV9TVEFUVVNfVU5TUEVDSUZJRUQQABIbChdTRVJWSUNFX1NUQVRVU19ERUdSQURFRBABEhwKGFNFUlZJQ0VfU1RBVFVTX1VOSEVBTFRIWRACEhoKFlNFUlZJQ0VfU1RBVFVTX0hFQUxUSFkQAypYCgdTZXJ2aWNlEhcKE1NFUlZJQ0VfVU5TUEVDSUZJRUQQABIYCgtTRVJWSUNFX01WTRABGgeCshkDbXZtEhoKDFNFUlZJQ0VfUENWTRACGgiCshkEcGN2bTJtCg1IZWFsdGhTZXJ2aWNlElwKA0dldBIkLmZpdHMuYXBpLnYxLkhlYWx0aFNlcnZpY2VHZXRSZXF1ZXN0GiUuZml0cy5hcGkudjEuSGVhbHRoU2VydmljZUdldFJlc3BvbnNlIgjY8xgB4PMYAkKXAQoPY29tLmZpdHMuYXBpLnYxQgtIZWFsdGhQcm90b1ABWilnaXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS92MTthcGl2MaICA0ZBWKoCC0ZpdHMuQXBpLlYxygILRml0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_fits_api_v1_common]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message fits.api.v1.Health.
|
|
12
12
|
* Use `create(HealthSchema)` to create a new message.
|
|
@@ -17,21 +17,16 @@ export const HealthSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 0
|
|
|
17
17
|
* Use `create(HealthStatusSchema)` to create a new message.
|
|
18
18
|
*/
|
|
19
19
|
export const HealthStatusSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 1);
|
|
20
|
-
/**
|
|
21
|
-
* Describes the message fits.api.v1.PartitionHealth.
|
|
22
|
-
* Use `create(PartitionHealthSchema)` to create a new message.
|
|
23
|
-
*/
|
|
24
|
-
export const PartitionHealthSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 2);
|
|
25
20
|
/**
|
|
26
21
|
* Describes the message fits.api.v1.HealthServiceGetRequest.
|
|
27
22
|
* Use `create(HealthServiceGetRequestSchema)` to create a new message.
|
|
28
23
|
*/
|
|
29
|
-
export const HealthServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health,
|
|
24
|
+
export const HealthServiceGetRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 2);
|
|
30
25
|
/**
|
|
31
26
|
* Describes the message fits.api.v1.HealthServiceGetResponse.
|
|
32
27
|
* Use `create(HealthServiceGetResponseSchema)` to create a new message.
|
|
33
28
|
*/
|
|
34
|
-
export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health,
|
|
29
|
+
export const HealthServiceGetResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_v1_health, 3);
|
|
35
30
|
/**
|
|
36
31
|
* ServiceStatus defines the status of a service.
|
|
37
32
|
*
|
|
@@ -82,11 +77,17 @@ export var Service;
|
|
|
82
77
|
*/
|
|
83
78
|
Service[Service["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
84
79
|
/**
|
|
85
|
-
*
|
|
80
|
+
* SERVICE_MVM the managed vm service
|
|
81
|
+
*
|
|
82
|
+
* @generated from enum value: SERVICE_MVM = 1;
|
|
83
|
+
*/
|
|
84
|
+
Service[Service["MVM"] = 1] = "MVM";
|
|
85
|
+
/**
|
|
86
|
+
* SERVICE_PCVM the public cloud vm service
|
|
86
87
|
*
|
|
87
|
-
* @generated from enum value:
|
|
88
|
+
* @generated from enum value: SERVICE_PCVM = 2;
|
|
88
89
|
*/
|
|
89
|
-
Service[Service["
|
|
90
|
+
Service[Service["PCVM"] = 2] = "PCVM";
|
|
90
91
|
})(Service || (Service = {}));
|
|
91
92
|
/**
|
|
92
93
|
* Describes the enum fits.api.v1.Service.
|
package/fits/api/v1/health_pb.ts
CHANGED
|
@@ -11,7 +11,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
11
11
|
* Describes the file fits/api/v1/health.proto.
|
|
12
12
|
*/
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0c1xBcGlcVjHiAhdGaXRzXEFwaVxWMVxHUEJNZXRhZGF0YeoCDUZpdHM6OkFwaTo6VjFiBnByb3RvMw", [file_fits_api_v1_common]);
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Health reports the health status of all services.
|
|
@@ -41,11 +41,11 @@ export const HealthSchema: GenMessage<Health> = /*@__PURE__*/
|
|
|
41
41
|
*/
|
|
42
42
|
export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Service is the service this health status is reported for
|
|
45
45
|
*
|
|
46
|
-
* @generated from field: fits.api.v1.Service
|
|
46
|
+
* @generated from field: fits.api.v1.Service service = 1;
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
service: Service;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* Status is the status of this service
|
|
@@ -60,13 +60,6 @@ export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
|
|
|
60
60
|
* @generated from field: string message = 3;
|
|
61
61
|
*/
|
|
62
62
|
message: string;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Partitions describes the health of the service by partition
|
|
66
|
-
*
|
|
67
|
-
* @generated from field: map<string, fits.api.v1.PartitionHealth> partitions = 4;
|
|
68
|
-
*/
|
|
69
|
-
partitions: { [key: string]: PartitionHealth };
|
|
70
63
|
};
|
|
71
64
|
|
|
72
65
|
/**
|
|
@@ -76,34 +69,6 @@ export type HealthStatus = Message<"fits.api.v1.HealthStatus"> & {
|
|
|
76
69
|
export const HealthStatusSchema: GenMessage<HealthStatus> = /*@__PURE__*/
|
|
77
70
|
messageDesc(file_fits_api_v1_health, 1);
|
|
78
71
|
|
|
79
|
-
/**
|
|
80
|
-
* PartitionHealth represents the status of a specific service in this partition.
|
|
81
|
-
*
|
|
82
|
-
* @generated from message fits.api.v1.PartitionHealth
|
|
83
|
-
*/
|
|
84
|
-
export type PartitionHealth = Message<"fits.api.v1.PartitionHealth"> & {
|
|
85
|
-
/**
|
|
86
|
-
* Status is the health status of the service in this partition
|
|
87
|
-
*
|
|
88
|
-
* @generated from field: fits.api.v1.ServiceStatus status = 1;
|
|
89
|
-
*/
|
|
90
|
-
status: ServiceStatus;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Message describes the reason for the unhealthy status if possible
|
|
94
|
-
*
|
|
95
|
-
* @generated from field: string message = 2;
|
|
96
|
-
*/
|
|
97
|
-
message: string;
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Describes the message fits.api.v1.PartitionHealth.
|
|
102
|
-
* Use `create(PartitionHealthSchema)` to create a new message.
|
|
103
|
-
*/
|
|
104
|
-
export const PartitionHealthSchema: GenMessage<PartitionHealth> = /*@__PURE__*/
|
|
105
|
-
messageDesc(file_fits_api_v1_health, 2);
|
|
106
|
-
|
|
107
72
|
/**
|
|
108
73
|
* HealthServiceGetRequest is the request payload for getting the health of the system.
|
|
109
74
|
*
|
|
@@ -117,7 +82,7 @@ export type HealthServiceGetRequest = Message<"fits.api.v1.HealthServiceGetReque
|
|
|
117
82
|
* Use `create(HealthServiceGetRequestSchema)` to create a new message.
|
|
118
83
|
*/
|
|
119
84
|
export const HealthServiceGetRequestSchema: GenMessage<HealthServiceGetRequest> = /*@__PURE__*/
|
|
120
|
-
messageDesc(file_fits_api_v1_health,
|
|
85
|
+
messageDesc(file_fits_api_v1_health, 2);
|
|
121
86
|
|
|
122
87
|
/**
|
|
123
88
|
* HealthServiceGetResponse is the response payload for getting the health of the system.
|
|
@@ -138,7 +103,7 @@ export type HealthServiceGetResponse = Message<"fits.api.v1.HealthServiceGetResp
|
|
|
138
103
|
* Use `create(HealthServiceGetResponseSchema)` to create a new message.
|
|
139
104
|
*/
|
|
140
105
|
export const HealthServiceGetResponseSchema: GenMessage<HealthServiceGetResponse> = /*@__PURE__*/
|
|
141
|
-
messageDesc(file_fits_api_v1_health,
|
|
106
|
+
messageDesc(file_fits_api_v1_health, 3);
|
|
142
107
|
|
|
143
108
|
/**
|
|
144
109
|
* ServiceStatus defines the status of a service.
|
|
@@ -195,11 +160,18 @@ export enum Service {
|
|
|
195
160
|
UNSPECIFIED = 0,
|
|
196
161
|
|
|
197
162
|
/**
|
|
198
|
-
*
|
|
163
|
+
* SERVICE_MVM the managed vm service
|
|
164
|
+
*
|
|
165
|
+
* @generated from enum value: SERVICE_MVM = 1;
|
|
166
|
+
*/
|
|
167
|
+
MVM = 1,
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* SERVICE_PCVM the public cloud vm service
|
|
199
171
|
*
|
|
200
|
-
* @generated from enum value:
|
|
172
|
+
* @generated from enum value: SERVICE_PCVM = 2;
|
|
201
173
|
*/
|
|
202
|
-
|
|
174
|
+
PCVM = 2,
|
|
203
175
|
}
|
|
204
176
|
|
|
205
177
|
/**
|
|
@@ -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
|
/**
|
|
@@ -64,6 +64,12 @@ export declare const is_ipv4_cidr: GenExtension<StringRules, boolean>;
|
|
|
64
64
|
* @generated from extension: optional bool is_phone = 80048961;
|
|
65
65
|
*/
|
|
66
66
|
export declare const is_phone: GenExtension<StringRules, boolean>;
|
|
67
|
+
/**
|
|
68
|
+
* IsNameCode validates if the given string is a 4-character code consisting of digits and letters.
|
|
69
|
+
*
|
|
70
|
+
* @generated from extension: optional bool is_name_code = 80048964;
|
|
71
|
+
*/
|
|
72
|
+
export declare const is_name_code: GenExtension<StringRules, boolean>;
|
|
67
73
|
/**
|
|
68
74
|
* IsTenantSubjectPermission returns true if name field satisfies our requirements.
|
|
69
75
|
*
|