@virtru/dsp-sdk 0.1.10 → 0.1.11-pr611.dfdc8c18

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.
Files changed (32) hide show
  1. package/.rush/temp/operation/_phase_build/state.json +1 -1
  2. package/.rush/temp/package-deps__phase_build.json +19 -15
  3. package/dist/src/gen/config/v1/config_pb.d.ts +231 -0
  4. package/dist/src/gen/config/v1/config_pb.js +100 -9
  5. package/dist/src/gen/config/v1/kas_config_pb.d.ts +128 -0
  6. package/dist/src/gen/config/v1/kas_config_pb.js +67 -0
  7. package/dist/src/gen/config/v1/meta_pb.js +3 -5
  8. package/dist/src/gen/config/v1/outlook_config_pb.d.ts +178 -0
  9. package/dist/src/gen/config/v1/outlook_config_pb.js +62 -0
  10. package/dist/src/gen/config/v1/secureviewer_config_pb.d.ts +114 -0
  11. package/dist/src/gen/config/v1/secureviewer_config_pb.js +62 -0
  12. package/dist/src/gen/config/v1/tagging_pb.js +3 -5
  13. package/dist/src/gen/policyimportexport/v1/policy_import_export_pb.js +3 -5
  14. package/dist/src/gen/shared/v1/shared_pb.js +3 -5
  15. package/dist/src/gen/tagging/pdp/v2/tagging_pb.js +3 -5
  16. package/dist/src/gen/version/v1/version_pb.js +3 -5
  17. package/package.json +1 -1
  18. package/src/gen/config/formatters/testdata/v1/test_pb.ts +0 -1
  19. package/src/gen/config/v1/config_pb.ts +307 -11
  20. package/src/gen/config/v1/kas_config_pb.ts +177 -0
  21. package/src/gen/config/v1/meta_pb.ts +0 -6
  22. package/src/gen/config/v1/outlook_config_pb.ts +236 -0
  23. package/src/gen/config/v1/secureviewer_config_pb.ts +155 -0
  24. package/src/gen/config/v1/tagging_pb.ts +0 -6
  25. package/src/gen/policyimportexport/v1/policy_import_export_pb.ts +0 -6
  26. package/src/gen/shared/v1/shared_pb.ts +0 -6
  27. package/src/gen/shared/v2/shared_pb.ts +0 -6
  28. package/src/gen/tagging/pdp/v2/externalprocessors/processor_pb.ts +0 -6
  29. package/src/gen/tagging/pdp/v2/stanag/stanag_pb.ts +0 -6
  30. package/src/gen/tagging/pdp/v2/tagging_pb.ts +0 -6
  31. package/src/gen/version/v1/version_pb.ts +0 -6
  32. package/src/gen/web-admin/v1/config_pb.ts +167 -0
@@ -1,9 +1,3 @@
1
- /*
2
- * Copyright (c) Virtru Corporation. All rights reserved.
3
- *
4
- * Your use of this file is governed by the Virtu Terms of Service <https://www.virtru.com/terms-of-service/>.
5
- */
6
-
7
1
  // @generated by protoc-gen-es v2.3.0 with parameter "target=ts"
8
2
  // @generated from file config/v1/config.proto (package config.v1, syntax proto3)
9
3
  /* eslint-disable */
