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

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 -6
  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
@@ -0,0 +1,236 @@
1
+ // @generated by protoc-gen-es v2.3.0 with parameter "target=ts"
2
+ // @generated from file config/v1/outlook_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 { Message } from '@bufbuild/protobuf';
14
+
15
+ /**
16
+ * Describes the file config/v1/outlook_config.proto.
17
+ */
18
+ export const file_config_v1_outlook_config: GenFile =
19
+ /*@__PURE__*/
20
+ fileDesc(
21
+ 'Ch5jb25maWcvdjEvb3V0bG9va19jb25maWcucHJvdG8SCWNvbmZpZy52MSJLCg1PdXRsb29rQ29uZmlnEigKAnYxGAEgASgLMhouY29uZmlnLnYxLk91dGxvb2tDb25maWdWMUgAQhAKB3ZlcnNpb24SBbpIAggBIpQBCg9PdXRsb29rU2VydmljZXMSgAEKB3RhZ2dpbmcYASABKAsyIC5jb25maWcudjEuT3V0bG9va1RhZ2dpbmdTZXJ2aWNlQk2CtRhJCg9UYWdnaW5nIFNlcnZpY2USNkNvbmZpZ3VyYXRpb24gZm9yIHRoZSB0YWdnaW5nIHNlcnZpY2UgdXNlZCBieSBPdXRsb29rLiKpAQoVT3V0bG9va1RhZ2dpbmdTZXJ2aWNlEkcKB2VuYWJsZWQYASABKAhCNoK1GDIKB0VuYWJsZWQSJ1doZXRoZXIgdGhlIHRhZ2dpbmcgc2VydmljZSBpcyBlbmFibGVkLhJHCgRuYW1lGAIgAS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uses a oneof to support multiple config versions.
27
+ *
28
+ * @generated from message config.v1.OutlookConfig
29
+ */
30
+ export type OutlookConfig = Message<'config.v1.OutlookConfig'> & {
31
+ /**
32
+ * @generated from oneof config.v1.OutlookConfig.version
33
+ */
34
+ version:
35
+ | {
36
+ /**
37
+ * @generated from field: config.v1.OutlookConfigV1 v1 = 1;
38
+ */
39
+ value: OutlookConfigV1;
40
+ case: 'v1';
41
+ }
42
+ | { case: undefined; value?: undefined };
43
+ };
44
+
45
+ /**
46
+ * Describes the message config.v1.OutlookConfig.
47
+ * Use `create(OutlookConfigSchema)` to create a new message.
48
+ */
49
+ export const OutlookConfigSchema: GenMessage<OutlookConfig> =
50
+ /*@__PURE__*/
51
+ messageDesc(file_config_v1_outlook_config, 0);
52
+
53
+ /**
54
+ * Services configuration for Outlook
55
+ *
56
+ * @generated from message config.v1.OutlookServices
57
+ */
58
+ export type OutlookServices = Message<'config.v1.OutlookServices'> & {
59
+ /**
60
+ * @generated from field: config.v1.OutlookTaggingService tagging = 1;
61
+ */
62
+ tagging?: OutlookTaggingService;
63
+ };
64
+
65
+ /**
66
+ * Describes the message config.v1.OutlookServices.
67
+ * Use `create(OutlookServicesSchema)` to create a new message.
68
+ */
69
+ export const OutlookServicesSchema: GenMessage<OutlookServices> =
70
+ /*@__PURE__*/
71
+ messageDesc(file_config_v1_outlook_config, 1);
72
+
73
+ /**
74
+ * Tagging service configuration
75
+ *
76
+ * @generated from message config.v1.OutlookTaggingService
77
+ */
78
+ export type OutlookTaggingService =
79
+ Message<'config.v1.OutlookTaggingService'> & {
80
+ /**
81
+ * @generated from field: bool enabled = 1;
82
+ */
83
+ enabled: boolean;
84
+
85
+ /**
86
+ * @generated from field: string name = 2;
87
+ */
88
+ name: string;
89
+ };
90
+
91
+ /**
92
+ * Describes the message config.v1.OutlookTaggingService.
93
+ * Use `create(OutlookTaggingServiceSchema)` to create a new message.
94
+ */
95
+ export const OutlookTaggingServiceSchema: GenMessage<OutlookTaggingService> =
96
+ /*@__PURE__*/
97
+ messageDesc(file_config_v1_outlook_config, 2);
98
+
99
+ /**
100
+ * This message corresponds to the top-level Go `Config` struct.
101
+ *
102
+ * @generated from message config.v1.OutlookConfigV1
103
+ */
104
+ export type OutlookConfigV1 = Message<'config.v1.OutlookConfigV1'> & {
105
+ /**
106
+ * @generated from field: string platform_endpoint = 1;
107
+ */
108
+ platformEndpoint: string;
109
+
110
+ /**
111
+ * @generated from field: string platform_auth_endpoint = 2;
112
+ */
113
+ platformAuthEndpoint: string;
114
+
115
+ /**
116
+ * @generated from field: string platform_auth_realm = 3;
117
+ */
118
+ platformAuthRealm: string;
119
+
120
+ /**
121
+ * @generated from field: string token_endpoint = 4;
122
+ */
123
+ tokenEndpoint: string;
124
+
125
+ /**
126
+ * @generated from field: string service_host_name = 5;
127
+ */
128
+ serviceHostName: string;
129
+
130
+ /**
131
+ * @generated from field: string client_id = 6;
132
+ */
133
+ clientId: string;
134
+
135
+ /**
136
+ * @generated from field: string auth_client_id = 7;
137
+ */
138
+ authClientId: string;
139
+
140
+ /**
141
+ * @generated from field: bool auto_block = 8;
142
+ */
143
+ autoBlock: boolean;
144
+
145
+ /**
146
+ * @generated from field: bool should_encrypt = 9;
147
+ */
148
+ shouldEncrypt: boolean;
149
+
150
+ /**
151
+ * @generated from field: bool should_encrypt_body = 10;
152
+ */
153
+ shouldEncryptBody: boolean;
154
+
155
+ /**
156
+ * @generated from field: bool client_side_decrypt = 11;
157
+ */
158
+ clientSideDecrypt: boolean;
159
+
160
+ /**
161
+ * @generated from field: string assertion_type = 12;
162
+ */
163
+ assertionType: string;
164
+
165
+ /**
166
+ * @generated from field: string log_level = 13;
167
+ */
168
+ logLevel: string;
169
+
170
+ /**
171
+ * @generated from field: bool local_addin_log = 14;
172
+ */
173
+ localAddinLog: boolean;
174
+
175
+ /**
176
+ * @generated from field: bool addin_dev_mode = 15;
177
+ */
178
+ addinDevMode: boolean;
179
+
180
+ /**
181
+ * @generated from field: string addin_build_dir = 16;
182
+ */
183
+ addinBuildDir: string;
184
+
185
+ /**
186
+ * @generated from field: bool strict_assertions = 17;
187
+ */
188
+ strictAssertions: boolean;
189
+
190
+ /**
191
+ * @generated from field: string classify_namespace = 18;
192
+ */
193
+ classifyNamespace: string;
194
+
195
+ /**
196
+ * @generated from field: string classify_flot_format = 19;
197
+ */
198
+ classifyFlotFormat: string;
199
+
200
+ /**
201
+ * @generated from field: config.v1.OutlookServices services = 20;
202
+ */
203
+ services?: OutlookServices;
204
+ };
205
+
206
+ /**
207
+ * Describes the message config.v1.OutlookConfigV1.
208
+ * Use `create(OutlookConfigV1Schema)` to create a new message.
209
+ */
210
+ export const OutlookConfigV1Schema: GenMessage<OutlookConfigV1> =
211
+ /*@__PURE__*/
212
+ messageDesc(file_config_v1_outlook_config, 3);
213
+
214
+ /**
215
+ * Enum to manage different versions of the Outlook configuration.
216
+ *
217
+ * @generated from enum config.v1.OutlookConfigVersion
218
+ */
219
+ export enum OutlookConfigVersion {
220
+ /**
221
+ * @generated from enum value: OUTLOOK_CONFIG_VERSION_UNSPECIFIED = 0;
222
+ */
223
+ UNSPECIFIED = 0,
224
+
225
+ /**
226
+ * @generated from enum value: OUTLOOK_CONFIG_VERSION_V1 = 1;
227
+ */
228
+ V1 = 1,
229
+ }
230
+
231
+ /**
232
+ * Describes the enum config.v1.OutlookConfigVersion.
233
+ */
234
+ export const OutlookConfigVersionSchema: GenEnum<OutlookConfigVersion> =
235
+ /*@__PURE__*/
236
+ enumDesc(file_config_v1_outlook_config, 0);
@@ -0,0 +1,155 @@
1
+ // @generated by protoc-gen-es v2.3.0 with parameter "target=ts"
2
+ // @generated from file config/v1/secureviewer_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 { Message } from '@bufbuild/protobuf';
14
+
15
+ /**
16
+ * Describes the file config/v1/secureviewer_config.proto.
17
+ */
18
+ export const file_config_v1_secureviewer_config: GenFile =
19
+ /*@__PURE__*/
20
+ fileDesc(
21
+ 'CiNjb25maWcvdjEvc2VjdXJldmlld2VyX2NvbmZpZy5wcm90bxIJY29uZmlnLnYxIlUKElNlY3VyZVZpZXdlckNvbmZpZxItCgJ2MRgBIAEoCzIfLmNvbmZpZy52MS5TZWN1cmVWaWV3ZXJDb25maWdWMUgAQhAKB3ZlcnNpb24SBbpIAggBIoIBChRPYmxpZ2F0aW9uRmVhdHVyZU1hcBJqChVmdWxseV9xdWFsaWZpZWRfbmFtZXMYASADKAlCS4K1GEcKFUZ1bGx5IFF1YWxpZmllZCBOYW1lcxIuTGlzdCBvZiBvYmxpZ2F0aW9uIHZhbHVlIEZRTnMgZm9yIHRoZSBmZWF0dXJlLiLPAgoUU3VwcG9ydGVkT2JsaWdhdGlvbnMSjwEKCXdhdGVybWFyaxgBIAEoCzIfLmNvbmZpZy52MS5PYmxpZ2F0aW9uRmVhdHVyZU1hcEJbgrUYVwogV2F0ZXJtYXJrIE9ibGlnYXRpb24gRmVhdHVyZSBNYXASM09ibGlnYXRpb24gY29uZmlndXJhdGlvbiBmb3IgdGhlIHdhdGVybWFyayBmZWF0dXJlLhKkAQoQcHJldmVudF9kb3dubG9hZBgCIAEoCzIfLmNvbmZpZy52MS5PYmxpZ2F0aW9uRmVhdHVyZU1hcEJpgrUYZQonUHJldmVudCBEb3dubG9hZCBPYmxpZ2F0aW9uIEZlYXR1cmUgTWFwEjpPYmxpZ2F0aW9uIGNvbmZpZ3VyYXRpb24gZm9yIHRoZSBwcmV2ZW50IGRvd25sb2FkIGZlYXR1cmUuIqEDChRTZWN1cmVWaWV3ZXJDb25maWdWMRJJCg1jbGllbnRfaWRfd2ViGAEgASgJQjKCtRguCglDbGllbnQgSUQSIU9JREMgY2xpZW50IElEIGZvciBTZWN1cmUgVmlld2VyLhJVCg9pc3N1ZXJfZW5kcG9pbnQYAiABKAlCPIK1GDgKFE9JREMgSXNzdWVyIEVuZHBvaW50EiBUaGUgZnVsbCBVUkwgb2YgdGhlIE9JREMgaXNzdWVyLhJaChFvaWRjX2NsaWVudF9zY29wZRgDIAEoCUI/ukgDyAEBgrUYNQoLT0lEQyBTY29wZXMSJlNjb3BlIHRvIHJlcXVlc3QgZHVyaW5nIHRoZSBPSURDIGZsb3cuEooBChVzdXBwb3J0ZWRfb2JsaWdhdGlvbnMYBCABKAsyHy5jb25maWcudjEuU3VwcG9ydGVkT2JsaWdhdGlvbnNCSoK1GEYKFVN1cHBvcnRlZCBPYmxpZ2F0aW9ucxItQ29uZmlndXJhdGlvbiBmb3Igc3VwcG9ydGVkIG9ibGlnYXRpb24gdHlwZXMuKm4KGVNlY3VyZVZpZXdlckNvbmZpZ1ZlcnNpb24SLAooU0VDVVJFX1ZJRVdFUl9DT05GSUdfVkVSU0lPTl9VTlNQRUNJRklFRBAAEiMKH1NFQ1VSRV9WSUVXRVJfQ09ORklHX1ZFUlNJT05fVjEQAUK6AQoNY29tLmNvbmZpZy52MUIXU2VjdXJldmlld2VyQ29uZmlnUHJvdG9QAVpLZ2l0aHViLmNvbS92aXJ0cnUtY29ycC9kYXRhLXNlY3VyaXR5LXBsYXRmb3JtL3Nkay92Mi9nZW4vY29uZmlnL3YxO2NvbmZpZ3YxogIDQ1hYqgIJQ29uZmlnLlYxygIJQ29uZmlnXFYx4gIVQ29uZmlnXFYxXEdQQk1ldGFkYXRh6gIKQ29uZmlnOjpWMWIGcHJvdG8z',
22
+ [file_buf_validate_validate, file_config_v1_meta]
23
+ );
24
+
25
+ /**
26
+ * A wrapper message that uses a oneof to support multiple config versions.
27
+ *
28
+ * @generated from message config.v1.SecureViewerConfig
29
+ */
30
+ export type SecureViewerConfig = Message<'config.v1.SecureViewerConfig'> & {
31
+ /**
32
+ * @generated from oneof config.v1.SecureViewerConfig.version
33
+ */
34
+ version:
35
+ | {
36
+ /**
37
+ * @generated from field: config.v1.SecureViewerConfigV1 v1 = 1;
38
+ */
39
+ value: SecureViewerConfigV1;
40
+ case: 'v1';
41
+ }
42
+ | { case: undefined; value?: undefined };
43
+ };
44
+
45
+ /**
46
+ * Describes the message config.v1.SecureViewerConfig.
47
+ * Use `create(SecureViewerConfigSchema)` to create a new message.
48
+ */
49
+ export const SecureViewerConfigSchema: GenMessage<SecureViewerConfig> =
50
+ /*@__PURE__*/
51
+ messageDesc(file_config_v1_secureviewer_config, 0);
52
+
53
+ /**
54
+ * Message to define obligation feature map structure.
55
+ *
56
+ * @generated from message config.v1.ObligationFeatureMap
57
+ */
58
+ export type ObligationFeatureMap = Message<'config.v1.ObligationFeatureMap'> & {
59
+ /**
60
+ * @generated from field: repeated string fully_qualified_names = 1;
61
+ */
62
+ fullyQualifiedNames: string[];
63
+ };
64
+
65
+ /**
66
+ * Describes the message config.v1.ObligationFeatureMap.
67
+ * Use `create(ObligationFeatureMapSchema)` to create a new message.
68
+ */
69
+ export const ObligationFeatureMapSchema: GenMessage<ObligationFeatureMap> =
70
+ /*@__PURE__*/
71
+ messageDesc(file_config_v1_secureviewer_config, 1);
72
+
73
+ /**
74
+ * Message to define supported obligation types for the Secure Viewer.
75
+ *
76
+ * @generated from message config.v1.SupportedObligations
77
+ */
78
+ export type SupportedObligations = Message<'config.v1.SupportedObligations'> & {
79
+ /**
80
+ * @generated from field: config.v1.ObligationFeatureMap watermark = 1;
81
+ */
82
+ watermark?: ObligationFeatureMap;
83
+
84
+ /**
85
+ * @generated from field: config.v1.ObligationFeatureMap prevent_download = 2;
86
+ */
87
+ preventDownload?: ObligationFeatureMap;
88
+ };
89
+
90
+ /**
91
+ * Describes the message config.v1.SupportedObligations.
92
+ * Use `create(SupportedObligationsSchema)` to create a new message.
93
+ */
94
+ export const SupportedObligationsSchema: GenMessage<SupportedObligations> =
95
+ /*@__PURE__*/
96
+ messageDesc(file_config_v1_secureviewer_config, 2);
97
+
98
+ /**
99
+ * This message corresponds to the top-level Go `Config` struct.
100
+ *
101
+ * @generated from message config.v1.SecureViewerConfigV1
102
+ */
103
+ export type SecureViewerConfigV1 = Message<'config.v1.SecureViewerConfigV1'> & {
104
+ /**
105
+ * @generated from field: string client_id_web = 1;
106
+ */
107
+ clientIdWeb: string;
108
+
109
+ /**
110
+ * @generated from field: string issuer_endpoint = 2;
111
+ */
112
+ issuerEndpoint: string;
113
+
114
+ /**
115
+ * @generated from field: string oidc_client_scope = 3;
116
+ */
117
+ oidcClientScope: string;
118
+
119
+ /**
120
+ * @generated from field: config.v1.SupportedObligations supported_obligations = 4;
121
+ */
122
+ supportedObligations?: SupportedObligations;
123
+ };
124
+
125
+ /**
126
+ * Describes the message config.v1.SecureViewerConfigV1.
127
+ * Use `create(SecureViewerConfigV1Schema)` to create a new message.
128
+ */
129
+ export const SecureViewerConfigV1Schema: GenMessage<SecureViewerConfigV1> =
130
+ /*@__PURE__*/
131
+ messageDesc(file_config_v1_secureviewer_config, 3);
132
+
133
+ /**
134
+ * Enum to manage different versions of the Secure Viewer configuration.
135
+ *
136
+ * @generated from enum config.v1.SecureViewerConfigVersion
137
+ */
138
+ export enum SecureViewerConfigVersion {
139
+ /**
140
+ * @generated from enum value: SECURE_VIEWER_CONFIG_VERSION_UNSPECIFIED = 0;
141
+ */
142
+ UNSPECIFIED = 0,
143
+
144
+ /**
145
+ * @generated from enum value: SECURE_VIEWER_CONFIG_VERSION_V1 = 1;
146
+ */
147
+ V1 = 1,
148
+ }
149
+
150
+ /**
151
+ * Describes the enum config.v1.SecureViewerConfigVersion.
152
+ */
153
+ export const SecureViewerConfigVersionSchema: GenEnum<SecureViewerConfigVersion> =
154
+ /*@__PURE__*/
155
+ enumDesc(file_config_v1_secureviewer_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/tagging.proto (package config.v1, syntax proto3)
9
3
  /* eslint-disable */
@@ -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 policyimportexport/v1/policy_import_export.proto (package policyimportexport.v1, syntax proto3)
9
3
  /* eslint-disable */
@@ -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 shared/v1/shared.proto (package shared.v1, syntax proto3)
9
3
  /* eslint-disable */
@@ -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 shared/v2/shared.proto (package shared.v2, syntax proto3)
9
3
  /* eslint-disable */
@@ -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 tagging/pdp/v2/externalprocessors/processor.proto (package tagging.pdp.externalprocessors.v2, syntax proto3)
9
3
  /* eslint-disable */
@@ -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 tagging/pdp/v2/stanag/stanag.proto (package tagging.pdp.stanag.v2, syntax proto3)
9
3
  /* eslint-disable */
@@ -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 tagging/pdp/v2/tagging.proto (package tagging.pdp.v2, syntax proto3)
9
3
  /* eslint-disable */
@@ -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 version/v1/version.proto (package version.v1, syntax proto3)
9
3
  /* eslint-disable */
@@ -0,0 +1,167 @@
1
+ // @generated by protoc-gen-es v2.3.0 with parameter "target=ts"
2
+ // @generated from file web-admin/v1/config.proto (package webadmin.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type {
6
+ GenFile,
7
+ GenMessage,
8
+ GenService,
9
+ } from '@bufbuild/protobuf/codegenv1';
10
+ import {
11
+ fileDesc,
12
+ messageDesc,
13
+ serviceDesc,
14
+ } from '@bufbuild/protobuf/codegenv1';
15
+ import type { Timestamp } from '@bufbuild/protobuf/wkt';
16
+ import { file_google_protobuf_timestamp } from '@bufbuild/protobuf/wkt';
17
+ import type { Message } from '@bufbuild/protobuf';
18
+
19
+ /**
20
+ * Describes the file web-admin/v1/config.proto.
21
+ */
22
+ export const file_web_admin_v1_config: GenFile =
23
+ /*@__PURE__*/
24
+ fileDesc(
25
+ 'Chl3ZWItYWRtaW4vdjEvY29uZmlnLnByb3RvEgt3ZWJhZG1pbi52MSInCgpDb25maWdJdGVtEgoKAmlkGAEgASgJEg0KBXZhbHVlGAIgASgMIhYKFExpc3RBbGxDb25maWdSZXF1ZXN0IkEKFUxpc3RBbGxDb25maWdSZXNwb25zZRIoCgdjb25maWdzGAEgAygLMhcud2ViYWRtaW4udjEuQ29uZmlnSXRlbSJNChdIYXNDb25maWdDaGFuZ2VzUmVxdWVzdBIyCg5sYXN0X2xvYWRlZF9hdBgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiLwoYSGFzQ29uZmlnQ2hhbmdlc1Jlc3BvbnNlEhMKC2hhc19jaGFuZ2VzGAEgASgIMswBCg1Db25maWdTZXJ2aWNlElgKDUxpc3RBbGxDb25maWcSIS53ZWJhZG1pbi52MS5MaXN0QWxsQ29uZmlnUmVxdWVzdBoiLndlYmFkbWluLnYxLkxpc3RBbGxDb25maWdSZXNwb25zZSIAEmEKEEhhc0NvbmZpZ0NoYW5nZXMSJC53ZWJhZG1pbi52MS5IYXNDb25maWdDaGFuZ2VzUmVxdWVzdBolLndlYmFkbWluLnYxLkhhc0NvbmZpZ0NoYW5nZXNSZXNwb25zZSIAQr0BCg9jb20ud2ViYWRtaW4udjFCC0NvbmZpZ1Byb3RvUAFaUGdpdGh1Yi5jb20vdmlydHJ1LWNvcnAvZGF0YS1zZWN1cml0eS1wbGF0Zm9ybS9zZGsvdjIvZ2VuL3dlYi1hZG1pbi92MTt3ZWJhZG1pbnYxogIDV1hYqgILV2ViYWRtaW4uVjHKAgtXZWJhZG1pblxWMeICF1dlYmFkbWluXFYxXEdQQk1ldGFkYXRh6gIMV2ViYWRtaW46OlYxYgZwcm90bzM',
26
+ [file_google_protobuf_timestamp]
27
+ );
28
+
29
+ /**
30
+ * A single configuration item.
31
+ *
32
+ * @generated from message webadmin.v1.ConfigItem
33
+ */
34
+ export type ConfigItem = Message<'webadmin.v1.ConfigItem'> & {
35
+ /**
36
+ * The dot-separated key for the config value (e.g. auth.enabled).
37
+ *
38
+ * @generated from field: string id = 1;
39
+ */
40
+ id: string;
41
+
42
+ /**
43
+ * JSONB representation of the configuration value, returned as bytes.
44
+ *
45
+ * @generated from field: bytes value = 2;
46
+ */
47
+ value: Uint8Array;
48
+ };
49
+
50
+ /**
51
+ * Describes the message webadmin.v1.ConfigItem.
52
+ * Use `create(ConfigItemSchema)` to create a new message.
53
+ */
54
+ export const ConfigItemSchema: GenMessage<ConfigItem> =
55
+ /*@__PURE__*/
56
+ messageDesc(file_web_admin_v1_config, 0);
57
+
58
+ /**
59
+ * Request for ListAllConfig.
60
+ *
61
+ * @generated from message webadmin.v1.ListAllConfigRequest
62
+ */
63
+ export type ListAllConfigRequest =
64
+ Message<'webadmin.v1.ListAllConfigRequest'> & {};
65
+
66
+ /**
67
+ * Describes the message webadmin.v1.ListAllConfigRequest.
68
+ * Use `create(ListAllConfigRequestSchema)` to create a new message.
69
+ */
70
+ export const ListAllConfigRequestSchema: GenMessage<ListAllConfigRequest> =
71
+ /*@__PURE__*/
72
+ messageDesc(file_web_admin_v1_config, 1);
73
+
74
+ /**
75
+ * Response for ListAllConfig.
76
+ *
77
+ * @generated from message webadmin.v1.ListAllConfigResponse
78
+ */
79
+ export type ListAllConfigResponse =
80
+ Message<'webadmin.v1.ListAllConfigResponse'> & {
81
+ /**
82
+ * @generated from field: repeated webadmin.v1.ConfigItem configs = 1;
83
+ */
84
+ configs: ConfigItem[];
85
+ };
86
+
87
+ /**
88
+ * Describes the message webadmin.v1.ListAllConfigResponse.
89
+ * Use `create(ListAllConfigResponseSchema)` to create a new message.
90
+ */
91
+ export const ListAllConfigResponseSchema: GenMessage<ListAllConfigResponse> =
92
+ /*@__PURE__*/
93
+ messageDesc(file_web_admin_v1_config, 2);
94
+
95
+ /**
96
+ * Request for HasConfigChanges.
97
+ *
98
+ * @generated from message webadmin.v1.HasConfigChangesRequest
99
+ */
100
+ export type HasConfigChangesRequest =
101
+ Message<'webadmin.v1.HasConfigChangesRequest'> & {
102
+ /**
103
+ * The timestamp to check against. The service will return true if any
104
+ * config has an `updated_at` value greater than this.
105
+ *
106
+ * @generated from field: google.protobuf.Timestamp last_loaded_at = 1;
107
+ */
108
+ lastLoadedAt?: Timestamp;
109
+ };
110
+
111
+ /**
112
+ * Describes the message webadmin.v1.HasConfigChangesRequest.
113
+ * Use `create(HasConfigChangesRequestSchema)` to create a new message.
114
+ */
115
+ export const HasConfigChangesRequestSchema: GenMessage<HasConfigChangesRequest> =
116
+ /*@__PURE__*/
117
+ messageDesc(file_web_admin_v1_config, 3);
118
+
119
+ /**
120
+ * Response for HasConfigChanges.
121
+ *
122
+ * @generated from message webadmin.v1.HasConfigChangesResponse
123
+ */
124
+ export type HasConfigChangesResponse =
125
+ Message<'webadmin.v1.HasConfigChangesResponse'> & {
126
+ /**
127
+ * @generated from field: bool has_changes = 1;
128
+ */
129
+ hasChanges: boolean;
130
+ };
131
+
132
+ /**
133
+ * Describes the message webadmin.v1.HasConfigChangesResponse.
134
+ * Use `create(HasConfigChangesResponseSchema)` to create a new message.
135
+ */
136
+ export const HasConfigChangesResponseSchema: GenMessage<HasConfigChangesResponse> =
137
+ /*@__PURE__*/
138
+ messageDesc(file_web_admin_v1_config, 4);
139
+
140
+ /**
141
+ * The ConfigService provides an interface for managing and retrieving
142
+ * platform configuration values stored in the database.
143
+ *
144
+ * @generated from service webadmin.v1.ConfigService
145
+ */
146
+ export const ConfigService: GenService<{
147
+ /**
148
+ * ListAllConfig retrieves all configuration key-value pairs.
149
+ *
150
+ * @generated from rpc webadmin.v1.ConfigService.ListAllConfig
151
+ */
152
+ listAllConfig: {
153
+ methodKind: 'unary';
154
+ input: typeof ListAllConfigRequestSchema;
155
+ output: typeof ListAllConfigResponseSchema;
156
+ };
157
+ /**
158
+ * HasConfigChanges checks if any configuration was updated after a given timestamp.
159
+ *
160
+ * @generated from rpc webadmin.v1.ConfigService.HasConfigChanges
161
+ */
162
+ hasConfigChanges: {
163
+ methodKind: 'unary';
164
+ input: typeof HasConfigChangesRequestSchema;
165
+ output: typeof HasConfigChangesResponseSchema;
166
+ };
167
+ }> = /*@__PURE__*/ serviceDesc(file_web_admin_v1_config, 0);