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