@@ -21,6 +15,15 @@ import {
21
15
  import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
22
16
  import type { TaggingPDPConfig, TaggingPDPConfigVersion } from './tagging_pb';
23
17
  import { file_config_v1_tagging } from './tagging_pb';
18
+ import type { KASConfig, KASConfigVersion } from './kas_config_pb';
19
+ import { file_config_v1_kas_config } from './kas_config_pb';
20
+ import type {
21
+ SecureViewerConfig,
22
+ SecureViewerConfigVersion,
23
+ } from './secureviewer_config_pb';
24
+ import { file_config_v1_secureviewer_config } from './secureviewer_config_pb';
25
+ import type { OutlookConfig, OutlookConfigVersion } from './outlook_config_pb';
26
+ import { file_config_v1_outlook_config } from './outlook_config_pb';
24
27
  import type { Message } from '@bufbuild/protobuf';
25
28
 
26
29
  /**
@@ -29,8 +32,14 @@ import type { Message } from '@bufbuild/protobuf';
29
32
  export const file_config_v1_config: GenFile =
30
33
  /*@__PURE__*/
31
34
  fileDesc(
32
- 'ChZjb25maWcvdjEvY29uZmlnLnByb3RvEgljb25maWcudjEiQQobR2V0VGFnZ2luZ1BEUENvbmZpZ1Jlc3BvbnNlEg0KBXZhbHVlGAEgASgJEhMKC2pzb25fc2NoZW1hGAIgASgJIlkKGkdldFRhZ2dpbmdQRFBDb25maWdSZXF1ZXN0EjsKB3ZlcnNpb24YASABKA4yIi5jb25maWcudjEuV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dGxvb2tDb25maWdSZXNwb25zZSIAElEKDEdldEtBU0NvbmZpZxIeLmNvbmZpZy52MS5HZXRLQVNDb25maWdSZXF1ZXN0Gh8uY29uZmlnLnYxLkdldEtBU0NvbmZpZ1Jlc3BvbnNlIgASUQoMU2V0S0FTQ29uZmlnEh4uY29uZmlnLnYxLlNldEtBU0NvbmZpZ1JlcXVlc3QaHy5jb25maWcudjEuU2V0S0FTQ29uZmlnUmVzcG9uc2UiAEKuAQoNY29tLmNvbmZpZy52MUILQ29uZmlnUHJvdG9QAVpLZ2l0aHViLmNvbS92aXJ0cnUtY29ycC9kYXRhLXNlY3VyaXR5LXBsYXRmb3JtL3Nkay92Mi9nZW4vY29uZmlnL3YxO2NvbmZpZ3YxogIDQ1hYqgIJQ29uZmlnLlYxygIJQ29uZmlnXFYx4gIVQ29uZmlnXFYxXEdQQk1ldGFkYXRh6gIKQ29uZmlnOjpWMWIGcHJvdG8z',
36
+ [
37
+ file_buf_validate_validate,
38
+ file_config_v1_tagging,
39
+ file_config_v1_kas_config,
40
+ file_config_v1_secureviewer_config,
41
+ file_config_v1_outlook_config,
42
+ ]
34
43
  );
35
44
 
36
45
  /**
@@ -57,6 +66,77 @@ export const GetTaggingPDPConfigResponseSchema: GenMessage<GetTaggingPDPConfigRe
57
66
  /*@__PURE__*/
58
67
  messageDesc(file_config_v1_config, 0);
59
68
 
69
+ /**
70
+ * @generated from message config.v1.GetSecureViewerConfigResponse
71
+ */
72
+ export type GetSecureViewerConfigResponse =
73
+ Message<'config.v1.GetSecureViewerConfigResponse'> & {
74
+ /**
75
+ * @generated from field: string value = 1;
76
+ */
77
+ value: string;
78
+
79
+ /**
80
+ * @generated from field: string json_schema = 2;
81
+ */
82
+ jsonSchema: string;
83
+ };
84
+
85
+ /**
86
+ * Describes the message config.v1.GetSecureViewerConfigResponse.
87
+ * Use `create(GetSecureViewerConfigResponseSchema)` to create a new message.
88
+ */
89
+ export const GetSecureViewerConfigResponseSchema: GenMessage<GetSecureViewerConfigResponse> =
90
+ /*@__PURE__*/
91
+ messageDesc(file_config_v1_config, 1);
92
+
93
+ /**
94
+ * @generated from message config.v1.GetKASConfigResponse
95
+ */
96
+ export type GetKASConfigResponse = Message<'config.v1.GetKASConfigResponse'> & {
97
+ /**
98
+ * @generated from field: string value = 1;
99
+ */
100
+ value: string;
101
+
102
+ /**
103
+ * @generated from field: string json_schema = 2;
104
+ */
105
+ jsonSchema: string;
106
+ };
107
+
108
+ /**
109
+ * Describes the message config.v1.GetKASConfigResponse.
110
+ * Use `create(GetKASConfigResponseSchema)` to create a new message.
111
+ */
112
+ export const GetKASConfigResponseSchema: GenMessage<GetKASConfigResponse> =
113
+ /*@__PURE__*/
114
+ messageDesc(file_config_v1_config, 2);
115
+
116
+ /**
117
+ * @generated from message config.v1.GetOutlookConfigResponse
118
+ */
119
+ export type GetOutlookConfigResponse =
120
+ Message<'config.v1.GetOutlookConfigResponse'> & {
121
+ /**
122
+ * @generated from field: string value = 1;
123
+ */
124
+ value: string;
125
+
126
+ /**
127
+ * @generated from field: string json_schema = 2;
128
+ */
129
+ jsonSchema: string;
130
+ };
131
+
132
+ /**
133
+ * Describes the message config.v1.GetOutlookConfigResponse.
134
+ * Use `create(GetOutlookConfigResponseSchema)` to create a new message.
135
+ */
136
+ export const GetOutlookConfigResponseSchema: GenMessage<GetOutlookConfigResponse> =
137
+ /*@__PURE__*/
138
+ messageDesc(file_config_v1_config, 3);
139
+
60
140
  /**
61
141
  * @generated from message config.v1.GetTaggingPDPConfigRequest
62
142
  */
@@ -74,7 +154,7 @@ export type GetTaggingPDPConfigRequest =
74
154
  */
75
155
  export const GetTaggingPDPConfigRequestSchema: GenMessage<GetTaggingPDPConfigRequest> =
76
156
  /*@__PURE__*/
77
- messageDesc(file_config_v1_config, 1);
157
+ messageDesc(file_config_v1_config, 4);
78
158
 
79
159
  /**
80
160
  * @generated from message config.v1.SetTaggingPDPConfigRequest
@@ -93,7 +173,7 @@ export type SetTaggingPDPConfigRequest =
93
173
  */
94
174
  export const SetTaggingPDPConfigRequestSchema: GenMessage<SetTaggingPDPConfigRequest> =
95
175
  /*@__PURE__*/
96
- messageDesc(file_config_v1_config, 2);
176
+ messageDesc(file_config_v1_config, 5);
97
177
 
98
178
  /**
99
179
  * @generated from message config.v1.SetTaggingPDPConfigResponse
@@ -112,7 +192,175 @@ export type SetTaggingPDPConfigResponse =
112
192
  */
113
193
  export const SetTaggingPDPConfigResponseSchema: GenMessage<SetTaggingPDPConfigResponse> =
114
194
  /*@__PURE__*/
115
- messageDesc(file_config_v1_config, 3);
195
+ messageDesc(file_config_v1_config, 6);
196
+
197
+ /**
198
+ * @generated from message config.v1.GetSecureViewerConfigRequest
199
+ */
200
+ export type GetSecureViewerConfigRequest =
201
+ Message<'config.v1.GetSecureViewerConfigRequest'> & {
202
+ /**
203
+ * @generated from field: config.v1.SecureViewerConfigVersion version = 1;
204
+ */
205
+ version: SecureViewerConfigVersion;
206
+ };
207
+
208
+ /**
209
+ * Describes the message config.v1.GetSecureViewerConfigRequest.
210
+ * Use `create(GetSecureViewerConfigRequestSchema)` to create a new message.
211
+ */
212
+ export const GetSecureViewerConfigRequestSchema: GenMessage<GetSecureViewerConfigRequest> =
213
+ /*@__PURE__*/
214
+ messageDesc(file_config_v1_config, 7);
215
+
216
+ /**
217
+ * @generated from message config.v1.SetSecureViewerConfigRequest
218
+ */
219
+ export type SetSecureViewerConfigRequest =
220
+ Message<'config.v1.SetSecureViewerConfigRequest'> & {
221
+ /**
222
+ * @generated from field: config.v1.SecureViewerConfig config = 1;
223
+ */
224
+ config?: SecureViewerConfig;
225
+ };
226
+
227
+ /**
228
+ * Describes the message config.v1.SetSecureViewerConfigRequest.
229
+ * Use `create(SetSecureViewerConfigRequestSchema)` to create a new message.
230
+ */
231
+ export const SetSecureViewerConfigRequestSchema: GenMessage<SetSecureViewerConfigRequest> =
232
+ /*@__PURE__*/
233
+ messageDesc(file_config_v1_config, 8);
234
+
235
+ /**
236
+ * @generated from message config.v1.SetSecureViewerConfigResponse
237
+ */
238
+ export type SetSecureViewerConfigResponse =
239
+ Message<'config.v1.SetSecureViewerConfigResponse'> & {
240
+ /**
241
+ * @generated from field: config.v1.SecureViewerConfig config = 1;
242
+ */
243
+ config?: SecureViewerConfig;
244
+ };
245
+
246
+ /**
247
+ * Describes the message config.v1.SetSecureViewerConfigResponse.
248
+ * Use `create(SetSecureViewerConfigResponseSchema)` to create a new message.
249
+ */
250
+ export const SetSecureViewerConfigResponseSchema: GenMessage<SetSecureViewerConfigResponse> =
251
+ /*@__PURE__*/
252
+ messageDesc(file_config_v1_config, 9);
253
+
254
+ /**
255
+ * @generated from message config.v1.GetOutlookConfigRequest
256
+ */
257
+ export type GetOutlookConfigRequest =
258
+ Message<'config.v1.GetOutlookConfigRequest'> & {
259
+ /**
260
+ * @generated from field: config.v1.OutlookConfigVersion version = 1;
261
+ */
262
+ version: OutlookConfigVersion;
263
+ };
264
+
265
+ /**
266
+ * Describes the message config.v1.GetOutlookConfigRequest.
267
+ * Use `create(GetOutlookConfigRequestSchema)` to create a new message.
268
+ */
269
+ export const GetOutlookConfigRequestSchema: GenMessage<GetOutlookConfigRequest> =
270
+ /*@__PURE__*/
271
+ messageDesc(file_config_v1_config, 10);
272
+
273
+ /**
274
+ * @generated from message config.v1.SetOutlookConfigRequest
275
+ */
276
+ export type SetOutlookConfigRequest =
277
+ Message<'config.v1.SetOutlookConfigRequest'> & {
278
+ /**
279
+ * @generated from field: config.v1.OutlookConfig config = 1;
280
+ */
281
+ config?: OutlookConfig;
282
+ };
283
+
284
+ /**
285
+ * Describes the message config.v1.SetOutlookConfigRequest.
286
+ * Use `create(SetOutlookConfigRequestSchema)` to create a new message.
287
+ */
288
+ export const SetOutlookConfigRequestSchema: GenMessage<SetOutlookConfigRequest> =
289
+ /*@__PURE__*/
290
+ messageDesc(file_config_v1_config, 11);
291
+
292
+ /**
293
+ * @generated from message config.v1.SetOutlookConfigResponse
294
+ */
295
+ export type SetOutlookConfigResponse =
296
+ Message<'config.v1.SetOutlookConfigResponse'> & {
297
+ /**
298
+ * @generated from field: config.v1.OutlookConfig config = 1;
299
+ */
300
+ config?: OutlookConfig;
301
+ };
302
+
303
+ /**
304
+ * Describes the message config.v1.SetOutlookConfigResponse.
305
+ * Use `create(SetOutlookConfigResponseSchema)` to create a new message.
306
+ */
307
+ export const SetOutlookConfigResponseSchema: GenMessage<SetOutlookConfigResponse> =
308
+ /*@__PURE__*/
309
+ messageDesc(file_config_v1_config, 12);
310
+
311
+ /**
312
+ * @generated from message config.v1.GetKASConfigRequest
313
+ */
314
+ export type GetKASConfigRequest = Message<'config.v1.GetKASConfigRequest'> & {
315
+ /**
316
+ * @generated from field: config.v1.KASConfigVersion version = 1;
317
+ */
318
+ version: KASConfigVersion;
319
+ };
320
+
321
+ /**
322
+ * Describes the message config.v1.GetKASConfigRequest.
323
+ * Use `create(GetKASConfigRequestSchema)` to create a new message.
324
+ */
325
+ export const GetKASConfigRequestSchema: GenMessage<GetKASConfigRequest> =
326
+ /*@__PURE__*/
327
+ messageDesc(file_config_v1_config, 13);
328
+
329
+ /**
330
+ * @generated from message config.v1.SetKASConfigRequest
331
+ */
332
+ export type SetKASConfigRequest = Message<'config.v1.SetKASConfigRequest'> & {
333
+ /**
334
+ * @generated from field: config.v1.KASConfig config = 1;
335
+ */
336
+ config?: KASConfig;
337
+ };
338
+
339
+ /**
340
+ * Describes the message config.v1.SetKASConfigRequest.
341
+ * Use `create(SetKASConfigRequestSchema)` to create a new message.
342
+ */
343
+ export const SetKASConfigRequestSchema: GenMessage<SetKASConfigRequest> =
344
+ /*@__PURE__*/
345
+ messageDesc(file_config_v1_config, 14);
346
+
347
+ /**
348
+ * @generated from message config.v1.SetKASConfigResponse
349
+ */
350
+ export type SetKASConfigResponse = Message<'config.v1.SetKASConfigResponse'> & {
351
+ /**
352
+ * @generated from field: config.v1.KASConfig config = 1;
353
+ */
354
+ config?: KASConfig;
355
+ };
356
+
357
+ /**
358
+ * Describes the message config.v1.SetKASConfigResponse.
359
+ * Use `create(SetKASConfigResponseSchema)` to create a new message.
360
+ */
361
+ export const SetKASConfigResponseSchema: GenMessage<SetKASConfigResponse> =
362
+ /*@__PURE__*/
363
+ messageDesc(file_config_v1_config, 15);
116
364
 
117
365
  /**
118
366
  * @generated from service config.v1.ConfigService
@@ -134,4 +382,52 @@ export const ConfigService: GenService<{
134
382
  input: typeof SetTaggingPDPConfigRequestSchema;
135
383
  output: typeof SetTaggingPDPConfigResponseSchema;
136
384
  };
385
+ /**
386
+ * @generated from rpc config.v1.ConfigService.GetSecureViewerConfig
387
+ */
388
+ getSecureViewerConfig: {
389
+ methodKind: 'unary';
390
+ input: typeof GetSecureViewerConfigRequestSchema;
391
+ output: typeof GetSecureViewerConfigResponseSchema;
392
+ };
393
+ /**
394
+ * @generated from rpc config.v1.ConfigService.SetSecureViewerConfig
395
+ */
396
+ setSecureViewerConfig: {
397
+ methodKind: 'unary';
398
+ input: typeof SetSecureViewerConfigRequestSchema;
399
+ output: typeof SetSecureViewerConfigResponseSchema;
400
+ };
401
+ /**
402
+ * @generated from rpc config.v1.ConfigService.GetOutlookConfig
403
+ */
404
+ getOutlookConfig: {
405
+ methodKind: 'unary';
406
+ input: typeof GetOutlookConfigRequestSchema;
407
+ output: typeof GetOutlookConfigResponseSchema;
408
+ };
409
+ /**
410
+ * @generated from rpc config.v1.ConfigService.SetOutlookConfig
411
+ */
412
+ setOutlookConfig: {
413
+ methodKind: 'unary';
414
+ input: typeof SetOutlookConfigRequestSchema;
415
+ output: typeof SetOutlookConfigResponseSchema;
416
+ };
417
+ /**
418
+ * @generated from rpc config.v1.ConfigService.GetKASConfig
419
+ */
420
+ getKASConfig: {
421
+ methodKind: 'unary';
422
+ input: typeof GetKASConfigRequestSchema;
423
+ output: typeof GetKASConfigResponseSchema;
424
+ };
425
+ /**
426
+ * @generated from rpc config.v1.ConfigService.SetKASConfig
427
+ */
428
+ setKASConfig: {
429
+ methodKind: 'unary';
430
+ input: typeof SetKASConfigRequestSchema;
431
+ output: typeof SetKASConfigResponseSchema;
432
+ };
137
433
  }> = /*@__PURE__*/ serviceDesc(file_config_v1_config, 0);
