@fi-ts/api 0.0.0-pr.54.ad591d21 → 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/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
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { MVMServiceCreateRequest, MVMServiceCreateResponse } from "./mvm_pb.js";
|
|
3
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file fits/api/mvm/v1/mvm_on_behalf.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_fits_api_mvm_v1_mvm_on_behalf: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* Request to create an MVM on behalf of a customer tenant.
|
|
11
|
+
*
|
|
12
|
+
* @generated from message fits.api.mvm.v1.OnBehalfMVMServiceCreateRequest
|
|
13
|
+
*/
|
|
14
|
+
export type OnBehalfMVMServiceCreateRequest = Message<"fits.api.mvm.v1.OnBehalfMVMServiceCreateRequest"> & {
|
|
15
|
+
/**
|
|
16
|
+
* The public create request.
|
|
17
|
+
*
|
|
18
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateRequest request = 1;
|
|
19
|
+
*/
|
|
20
|
+
request?: MVMServiceCreateRequest | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Determines if the MVM is billable.
|
|
23
|
+
*
|
|
24
|
+
* @generated from field: bool billable = 2;
|
|
25
|
+
*/
|
|
26
|
+
billable: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The start date when the MVM will be billable.
|
|
29
|
+
*
|
|
30
|
+
* @generated from field: optional google.protobuf.Timestamp billable_from = 3;
|
|
31
|
+
*/
|
|
32
|
+
billableFrom?: Timestamp | undefined;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message fits.api.mvm.v1.OnBehalfMVMServiceCreateRequest.
|
|
36
|
+
* Use `create(OnBehalfMVMServiceCreateRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export declare const OnBehalfMVMServiceCreateRequestSchema: GenMessage<OnBehalfMVMServiceCreateRequest>;
|
|
39
|
+
/**
|
|
40
|
+
* Response for an on-behalf MVM create.
|
|
41
|
+
*
|
|
42
|
+
* @generated from message fits.api.mvm.v1.OnBehalfMVMServiceCreateResponse
|
|
43
|
+
*/
|
|
44
|
+
export type OnBehalfMVMServiceCreateResponse = Message<"fits.api.mvm.v1.OnBehalfMVMServiceCreateResponse"> & {
|
|
45
|
+
/**
|
|
46
|
+
* The public create response.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateResponse response = 1;
|
|
49
|
+
*/
|
|
50
|
+
response?: MVMServiceCreateResponse | undefined;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message fits.api.mvm.v1.OnBehalfMVMServiceCreateResponse.
|
|
54
|
+
* Use `create(OnBehalfMVMServiceCreateResponseSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export declare const OnBehalfMVMServiceCreateResponseSchema: GenMessage<OnBehalfMVMServiceCreateResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* OnBehalfMVMService offers MVM operations on behalf of a customer tenant.
|
|
59
|
+
*
|
|
60
|
+
* @generated from service fits.api.mvm.v1.OnBehalfMVMService
|
|
61
|
+
*/
|
|
62
|
+
export declare const OnBehalfMVMService: GenService<{
|
|
63
|
+
/**
|
|
64
|
+
* Create makes a new MVM and lets the operator set its billing fields.
|
|
65
|
+
*
|
|
66
|
+
* @generated from rpc fits.api.mvm.v1.OnBehalfMVMService.Create
|
|
67
|
+
*/
|
|
68
|
+
create: {
|
|
69
|
+
methodKind: "unary";
|
|
70
|
+
input: typeof OnBehalfMVMServiceCreateRequestSchema;
|
|
71
|
+
output: typeof OnBehalfMVMServiceCreateResponseSchema;
|
|
72
|
+
};
|
|
73
|
+
}>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file fits/api/mvm/v1/mvm_on_behalf.proto (package fits.api.mvm.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_fits_api_mvm_v1_mvm } from "./mvm_pb.js";
|
|
6
|
+
import { file_fits_api_v1_common } from "../../v1/common_pb.js";
|
|
7
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file fits/api/mvm/v1/mvm_on_behalf.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_fits_api_mvm_v1_mvm_on_behalf = /*@__PURE__*/ fileDesc("CiNmaXRzL2FwaS9tdm0vdjEvbXZtX29uX2JlaGFsZi5wcm90bxIPZml0cy5hcGkubXZtLnYxIrgBCh9PbkJlaGFsZk1WTVNlcnZpY2VDcmVhdGVSZXF1ZXN0EjkKB3JlcXVlc3QYASABKAsyKC5maXRzLmFwaS5tdm0udjEuTVZNU2VydmljZUNyZWF0ZVJlcXVlc3QSEAoIYmlsbGFibGUYAiABKAgSNgoNYmlsbGFibGVfZnJvbRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAIgBAUIQCg5fYmlsbGFibGVfZnJvbSJfCiBPbkJlaGFsZk1WTVNlcnZpY2VDcmVhdGVSZXNwb25zZRI7CghyZXNwb25zZRgBIAEoCzIpLmZpdHMuYXBpLm12bS52MS5NVk1TZXJ2aWNlQ3JlYXRlUmVzcG9uc2UykwEKEk9uQmVoYWxmTVZNU2VydmljZRJ9CgZDcmVhdGUSMC5maXRzLmFwaS5tdm0udjEuT25CZWhhbGZNVk1TZXJ2aWNlQ3JlYXRlUmVxdWVzdBoxLmZpdHMuYXBpLm12bS52MS5PbkJlaGFsZk1WTVNlcnZpY2VDcmVhdGVSZXNwb25zZSIOyvMYAgEC0PMYAuDzGAFCtQEKE2NvbS5maXRzLmFwaS5tdm0udjFCEE12bU9uQmVoYWxmUHJvdG9QAVotZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvbXZtL3YxO212bXYxogIDRkFNqgIPRml0cy5BcGkuTXZtLlYxygIPRml0c1xBcGlcTXZtXFYx4gIbRml0c1xBcGlcTXZtXFYxXEdQQk1ldGFkYXRh6gISRml0czo6QXBpOjpNdm06OlYxYgZwcm90bzM", [file_fits_api_mvm_v1_mvm, file_fits_api_v1_common, file_google_protobuf_timestamp]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message fits.api.mvm.v1.OnBehalfMVMServiceCreateRequest.
|
|
14
|
+
* Use `create(OnBehalfMVMServiceCreateRequestSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const OnBehalfMVMServiceCreateRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_mvm_on_behalf, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message fits.api.mvm.v1.OnBehalfMVMServiceCreateResponse.
|
|
19
|
+
* Use `create(OnBehalfMVMServiceCreateResponseSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const OnBehalfMVMServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_mvm_on_behalf, 1);
|
|
22
|
+
/**
|
|
23
|
+
* OnBehalfMVMService offers MVM operations on behalf of a customer tenant.
|
|
24
|
+
*
|
|
25
|
+
* @generated from service fits.api.mvm.v1.OnBehalfMVMService
|
|
26
|
+
*/
|
|
27
|
+
export const OnBehalfMVMService = /*@__PURE__*/ serviceDesc(file_fits_api_mvm_v1_mvm_on_behalf, 0);
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file fits/api/mvm/v1/mvm_on_behalf.proto (package fits.api.mvm.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { MVMServiceCreateRequest, MVMServiceCreateResponse } from "./mvm_pb.js";
|
|
8
|
+
import { file_fits_api_mvm_v1_mvm } from "./mvm_pb.js";
|
|
9
|
+
import { file_fits_api_v1_common } from "../../v1/common_pb.js";
|
|
10
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
12
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the file fits/api/mvm/v1/mvm_on_behalf.proto.
|
|
16
|
+
*/
|
|
17
|
+
export const file_fits_api_mvm_v1_mvm_on_behalf: GenFile = /*@__PURE__*/
|
|
18
|
+
fileDesc("CiNmaXRzL2FwaS9tdm0vdjEvbXZtX29uX2JlaGFsZi5wcm90bxIPZml0cy5hcGkubXZtLnYxIrgBCh9PbkJlaGFsZk1WTVNlcnZpY2VDcmVhdGVSZXF1ZXN0EjkKB3JlcXVlc3QYASABKAsyKC5maXRzLmFwaS5tdm0udjEuTVZNU2VydmljZUNyZWF0ZVJlcXVlc3QSEAoIYmlsbGFibGUYAiABKAgSNgoNYmlsbGFibGVfZnJvbRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAIgBAUIQCg5fYmlsbGFibGVfZnJvbSJfCiBPbkJlaGFsZk1WTVNlcnZpY2VDcmVhdGVSZXNwb25zZRI7CghyZXNwb25zZRgBIAEoCzIpLmZpdHMuYXBpLm12bS52MS5NVk1TZXJ2aWNlQ3JlYXRlUmVzcG9uc2UykwEKEk9uQmVoYWxmTVZNU2VydmljZRJ9CgZDcmVhdGUSMC5maXRzLmFwaS5tdm0udjEuT25CZWhhbGZNVk1TZXJ2aWNlQ3JlYXRlUmVxdWVzdBoxLmZpdHMuYXBpLm12bS52MS5PbkJlaGFsZk1WTVNlcnZpY2VDcmVhdGVSZXNwb25zZSIOyvMYAgEC0PMYAuDzGAFCtQEKE2NvbS5maXRzLmFwaS5tdm0udjFCEE12bU9uQmVoYWxmUHJvdG9QAVotZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvbXZtL3YxO212bXYxogIDRkFNqgIPRml0cy5BcGkuTXZtLlYxygIPRml0c1xBcGlcTXZtXFYx4gIbRml0c1xBcGlcTXZtXFYxXEdQQk1ldGFkYXRh6gISRml0czo6QXBpOjpNdm06OlYxYgZwcm90bzM", [file_fits_api_mvm_v1_mvm, file_fits_api_v1_common, file_google_protobuf_timestamp]);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Request to create an MVM on behalf of a customer tenant.
|
|
22
|
+
*
|
|
23
|
+
* @generated from message fits.api.mvm.v1.OnBehalfMVMServiceCreateRequest
|
|
24
|
+
*/
|
|
25
|
+
export type OnBehalfMVMServiceCreateRequest = Message<"fits.api.mvm.v1.OnBehalfMVMServiceCreateRequest"> & {
|
|
26
|
+
/**
|
|
27
|
+
* The public create request.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateRequest request = 1;
|
|
30
|
+
*/
|
|
31
|
+
request?: MVMServiceCreateRequest | undefined;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Determines if the MVM is billable.
|
|
35
|
+
*
|
|
36
|
+
* @generated from field: bool billable = 2;
|
|
37
|
+
*/
|
|
38
|
+
billable: boolean;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* The start date when the MVM will be billable.
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: optional google.protobuf.Timestamp billable_from = 3;
|
|
44
|
+
*/
|
|
45
|
+
billableFrom?: Timestamp | undefined;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message fits.api.mvm.v1.OnBehalfMVMServiceCreateRequest.
|
|
50
|
+
* Use `create(OnBehalfMVMServiceCreateRequestSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const OnBehalfMVMServiceCreateRequestSchema: GenMessage<OnBehalfMVMServiceCreateRequest> = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_fits_api_mvm_v1_mvm_on_behalf, 0);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Response for an on-behalf MVM create.
|
|
57
|
+
*
|
|
58
|
+
* @generated from message fits.api.mvm.v1.OnBehalfMVMServiceCreateResponse
|
|
59
|
+
*/
|
|
60
|
+
export type OnBehalfMVMServiceCreateResponse = Message<"fits.api.mvm.v1.OnBehalfMVMServiceCreateResponse"> & {
|
|
61
|
+
/**
|
|
62
|
+
* The public create response.
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateResponse response = 1;
|
|
65
|
+
*/
|
|
66
|
+
response?: MVMServiceCreateResponse | undefined;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message fits.api.mvm.v1.OnBehalfMVMServiceCreateResponse.
|
|
71
|
+
* Use `create(OnBehalfMVMServiceCreateResponseSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const OnBehalfMVMServiceCreateResponseSchema: GenMessage<OnBehalfMVMServiceCreateResponse> = /*@__PURE__*/
|
|
74
|
+
messageDesc(file_fits_api_mvm_v1_mvm_on_behalf, 1);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* OnBehalfMVMService offers MVM operations on behalf of a customer tenant.
|
|
78
|
+
*
|
|
79
|
+
* @generated from service fits.api.mvm.v1.OnBehalfMVMService
|
|
80
|
+
*/
|
|
81
|
+
export const OnBehalfMVMService: GenService<{
|
|
82
|
+
/**
|
|
83
|
+
* Create makes a new MVM and lets the operator set its billing fields.
|
|
84
|
+
*
|
|
85
|
+
* @generated from rpc fits.api.mvm.v1.OnBehalfMVMService.Create
|
|
86
|
+
*/
|
|
87
|
+
create: {
|
|
88
|
+
methodKind: "unary";
|
|
89
|
+
input: typeof OnBehalfMVMServiceCreateRequestSchema;
|
|
90
|
+
output: typeof OnBehalfMVMServiceCreateResponseSchema;
|
|
91
|
+
},
|
|
92
|
+
}> = /*@__PURE__*/
|
|
93
|
+
serviceDesc(file_fits_api_mvm_v1_mvm_on_behalf, 0);
|
|
94
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { MVMServiceCreateRequest, MVMServiceCreateResponse } from "./mvm_pb.js";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file fits/api/mvm/v1/mvm_provider.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_fits_api_mvm_v1_mvm_provider: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* Request to create an MVM in the provider context.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message fits.api.mvm.v1.ProviderMVMServiceCreateRequest
|
|
12
|
+
*/
|
|
13
|
+
export type ProviderMVMServiceCreateRequest = Message<"fits.api.mvm.v1.ProviderMVMServiceCreateRequest"> & {
|
|
14
|
+
/**
|
|
15
|
+
* The public create request.
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateRequest request = 1;
|
|
18
|
+
*/
|
|
19
|
+
request?: MVMServiceCreateRequest | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Determines if the MVM is billable.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: bool billable = 2;
|
|
24
|
+
*/
|
|
25
|
+
billable: boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message fits.api.mvm.v1.ProviderMVMServiceCreateRequest.
|
|
29
|
+
* Use `create(ProviderMVMServiceCreateRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export declare const ProviderMVMServiceCreateRequestSchema: GenMessage<ProviderMVMServiceCreateRequest>;
|
|
32
|
+
/**
|
|
33
|
+
* Response for a provider-context MVM create.
|
|
34
|
+
*
|
|
35
|
+
* @generated from message fits.api.mvm.v1.ProviderMVMServiceCreateResponse
|
|
36
|
+
*/
|
|
37
|
+
export type ProviderMVMServiceCreateResponse = Message<"fits.api.mvm.v1.ProviderMVMServiceCreateResponse"> & {
|
|
38
|
+
/**
|
|
39
|
+
* The public create response.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateResponse response = 1;
|
|
42
|
+
*/
|
|
43
|
+
response?: MVMServiceCreateResponse | undefined;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message fits.api.mvm.v1.ProviderMVMServiceCreateResponse.
|
|
47
|
+
* Use `create(ProviderMVMServiceCreateResponseSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export declare const ProviderMVMServiceCreateResponseSchema: GenMessage<ProviderMVMServiceCreateResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* ProviderMVMService offers MVM operations in the provider context.
|
|
52
|
+
*
|
|
53
|
+
* @generated from service fits.api.mvm.v1.ProviderMVMService
|
|
54
|
+
*/
|
|
55
|
+
export declare const ProviderMVMService: GenService<{
|
|
56
|
+
/**
|
|
57
|
+
* Create makes a new MVM and lets the operator set its billing fields.
|
|
58
|
+
*
|
|
59
|
+
* @generated from rpc fits.api.mvm.v1.ProviderMVMService.Create
|
|
60
|
+
*/
|
|
61
|
+
create: {
|
|
62
|
+
methodKind: "unary";
|
|
63
|
+
input: typeof ProviderMVMServiceCreateRequestSchema;
|
|
64
|
+
output: typeof ProviderMVMServiceCreateResponseSchema;
|
|
65
|
+
};
|
|
66
|
+
}>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file fits/api/mvm/v1/mvm_provider.proto (package fits.api.mvm.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_fits_api_mvm_v1_mvm } from "./mvm_pb.js";
|
|
6
|
+
import { file_fits_api_v1_common } from "../../v1/common_pb.js";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file fits/api/mvm/v1/mvm_provider.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_fits_api_mvm_v1_mvm_provider = /*@__PURE__*/ fileDesc("CiJmaXRzL2FwaS9tdm0vdjEvbXZtX3Byb3ZpZGVyLnByb3RvEg9maXRzLmFwaS5tdm0udjEibgofUHJvdmlkZXJNVk1TZXJ2aWNlQ3JlYXRlUmVxdWVzdBI5CgdyZXF1ZXN0GAEgASgLMiguZml0cy5hcGkubXZtLnYxLk1WTVNlcnZpY2VDcmVhdGVSZXF1ZXN0EhAKCGJpbGxhYmxlGAIgASgIIl8KIFByb3ZpZGVyTVZNU2VydmljZUNyZWF0ZVJlc3BvbnNlEjsKCHJlc3BvbnNlGAEgASgLMikuZml0cy5hcGkubXZtLnYxLk1WTVNlcnZpY2VDcmVhdGVSZXNwb25zZTKTAQoSUHJvdmlkZXJNVk1TZXJ2aWNlEn0KBkNyZWF0ZRIwLmZpdHMuYXBpLm12bS52MS5Qcm92aWRlck1WTVNlcnZpY2VDcmVhdGVSZXF1ZXN0GjEuZml0cy5hcGkubXZtLnYxLlByb3ZpZGVyTVZNU2VydmljZUNyZWF0ZVJlc3BvbnNlIg7K8xgCAQLQ8xgB4PMYAUK1AQoTY29tLmZpdHMuYXBpLm12bS52MUIQTXZtUHJvdmlkZXJQcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_fits_api_mvm_v1_mvm, file_fits_api_v1_common]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message fits.api.mvm.v1.ProviderMVMServiceCreateRequest.
|
|
13
|
+
* Use `create(ProviderMVMServiceCreateRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const ProviderMVMServiceCreateRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_mvm_provider, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message fits.api.mvm.v1.ProviderMVMServiceCreateResponse.
|
|
18
|
+
* Use `create(ProviderMVMServiceCreateResponseSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const ProviderMVMServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_mvm_provider, 1);
|
|
21
|
+
/**
|
|
22
|
+
* ProviderMVMService offers MVM operations in the provider context.
|
|
23
|
+
*
|
|
24
|
+
* @generated from service fits.api.mvm.v1.ProviderMVMService
|
|
25
|
+
*/
|
|
26
|
+
export const ProviderMVMService = /*@__PURE__*/ serviceDesc(file_fits_api_mvm_v1_mvm_provider, 0);
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file fits/api/mvm/v1/mvm_provider.proto (package fits.api.mvm.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { MVMServiceCreateRequest, MVMServiceCreateResponse } from "./mvm_pb.js";
|
|
8
|
+
import { file_fits_api_mvm_v1_mvm } from "./mvm_pb.js";
|
|
9
|
+
import { file_fits_api_v1_common } from "../../v1/common_pb.js";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file fits/api/mvm/v1/mvm_provider.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_fits_api_mvm_v1_mvm_provider: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("CiJmaXRzL2FwaS9tdm0vdjEvbXZtX3Byb3ZpZGVyLnByb3RvEg9maXRzLmFwaS5tdm0udjEibgofUHJvdmlkZXJNVk1TZXJ2aWNlQ3JlYXRlUmVxdWVzdBI5CgdyZXF1ZXN0GAEgASgLMiguZml0cy5hcGkubXZtLnYxLk1WTVNlcnZpY2VDcmVhdGVSZXF1ZXN0EhAKCGJpbGxhYmxlGAIgASgIIl8KIFByb3ZpZGVyTVZNU2VydmljZUNyZWF0ZVJlc3BvbnNlEjsKCHJlc3BvbnNlGAEgASgLMikuZml0cy5hcGkubXZtLnYxLk1WTVNlcnZpY2VDcmVhdGVSZXNwb25zZTKTAQoSUHJvdmlkZXJNVk1TZXJ2aWNlEn0KBkNyZWF0ZRIwLmZpdHMuYXBpLm12bS52MS5Qcm92aWRlck1WTVNlcnZpY2VDcmVhdGVSZXF1ZXN0GjEuZml0cy5hcGkubXZtLnYxLlByb3ZpZGVyTVZNU2VydmljZUNyZWF0ZVJlc3BvbnNlIg7K8xgCAQLQ8xgB4PMYAUK1AQoTY29tLmZpdHMuYXBpLm12bS52MUIQTXZtUHJvdmlkZXJQcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_fits_api_mvm_v1_mvm, file_fits_api_v1_common]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Request to create an MVM in the provider context.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message fits.api.mvm.v1.ProviderMVMServiceCreateRequest
|
|
22
|
+
*/
|
|
23
|
+
export type ProviderMVMServiceCreateRequest = Message<"fits.api.mvm.v1.ProviderMVMServiceCreateRequest"> & {
|
|
24
|
+
/**
|
|
25
|
+
* The public create request.
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateRequest request = 1;
|
|
28
|
+
*/
|
|
29
|
+
request?: MVMServiceCreateRequest | undefined;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Determines if the MVM is billable.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: bool billable = 2;
|
|
35
|
+
*/
|
|
36
|
+
billable: boolean;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message fits.api.mvm.v1.ProviderMVMServiceCreateRequest.
|
|
41
|
+
* Use `create(ProviderMVMServiceCreateRequestSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const ProviderMVMServiceCreateRequestSchema: GenMessage<ProviderMVMServiceCreateRequest> = /*@__PURE__*/
|
|
44
|
+
messageDesc(file_fits_api_mvm_v1_mvm_provider, 0);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Response for a provider-context MVM create.
|
|
48
|
+
*
|
|
49
|
+
* @generated from message fits.api.mvm.v1.ProviderMVMServiceCreateResponse
|
|
50
|
+
*/
|
|
51
|
+
export type ProviderMVMServiceCreateResponse = Message<"fits.api.mvm.v1.ProviderMVMServiceCreateResponse"> & {
|
|
52
|
+
/**
|
|
53
|
+
* The public create response.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: fits.api.mvm.v1.MVMServiceCreateResponse response = 1;
|
|
56
|
+
*/
|
|
57
|
+
response?: MVMServiceCreateResponse | undefined;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message fits.api.mvm.v1.ProviderMVMServiceCreateResponse.
|
|
62
|
+
* Use `create(ProviderMVMServiceCreateResponseSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export const ProviderMVMServiceCreateResponseSchema: GenMessage<ProviderMVMServiceCreateResponse> = /*@__PURE__*/
|
|
65
|
+
messageDesc(file_fits_api_mvm_v1_mvm_provider, 1);
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* ProviderMVMService offers MVM operations in the provider context.
|
|
69
|
+
*
|
|
70
|
+
* @generated from service fits.api.mvm.v1.ProviderMVMService
|
|
71
|
+
*/
|
|
72
|
+
export const ProviderMVMService: GenService<{
|
|
73
|
+
/**
|
|
74
|
+
* Create makes a new MVM and lets the operator set its billing fields.
|
|
75
|
+
*
|
|
76
|
+
* @generated from rpc fits.api.mvm.v1.ProviderMVMService.Create
|
|
77
|
+
*/
|
|
78
|
+
create: {
|
|
79
|
+
methodKind: "unary";
|
|
80
|
+
input: typeof ProviderMVMServiceCreateRequestSchema;
|
|
81
|
+
output: typeof ProviderMVMServiceCreateResponseSchema;
|
|
82
|
+
},
|
|
83
|
+
}> = /*@__PURE__*/
|
|
84
|
+
serviceDesc(file_fits_api_mvm_v1_mvm_provider, 0);
|
|
85
|
+
|
|
@@ -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("ChhmaXRzL2FwaS92MS9jb21tb24ucHJvdG8SC2ZpdHMuYXBpLnYxIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQiiAEKBkxhYmVscxJPCgZsYWJlbHMYASADKAsyHy5maXRzLmFwaS52MS5MYWJlbHMuTGFiZWxzRW50cnlCHrpIG5oBGLiVuLECASIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIq8BCgRNZXRhEigKBmxhYmVscxgBIAEoCzITLmZpdHMuYXBpLnYxLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhIKCmdlbmVyYXRpb24YBCABKARCCQoHX2xhYmVscyJDCgxVcGRhdGVMYWJlbHMSIwoGdXBkYXRlGAEgASgLMhMuZml0cy5hcGkudjEuTGFiZWxzEg4KBnJlbW92ZRgCIAMoCSKIAQoKVXBkYXRlTWV0YRIuCgp1cGRhdGVkX2F0GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBJKChBsb2NraW5nX3N0cmF0ZWd5GAIgASgOMiYuZml0cy5hcGkudjEuT3B0aW1pc3RpY0xvY2tpbmdTdHJhdGVneUIIukgFggECEAEqhwEKClRlbmFudFJvbGUSGwoXVEVOQU5UX1JPTEVfVU5TUEVDSUZJRUQQABIVChFURU5BTlRfUk9MRV9BRE1JThABEhYKElRFTkFOVF9ST0xFX0VESVRPUhACEhYKElRFTkFOVF9ST0xFX1ZJRVdFUhADEhUKEVRFTkFOVF9ST0xFX0dVRVNUEAQqdQoLUHJvamVjdFJvbGUSHAoYUFJPSkVDVF9ST0xFX1VOU1BFQ0lGSUVEEAASFgoSUFJPSkVDVF9ST0xFX0FETUlOEAESFwoTUFJPSkVDVF9ST0xFX0VESVRPUhACEhcKE1BST0pFQ1RfUk9MRV9WSUVXRVIQAypUCgpWaXNpYmlsaXR5EhoKFlZJU0lCSUxJVFlfVU5TUEVDSUZJRUQQABIVChFWSVNJQklMSVRZX1BVQkxJQxABEhMKD1ZJU0lCSUxJVFlfU0VMRhACKlIKCEF1ZGl0aW5nEhgKFEFVRElUSU5HX1VOU1BFQ0lGSUVEEAASFQoRQVVESVRJTkdfSU5DTFVERUQQARIVChFBVURJVElOR19FWENMVURFRBACKmIKC1JvbGVDb250ZXh0EhwKGFJPTEVfQ09OVEVYVF9VTlNQRUNJRklFRBAAEhkKFVJPTEVfQ09OVEVYVF9QUk9WSURFUhABEhoKFlJPTEVfQ09OVEVYVF9PTl9CRUhBTEYQAiqYAQoZT3B0aW1pc3RpY0xvY2tpbmdTdHJhdGVneRIrCidPUFRJTUlTVElDX0xPQ0tJTkdfU1RSQVRFR1lfVU5TUEVDSUZJRUQQABImCiJPUFRJTUlTVElDX0xPQ0tJTkdfU1RSQVRFR1lfQ0xJRU5UEAESJgoiT1BUSU1JU1RJQ19MT0NLSU5HX1NUUkFURUdZX1NFUlZFUhACOlwKDHRlbmFudF9yb2xlcxIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zGLiOAyADKA4yFy5maXRzLmFwaS52MS5UZW5hbnRSb2xlUgt0ZW5hbnRSb2xlczpfCg1wcm9qZWN0X3JvbGVzEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYuY4DIAMoDjIYLmZpdHMuYXBpLnYxLlByb2plY3RSb2xlUgxwcm9qZWN0Um9sZXM6XQoMcm9sZV9jb250ZXh0Eh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYuo4DIAEoDjIYLmZpdHMuYXBpLnYxLlJvbGVDb250ZXh0Ugtyb2xlQ29udGV4dDpZCgp2aXNpYmlsaXR5Eh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYu44DIAEoDjIXLmZpdHMuYXBpLnYxLlZpc2liaWxpdHlSCnZpc2liaWxpdHk6UwoIYXVkaXRpbmcSHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxi8jgMgASgOMhUuZml0cy5hcGkudjEuQXVkaXRpbmdSCGF1ZGl0aW5nOk8KEWVudW1fc3RyaW5nX3ZhbHVlEiEuZ29vZ2xlLnByb3RvYnVmLkVudW1WYWx1ZU9wdGlvbnMYoJYDIAEoCVIPZW51bVN0cmluZ1ZhbHVlQpcBCg9jb20uZml0cy5hcGkudjFCC0NvbW1vblByb3RvUAFaKWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL3YxO2FwaXYxogIDRkFYqgILRml0cy5BcGkuVjHKAgtGaXRzXEFwaVxWMeICF0ZpdHNcQXBpXFYxXEdQQk1ldGFkYXRh6gINRml0czo6QXBpOjpWMWIGcHJvdG8z", [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
|
*
|