@opentdf/sdk 0.4.0-beta.36 → 0.4.0-beta.39
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/dist/cjs/src/platform/authorization/v2/authorization_pb.js +112 -0
- package/dist/cjs/src/platform/buf/validate/validate_pb.js +114 -170
- package/dist/cjs/src/platform/common/common_pb.js +16 -5
- package/dist/cjs/src/platform/entity/entity_pb.js +51 -0
- package/dist/cjs/src/platform/entityresolution/v2/entity_resolution_pb.js +49 -0
- package/dist/cjs/src/platform/google/api/annotations_pb.js +1 -1
- package/dist/cjs/src/platform/google/api/http_pb.js +3 -3
- package/dist/cjs/src/platform/kas/kas_pb.js +2 -2
- package/dist/cjs/src/platform/policy/attributes/attributes_pb.js +12 -2
- package/dist/cjs/src/platform/policy/kasregistry/key_access_server_registry_pb.js +26 -4
- package/dist/cjs/src/platform/policy/keymanagement/key_management_pb.js +2 -2
- package/dist/cjs/src/platform/policy/namespaces/namespaces_pb.js +31 -3
- package/dist/cjs/src/platform/policy/objects_pb.js +59 -28
- package/dist/cjs/src/platform/policy/obligations/obligations_pb.js +159 -0
- package/dist/cjs/src/platform/policy/selectors_pb.js +1 -1
- package/dist/cjs/src/platform/policy/unsafe/unsafe_pb.js +2 -2
- package/dist/cjs/src/policy/api.js +1 -7
- package/dist/types/src/platform/authorization/v2/authorization_pb.d.ts +439 -0
- package/dist/types/src/platform/authorization/v2/authorization_pb.d.ts.map +1 -0
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts +495 -370
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts.map +1 -1
- package/dist/types/src/platform/common/common_pb.d.ts +36 -0
- package/dist/types/src/platform/common/common_pb.d.ts.map +1 -1
- package/dist/types/src/platform/entity/entity_pb.d.ts +130 -0
- package/dist/types/src/platform/entity/entity_pb.d.ts.map +1 -0
- package/dist/types/src/platform/entityresolution/v2/entity_resolution_pb.d.ts +136 -0
- package/dist/types/src/platform/entityresolution/v2/entity_resolution_pb.d.ts.map +1 -0
- package/dist/types/src/platform/google/api/http_pb.d.ts.map +1 -1
- package/dist/types/src/platform/kas/kas_pb.d.ts +5 -0
- package/dist/types/src/platform/kas/kas_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts +44 -13
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +148 -0
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts +20 -1
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts +143 -5
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/objects_pb.d.ts +187 -6
- package/dist/types/src/platform/policy/objects_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/obligations/obligations_pb.d.ts +670 -0
- package/dist/types/src/platform/policy/obligations/obligations_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts +18 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts.map +1 -1
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts +18 -3
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts.map +1 -1
- package/dist/types/src/policy/api.d.ts.map +1 -1
- package/dist/web/src/platform/authorization/v2/authorization_pb.js +109 -0
- package/dist/web/src/platform/buf/validate/validate_pb.js +113 -169
- package/dist/web/src/platform/common/common_pb.js +15 -4
- package/dist/web/src/platform/entity/entity_pb.js +48 -0
- package/dist/web/src/platform/entityresolution/v2/entity_resolution_pb.js +46 -0
- package/dist/web/src/platform/google/api/annotations_pb.js +1 -1
- package/dist/web/src/platform/google/api/http_pb.js +3 -3
- package/dist/web/src/platform/kas/kas_pb.js +2 -2
- package/dist/web/src/platform/policy/attributes/attributes_pb.js +12 -2
- package/dist/web/src/platform/policy/kasregistry/key_access_server_registry_pb.js +25 -3
- package/dist/web/src/platform/policy/keymanagement/key_management_pb.js +2 -2
- package/dist/web/src/platform/policy/namespaces/namespaces_pb.js +30 -2
- package/dist/web/src/platform/policy/objects_pb.js +57 -27
- package/dist/web/src/platform/policy/obligations/obligations_pb.js +156 -0
- package/dist/web/src/platform/policy/selectors_pb.js +1 -1
- package/dist/web/src/platform/policy/unsafe/unsafe_pb.js +2 -2
- package/dist/web/src/policy/api.js +1 -7
- package/package.json +3 -3
- package/src/platform/authorization/v2/authorization_pb.ts +503 -0
- package/src/platform/buf/validate/validate_pb.ts +529 -401
- package/src/platform/common/common_pb.ts +48 -3
- package/src/platform/entity/entity_pb.ts +154 -0
- package/src/platform/entityresolution/v2/entity_resolution_pb.ts +170 -0
- package/src/platform/google/api/annotations_pb.ts +1 -1
- package/src/platform/google/api/http_pb.ts +2 -2
- package/src/platform/kas/kas_pb.ts +6 -1
- package/src/platform/policy/attributes/attributes_pb.ts +46 -16
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.ts +168 -2
- package/src/platform/policy/keymanagement/key_management_pb.ts +24 -2
- package/src/platform/policy/namespaces/namespaces_pb.ts +163 -6
- package/src/platform/policy/objects_pb.ts +252 -32
- package/src/platform/policy/obligations/obligations_pb.ts +788 -0
- package/src/platform/policy/selectors_pb.ts +18 -0
- package/src/platform/policy/unsafe/unsafe_pb.ts +21 -4
- package/src/policy/api.ts +0 -6
|
@@ -0,0 +1,788 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file policy/obligations/obligations.proto (package policy.obligations, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import type { IdFqnIdentifier, IdNameIdentifier, MetadataMutable, MetadataUpdateEnum } from "../../common/common_pb.js";
|
|
8
|
+
import { file_common_common } from "../../common/common_pb.js";
|
|
9
|
+
import type { Obligation, ObligationTrigger, ObligationValue, RequestContext } from "../objects_pb.js";
|
|
10
|
+
import { file_policy_objects } from "../objects_pb.js";
|
|
11
|
+
import type { PageRequest, PageResponse } from "../selectors_pb.js";
|
|
12
|
+
import { file_policy_selectors } from "../selectors_pb.js";
|
|
13
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.js";
|
|
14
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the file policy/obligations/obligations.proto.
|
|
18
|
+
*/
|
|
19
|
+
export const file_policy_obligations_obligations: GenFile = /*@__PURE__*/
|
|
20
|
+
fileDesc("CiRwb2xpY3kvb2JsaWdhdGlvbnMvb2JsaWdhdGlvbnMucHJvdG8SEnBvbGljeS5vYmxpZ2F0aW9ucyJXChRHZXRPYmxpZ2F0aW9uUmVxdWVzdBIUCgJpZBgBIAEoCUIIukgFcgOwAQESFwoDZnFuGAIgASgJQgq6SAdyBRABiAEBOhC6SA0iCwoCaWQKA2ZxbhABIqoBChNWYWx1ZVRyaWdnZXJSZXF1ZXN0EjAKBmFjdGlvbhgBIAEoCzIYLmNvbW1vbi5JZE5hbWVJZGVudGlmaWVyQga6SAPIAQESOAoPYXR0cmlidXRlX3ZhbHVlGAIgASgLMhcuY29tbW9uLklkRnFuSWRlbnRpZmllckIGukgDyAEBEicKB2NvbnRleHQYAyABKAsyFi5wb2xpY3kuUmVxdWVzdENvbnRleHQiPwoVR2V0T2JsaWdhdGlvblJlc3BvbnNlEiYKCm9ibGlnYXRpb24YASABKAsyEi5wb2xpY3kuT2JsaWdhdGlvbiJDChtHZXRPYmxpZ2F0aW9uc0J5RlFOc1JlcXVlc3QSJAoEZnFucxgBIAMoCUIWukgTkgEQCAEQ+g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QWRkT2JsaWdhdGlvblRyaWdnZXJSZXF1ZXN0GjAucG9saWN5Lm9ibGlnYXRpb25zLkFkZE9ibGlnYXRpb25UcmlnZ2VyUmVzcG9uc2UiABKEAQoXUmVtb3ZlT2JsaWdhdGlvblRyaWdnZXISMi5wb2xpY3kub2JsaWdhdGlvbnMuUmVtb3ZlT2JsaWdhdGlvblRyaWdnZXJSZXF1ZXN0GjMucG9saWN5Lm9ibGlnYXRpb25zLlJlbW92ZU9ibGlnYXRpb25UcmlnZ2VyUmVzcG9uc2UiAGIGcHJvdG8z", [file_common_common, file_policy_objects, file_policy_selectors, file_buf_validate_validate]);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Definitions
|
|
24
|
+
*
|
|
25
|
+
* @generated from message policy.obligations.GetObligationRequest
|
|
26
|
+
*/
|
|
27
|
+
export type GetObligationRequest = Message<"policy.obligations.GetObligationRequest"> & {
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string id = 1;
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string fqn = 2;
|
|
35
|
+
*/
|
|
36
|
+
fqn: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message policy.obligations.GetObligationRequest.
|
|
41
|
+
* Use `create(GetObligationRequestSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const GetObligationRequestSchema: GenMessage<GetObligationRequest> = /*@__PURE__*/
|
|
44
|
+
messageDesc(file_policy_obligations_obligations, 0);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @generated from message policy.obligations.ValueTriggerRequest
|
|
48
|
+
*/
|
|
49
|
+
export type ValueTriggerRequest = Message<"policy.obligations.ValueTriggerRequest"> & {
|
|
50
|
+
/**
|
|
51
|
+
* Required. The ID of the action that will trigger this obligation value policy decisioning.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: common.IdNameIdentifier action = 1;
|
|
54
|
+
*/
|
|
55
|
+
action?: IdNameIdentifier;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Required. The attribute value ID that will trigger this obligation value policy decisioning.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: common.IdFqnIdentifier attribute_value = 2;
|
|
61
|
+
*/
|
|
62
|
+
attributeValue?: IdFqnIdentifier;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Optional. The request context for this obligation value policy decisioning.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: policy.RequestContext context = 3;
|
|
68
|
+
*/
|
|
69
|
+
context?: RequestContext;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message policy.obligations.ValueTriggerRequest.
|
|
74
|
+
* Use `create(ValueTriggerRequestSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const ValueTriggerRequestSchema: GenMessage<ValueTriggerRequest> = /*@__PURE__*/
|
|
77
|
+
messageDesc(file_policy_obligations_obligations, 1);
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from message policy.obligations.GetObligationResponse
|
|
81
|
+
*/
|
|
82
|
+
export type GetObligationResponse = Message<"policy.obligations.GetObligationResponse"> & {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: policy.Obligation obligation = 1;
|
|
85
|
+
*/
|
|
86
|
+
obligation?: Obligation;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message policy.obligations.GetObligationResponse.
|
|
91
|
+
* Use `create(GetObligationResponseSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export const GetObligationResponseSchema: GenMessage<GetObligationResponse> = /*@__PURE__*/
|
|
94
|
+
messageDesc(file_policy_obligations_obligations, 2);
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from message policy.obligations.GetObligationsByFQNsRequest
|
|
98
|
+
*/
|
|
99
|
+
export type GetObligationsByFQNsRequest = Message<"policy.obligations.GetObligationsByFQNsRequest"> & {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: repeated string fqns = 1;
|
|
102
|
+
*/
|
|
103
|
+
fqns: string[];
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message policy.obligations.GetObligationsByFQNsRequest.
|
|
108
|
+
* Use `create(GetObligationsByFQNsRequestSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export const GetObligationsByFQNsRequestSchema: GenMessage<GetObligationsByFQNsRequest> = /*@__PURE__*/
|
|
111
|
+
messageDesc(file_policy_obligations_obligations, 3);
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from message policy.obligations.GetObligationsByFQNsResponse
|
|
115
|
+
*/
|
|
116
|
+
export type GetObligationsByFQNsResponse = Message<"policy.obligations.GetObligationsByFQNsResponse"> & {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: map<string, policy.Obligation> fqn_obligation_map = 1;
|
|
119
|
+
*/
|
|
120
|
+
fqnObligationMap: { [key: string]: Obligation };
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Describes the message policy.obligations.GetObligationsByFQNsResponse.
|
|
125
|
+
* Use `create(GetObligationsByFQNsResponseSchema)` to create a new message.
|
|
126
|
+
*/
|
|
127
|
+
export const GetObligationsByFQNsResponseSchema: GenMessage<GetObligationsByFQNsResponse> = /*@__PURE__*/
|
|
128
|
+
messageDesc(file_policy_obligations_obligations, 4);
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @generated from message policy.obligations.CreateObligationRequest
|
|
132
|
+
*/
|
|
133
|
+
export type CreateObligationRequest = Message<"policy.obligations.CreateObligationRequest"> & {
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: string namespace_id = 1;
|
|
136
|
+
*/
|
|
137
|
+
namespaceId: string;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: string namespace_fqn = 2;
|
|
141
|
+
*/
|
|
142
|
+
namespaceFqn: string;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: string name = 3;
|
|
146
|
+
*/
|
|
147
|
+
name: string;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Optional
|
|
151
|
+
*
|
|
152
|
+
* @generated from field: repeated string values = 4;
|
|
153
|
+
*/
|
|
154
|
+
values: string[];
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Optional
|
|
158
|
+
* Common metadata
|
|
159
|
+
*
|
|
160
|
+
* @generated from field: common.MetadataMutable metadata = 100;
|
|
161
|
+
*/
|
|
162
|
+
metadata?: MetadataMutable;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Describes the message policy.obligations.CreateObligationRequest.
|
|
167
|
+
* Use `create(CreateObligationRequestSchema)` to create a new message.
|
|
168
|
+
*/
|
|
169
|
+
export const CreateObligationRequestSchema: GenMessage<CreateObligationRequest> = /*@__PURE__*/
|
|
170
|
+
messageDesc(file_policy_obligations_obligations, 5);
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @generated from message policy.obligations.CreateObligationResponse
|
|
174
|
+
*/
|
|
175
|
+
export type CreateObligationResponse = Message<"policy.obligations.CreateObligationResponse"> & {
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: policy.Obligation obligation = 1;
|
|
178
|
+
*/
|
|
179
|
+
obligation?: Obligation;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Describes the message policy.obligations.CreateObligationResponse.
|
|
184
|
+
* Use `create(CreateObligationResponseSchema)` to create a new message.
|
|
185
|
+
*/
|
|
186
|
+
export const CreateObligationResponseSchema: GenMessage<CreateObligationResponse> = /*@__PURE__*/
|
|
187
|
+
messageDesc(file_policy_obligations_obligations, 6);
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @generated from message policy.obligations.UpdateObligationRequest
|
|
191
|
+
*/
|
|
192
|
+
export type UpdateObligationRequest = Message<"policy.obligations.UpdateObligationRequest"> & {
|
|
193
|
+
/**
|
|
194
|
+
* Required
|
|
195
|
+
*
|
|
196
|
+
* @generated from field: string id = 1;
|
|
197
|
+
*/
|
|
198
|
+
id: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Optional
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: string name = 2;
|
|
204
|
+
*/
|
|
205
|
+
name: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: common.MetadataMutable metadata = 100;
|
|
209
|
+
*/
|
|
210
|
+
metadata?: MetadataMutable;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: common.MetadataUpdateEnum metadata_update_behavior = 101;
|
|
214
|
+
*/
|
|
215
|
+
metadataUpdateBehavior: MetadataUpdateEnum;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Describes the message policy.obligations.UpdateObligationRequest.
|
|
220
|
+
* Use `create(UpdateObligationRequestSchema)` to create a new message.
|
|
221
|
+
*/
|
|
222
|
+
export const UpdateObligationRequestSchema: GenMessage<UpdateObligationRequest> = /*@__PURE__*/
|
|
223
|
+
messageDesc(file_policy_obligations_obligations, 7);
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @generated from message policy.obligations.UpdateObligationResponse
|
|
227
|
+
*/
|
|
228
|
+
export type UpdateObligationResponse = Message<"policy.obligations.UpdateObligationResponse"> & {
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: policy.Obligation obligation = 1;
|
|
231
|
+
*/
|
|
232
|
+
obligation?: Obligation;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Describes the message policy.obligations.UpdateObligationResponse.
|
|
237
|
+
* Use `create(UpdateObligationResponseSchema)` to create a new message.
|
|
238
|
+
*/
|
|
239
|
+
export const UpdateObligationResponseSchema: GenMessage<UpdateObligationResponse> = /*@__PURE__*/
|
|
240
|
+
messageDesc(file_policy_obligations_obligations, 8);
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from message policy.obligations.DeleteObligationRequest
|
|
244
|
+
*/
|
|
245
|
+
export type DeleteObligationRequest = Message<"policy.obligations.DeleteObligationRequest"> & {
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: string id = 1;
|
|
248
|
+
*/
|
|
249
|
+
id: string;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: string fqn = 2;
|
|
253
|
+
*/
|
|
254
|
+
fqn: string;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Describes the message policy.obligations.DeleteObligationRequest.
|
|
259
|
+
* Use `create(DeleteObligationRequestSchema)` to create a new message.
|
|
260
|
+
*/
|
|
261
|
+
export const DeleteObligationRequestSchema: GenMessage<DeleteObligationRequest> = /*@__PURE__*/
|
|
262
|
+
messageDesc(file_policy_obligations_obligations, 9);
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @generated from message policy.obligations.DeleteObligationResponse
|
|
266
|
+
*/
|
|
267
|
+
export type DeleteObligationResponse = Message<"policy.obligations.DeleteObligationResponse"> & {
|
|
268
|
+
/**
|
|
269
|
+
* @generated from field: policy.Obligation obligation = 1;
|
|
270
|
+
*/
|
|
271
|
+
obligation?: Obligation;
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Describes the message policy.obligations.DeleteObligationResponse.
|
|
276
|
+
* Use `create(DeleteObligationResponseSchema)` to create a new message.
|
|
277
|
+
*/
|
|
278
|
+
export const DeleteObligationResponseSchema: GenMessage<DeleteObligationResponse> = /*@__PURE__*/
|
|
279
|
+
messageDesc(file_policy_obligations_obligations, 10);
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* @generated from message policy.obligations.ListObligationsRequest
|
|
283
|
+
*/
|
|
284
|
+
export type ListObligationsRequest = Message<"policy.obligations.ListObligationsRequest"> & {
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: string namespace_id = 1;
|
|
287
|
+
*/
|
|
288
|
+
namespaceId: string;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: string namespace_fqn = 2;
|
|
292
|
+
*/
|
|
293
|
+
namespaceFqn: string;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Optional
|
|
297
|
+
*
|
|
298
|
+
* @generated from field: policy.PageRequest pagination = 10;
|
|
299
|
+
*/
|
|
300
|
+
pagination?: PageRequest;
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Describes the message policy.obligations.ListObligationsRequest.
|
|
305
|
+
* Use `create(ListObligationsRequestSchema)` to create a new message.
|
|
306
|
+
*/
|
|
307
|
+
export const ListObligationsRequestSchema: GenMessage<ListObligationsRequest> = /*@__PURE__*/
|
|
308
|
+
messageDesc(file_policy_obligations_obligations, 11);
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* @generated from message policy.obligations.ListObligationsResponse
|
|
312
|
+
*/
|
|
313
|
+
export type ListObligationsResponse = Message<"policy.obligations.ListObligationsResponse"> & {
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: repeated policy.Obligation obligations = 1;
|
|
316
|
+
*/
|
|
317
|
+
obligations: Obligation[];
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: policy.PageResponse pagination = 10;
|
|
321
|
+
*/
|
|
322
|
+
pagination?: PageResponse;
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Describes the message policy.obligations.ListObligationsResponse.
|
|
327
|
+
* Use `create(ListObligationsResponseSchema)` to create a new message.
|
|
328
|
+
*/
|
|
329
|
+
export const ListObligationsResponseSchema: GenMessage<ListObligationsResponse> = /*@__PURE__*/
|
|
330
|
+
messageDesc(file_policy_obligations_obligations, 12);
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Values
|
|
334
|
+
*
|
|
335
|
+
* @generated from message policy.obligations.GetObligationValueRequest
|
|
336
|
+
*/
|
|
337
|
+
export type GetObligationValueRequest = Message<"policy.obligations.GetObligationValueRequest"> & {
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: string id = 1;
|
|
340
|
+
*/
|
|
341
|
+
id: string;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* @generated from field: string fqn = 2;
|
|
345
|
+
*/
|
|
346
|
+
fqn: string;
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Describes the message policy.obligations.GetObligationValueRequest.
|
|
351
|
+
* Use `create(GetObligationValueRequestSchema)` to create a new message.
|
|
352
|
+
*/
|
|
353
|
+
export const GetObligationValueRequestSchema: GenMessage<GetObligationValueRequest> = /*@__PURE__*/
|
|
354
|
+
messageDesc(file_policy_obligations_obligations, 13);
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @generated from message policy.obligations.GetObligationValueResponse
|
|
358
|
+
*/
|
|
359
|
+
export type GetObligationValueResponse = Message<"policy.obligations.GetObligationValueResponse"> & {
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: policy.ObligationValue value = 1;
|
|
362
|
+
*/
|
|
363
|
+
value?: ObligationValue;
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Describes the message policy.obligations.GetObligationValueResponse.
|
|
368
|
+
* Use `create(GetObligationValueResponseSchema)` to create a new message.
|
|
369
|
+
*/
|
|
370
|
+
export const GetObligationValueResponseSchema: GenMessage<GetObligationValueResponse> = /*@__PURE__*/
|
|
371
|
+
messageDesc(file_policy_obligations_obligations, 14);
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* @generated from message policy.obligations.GetObligationValuesByFQNsRequest
|
|
375
|
+
*/
|
|
376
|
+
export type GetObligationValuesByFQNsRequest = Message<"policy.obligations.GetObligationValuesByFQNsRequest"> & {
|
|
377
|
+
/**
|
|
378
|
+
* @generated from field: repeated string fqns = 1;
|
|
379
|
+
*/
|
|
380
|
+
fqns: string[];
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Describes the message policy.obligations.GetObligationValuesByFQNsRequest.
|
|
385
|
+
* Use `create(GetObligationValuesByFQNsRequestSchema)` to create a new message.
|
|
386
|
+
*/
|
|
387
|
+
export const GetObligationValuesByFQNsRequestSchema: GenMessage<GetObligationValuesByFQNsRequest> = /*@__PURE__*/
|
|
388
|
+
messageDesc(file_policy_obligations_obligations, 15);
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @generated from message policy.obligations.GetObligationValuesByFQNsResponse
|
|
392
|
+
*/
|
|
393
|
+
export type GetObligationValuesByFQNsResponse = Message<"policy.obligations.GetObligationValuesByFQNsResponse"> & {
|
|
394
|
+
/**
|
|
395
|
+
* @generated from field: map<string, policy.ObligationValue> fqn_value_map = 1;
|
|
396
|
+
*/
|
|
397
|
+
fqnValueMap: { [key: string]: ObligationValue };
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Describes the message policy.obligations.GetObligationValuesByFQNsResponse.
|
|
402
|
+
* Use `create(GetObligationValuesByFQNsResponseSchema)` to create a new message.
|
|
403
|
+
*/
|
|
404
|
+
export const GetObligationValuesByFQNsResponseSchema: GenMessage<GetObligationValuesByFQNsResponse> = /*@__PURE__*/
|
|
405
|
+
messageDesc(file_policy_obligations_obligations, 16);
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* @generated from message policy.obligations.CreateObligationValueRequest
|
|
409
|
+
*/
|
|
410
|
+
export type CreateObligationValueRequest = Message<"policy.obligations.CreateObligationValueRequest"> & {
|
|
411
|
+
/**
|
|
412
|
+
* @generated from field: string obligation_id = 1;
|
|
413
|
+
*/
|
|
414
|
+
obligationId: string;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* @generated from field: string obligation_fqn = 2;
|
|
418
|
+
*/
|
|
419
|
+
obligationFqn: string;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: string value = 3;
|
|
423
|
+
*/
|
|
424
|
+
value: string;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Optional
|
|
428
|
+
* Combination of action and attribute_value that will trigger this obligation value policy decisioning.
|
|
429
|
+
*
|
|
430
|
+
* @generated from field: repeated policy.obligations.ValueTriggerRequest triggers = 4;
|
|
431
|
+
*/
|
|
432
|
+
triggers: ValueTriggerRequest[];
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Optional
|
|
436
|
+
* Common metadata
|
|
437
|
+
*
|
|
438
|
+
* @generated from field: common.MetadataMutable metadata = 100;
|
|
439
|
+
*/
|
|
440
|
+
metadata?: MetadataMutable;
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Describes the message policy.obligations.CreateObligationValueRequest.
|
|
445
|
+
* Use `create(CreateObligationValueRequestSchema)` to create a new message.
|
|
446
|
+
*/
|
|
447
|
+
export const CreateObligationValueRequestSchema: GenMessage<CreateObligationValueRequest> = /*@__PURE__*/
|
|
448
|
+
messageDesc(file_policy_obligations_obligations, 17);
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* @generated from message policy.obligations.CreateObligationValueResponse
|
|
452
|
+
*/
|
|
453
|
+
export type CreateObligationValueResponse = Message<"policy.obligations.CreateObligationValueResponse"> & {
|
|
454
|
+
/**
|
|
455
|
+
* @generated from field: policy.ObligationValue value = 1;
|
|
456
|
+
*/
|
|
457
|
+
value?: ObligationValue;
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* Describes the message policy.obligations.CreateObligationValueResponse.
|
|
462
|
+
* Use `create(CreateObligationValueResponseSchema)` to create a new message.
|
|
463
|
+
*/
|
|
464
|
+
export const CreateObligationValueResponseSchema: GenMessage<CreateObligationValueResponse> = /*@__PURE__*/
|
|
465
|
+
messageDesc(file_policy_obligations_obligations, 18);
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* @generated from message policy.obligations.UpdateObligationValueRequest
|
|
469
|
+
*/
|
|
470
|
+
export type UpdateObligationValueRequest = Message<"policy.obligations.UpdateObligationValueRequest"> & {
|
|
471
|
+
/**
|
|
472
|
+
* Required
|
|
473
|
+
*
|
|
474
|
+
* @generated from field: string id = 1;
|
|
475
|
+
*/
|
|
476
|
+
id: string;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Optional
|
|
480
|
+
*
|
|
481
|
+
* @generated from field: string value = 2;
|
|
482
|
+
*/
|
|
483
|
+
value: string;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Optional
|
|
487
|
+
* Obligation Triggers provided here will replace all existing records in the database.
|
|
488
|
+
*
|
|
489
|
+
* @generated from field: repeated policy.obligations.ValueTriggerRequest triggers = 3;
|
|
490
|
+
*/
|
|
491
|
+
triggers: ValueTriggerRequest[];
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* Optional
|
|
495
|
+
* Common metadata
|
|
496
|
+
*
|
|
497
|
+
* @generated from field: common.MetadataMutable metadata = 100;
|
|
498
|
+
*/
|
|
499
|
+
metadata?: MetadataMutable;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @generated from field: common.MetadataUpdateEnum metadata_update_behavior = 101;
|
|
503
|
+
*/
|
|
504
|
+
metadataUpdateBehavior: MetadataUpdateEnum;
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Describes the message policy.obligations.UpdateObligationValueRequest.
|
|
509
|
+
* Use `create(UpdateObligationValueRequestSchema)` to create a new message.
|
|
510
|
+
*/
|
|
511
|
+
export const UpdateObligationValueRequestSchema: GenMessage<UpdateObligationValueRequest> = /*@__PURE__*/
|
|
512
|
+
messageDesc(file_policy_obligations_obligations, 19);
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* @generated from message policy.obligations.UpdateObligationValueResponse
|
|
516
|
+
*/
|
|
517
|
+
export type UpdateObligationValueResponse = Message<"policy.obligations.UpdateObligationValueResponse"> & {
|
|
518
|
+
/**
|
|
519
|
+
* @generated from field: policy.ObligationValue value = 1;
|
|
520
|
+
*/
|
|
521
|
+
value?: ObligationValue;
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Describes the message policy.obligations.UpdateObligationValueResponse.
|
|
526
|
+
* Use `create(UpdateObligationValueResponseSchema)` to create a new message.
|
|
527
|
+
*/
|
|
528
|
+
export const UpdateObligationValueResponseSchema: GenMessage<UpdateObligationValueResponse> = /*@__PURE__*/
|
|
529
|
+
messageDesc(file_policy_obligations_obligations, 20);
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* @generated from message policy.obligations.DeleteObligationValueRequest
|
|
533
|
+
*/
|
|
534
|
+
export type DeleteObligationValueRequest = Message<"policy.obligations.DeleteObligationValueRequest"> & {
|
|
535
|
+
/**
|
|
536
|
+
* @generated from field: string id = 1;
|
|
537
|
+
*/
|
|
538
|
+
id: string;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* @generated from field: string fqn = 2;
|
|
542
|
+
*/
|
|
543
|
+
fqn: string;
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Describes the message policy.obligations.DeleteObligationValueRequest.
|
|
548
|
+
* Use `create(DeleteObligationValueRequestSchema)` to create a new message.
|
|
549
|
+
*/
|
|
550
|
+
export const DeleteObligationValueRequestSchema: GenMessage<DeleteObligationValueRequest> = /*@__PURE__*/
|
|
551
|
+
messageDesc(file_policy_obligations_obligations, 21);
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* @generated from message policy.obligations.DeleteObligationValueResponse
|
|
555
|
+
*/
|
|
556
|
+
export type DeleteObligationValueResponse = Message<"policy.obligations.DeleteObligationValueResponse"> & {
|
|
557
|
+
/**
|
|
558
|
+
* @generated from field: policy.ObligationValue value = 1;
|
|
559
|
+
*/
|
|
560
|
+
value?: ObligationValue;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Describes the message policy.obligations.DeleteObligationValueResponse.
|
|
565
|
+
* Use `create(DeleteObligationValueResponseSchema)` to create a new message.
|
|
566
|
+
*/
|
|
567
|
+
export const DeleteObligationValueResponseSchema: GenMessage<DeleteObligationValueResponse> = /*@__PURE__*/
|
|
568
|
+
messageDesc(file_policy_obligations_obligations, 22);
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Triggers
|
|
572
|
+
*
|
|
573
|
+
* @generated from message policy.obligations.AddObligationTriggerRequest
|
|
574
|
+
*/
|
|
575
|
+
export type AddObligationTriggerRequest = Message<"policy.obligations.AddObligationTriggerRequest"> & {
|
|
576
|
+
/**
|
|
577
|
+
* Required
|
|
578
|
+
*
|
|
579
|
+
* @generated from field: common.IdFqnIdentifier obligation_value = 1;
|
|
580
|
+
*/
|
|
581
|
+
obligationValue?: IdFqnIdentifier;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Required
|
|
585
|
+
*
|
|
586
|
+
* @generated from field: common.IdNameIdentifier action = 2;
|
|
587
|
+
*/
|
|
588
|
+
action?: IdNameIdentifier;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Required
|
|
592
|
+
*
|
|
593
|
+
* @generated from field: common.IdFqnIdentifier attribute_value = 3;
|
|
594
|
+
*/
|
|
595
|
+
attributeValue?: IdFqnIdentifier;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Optional
|
|
599
|
+
* The request context for this obligation value policy decisioning.
|
|
600
|
+
*
|
|
601
|
+
* @generated from field: policy.RequestContext context = 4;
|
|
602
|
+
*/
|
|
603
|
+
context?: RequestContext;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Optional
|
|
607
|
+
* Common metadata
|
|
608
|
+
*
|
|
609
|
+
* @generated from field: common.MetadataMutable metadata = 100;
|
|
610
|
+
*/
|
|
611
|
+
metadata?: MetadataMutable;
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Describes the message policy.obligations.AddObligationTriggerRequest.
|
|
616
|
+
* Use `create(AddObligationTriggerRequestSchema)` to create a new message.
|
|
617
|
+
*/
|
|
618
|
+
export const AddObligationTriggerRequestSchema: GenMessage<AddObligationTriggerRequest> = /*@__PURE__*/
|
|
619
|
+
messageDesc(file_policy_obligations_obligations, 23);
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* @generated from message policy.obligations.AddObligationTriggerResponse
|
|
623
|
+
*/
|
|
624
|
+
export type AddObligationTriggerResponse = Message<"policy.obligations.AddObligationTriggerResponse"> & {
|
|
625
|
+
/**
|
|
626
|
+
* @generated from field: policy.ObligationTrigger trigger = 1;
|
|
627
|
+
*/
|
|
628
|
+
trigger?: ObligationTrigger;
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Describes the message policy.obligations.AddObligationTriggerResponse.
|
|
633
|
+
* Use `create(AddObligationTriggerResponseSchema)` to create a new message.
|
|
634
|
+
*/
|
|
635
|
+
export const AddObligationTriggerResponseSchema: GenMessage<AddObligationTriggerResponse> = /*@__PURE__*/
|
|
636
|
+
messageDesc(file_policy_obligations_obligations, 24);
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* @generated from message policy.obligations.RemoveObligationTriggerRequest
|
|
640
|
+
*/
|
|
641
|
+
export type RemoveObligationTriggerRequest = Message<"policy.obligations.RemoveObligationTriggerRequest"> & {
|
|
642
|
+
/**
|
|
643
|
+
* Required
|
|
644
|
+
*
|
|
645
|
+
* @generated from field: string id = 1;
|
|
646
|
+
*/
|
|
647
|
+
id: string;
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Describes the message policy.obligations.RemoveObligationTriggerRequest.
|
|
652
|
+
* Use `create(RemoveObligationTriggerRequestSchema)` to create a new message.
|
|
653
|
+
*/
|
|
654
|
+
export const RemoveObligationTriggerRequestSchema: GenMessage<RemoveObligationTriggerRequest> = /*@__PURE__*/
|
|
655
|
+
messageDesc(file_policy_obligations_obligations, 25);
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* @generated from message policy.obligations.RemoveObligationTriggerResponse
|
|
659
|
+
*/
|
|
660
|
+
export type RemoveObligationTriggerResponse = Message<"policy.obligations.RemoveObligationTriggerResponse"> & {
|
|
661
|
+
/**
|
|
662
|
+
* @generated from field: policy.ObligationTrigger trigger = 1;
|
|
663
|
+
*/
|
|
664
|
+
trigger?: ObligationTrigger;
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Describes the message policy.obligations.RemoveObligationTriggerResponse.
|
|
669
|
+
* Use `create(RemoveObligationTriggerResponseSchema)` to create a new message.
|
|
670
|
+
*/
|
|
671
|
+
export const RemoveObligationTriggerResponseSchema: GenMessage<RemoveObligationTriggerResponse> = /*@__PURE__*/
|
|
672
|
+
messageDesc(file_policy_obligations_obligations, 26);
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* /
|
|
676
|
+
* / Obligation Service
|
|
677
|
+
* /
|
|
678
|
+
*
|
|
679
|
+
* @generated from service policy.obligations.Service
|
|
680
|
+
*/
|
|
681
|
+
export const Service: GenService<{
|
|
682
|
+
/**
|
|
683
|
+
* @generated from rpc policy.obligations.Service.ListObligations
|
|
684
|
+
*/
|
|
685
|
+
listObligations: {
|
|
686
|
+
methodKind: "unary";
|
|
687
|
+
input: typeof ListObligationsRequestSchema;
|
|
688
|
+
output: typeof ListObligationsResponseSchema;
|
|
689
|
+
},
|
|
690
|
+
/**
|
|
691
|
+
* @generated from rpc policy.obligations.Service.GetObligation
|
|
692
|
+
*/
|
|
693
|
+
getObligation: {
|
|
694
|
+
methodKind: "unary";
|
|
695
|
+
input: typeof GetObligationRequestSchema;
|
|
696
|
+
output: typeof GetObligationResponseSchema;
|
|
697
|
+
},
|
|
698
|
+
/**
|
|
699
|
+
* @generated from rpc policy.obligations.Service.GetObligationsByFQNs
|
|
700
|
+
*/
|
|
701
|
+
getObligationsByFQNs: {
|
|
702
|
+
methodKind: "unary";
|
|
703
|
+
input: typeof GetObligationsByFQNsRequestSchema;
|
|
704
|
+
output: typeof GetObligationsByFQNsResponseSchema;
|
|
705
|
+
},
|
|
706
|
+
/**
|
|
707
|
+
* @generated from rpc policy.obligations.Service.CreateObligation
|
|
708
|
+
*/
|
|
709
|
+
createObligation: {
|
|
710
|
+
methodKind: "unary";
|
|
711
|
+
input: typeof CreateObligationRequestSchema;
|
|
712
|
+
output: typeof CreateObligationResponseSchema;
|
|
713
|
+
},
|
|
714
|
+
/**
|
|
715
|
+
* @generated from rpc policy.obligations.Service.UpdateObligation
|
|
716
|
+
*/
|
|
717
|
+
updateObligation: {
|
|
718
|
+
methodKind: "unary";
|
|
719
|
+
input: typeof UpdateObligationRequestSchema;
|
|
720
|
+
output: typeof UpdateObligationResponseSchema;
|
|
721
|
+
},
|
|
722
|
+
/**
|
|
723
|
+
* @generated from rpc policy.obligations.Service.DeleteObligation
|
|
724
|
+
*/
|
|
725
|
+
deleteObligation: {
|
|
726
|
+
methodKind: "unary";
|
|
727
|
+
input: typeof DeleteObligationRequestSchema;
|
|
728
|
+
output: typeof DeleteObligationResponseSchema;
|
|
729
|
+
},
|
|
730
|
+
/**
|
|
731
|
+
* @generated from rpc policy.obligations.Service.GetObligationValue
|
|
732
|
+
*/
|
|
733
|
+
getObligationValue: {
|
|
734
|
+
methodKind: "unary";
|
|
735
|
+
input: typeof GetObligationValueRequestSchema;
|
|
736
|
+
output: typeof GetObligationValueResponseSchema;
|
|
737
|
+
},
|
|
738
|
+
/**
|
|
739
|
+
* @generated from rpc policy.obligations.Service.GetObligationValuesByFQNs
|
|
740
|
+
*/
|
|
741
|
+
getObligationValuesByFQNs: {
|
|
742
|
+
methodKind: "unary";
|
|
743
|
+
input: typeof GetObligationValuesByFQNsRequestSchema;
|
|
744
|
+
output: typeof GetObligationValuesByFQNsResponseSchema;
|
|
745
|
+
},
|
|
746
|
+
/**
|
|
747
|
+
* @generated from rpc policy.obligations.Service.CreateObligationValue
|
|
748
|
+
*/
|
|
749
|
+
createObligationValue: {
|
|
750
|
+
methodKind: "unary";
|
|
751
|
+
input: typeof CreateObligationValueRequestSchema;
|
|
752
|
+
output: typeof CreateObligationValueResponseSchema;
|
|
753
|
+
},
|
|
754
|
+
/**
|
|
755
|
+
* @generated from rpc policy.obligations.Service.UpdateObligationValue
|
|
756
|
+
*/
|
|
757
|
+
updateObligationValue: {
|
|
758
|
+
methodKind: "unary";
|
|
759
|
+
input: typeof UpdateObligationValueRequestSchema;
|
|
760
|
+
output: typeof UpdateObligationValueResponseSchema;
|
|
761
|
+
},
|
|
762
|
+
/**
|
|
763
|
+
* @generated from rpc policy.obligations.Service.DeleteObligationValue
|
|
764
|
+
*/
|
|
765
|
+
deleteObligationValue: {
|
|
766
|
+
methodKind: "unary";
|
|
767
|
+
input: typeof DeleteObligationValueRequestSchema;
|
|
768
|
+
output: typeof DeleteObligationValueResponseSchema;
|
|
769
|
+
},
|
|
770
|
+
/**
|
|
771
|
+
* @generated from rpc policy.obligations.Service.AddObligationTrigger
|
|
772
|
+
*/
|
|
773
|
+
addObligationTrigger: {
|
|
774
|
+
methodKind: "unary";
|
|
775
|
+
input: typeof AddObligationTriggerRequestSchema;
|
|
776
|
+
output: typeof AddObligationTriggerResponseSchema;
|
|
777
|
+
},
|
|
778
|
+
/**
|
|
779
|
+
* @generated from rpc policy.obligations.Service.RemoveObligationTrigger
|
|
780
|
+
*/
|
|
781
|
+
removeObligationTrigger: {
|
|
782
|
+
methodKind: "unary";
|
|
783
|
+
input: typeof RemoveObligationTriggerRequestSchema;
|
|
784
|
+
output: typeof RemoveObligationTriggerResponseSchema;
|
|
785
|
+
},
|
|
786
|
+
}> = /*@__PURE__*/
|
|
787
|
+
serviceDesc(file_policy_obligations_obligations, 0);
|
|
788
|
+
|