@@ -0,0 +1,177 @@
1
+ // @generated by protoc-gen-es v2.3.0 with parameter "target=ts"
2
+ // @generated from file config/v1/kas_config.proto (package config.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type {
6
+ GenEnum,
7
+ GenFile,
8
+ GenMessage,
9
+ } from '@bufbuild/protobuf/codegenv1';
10
+ import { enumDesc, fileDesc, messageDesc } from '@bufbuild/protobuf/codegenv1';
11
+ import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
12
+ import { file_config_v1_meta } from './meta_pb';
13
+ import type { Duration } from '@bufbuild/protobuf/wkt';
14
+ import { file_google_protobuf_duration } from '@bufbuild/protobuf/wkt';
15
+ import type { Message } from '@bufbuild/protobuf';
16
+
17
+ /**
18
+ * Describes the file config/v1/kas_config.proto.
19
+ */
20
+ export const file_config_v1_kas_config: GenFile =
21
+ /*@__PURE__*/
22
+ fileDesc(
23
+ 'Chpjb25maWcvdjEva2FzX2NvbmZpZy5wcm90bxIJY29uZmlnLnYxIkMKCUtBU0NvbmZpZxIkCgJ2MRgBIAEoCzIWLmNvbmZpZy52MS5LQVNDb25maWdWMUgAQhAKB3ZlcnNpb24SBbpIAggBIuYCCg5LQVNLZXlyaW5nSXRlbRJoCglhbGdvcml0aG0YASABKAlCVbpIA8gBAYK1GEsKCUFsZ29yaXRobRI+VGhlIGNyeXB0b2dyYXBoaWMgYWxnb3JpdGhtIGlkZW50aWZpZXIgKGUuZy4sICdlYzpzZWNwMjU2cjEnKS4SSQoDa2lkGAIgASgJQjy6SAPIAQGCtRgyCgxLZXkgSUQgKEtJRCkSIlRoZSB1bmlxdWUgaWRlbnRpZmllciBmb3IgdGhlIGtleS4SngEKBmxlZ2FjeRgDIAEoCEKNAYK1GIgBCgpMZWdhY3kgS2V5EnNJbmRpY2F0ZXMgdGhhdCB0aGUga2V5IHNob3VsZCBub3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HJldmlld0ZlYXR1cmVzQlCCtRhMChBQcmV2aWV3IEZlYXR1cmVzEjhDb25maWd1cmF0aW9uIGZvciBleHBlcmltZW50YWwgb3IgcHJldmlldyBmdW5jdGlvbmFsaXR5LhKSAQoScmVnaXN0ZXJlZF9rYXNfdXJpGAUgASgJQnaCtRhyChJSZWdpc3RlcmVkIEtBUyBVUkkSXFRoZSBwdWJsaWNseSBhY2Nlc3NpYmxlIFVSSSBvZiB0aGlzIEtBUyBpbnN0YW5jZSwgYXMgaXQgc2hvdWxkIGFwcGVhciBpbiBLZXkgQWNjZXNzIE9iamVjdHMuKlEKEEtBU0NvbmZpZ1ZlcnNpb24SIgoeS0FTX0NPTkZJR19WRVJTSU9OX1VOU1BFQ0lGSUVEEAASGQoVS0FTX0NPTkZJR19WRVJTSU9OX1YxEAFCsQEKDWNvbS5jb25maWcudjFCDkthc0NvbmZpZ1Byb3RvUAFaS2dpdGh1Yi5jb20vdmlydHJ1LWNvcnAvZGF0YS1zZWN1cml0eS1wbGF0Zm9ybS9zZGsvdjIvZ2VuL2NvbmZpZy92MTtjb25maWd2MaICA0NYWKoCCUNvbmZpZy5WMcoCCUNvbmZpZ1xWMeICFUNvbmZpZ1xWMVxHUEJNZXRhZGF0YeoCCkNvbmZpZzo6VjFiBnByb3RvMw',
24
+ [
25
+ file_buf_validate_validate,
26
+ file_config_v1_meta,
27
+ file_google_protobuf_duration,
28
+ ]
29
+ );
30
+
31
+ /**
32
+ * A wrapper message that uses a oneof to support multiple config versions.
33
+ *
34
+ * @generated from message config.v1.KASConfig
35
+ */
36
+ export type KASConfig = Message<'config.v1.KASConfig'> & {
37
+ /**
38
+ * @generated from oneof config.v1.KASConfig.version
39
+ */
40
+ version:
41
+ | {
42
+ /**
43
+ * @generated from field: config.v1.KASConfigV1 v1 = 1;
44
+ */
45
+ value: KASConfigV1;
46
+ case: 'v1';
47
+ }
48
+ | { case: undefined; value?: undefined };
49
+ };
50
+
51
+ /**
52
+ * Describes the message config.v1.KASConfig.
53
+ * Use `create(KASConfigSchema)` to create a new message.
54
+ */
55
+ export const KASConfigSchema: GenMessage<KASConfig> =
56
+ /*@__PURE__*/
57
+ messageDesc(file_config_v1_kas_config, 0);
58
+
59
+ /**
60
+ * Corresponds to the Go `CurrentKeyFor` struct.
61
+ * Specifies the preferred/default key for a given algorithm type.
62
+ *
63
+ * @generated from message config.v1.KASKeyringItem
64
+ */
65
+ export type KASKeyringItem = Message<'config.v1.KASKeyringItem'> & {
66
+ /**
67
+ * @generated from field: string algorithm = 1;
68
+ */
69
+ algorithm: string;
70
+
71
+ /**
72
+ * @generated from field: string kid = 2;
73
+ */
74
+ kid: string;
75
+
76
+ /**
77
+ * @generated from field: bool legacy = 3;
78
+ */
79
+ legacy: boolean;
80
+ };
81
+
82
+ /**
83
+ * Describes the message config.v1.KASKeyringItem.
84
+ * Use `create(KASKeyringItemSchema)` to create a new message.
85
+ */
86
+ export const KASKeyringItemSchema: GenMessage<KASKeyringItem> =
87
+ /*@__PURE__*/
88
+ messageDesc(file_config_v1_kas_config, 1);
89
+
90
+ /**
91
+ * Corresponds to the Go `Preview` struct.
92
+ *
93
+ * @generated from message config.v1.KASPreviewFeatures
94
+ */
95
+ export type KASPreviewFeatures = Message<'config.v1.KASPreviewFeatures'> & {
96
+ /**
97
+ * @generated from field: bool ec_tdf_enabled = 1;
98
+ */
99
+ ecTdfEnabled: boolean;
100
+
101
+ /**
102
+ * @generated from field: bool key_management = 2;
103
+ */
104
+ keyManagement: boolean;
105
+ };
106
+
107
+ /**
108
+ * Describes the message config.v1.KASPreviewFeatures.
109
+ * Use `create(KASPreviewFeaturesSchema)` to create a new message.
110
+ */
111
+ export const KASPreviewFeaturesSchema: GenMessage<KASPreviewFeatures> =
112
+ /*@__PURE__*/
113
+ messageDesc(file_config_v1_kas_config, 2);
114
+
115
+ /**
116
+ * The V1 definition for the KAS configuration, mapping from the Go `KASConfig` struct.
117
+ *
118
+ * @generated from message config.v1.KASConfigV1
119
+ */
120
+ export type KASConfigV1 = Message<'config.v1.KASConfigV1'> & {
121
+ /**
122
+ * @generated from field: repeated config.v1.KASKeyringItem keyring = 1;
123
+ */
124
+ keyring: KASKeyringItem[];
125
+
126
+ /**
127
+ * @generated from field: string root_key = 2;
128
+ */
129
+ rootKey: string;
130
+
131
+ /**
132
+ * @generated from field: google.protobuf.Duration key_cache_expiration = 3;
133
+ */
134
+ keyCacheExpiration?: Duration;
135
+
136
+ /**
137
+ * @generated from field: config.v1.KASPreviewFeatures preview = 4;
138
+ */
139
+ preview?: KASPreviewFeatures;
140
+
141
+ /**
142
+ * @generated from field: string registered_kas_uri = 5;
143
+ */
144
+ registeredKasUri: string;
145
+ };
146
+
147
+ /**
148
+ * Describes the message config.v1.KASConfigV1.
149
+ * Use `create(KASConfigV1Schema)` to create a new message.
150
+ */
151
+ export const KASConfigV1Schema: GenMessage<KASConfigV1> =
152
+ /*@__PURE__*/
153
+ messageDesc(file_config_v1_kas_config, 3);
154
+
155
+ /**
156
+ * Enum to manage different versions of the KAS configuration.
157
+ *
158
+ * @generated from enum config.v1.KASConfigVersion
159
+ */
160
+ export enum KASConfigVersion {
161
+ /**
162
+ * @generated from enum value: KAS_CONFIG_VERSION_UNSPECIFIED = 0;
163
+ */
164
+ KAS_CONFIG_VERSION_UNSPECIFIED = 0,
165
+
166
+ /**
167
+ * @generated from enum value: KAS_CONFIG_VERSION_V1 = 1;
168
+ */
169
+ KAS_CONFIG_VERSION_V1 = 1,
170
+ }
171
+
172
+ /**
173
+ * Describes the enum config.v1.KASConfigVersion.
174
+ */
175
+ export const KASConfigVersionSchema: GenEnum<KASConfigVersion> =
176
+ /*@__PURE__*/
177
+ enumDesc(file_config_v1_kas_config, 0);
@@ -1,9 +1,3 @@
1
- /*
2
- * Copyright (c) Virtru Corporation. All rights reserved.
3
- *
4
- * Your use of this file is governed by the Virtu Terms of Service <https://www.virtru.com/terms-of-service/>.
5
- */
6
-
7
1
  // @generated by protoc-gen-es v2.3.0 with parameter "target=ts"
8
2
  // @generated from file config/v1/meta.proto (package config.v1, syntax proto3)
9
3
  /* eslint-disable */