@virtru/dsp-sdk 0.5.0 → 0.6.0

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 (130) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/README.md +81 -3
  3. package/dist/src/fips.d.ts +7 -0
  4. package/dist/src/fips.js +12 -0
  5. package/dist/src/lib/dsp.d.ts +17 -1
  6. package/dist/src/lib/dsp.js +28 -5
  7. package/package.json +23 -2
  8. package/.prettierrc +0 -3
  9. package/.rush/temp/chunked-rush-logs/dsp-sdk._phase_build.chunks.jsonl +0 -12
  10. package/.rush/temp/chunked-rush-logs/dsp-sdk._phase_test.chunks.jsonl +0 -383
  11. package/.rush/temp/package-deps__phase_build.json +0 -76
  12. package/.rush/temp/shrinkwrap-deps.json +0 -1262
  13. package/CHANGELOG.json +0 -299
  14. package/buf.gen.yaml +0 -17
  15. package/buf.yaml +0 -4
  16. package/config/jest.config.json +0 -6
  17. package/config/rig.json +0 -8
  18. package/dist/tests/dsp-client.test.d.ts +0 -1
  19. package/dist/tests/dsp-client.test.js +0 -73
  20. package/dist/tests/dsp.test.d.ts +0 -1
  21. package/dist/tests/dsp.test.js +0 -92
  22. package/dist/tests/fips-crypto.unit.test.d.ts +0 -1
  23. package/dist/tests/fips-crypto.unit.test.js +0 -258
  24. package/dist/tests/mocks/create-export-artifacts.d.ts +0 -2
  25. package/dist/tests/mocks/create-export-artifacts.js +0 -13
  26. package/dist/tests/mocks/tagging-pdp-tag.d.ts +0 -2
  27. package/dist/tests/mocks/tagging-pdp-tag.js +0 -11
  28. package/dist/tests/mocks/well-known-configuration.d.ts +0 -2
  29. package/dist/tests/mocks/well-known-configuration.js +0 -12
  30. package/dist/tests/setup-msw.d.ts +0 -9
  31. package/dist/tests/setup-msw.js +0 -30
  32. package/dist/tests/setup-unit.d.ts +0 -7
  33. package/dist/tests/setup-unit.js +0 -70
  34. package/eslint.config.mjs +0 -28
  35. package/lib-commonjs/src/gen/buf/validate/validate_pb.js +0 -487
  36. package/lib-commonjs/src/gen/config/v1/config_pb.js +0 -142
  37. package/lib-commonjs/src/gen/config/v1/kas_config_pb.js +0 -72
  38. package/lib-commonjs/src/gen/config/v1/meta_pb.js +0 -36
  39. package/lib-commonjs/src/gen/config/v1/outlook_config_pb.js +0 -67
  40. package/lib-commonjs/src/gen/config/v1/secureviewer_config_pb.js +0 -67
  41. package/lib-commonjs/src/gen/config/v1/tagging_pb.js +0 -246
  42. package/lib-commonjs/src/gen/google/api/annotations_pb.js +0 -33
  43. package/lib-commonjs/src/gen/google/api/http_pb.js +0 -44
  44. package/lib-commonjs/src/gen/policyimportexport/v1/policy_import_export_pb.js +0 -93
  45. package/lib-commonjs/src/gen/shared/v1/shared_pb.js +0 -95
  46. package/lib-commonjs/src/gen/tagging/pdp/v2/tagging_pb.js +0 -277
  47. package/lib-commonjs/src/gen/version/v1/version_pb.js +0 -40
  48. package/lib-commonjs/src/gen/virtru/common/common_pb.js +0 -76
  49. package/lib-commonjs/src/gen/virtru/policy/certificates/v1/certificates_pb.js +0 -77
  50. package/lib-commonjs/src/gen/virtru/policy/objects_pb.js +0 -143
  51. package/lib-commonjs/src/index.js +0 -48
  52. package/lib-commonjs/src/lib/client.js +0 -66
  53. package/lib-commonjs/src/lib/consts.js +0 -10
  54. package/lib-commonjs/src/lib/dsp.js +0 -49
  55. package/lib-commonjs/src/lib/fips-crypto/asymmetric.js +0 -126
  56. package/lib-commonjs/src/lib/fips-crypto/key-format.js +0 -243
  57. package/lib-commonjs/src/lib/fips-crypto/keys.js +0 -134
  58. package/lib-commonjs/src/lib/fips-crypto/primitives.js +0 -112
  59. package/lib-commonjs/src/lib/fips-crypto/symmetric.js +0 -162
  60. package/lib-commonjs/src/lib/fips-crypto-service.js +0 -57
  61. package/lib-commonjs/src/lib/utils.js +0 -401
  62. package/lib-commonjs/tests/dsp-client.test.js +0 -75
  63. package/lib-commonjs/tests/dsp.test.js +0 -94
  64. package/lib-commonjs/tests/fips-crypto.unit.test.js +0 -260
  65. package/lib-commonjs/tests/mocks/create-export-artifacts.js +0 -17
  66. package/lib-commonjs/tests/mocks/tagging-pdp-tag.js +0 -15
  67. package/lib-commonjs/tests/mocks/well-known-configuration.js +0 -16
  68. package/lib-commonjs/tests/setup-msw.js +0 -33
  69. package/lib-commonjs/tests/setup-unit.js +0 -72
  70. package/public/virtru.wasm +0 -0
  71. package/src/gen/buf/validate/validate_pb.ts +0 -4879
  72. package/src/gen/config/formatters/testdata/v1/test_pb.ts +0 -287
  73. package/src/gen/config/v1/config_connect.ts +0 -111
  74. package/src/gen/config/v1/config_pb.ts +0 -439
  75. package/src/gen/config/v1/kas_config_pb.ts +0 -183
  76. package/src/gen/config/v1/meta_pb.ts +0 -72
  77. package/src/gen/config/v1/outlook_config_pb.ts +0 -242
  78. package/src/gen/config/v1/secureviewer_config_pb.ts +0 -161
  79. package/src/gen/config/v1/tagging_pb.ts +0 -456
  80. package/src/gen/google/api/annotations_pb.ts +0 -43
  81. package/src/gen/google/api/http_pb.ts +0 -486
  82. package/src/gen/helloworld/v1/helloworld_connect.ts +0 -49
  83. package/src/gen/helloworld/v1/helloworld_pb.ts +0 -104
  84. package/src/gen/kas/nanotdf/v1/nanotdf_rewrap_connect.ts +0 -39
  85. package/src/gen/kas/nanotdf/v1/nanotdf_rewrap_pb.ts +0 -207
  86. package/src/gen/policyimportexport/v1/policy_import_export_connect.ts +0 -56
  87. package/src/gen/policyimportexport/v1/policy_import_export_pb.ts +0 -332
  88. package/src/gen/shared/v1/shared_connect.ts +0 -61
  89. package/src/gen/shared/v1/shared_pb.ts +0 -240
  90. package/src/gen/shared/v2/shared_connect.ts +0 -39
  91. package/src/gen/shared/v2/shared_pb.ts +0 -122
  92. package/src/gen/tagging/pdp/v2/externalprocessors/processor_connect.ts +0 -156
  93. package/src/gen/tagging/pdp/v2/externalprocessors/processor_pb.ts +0 -709
  94. package/src/gen/tagging/pdp/v2/stanag/stanag_pb.ts +0 -953
  95. package/src/gen/tagging/pdp/v2/tagging_connect.ts +0 -73
  96. package/src/gen/tagging/pdp/v2/tagging_pb.ts +0 -1064
  97. package/src/gen/version/v1/version_connect.ts +0 -31
  98. package/src/gen/version/v1/version_pb.ts +0 -143
  99. package/src/gen/virtru/common/common_pb.ts +0 -201
  100. package/src/gen/virtru/policy/certificates/v1/certificates_connect.ts +0 -44
  101. package/src/gen/virtru/policy/certificates/v1/certificates_pb.ts +0 -305
  102. package/src/gen/virtru/policy/objects_pb.ts +0 -253
  103. package/src/gen/web-admin/v1/config_connect.ts +0 -52
  104. package/src/gen/web-admin/v1/config_pb.ts +0 -173
  105. package/src/index.ts +0 -62
  106. package/src/lib/client.ts +0 -90
  107. package/src/lib/consts.ts +0 -8
  108. package/src/lib/dsp.ts +0 -65
  109. package/src/lib/fips-crypto/asymmetric.ts +0 -162
  110. package/src/lib/fips-crypto/key-format.ts +0 -287
  111. package/src/lib/fips-crypto/keys.ts +0 -190
  112. package/src/lib/fips-crypto/primitives.ts +0 -197
  113. package/src/lib/fips-crypto/symmetric.ts +0 -213
  114. package/src/lib/fips-crypto-service.ts +0 -58
  115. package/src/lib/utils.test.ts +0 -415
  116. package/src/lib/utils.ts +0 -525
  117. package/src/vite-env.d.ts +0 -7
  118. package/temp/build/lint/_eslint-5eVG3S6w.json +0 -38
  119. package/temp/test/jest/haste-map-b055a9550e6d9f9b43d8ad29b1607278-49d19aee56a0732eca9c014a51272338-8710993d07b75a801b0956e67ffc46fa +0 -0
  120. package/tests/dsp-client.test.ts +0 -95
  121. package/tests/dsp.test.ts +0 -119
  122. package/tests/fips-crypto.unit.test.ts +0 -412
  123. package/tests/mocks/create-export-artifacts.ts +0 -16
  124. package/tests/mocks/tagging-pdp-tag.ts +0 -13
  125. package/tests/mocks/well-known-configuration.ts +0 -15
  126. package/tests/setup-msw.ts +0 -35
  127. package/tests/setup-unit.ts +0 -108
  128. package/tsconfig.json +0 -32
  129. package/update-protos.sh +0 -63
  130. package/vitest.config.ts +0 -48
