@valon-technologies/gestalt 0.0.1-alpha.1 → 0.0.1-alpha.9
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/README.md +8 -26
- package/gen/v1/{auth_pb.ts → authentication_pb.ts} +51 -17
- package/gen/v1/authorization_pb.ts +857 -0
- package/gen/v1/cache_pb.ts +32 -0
- package/gen/v1/datastore_pb.ts +62 -0
- package/gen/v1/plugin_pb.ts +216 -18
- package/gen/v1/runtime_pb.ts +27 -3
- package/gen/v1/s3_pb.ts +39 -0
- package/gen/v1/secrets_pb.ts +6 -0
- package/gen/v1/workflow_pb.ts +1372 -0
- package/package.json +12 -10
- package/src/api.ts +56 -0
- package/src/auth.ts +67 -16
- package/src/build.ts +37 -21
- package/src/cache.ts +32 -0
- package/src/catalog.ts +27 -0
- package/src/index.ts +87 -18
- package/src/indexeddb.ts +166 -0
- package/src/invoker.ts +124 -0
- package/src/plugin.ts +93 -38
- package/src/provider-kind.ts +107 -0
- package/src/provider.ts +32 -1
- package/src/runtime.ts +233 -218
- package/src/s3.ts +135 -20
- package/src/schema.ts +46 -0
- package/src/secrets.ts +12 -0
- package/src/target.ts +58 -60
- package/src/workflow-manager.ts +131 -0
- package/src/workflow.ts +479 -0
- package/tsconfig.json +1 -0
|
@@ -0,0 +1,857 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file v1/authorization.proto (package gestalt.provider.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 { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file v1/authorization.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_v1_authorization: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("ChZ2MS9hdXRob3JpemF0aW9uLnByb3RvEhNnZXN0YWx0LnByb3ZpZGVyLnYxIlAKB1N1YmplY3QSDAoEdHlwZRgBIAEoCRIKCgJpZBgCIAEoCRIrCgpwcm9wZXJ0aWVzGAMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdCJRCghSZXNvdXJjZRIMCgR0eXBlGAEgASgJEgoKAmlkGAIgASgJEisKCnByb3BlcnRpZXMYAyABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0IkMKBkFjdGlvbhIMCgRuYW1lGAEgASgJEisKCnByb3BlcnRpZXMYAiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0ItABChdBY2Nlc3NFdmFsdWF0aW9uUmVxdWVzdBItCgdzdWJqZWN0GAEgASgLMhwuZ2VzdGFsdC5wcm92aWRlci52MS5TdWJqZWN0EisKBmFjdGlvbhgCIAEoCzIbLmdlc3RhbHQucHJvdmlkZXIudjEuQWN0aW9uEi8KCHJlc291cmNlGAMgASgLMh0uZ2VzdGFsdC5wcm92aWRlci52MS5SZXNvdXJjZRIoCgdjb250ZXh0GAQgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdCJdCg5BY2Nlc3NEZWNpc2lvbhIPCgdhbGxvd2VkGAEgASgIEigKB2NvbnRleHQYAiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0EhAKCG1vZGVsX2lkGAMgASgJIloKGEFjY2Vzc0V2YWx1YXRpb25zUmVxdWVzdBI+CghyZXF1ZXN0cxgBIAMoCzIsLmdlc3RhbHQucHJvdmlkZXIudjEuQWNjZXNzRXZhbHVhdGlvblJlcXVlc3QiUwoZQWNjZXNzR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f_timestamp]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @generated from message gestalt.provider.v1.Subject
|
|
19
|
+
*/
|
|
20
|
+
export type Subject = Message<"gestalt.provider.v1.Subject"> & {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: string type = 1;
|
|
23
|
+
*/
|
|
24
|
+
type: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: string id = 2;
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: google.protobuf.Struct properties = 3;
|
|
33
|
+
*/
|
|
34
|
+
properties?: JsonObject;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message gestalt.provider.v1.Subject.
|
|
39
|
+
* Use `create(SubjectSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const SubjectSchema: GenMessage<Subject> = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_v1_authorization, 0);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from message gestalt.provider.v1.Resource
|
|
46
|
+
*/
|
|
47
|
+
export type Resource = Message<"gestalt.provider.v1.Resource"> & {
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: string type = 1;
|
|
50
|
+
*/
|
|
51
|
+
type: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: string id = 2;
|
|
55
|
+
*/
|
|
56
|
+
id: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: google.protobuf.Struct properties = 3;
|
|
60
|
+
*/
|
|
61
|
+
properties?: JsonObject;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message gestalt.provider.v1.Resource.
|
|
66
|
+
* Use `create(ResourceSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const ResourceSchema: GenMessage<Resource> = /*@__PURE__*/
|
|
69
|
+
messageDesc(file_v1_authorization, 1);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from message gestalt.provider.v1.Action
|
|
73
|
+
*/
|
|
74
|
+
export type Action = Message<"gestalt.provider.v1.Action"> & {
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: string name = 1;
|
|
77
|
+
*/
|
|
78
|
+
name: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: google.protobuf.Struct properties = 2;
|
|
82
|
+
*/
|
|
83
|
+
properties?: JsonObject;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message gestalt.provider.v1.Action.
|
|
88
|
+
* Use `create(ActionSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const ActionSchema: GenMessage<Action> = /*@__PURE__*/
|
|
91
|
+
messageDesc(file_v1_authorization, 2);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from message gestalt.provider.v1.AccessEvaluationRequest
|
|
95
|
+
*/
|
|
96
|
+
export type AccessEvaluationRequest = Message<"gestalt.provider.v1.AccessEvaluationRequest"> & {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: gestalt.provider.v1.Subject subject = 1;
|
|
99
|
+
*/
|
|
100
|
+
subject?: Subject;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: gestalt.provider.v1.Action action = 2;
|
|
104
|
+
*/
|
|
105
|
+
action?: Action;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @generated from field: gestalt.provider.v1.Resource resource = 3;
|
|
109
|
+
*/
|
|
110
|
+
resource?: Resource;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: google.protobuf.Struct context = 4;
|
|
114
|
+
*/
|
|
115
|
+
context?: JsonObject;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message gestalt.provider.v1.AccessEvaluationRequest.
|
|
120
|
+
* Use `create(AccessEvaluationRequestSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export const AccessEvaluationRequestSchema: GenMessage<AccessEvaluationRequest> = /*@__PURE__*/
|
|
123
|
+
messageDesc(file_v1_authorization, 3);
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @generated from message gestalt.provider.v1.AccessDecision
|
|
127
|
+
*/
|
|
128
|
+
export type AccessDecision = Message<"gestalt.provider.v1.AccessDecision"> & {
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: bool allowed = 1;
|
|
131
|
+
*/
|
|
132
|
+
allowed: boolean;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: google.protobuf.Struct context = 2;
|
|
136
|
+
*/
|
|
137
|
+
context?: JsonObject;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: string model_id = 3;
|
|
141
|
+
*/
|
|
142
|
+
modelId: string;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Describes the message gestalt.provider.v1.AccessDecision.
|
|
147
|
+
* Use `create(AccessDecisionSchema)` to create a new message.
|
|
148
|
+
*/
|
|
149
|
+
export const AccessDecisionSchema: GenMessage<AccessDecision> = /*@__PURE__*/
|
|
150
|
+
messageDesc(file_v1_authorization, 4);
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from message gestalt.provider.v1.AccessEvaluationsRequest
|
|
154
|
+
*/
|
|
155
|
+
export type AccessEvaluationsRequest = Message<"gestalt.provider.v1.AccessEvaluationsRequest"> & {
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: repeated gestalt.provider.v1.AccessEvaluationRequest requests = 1;
|
|
158
|
+
*/
|
|
159
|
+
requests: AccessEvaluationRequest[];
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Describes the message gestalt.provider.v1.AccessEvaluationsRequest.
|
|
164
|
+
* Use `create(AccessEvaluationsRequestSchema)` to create a new message.
|
|
165
|
+
*/
|
|
166
|
+
export const AccessEvaluationsRequestSchema: GenMessage<AccessEvaluationsRequest> = /*@__PURE__*/
|
|
167
|
+
messageDesc(file_v1_authorization, 5);
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @generated from message gestalt.provider.v1.AccessEvaluationsResponse
|
|
171
|
+
*/
|
|
172
|
+
export type AccessEvaluationsResponse = Message<"gestalt.provider.v1.AccessEvaluationsResponse"> & {
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: repeated gestalt.provider.v1.AccessDecision decisions = 1;
|
|
175
|
+
*/
|
|
176
|
+
decisions: AccessDecision[];
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Describes the message gestalt.provider.v1.AccessEvaluationsResponse.
|
|
181
|
+
* Use `create(AccessEvaluationsResponseSchema)` to create a new message.
|
|
182
|
+
*/
|
|
183
|
+
export const AccessEvaluationsResponseSchema: GenMessage<AccessEvaluationsResponse> = /*@__PURE__*/
|
|
184
|
+
messageDesc(file_v1_authorization, 6);
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @generated from message gestalt.provider.v1.ResourceSearchRequest
|
|
188
|
+
*/
|
|
189
|
+
export type ResourceSearchRequest = Message<"gestalt.provider.v1.ResourceSearchRequest"> & {
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: gestalt.provider.v1.Subject subject = 1;
|
|
192
|
+
*/
|
|
193
|
+
subject?: Subject;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: gestalt.provider.v1.Action action = 2;
|
|
197
|
+
*/
|
|
198
|
+
action?: Action;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: string resource_type = 3;
|
|
202
|
+
*/
|
|
203
|
+
resourceType: string;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: google.protobuf.Struct context = 4;
|
|
207
|
+
*/
|
|
208
|
+
context?: JsonObject;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: int32 page_size = 5;
|
|
212
|
+
*/
|
|
213
|
+
pageSize: number;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string page_token = 6;
|
|
217
|
+
*/
|
|
218
|
+
pageToken: string;
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Describes the message gestalt.provider.v1.ResourceSearchRequest.
|
|
223
|
+
* Use `create(ResourceSearchRequestSchema)` to create a new message.
|
|
224
|
+
*/
|
|
225
|
+
export const ResourceSearchRequestSchema: GenMessage<ResourceSearchRequest> = /*@__PURE__*/
|
|
226
|
+
messageDesc(file_v1_authorization, 7);
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from message gestalt.provider.v1.ResourceSearchResponse
|
|
230
|
+
*/
|
|
231
|
+
export type ResourceSearchResponse = Message<"gestalt.provider.v1.ResourceSearchResponse"> & {
|
|
232
|
+
/**
|
|
233
|
+
* @generated from field: repeated gestalt.provider.v1.Resource resources = 1;
|
|
234
|
+
*/
|
|
235
|
+
resources: Resource[];
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: string next_page_token = 2;
|
|
239
|
+
*/
|
|
240
|
+
nextPageToken: string;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: string model_id = 3;
|
|
244
|
+
*/
|
|
245
|
+
modelId: string;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Describes the message gestalt.provider.v1.ResourceSearchResponse.
|
|
250
|
+
* Use `create(ResourceSearchResponseSchema)` to create a new message.
|
|
251
|
+
*/
|
|
252
|
+
export const ResourceSearchResponseSchema: GenMessage<ResourceSearchResponse> = /*@__PURE__*/
|
|
253
|
+
messageDesc(file_v1_authorization, 8);
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* @generated from message gestalt.provider.v1.SubjectSearchRequest
|
|
257
|
+
*/
|
|
258
|
+
export type SubjectSearchRequest = Message<"gestalt.provider.v1.SubjectSearchRequest"> & {
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: gestalt.provider.v1.Resource resource = 1;
|
|
261
|
+
*/
|
|
262
|
+
resource?: Resource;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @generated from field: gestalt.provider.v1.Action action = 2;
|
|
266
|
+
*/
|
|
267
|
+
action?: Action;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: string subject_type = 3;
|
|
271
|
+
*/
|
|
272
|
+
subjectType: string;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: google.protobuf.Struct context = 4;
|
|
276
|
+
*/
|
|
277
|
+
context?: JsonObject;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: int32 page_size = 5;
|
|
281
|
+
*/
|
|
282
|
+
pageSize: number;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: string page_token = 6;
|
|
286
|
+
*/
|
|
287
|
+
pageToken: string;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Describes the message gestalt.provider.v1.SubjectSearchRequest.
|
|
292
|
+
* Use `create(SubjectSearchRequestSchema)` to create a new message.
|
|
293
|
+
*/
|
|
294
|
+
export const SubjectSearchRequestSchema: GenMessage<SubjectSearchRequest> = /*@__PURE__*/
|
|
295
|
+
messageDesc(file_v1_authorization, 9);
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @generated from message gestalt.provider.v1.SubjectSearchResponse
|
|
299
|
+
*/
|
|
300
|
+
export type SubjectSearchResponse = Message<"gestalt.provider.v1.SubjectSearchResponse"> & {
|
|
301
|
+
/**
|
|
302
|
+
* @generated from field: repeated gestalt.provider.v1.Subject subjects = 1;
|
|
303
|
+
*/
|
|
304
|
+
subjects: Subject[];
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: string next_page_token = 2;
|
|
308
|
+
*/
|
|
309
|
+
nextPageToken: string;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* @generated from field: string model_id = 3;
|
|
313
|
+
*/
|
|
314
|
+
modelId: string;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Describes the message gestalt.provider.v1.SubjectSearchResponse.
|
|
319
|
+
* Use `create(SubjectSearchResponseSchema)` to create a new message.
|
|
320
|
+
*/
|
|
321
|
+
export const SubjectSearchResponseSchema: GenMessage<SubjectSearchResponse> = /*@__PURE__*/
|
|
322
|
+
messageDesc(file_v1_authorization, 10);
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from message gestalt.provider.v1.ActionSearchRequest
|
|
326
|
+
*/
|
|
327
|
+
export type ActionSearchRequest = Message<"gestalt.provider.v1.ActionSearchRequest"> & {
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: gestalt.provider.v1.Subject subject = 1;
|
|
330
|
+
*/
|
|
331
|
+
subject?: Subject;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* @generated from field: gestalt.provider.v1.Resource resource = 2;
|
|
335
|
+
*/
|
|
336
|
+
resource?: Resource;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* @generated from field: google.protobuf.Struct context = 3;
|
|
340
|
+
*/
|
|
341
|
+
context?: JsonObject;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* @generated from field: int32 page_size = 4;
|
|
345
|
+
*/
|
|
346
|
+
pageSize: number;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* @generated from field: string page_token = 5;
|
|
350
|
+
*/
|
|
351
|
+
pageToken: string;
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Describes the message gestalt.provider.v1.ActionSearchRequest.
|
|
356
|
+
* Use `create(ActionSearchRequestSchema)` to create a new message.
|
|
357
|
+
*/
|
|
358
|
+
export const ActionSearchRequestSchema: GenMessage<ActionSearchRequest> = /*@__PURE__*/
|
|
359
|
+
messageDesc(file_v1_authorization, 11);
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* @generated from message gestalt.provider.v1.ActionSearchResponse
|
|
363
|
+
*/
|
|
364
|
+
export type ActionSearchResponse = Message<"gestalt.provider.v1.ActionSearchResponse"> & {
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: repeated gestalt.provider.v1.Action actions = 1;
|
|
367
|
+
*/
|
|
368
|
+
actions: Action[];
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: string next_page_token = 2;
|
|
372
|
+
*/
|
|
373
|
+
nextPageToken: string;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: string model_id = 3;
|
|
377
|
+
*/
|
|
378
|
+
modelId: string;
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Describes the message gestalt.provider.v1.ActionSearchResponse.
|
|
383
|
+
* Use `create(ActionSearchResponseSchema)` to create a new message.
|
|
384
|
+
*/
|
|
385
|
+
export const ActionSearchResponseSchema: GenMessage<ActionSearchResponse> = /*@__PURE__*/
|
|
386
|
+
messageDesc(file_v1_authorization, 12);
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* @generated from message gestalt.provider.v1.AuthorizationMetadata
|
|
390
|
+
*/
|
|
391
|
+
export type AuthorizationMetadata = Message<"gestalt.provider.v1.AuthorizationMetadata"> & {
|
|
392
|
+
/**
|
|
393
|
+
* @generated from field: repeated string capabilities = 1;
|
|
394
|
+
*/
|
|
395
|
+
capabilities: string[];
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* @generated from field: string active_model_id = 2;
|
|
399
|
+
*/
|
|
400
|
+
activeModelId: string;
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Describes the message gestalt.provider.v1.AuthorizationMetadata.
|
|
405
|
+
* Use `create(AuthorizationMetadataSchema)` to create a new message.
|
|
406
|
+
*/
|
|
407
|
+
export const AuthorizationMetadataSchema: GenMessage<AuthorizationMetadata> = /*@__PURE__*/
|
|
408
|
+
messageDesc(file_v1_authorization, 13);
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @generated from message gestalt.provider.v1.Relationship
|
|
412
|
+
*/
|
|
413
|
+
export type Relationship = Message<"gestalt.provider.v1.Relationship"> & {
|
|
414
|
+
/**
|
|
415
|
+
* @generated from field: gestalt.provider.v1.Subject subject = 1;
|
|
416
|
+
*/
|
|
417
|
+
subject?: Subject;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @generated from field: string relation = 2;
|
|
421
|
+
*/
|
|
422
|
+
relation: string;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* @generated from field: gestalt.provider.v1.Resource resource = 3;
|
|
426
|
+
*/
|
|
427
|
+
resource?: Resource;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @generated from field: google.protobuf.Struct properties = 4;
|
|
431
|
+
*/
|
|
432
|
+
properties?: JsonObject;
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Describes the message gestalt.provider.v1.Relationship.
|
|
437
|
+
* Use `create(RelationshipSchema)` to create a new message.
|
|
438
|
+
*/
|
|
439
|
+
export const RelationshipSchema: GenMessage<Relationship> = /*@__PURE__*/
|
|
440
|
+
messageDesc(file_v1_authorization, 14);
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* @generated from message gestalt.provider.v1.RelationshipKey
|
|
444
|
+
*/
|
|
445
|
+
export type RelationshipKey = Message<"gestalt.provider.v1.RelationshipKey"> & {
|
|
446
|
+
/**
|
|
447
|
+
* @generated from field: gestalt.provider.v1.Subject subject = 1;
|
|
448
|
+
*/
|
|
449
|
+
subject?: Subject;
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* @generated from field: string relation = 2;
|
|
453
|
+
*/
|
|
454
|
+
relation: string;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* @generated from field: gestalt.provider.v1.Resource resource = 3;
|
|
458
|
+
*/
|
|
459
|
+
resource?: Resource;
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* Describes the message gestalt.provider.v1.RelationshipKey.
|
|
464
|
+
* Use `create(RelationshipKeySchema)` to create a new message.
|
|
465
|
+
*/
|
|
466
|
+
export const RelationshipKeySchema: GenMessage<RelationshipKey> = /*@__PURE__*/
|
|
467
|
+
messageDesc(file_v1_authorization, 15);
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* @generated from message gestalt.provider.v1.ReadRelationshipsRequest
|
|
471
|
+
*/
|
|
472
|
+
export type ReadRelationshipsRequest = Message<"gestalt.provider.v1.ReadRelationshipsRequest"> & {
|
|
473
|
+
/**
|
|
474
|
+
* @generated from field: gestalt.provider.v1.Subject subject = 1;
|
|
475
|
+
*/
|
|
476
|
+
subject?: Subject;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* @generated from field: string relation = 2;
|
|
480
|
+
*/
|
|
481
|
+
relation: string;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: gestalt.provider.v1.Resource resource = 3;
|
|
485
|
+
*/
|
|
486
|
+
resource?: Resource;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* @generated from field: int32 page_size = 4;
|
|
490
|
+
*/
|
|
491
|
+
pageSize: number;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* @generated from field: string page_token = 5;
|
|
495
|
+
*/
|
|
496
|
+
pageToken: string;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* @generated from field: string model_id = 6;
|
|
500
|
+
*/
|
|
501
|
+
modelId: string;
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Describes the message gestalt.provider.v1.ReadRelationshipsRequest.
|
|
506
|
+
* Use `create(ReadRelationshipsRequestSchema)` to create a new message.
|
|
507
|
+
*/
|
|
508
|
+
export const ReadRelationshipsRequestSchema: GenMessage<ReadRelationshipsRequest> = /*@__PURE__*/
|
|
509
|
+
messageDesc(file_v1_authorization, 16);
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* @generated from message gestalt.provider.v1.ReadRelationshipsResponse
|
|
513
|
+
*/
|
|
514
|
+
export type ReadRelationshipsResponse = Message<"gestalt.provider.v1.ReadRelationshipsResponse"> & {
|
|
515
|
+
/**
|
|
516
|
+
* @generated from field: repeated gestalt.provider.v1.Relationship relationships = 1;
|
|
517
|
+
*/
|
|
518
|
+
relationships: Relationship[];
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: string next_page_token = 2;
|
|
522
|
+
*/
|
|
523
|
+
nextPageToken: string;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: string model_id = 3;
|
|
527
|
+
*/
|
|
528
|
+
modelId: string;
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Describes the message gestalt.provider.v1.ReadRelationshipsResponse.
|
|
533
|
+
* Use `create(ReadRelationshipsResponseSchema)` to create a new message.
|
|
534
|
+
*/
|
|
535
|
+
export const ReadRelationshipsResponseSchema: GenMessage<ReadRelationshipsResponse> = /*@__PURE__*/
|
|
536
|
+
messageDesc(file_v1_authorization, 17);
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* @generated from message gestalt.provider.v1.WriteRelationshipsRequest
|
|
540
|
+
*/
|
|
541
|
+
export type WriteRelationshipsRequest = Message<"gestalt.provider.v1.WriteRelationshipsRequest"> & {
|
|
542
|
+
/**
|
|
543
|
+
* @generated from field: repeated gestalt.provider.v1.Relationship writes = 1;
|
|
544
|
+
*/
|
|
545
|
+
writes: Relationship[];
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* @generated from field: repeated gestalt.provider.v1.RelationshipKey deletes = 2;
|
|
549
|
+
*/
|
|
550
|
+
deletes: RelationshipKey[];
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: string model_id = 3;
|
|
554
|
+
*/
|
|
555
|
+
modelId: string;
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Describes the message gestalt.provider.v1.WriteRelationshipsRequest.
|
|
560
|
+
* Use `create(WriteRelationshipsRequestSchema)` to create a new message.
|
|
561
|
+
*/
|
|
562
|
+
export const WriteRelationshipsRequestSchema: GenMessage<WriteRelationshipsRequest> = /*@__PURE__*/
|
|
563
|
+
messageDesc(file_v1_authorization, 18);
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* @generated from message gestalt.provider.v1.AuthorizationModel
|
|
567
|
+
*/
|
|
568
|
+
export type AuthorizationModel = Message<"gestalt.provider.v1.AuthorizationModel"> & {
|
|
569
|
+
/**
|
|
570
|
+
* @generated from field: int32 version = 1;
|
|
571
|
+
*/
|
|
572
|
+
version: number;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* @generated from field: repeated gestalt.provider.v1.AuthorizationModelResourceType resource_types = 2;
|
|
576
|
+
*/
|
|
577
|
+
resourceTypes: AuthorizationModelResourceType[];
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Describes the message gestalt.provider.v1.AuthorizationModel.
|
|
582
|
+
* Use `create(AuthorizationModelSchema)` to create a new message.
|
|
583
|
+
*/
|
|
584
|
+
export const AuthorizationModelSchema: GenMessage<AuthorizationModel> = /*@__PURE__*/
|
|
585
|
+
messageDesc(file_v1_authorization, 19);
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @generated from message gestalt.provider.v1.AuthorizationModelResourceType
|
|
589
|
+
*/
|
|
590
|
+
export type AuthorizationModelResourceType = Message<"gestalt.provider.v1.AuthorizationModelResourceType"> & {
|
|
591
|
+
/**
|
|
592
|
+
* @generated from field: string name = 1;
|
|
593
|
+
*/
|
|
594
|
+
name: string;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* @generated from field: repeated gestalt.provider.v1.AuthorizationModelRelation relations = 2;
|
|
598
|
+
*/
|
|
599
|
+
relations: AuthorizationModelRelation[];
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* @generated from field: repeated gestalt.provider.v1.AuthorizationModelAction actions = 3;
|
|
603
|
+
*/
|
|
604
|
+
actions: AuthorizationModelAction[];
|
|
605
|
+
};
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Describes the message gestalt.provider.v1.AuthorizationModelResourceType.
|
|
609
|
+
* Use `create(AuthorizationModelResourceTypeSchema)` to create a new message.
|
|
610
|
+
*/
|
|
611
|
+
export const AuthorizationModelResourceTypeSchema: GenMessage<AuthorizationModelResourceType> = /*@__PURE__*/
|
|
612
|
+
messageDesc(file_v1_authorization, 20);
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* @generated from message gestalt.provider.v1.AuthorizationModelRelation
|
|
616
|
+
*/
|
|
617
|
+
export type AuthorizationModelRelation = Message<"gestalt.provider.v1.AuthorizationModelRelation"> & {
|
|
618
|
+
/**
|
|
619
|
+
* @generated from field: string name = 1;
|
|
620
|
+
*/
|
|
621
|
+
name: string;
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* @generated from field: repeated string subject_types = 2;
|
|
625
|
+
*/
|
|
626
|
+
subjectTypes: string[];
|
|
627
|
+
};
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Describes the message gestalt.provider.v1.AuthorizationModelRelation.
|
|
631
|
+
* Use `create(AuthorizationModelRelationSchema)` to create a new message.
|
|
632
|
+
*/
|
|
633
|
+
export const AuthorizationModelRelationSchema: GenMessage<AuthorizationModelRelation> = /*@__PURE__*/
|
|
634
|
+
messageDesc(file_v1_authorization, 21);
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* @generated from message gestalt.provider.v1.AuthorizationModelAction
|
|
638
|
+
*/
|
|
639
|
+
export type AuthorizationModelAction = Message<"gestalt.provider.v1.AuthorizationModelAction"> & {
|
|
640
|
+
/**
|
|
641
|
+
* @generated from field: string name = 1;
|
|
642
|
+
*/
|
|
643
|
+
name: string;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* @generated from field: repeated string relations = 2;
|
|
647
|
+
*/
|
|
648
|
+
relations: string[];
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Describes the message gestalt.provider.v1.AuthorizationModelAction.
|
|
653
|
+
* Use `create(AuthorizationModelActionSchema)` to create a new message.
|
|
654
|
+
*/
|
|
655
|
+
export const AuthorizationModelActionSchema: GenMessage<AuthorizationModelAction> = /*@__PURE__*/
|
|
656
|
+
messageDesc(file_v1_authorization, 22);
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* @generated from message gestalt.provider.v1.AuthorizationModelRef
|
|
660
|
+
*/
|
|
661
|
+
export type AuthorizationModelRef = Message<"gestalt.provider.v1.AuthorizationModelRef"> & {
|
|
662
|
+
/**
|
|
663
|
+
* @generated from field: string id = 1;
|
|
664
|
+
*/
|
|
665
|
+
id: string;
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* @generated from field: string version = 2;
|
|
669
|
+
*/
|
|
670
|
+
version: string;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
|
674
|
+
*/
|
|
675
|
+
createdAt?: Timestamp;
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Describes the message gestalt.provider.v1.AuthorizationModelRef.
|
|
680
|
+
* Use `create(AuthorizationModelRefSchema)` to create a new message.
|
|
681
|
+
*/
|
|
682
|
+
export const AuthorizationModelRefSchema: GenMessage<AuthorizationModelRef> = /*@__PURE__*/
|
|
683
|
+
messageDesc(file_v1_authorization, 23);
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* @generated from message gestalt.provider.v1.GetActiveModelResponse
|
|
687
|
+
*/
|
|
688
|
+
export type GetActiveModelResponse = Message<"gestalt.provider.v1.GetActiveModelResponse"> & {
|
|
689
|
+
/**
|
|
690
|
+
* @generated from field: gestalt.provider.v1.AuthorizationModelRef model = 1;
|
|
691
|
+
*/
|
|
692
|
+
model?: AuthorizationModelRef;
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Describes the message gestalt.provider.v1.GetActiveModelResponse.
|
|
697
|
+
* Use `create(GetActiveModelResponseSchema)` to create a new message.
|
|
698
|
+
*/
|
|
699
|
+
export const GetActiveModelResponseSchema: GenMessage<GetActiveModelResponse> = /*@__PURE__*/
|
|
700
|
+
messageDesc(file_v1_authorization, 24);
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* @generated from message gestalt.provider.v1.ListModelsRequest
|
|
704
|
+
*/
|
|
705
|
+
export type ListModelsRequest = Message<"gestalt.provider.v1.ListModelsRequest"> & {
|
|
706
|
+
/**
|
|
707
|
+
* @generated from field: int32 page_size = 1;
|
|
708
|
+
*/
|
|
709
|
+
pageSize: number;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* @generated from field: string page_token = 2;
|
|
713
|
+
*/
|
|
714
|
+
pageToken: string;
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Describes the message gestalt.provider.v1.ListModelsRequest.
|
|
719
|
+
* Use `create(ListModelsRequestSchema)` to create a new message.
|
|
720
|
+
*/
|
|
721
|
+
export const ListModelsRequestSchema: GenMessage<ListModelsRequest> = /*@__PURE__*/
|
|
722
|
+
messageDesc(file_v1_authorization, 25);
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* @generated from message gestalt.provider.v1.ListModelsResponse
|
|
726
|
+
*/
|
|
727
|
+
export type ListModelsResponse = Message<"gestalt.provider.v1.ListModelsResponse"> & {
|
|
728
|
+
/**
|
|
729
|
+
* @generated from field: repeated gestalt.provider.v1.AuthorizationModelRef models = 1;
|
|
730
|
+
*/
|
|
731
|
+
models: AuthorizationModelRef[];
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* @generated from field: string next_page_token = 2;
|
|
735
|
+
*/
|
|
736
|
+
nextPageToken: string;
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Describes the message gestalt.provider.v1.ListModelsResponse.
|
|
741
|
+
* Use `create(ListModelsResponseSchema)` to create a new message.
|
|
742
|
+
*/
|
|
743
|
+
export const ListModelsResponseSchema: GenMessage<ListModelsResponse> = /*@__PURE__*/
|
|
744
|
+
messageDesc(file_v1_authorization, 26);
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* @generated from message gestalt.provider.v1.WriteModelRequest
|
|
748
|
+
*/
|
|
749
|
+
export type WriteModelRequest = Message<"gestalt.provider.v1.WriteModelRequest"> & {
|
|
750
|
+
/**
|
|
751
|
+
* @generated from field: gestalt.provider.v1.AuthorizationModel model = 1;
|
|
752
|
+
*/
|
|
753
|
+
model?: AuthorizationModel;
|
|
754
|
+
};
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Describes the message gestalt.provider.v1.WriteModelRequest.
|
|
758
|
+
* Use `create(WriteModelRequestSchema)` to create a new message.
|
|
759
|
+
*/
|
|
760
|
+
export const WriteModelRequestSchema: GenMessage<WriteModelRequest> = /*@__PURE__*/
|
|
761
|
+
messageDesc(file_v1_authorization, 27);
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* @generated from service gestalt.provider.v1.AuthorizationProvider
|
|
765
|
+
*/
|
|
766
|
+
export const AuthorizationProvider: GenService<{
|
|
767
|
+
/**
|
|
768
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.Evaluate
|
|
769
|
+
*/
|
|
770
|
+
evaluate: {
|
|
771
|
+
methodKind: "unary";
|
|
772
|
+
input: typeof AccessEvaluationRequestSchema;
|
|
773
|
+
output: typeof AccessDecisionSchema;
|
|
774
|
+
},
|
|
775
|
+
/**
|
|
776
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.EvaluateMany
|
|
777
|
+
*/
|
|
778
|
+
evaluateMany: {
|
|
779
|
+
methodKind: "unary";
|
|
780
|
+
input: typeof AccessEvaluationsRequestSchema;
|
|
781
|
+
output: typeof AccessEvaluationsResponseSchema;
|
|
782
|
+
},
|
|
783
|
+
/**
|
|
784
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.SearchResources
|
|
785
|
+
*/
|
|
786
|
+
searchResources: {
|
|
787
|
+
methodKind: "unary";
|
|
788
|
+
input: typeof ResourceSearchRequestSchema;
|
|
789
|
+
output: typeof ResourceSearchResponseSchema;
|
|
790
|
+
},
|
|
791
|
+
/**
|
|
792
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.SearchSubjects
|
|
793
|
+
*/
|
|
794
|
+
searchSubjects: {
|
|
795
|
+
methodKind: "unary";
|
|
796
|
+
input: typeof SubjectSearchRequestSchema;
|
|
797
|
+
output: typeof SubjectSearchResponseSchema;
|
|
798
|
+
},
|
|
799
|
+
/**
|
|
800
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.SearchActions
|
|
801
|
+
*/
|
|
802
|
+
searchActions: {
|
|
803
|
+
methodKind: "unary";
|
|
804
|
+
input: typeof ActionSearchRequestSchema;
|
|
805
|
+
output: typeof ActionSearchResponseSchema;
|
|
806
|
+
},
|
|
807
|
+
/**
|
|
808
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.GetMetadata
|
|
809
|
+
*/
|
|
810
|
+
getMetadata: {
|
|
811
|
+
methodKind: "unary";
|
|
812
|
+
input: typeof EmptySchema;
|
|
813
|
+
output: typeof AuthorizationMetadataSchema;
|
|
814
|
+
},
|
|
815
|
+
/**
|
|
816
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.ReadRelationships
|
|
817
|
+
*/
|
|
818
|
+
readRelationships: {
|
|
819
|
+
methodKind: "unary";
|
|
820
|
+
input: typeof ReadRelationshipsRequestSchema;
|
|
821
|
+
output: typeof ReadRelationshipsResponseSchema;
|
|
822
|
+
},
|
|
823
|
+
/**
|
|
824
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.WriteRelationships
|
|
825
|
+
*/
|
|
826
|
+
writeRelationships: {
|
|
827
|
+
methodKind: "unary";
|
|
828
|
+
input: typeof WriteRelationshipsRequestSchema;
|
|
829
|
+
output: typeof EmptySchema;
|
|
830
|
+
},
|
|
831
|
+
/**
|
|
832
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.GetActiveModel
|
|
833
|
+
*/
|
|
834
|
+
getActiveModel: {
|
|
835
|
+
methodKind: "unary";
|
|
836
|
+
input: typeof EmptySchema;
|
|
837
|
+
output: typeof GetActiveModelResponseSchema;
|
|
838
|
+
},
|
|
839
|
+
/**
|
|
840
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.ListModels
|
|
841
|
+
*/
|
|
842
|
+
listModels: {
|
|
843
|
+
methodKind: "unary";
|
|
844
|
+
input: typeof ListModelsRequestSchema;
|
|
845
|
+
output: typeof ListModelsResponseSchema;
|
|
846
|
+
},
|
|
847
|
+
/**
|
|
848
|
+
* @generated from rpc gestalt.provider.v1.AuthorizationProvider.WriteModel
|
|
849
|
+
*/
|
|
850
|
+
writeModel: {
|
|
851
|
+
methodKind: "unary";
|
|
852
|
+
input: typeof WriteModelRequestSchema;
|
|
853
|
+
output: typeof AuthorizationModelRefSchema;
|
|
854
|
+
},
|
|
855
|
+
}> = /*@__PURE__*/
|
|
856
|
+
serviceDesc(file_v1_authorization, 0);
|
|
857
|
+
|