@@ -1,287 +0,0 @@
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
- // @generated by protoc-gen-es v2.3.0 with parameter "target=ts"
8
- // @generated from file config/formatters/testdata/v1/test.proto (package config.formatters.testdata.v1, syntax proto3)
9
- /* eslint-disable */
10
-
11
- import type {
12
- GenEnum,
13
- GenFile,
14
- GenMessage,
15
- } from '@bufbuild/protobuf/codegenv1';
16
- import { enumDesc, fileDesc, messageDesc } from '@bufbuild/protobuf/codegenv1';
17
- import { file_buf_validate_validate } from '../../../../buf/validate/validate_pb';
18
- import { file_config_v1_meta } from '../../../v1/meta_pb';
19
- import type { BoolValue } from '@bufbuild/protobuf/wkt';
20
- import { file_google_protobuf_wrappers } from '@bufbuild/protobuf/wkt';
21
- import type { Message } from '@bufbuild/protobuf';
22
-
23
- /**
24
- * Describes the file config/formatters/testdata/v1/test.proto.
25
- */
26
- export const file_config_formatters_testdata_v1_test: GenFile =
27
- /*@__PURE__*/
28
- fileDesc(
29
- 'Cihjb25maWcvZm9ybWF0dGVycy90ZXN0ZGF0YS92MS90ZXN0LnByb3RvEh1jb25maWcuZm9ybWF0dGVycy50ZXN0ZGF0YS52MSL3BwoJVGVzdFByb3RvEhIKCmJvb2xfZmllbGQYASABKAgSEwoLaW50MzJfZmllbGQYAiABKAUSFAoMc3RyaW5nX2ZpZWxkGAMgASgJEhMKC2J5dGVzX2ZpZWxkGAQgASgMEjYKEmJvb2xfd3JhcHBlcl9maWVsZBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5Cb29sVmFsdWUSRQoNbWVzc2FnZV9maWVsZBgGIAEoCzIuLmNvbmZpZy5mb3JtYXR0ZXJzLnRlc3RkYXRhLnYxLlRlc3ROZXN0ZWRQcm90bxIbChNyZXBlYXRlZF9ib29sX2ZpZWxkGAcgAygIEj8KG3JlcGVhdGVkX2Jvb2xfd3JhcHBlcl9maWVsZBgIIAMoCzIaLmdvb2dsZS5wcm90b2J1Zi5Cb29sVmFsdWUSTgoWcmVwZWF0ZWRfbWVzc2FnZV9maWVsZBgJIAMoCzIuLmNvbmZpZy5mb3JtYXR0ZXJzLnRlc3RkYXRhLnYxLlRlc3ROZXN0ZWRQcm90bxI7CgplbnVtX2ZpZWxkGAogASgOMicuY29uZmlnLmZvcm1hdHRlcnMudGVzdGRhdGEudjEuVGVzdEVudW0SHgoOcmVxdWlyZWRfZmllbGQYCyABKAlCBrpIA8gBARJfChttZXNzYWdlX3dpdGhfcmVxdWlyZWRfZmllbGQYDCABKAsyOi5jb25maWcuZm9ybWF0dGVycy50ZXN0ZGF0YS52MS5UZXN0TmVzdGVkV2l0aFJlcXVpcmVkUHJvdG8SbAobc3RyaW5nX2ZpZWxkX3dpdGhfZnVsbF9tZXRhGA0gASgJQkeCtRhDChZTY2FsYXIgRmllbGQgV2l0aCBNZXRhEilBIHNjYWxhciBmaWVsZCBzaG93aW5nIHVzYWdlIG9mIG1ldGEgdGFncxJCChxzdHJpbmdfZmllbGRfd2l0aF90aXRsZV9tZXRhGA4gASgJQhyCtRgYChZTY2FsYXIgRmllbGQgV2l0aCBNZXRhElsKInN0cmluZ19maWVsZF93aXRoX2Rlc2NyaXB0aW9uX21ldGEYDyABKAlCL4K1GCsSKUEgc2NhbGFyIGZpZWxkIHNob3dpbmcgdXNhZ2Ugb2YgbWV0YSB0YWdzElEKEW1lc3NhZ2Vfd2l0aF9tZXRhGBAgASgLMjYuY29uZmlnLmZvcm1hdHRlcnMudGVzdGRhdGEudjEuVGVzdE5lc3RlZFdpdGhNZXRhUHJvdG8SSQoPZW51bV93aXRoX3RpdGxlGBEgASgOMjAuY29uZmlnLmZvcm1hdHRlcnMudGVzdGRhdGEudjEuVGVzdFdpdGhUaXRsZUVudW0iKwoPVGVzdE5lc3RlZFByb3RvEgoKAmlkGAEgASgJEgwKBHR5cGUYAiABKAkiPwobVGVzdE5lc3RlZFdpdGhSZXF1aXJlZFByb3RvEhIKAmlkGAEgASgJQga6SAPIAQESDAoEdHlwZRgCIAEoCSJdChdUZXN0TmVzdGVkV2l0aE1ldGFQcm90bxIKCgJpZBgBIAEoCRI2CgR0eXBlGAIgASgJQiiCtRgkCgRUeXBlEhxUaGUgdHlwZSBvZiB0aGUgbmVzdGVkIHByb3RvKksKCFRlc3RFbnVtEhkKFVRFU1RfRU5VTV9VTlNQRUNJRklFRBAAEhEKDVRFU1RfRU5VTV9PTkUQARIRCg1URVNUX0VOVU1fVFdPEAIqmAEKEVRlc3RXaXRoVGl0bGVFbnVtEjUKIFRFU1RfV0lUSF9USVRMRV9FTlVNX1VOU1BFQ0lGSUVEEAAaD4K1GAtVbnNwZWNpZmllZBIlChhURVNUX1dJVEhfVElUTEVfRU5VTV9PTkUQARoHgrUYA09uZRIlChhURVNUX1dJVEhfVElUTEVfRU5VTV9UV08QAhoHgrUYA1R3b0KoAgohY29tLmNvbmZpZy5mb3JtYXR0ZXJzLnRlc3RkYXRhLnYxQglUZXN0UHJvdG9QAVphZ2l0aHViLmNvbS92aXJ0cnUtY29ycC9kYXRhLXNlY3VyaXR5LXBsYXRmb3JtL3Nkay92Mi9nZW4vY29uZmlnL2Zvcm1hdHRlcnMvdGVzdGRhdGEvdjE7dGVzdGRhdGF2MaICA0NGVKoCHUNvbmZpZy5Gb3JtYXR0ZXJzLlRlc3RkYXRhLlYxygIdQ29uZmlnXEZvcm1hdHRlcnNcVGVzdGRhdGFcVjHiAilDb25maWdcRm9ybWF0dGVyc1xUZXN0ZGF0YVxWMVxHUEJNZXRhZGF0YeoCIENvbmZpZzo6Rm9ybWF0dGVyczo6VGVzdGRhdGE6OlYxYgZwcm90bzM',
30
- [
31
- file_buf_validate_validate,
32
- file_config_v1_meta,
33
- file_google_protobuf_wrappers,
34
- ]
35
- );
36
-
37
- /**
38
- * @generated from message config.formatters.testdata.v1.TestProto
39
- */
40
- export type TestProto = Message<'config.formatters.testdata.v1.TestProto'> & {
41
- /**
42
- * scalar fields
43
- *
44
- * @generated from field: bool bool_field = 1;
45
- */
46
- boolField: boolean;
47
-
48
- /**
49
- * @generated from field: int32 int32_field = 2;
50
- */
51
- int32Field: number;
52
-
53
- /**
54
- * @generated from field: string string_field = 3;
55
- */
56
- stringField: string;
57
-
58
- /**
59
- * @generated from field: bytes bytes_field = 4;
60
- */
61
- bytesField: Uint8Array;
62
-
63
- /**
64
- * scalar wrappers
65
- *
66
- * @generated from field: google.protobuf.BoolValue bool_wrapper_field = 5;
67
- */
68
- boolWrapperField?: boolean;
69
-
70
- /**
71
- * message fields
72
- *
73
- * @generated from field: config.formatters.testdata.v1.TestNestedProto message_field = 6;
74
- */
75
- messageField?: TestNestedProto;
76
-
77
- /**
78
- * repeated scalar fields
79
- *
80
- * @generated from field: repeated bool repeated_bool_field = 7;
81
- */
82
- repeatedBoolField: boolean[];
83
-
84
- /**
85
- * repeated scalar wrappers
86
- *
87
- * @generated from field: repeated google.protobuf.BoolValue repeated_bool_wrapper_field = 8;
88
- */
89
- repeatedBoolWrapperField: BoolValue[];
90
-
91
- /**
92
- * repeated message fields
93
- *
94
- * @generated from field: repeated config.formatters.testdata.v1.TestNestedProto repeated_message_field = 9;
95
- */
96
- repeatedMessageField: TestNestedProto[];
97
-
98
- /**
99
- * enum fields
100
- *
101
- * @generated from field: config.formatters.testdata.v1.TestEnum enum_field = 10;
102
- */
103
- enumField: TestEnum;
104
-
105
- /**
106
- * required scalar field
107
- *
108
- * @generated from field: string required_field = 11;
109
- */
110
- requiredField: string;
111
-
112
- /**
113
- * message with required fields
114
- *
115
- * @generated from field: config.formatters.testdata.v1.TestNestedWithRequiredProto message_with_required_field = 12;
116
- */
117
- messageWithRequiredField?: TestNestedWithRequiredProto;
118
-
119
- /**
120
- * scalar field with all meta
121
- *
122
- * @generated from field: string string_field_with_full_meta = 13;
123
- */
124
- stringFieldWithFullMeta: string;
125
-
126
- /**
127
- * scalar with only title meta
128
- *
129
- * @generated from field: string string_field_with_title_meta = 14;
130
- */
131
- stringFieldWithTitleMeta: string;
132
-
133
- /**
134
- * scalar with only description meta
135
- *
136
- * @generated from field: string string_field_with_description_meta = 15;
137
- */
138
- stringFieldWithDescriptionMeta: string;
139
-
140
- /**
141
- * message with meta
142
- *
143
- * @generated from field: config.formatters.testdata.v1.TestNestedWithMetaProto message_with_meta = 16;
144
- */
145
- messageWithMeta?: TestNestedWithMetaProto;
146
-
147
- /**
148
- * enum with title
149
- *
150
- * @generated from field: config.formatters.testdata.v1.TestWithTitleEnum enum_with_title = 17;
151
- */
152
- enumWithTitle: TestWithTitleEnum;
153
- };
154
-
155
- /**
156
- * Describes the message config.formatters.testdata.v1.TestProto.
157
- * Use `create(TestProtoSchema)` to create a new message.
158
- */
159
- export const TestProtoSchema: GenMessage<TestProto> =
160
- /*@__PURE__*/
161
- messageDesc(file_config_formatters_testdata_v1_test, 0);
162
-
163
- /**
164
- * @generated from message config.formatters.testdata.v1.TestNestedProto
165
- */
166
- export type TestNestedProto =
167
- Message<'config.formatters.testdata.v1.TestNestedProto'> & {
168
- /**
169
- * @generated from field: string id = 1;
170
- */
171
- id: string;
172
-
173
- /**
174
- * @generated from field: string type = 2;
175
- */
176
- type: string;
177
- };
178
-
179
- /**
180
- * Describes the message config.formatters.testdata.v1.TestNestedProto.
181
- * Use `create(TestNestedProtoSchema)` to create a new message.
182
- */
183
- export const TestNestedProtoSchema: GenMessage<TestNestedProto> =
184
- /*@__PURE__*/
185
- messageDesc(file_config_formatters_testdata_v1_test, 1);
186
-
187
- /**
188
- * @generated from message config.formatters.testdata.v1.TestNestedWithRequiredProto
189
- */
190
- export type TestNestedWithRequiredProto =
191
- Message<'config.formatters.testdata.v1.TestNestedWithRequiredProto'> & {
192
- /**
193
- * @generated from field: string id = 1;
194
- */
195
- id: string;
196
-
197
- /**
198
- * @generated from field: string type = 2;
199
- */
200
- type: string;
201
- };
202
-
203
- /**
204
- * Describes the message config.formatters.testdata.v1.TestNestedWithRequiredProto.
205
- * Use `create(TestNestedWithRequiredProtoSchema)` to create a new message.
206
- */
207
- export const TestNestedWithRequiredProtoSchema: GenMessage<TestNestedWithRequiredProto> =
208
- /*@__PURE__*/
209
- messageDesc(file_config_formatters_testdata_v1_test, 2);
210
-
211
- /**
212
- * @generated from message config.formatters.testdata.v1.TestNestedWithMetaProto
213
- */
214
- export type TestNestedWithMetaProto =
215
- Message<'config.formatters.testdata.v1.TestNestedWithMetaProto'> & {
216
- /**
217
- * @generated from field: string id = 1;
218
- */
219
- id: string;
220
-
221
- /**
222
- * @generated from field: string type = 2;
223
- */
224
- type: string;
225
- };
226
-
227
- /**
228
- * Describes the message config.formatters.testdata.v1.TestNestedWithMetaProto.
229
- * Use `create(TestNestedWithMetaProtoSchema)` to create a new message.
230
- */
231
- export const TestNestedWithMetaProtoSchema: GenMessage<TestNestedWithMetaProto> =
232
- /*@__PURE__*/
233
- messageDesc(file_config_formatters_testdata_v1_test, 3);
234
-
235
- /**
236
- * @generated from enum config.formatters.testdata.v1.TestEnum
237
- */
238
- export enum TestEnum {
239
- /**
240
- * @generated from enum value: TEST_ENUM_UNSPECIFIED = 0;
241
- */
242
- UNSPECIFIED = 0,
243
-
244
- /**
245
- * @generated from enum value: TEST_ENUM_ONE = 1;
246
- */
247
- ONE = 1,
248
-
249
- /**
250
- * @generated from enum value: TEST_ENUM_TWO = 2;
251
- */
252
- TWO = 2,
253
- }
254
-
255
- /**
256
- * Describes the enum config.formatters.testdata.v1.TestEnum.
257
- */
258
- export const TestEnumSchema: GenEnum<TestEnum> =
259
- /*@__PURE__*/
260
- enumDesc(file_config_formatters_testdata_v1_test, 0);
261
-
262
- /**
263
- * @generated from enum config.formatters.testdata.v1.TestWithTitleEnum
264
- */
265
- export enum TestWithTitleEnum {
266
- /**
267
- * @generated from enum value: TEST_WITH_TITLE_ENUM_UNSPECIFIED = 0;
268
- */
269
- UNSPECIFIED = 0,
270
-
271
- /**
272
- * @generated from enum value: TEST_WITH_TITLE_ENUM_ONE = 1;
273
- */
274
- ONE = 1,
275
-
276
- /**
277
- * @generated from enum value: TEST_WITH_TITLE_ENUM_TWO = 2;
278
- */
279
- TWO = 2,
280
- }
281
-
282
- /**
283
- * Describes the enum config.formatters.testdata.v1.TestWithTitleEnum.
284
- */
285
- export const TestWithTitleEnumSchema: GenEnum<TestWithTitleEnum> =
286
- /*@__PURE__*/
287
- enumDesc(file_config_formatters_testdata_v1_test, 1);
@@ -1,111 +0,0 @@
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
- // @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
8
- // @generated from file config/v1/config.proto (package config.v1, syntax proto3)
9
- /* eslint-disable */
10
- // @ts-nocheck
11
-
12
- import {
13
- GetKASConfigRequest,
14
- GetKASConfigResponse,
15
- GetOutlookConfigRequest,
16
- GetOutlookConfigResponse,
17
- GetSecureViewerConfigRequest,
18
- GetSecureViewerConfigResponse,
19
- GetTaggingPDPConfigRequest,
20
- GetTaggingPDPConfigResponse,
21
- SetKASConfigRequest,
22
- SetKASConfigResponse,
23
- SetOutlookConfigRequest,
24
- SetOutlookConfigResponse,
25
- SetSecureViewerConfigRequest,
26
- SetSecureViewerConfigResponse,
27
- SetTaggingPDPConfigRequest,
28
- SetTaggingPDPConfigResponse,
29
- } from './config_pb.js';
30
- import { MethodKind } from '@bufbuild/protobuf';
31
-
32
- /**
33
- * @generated from service config.v1.ConfigService
34
- */
35
- export const ConfigService = {
36
- typeName: 'config.v1.ConfigService',
37
- methods: {
38
- /**
39
- * @generated from rpc config.v1.ConfigService.GetTaggingPDPConfig
40
- */
41
- getTaggingPDPConfig: {
42
- name: 'GetTaggingPDPConfig',
43
- I: GetTaggingPDPConfigRequest,
44
- O: GetTaggingPDPConfigResponse,
45
- kind: MethodKind.Unary,
46
- },
47
- /**
48
- * @generated from rpc config.v1.ConfigService.SetTaggingPDPConfig
49
- */
50
- setTaggingPDPConfig: {
51
- name: 'SetTaggingPDPConfig',
52
- I: SetTaggingPDPConfigRequest,
53
- O: SetTaggingPDPConfigResponse,
54
- kind: MethodKind.Unary,
55
- },
56
- /**
57
- * @generated from rpc config.v1.ConfigService.GetSecureViewerConfig
58
- */
59
- getSecureViewerConfig: {
60
- name: 'GetSecureViewerConfig',
61
- I: GetSecureViewerConfigRequest,
62
- O: GetSecureViewerConfigResponse,
63
- kind: MethodKind.Unary,
64
- },
65
- /**
66
- * @generated from rpc config.v1.ConfigService.SetSecureViewerConfig
67
- */
68
- setSecureViewerConfig: {
69
- name: 'SetSecureViewerConfig',
70
- I: SetSecureViewerConfigRequest,
71
- O: SetSecureViewerConfigResponse,
72
- kind: MethodKind.Unary,
73
- },
74
- /**
75
- * @generated from rpc config.v1.ConfigService.GetOutlookConfig
76
- */
77
- getOutlookConfig: {
78
- name: 'GetOutlookConfig',
79
- I: GetOutlookConfigRequest,
80
- O: GetOutlookConfigResponse,
81
- kind: MethodKind.Unary,
82
- },
83
- /**
84
- * @generated from rpc config.v1.ConfigService.SetOutlookConfig
85
- */
86
- setOutlookConfig: {
87
- name: 'SetOutlookConfig',
88
- I: SetOutlookConfigRequest,
89
- O: SetOutlookConfigResponse,
90
- kind: MethodKind.Unary,
91
- },
92
- /**
93
- * @generated from rpc config.v1.ConfigService.GetKASConfig
94
- */
95
- getKASConfig: {
96
- name: 'GetKASConfig',
97
- I: GetKASConfigRequest,
98
- O: GetKASConfigResponse,
99
- kind: MethodKind.Unary,
100
- },
101
- /**
102
- * @generated from rpc config.v1.ConfigService.SetKASConfig
103
- */
104
- setKASConfig: {
105
- name: 'SetKASConfig',
106
- I: SetKASConfigRequest,
107
- O: SetKASConfigResponse,
108
- kind: MethodKind.Unary,
109
- },
110
- },
111
- } as const;