@virtru/dsp-sdk 0.2.0-pr612.2aa8c9ea → 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,69 @@
|
|
|
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
|
+
import { enumDesc, fileDesc, messageDesc } from '@bufbuild/protobuf/codegenv1';
|
|
7
|
+
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
|
8
|
+
import { file_config_v1_meta } from './meta_pb';
|
|
9
|
+
import { file_google_protobuf_duration } from '@bufbuild/protobuf/wkt';
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file config/v1/kas_config.proto.
|
|
12
|
+
*/
|
|
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jb20vdmlydHJ1LWNvcnAvZGF0YS1zZWN1cml0eS1wbGF0Zm9ybS9zZGsvdjIvZ2VuL2NvbmZpZy92MTtjb25maWd2MaICA0NYWKoCCUNvbmZpZy5WMcoCCUNvbmZpZ1xWMeICFUNvbmZpZ1xWMVxHUEJNZXRhZGF0YeoCCkNvbmZpZzo6VjFiBnByb3RvMw', [
|
|
16
|
+
file_buf_validate_validate,
|
|
17
|
+
file_config_v1_meta,
|
|
18
|
+
file_google_protobuf_duration,
|
|
19
|
+
]);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message config.v1.KASConfig.
|
|
22
|
+
* Use `create(KASConfigSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const KASConfigSchema =
|
|
25
|
+
/*@__PURE__*/
|
|
26
|
+
messageDesc(file_config_v1_kas_config, 0);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message config.v1.KASKeyringItem.
|
|
29
|
+
* Use `create(KASKeyringItemSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const KASKeyringItemSchema =
|
|
32
|
+
/*@__PURE__*/
|
|
33
|
+
messageDesc(file_config_v1_kas_config, 1);
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message config.v1.KASPreviewFeatures.
|
|
36
|
+
* Use `create(KASPreviewFeaturesSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const KASPreviewFeaturesSchema =
|
|
39
|
+
/*@__PURE__*/
|
|
40
|
+
messageDesc(file_config_v1_kas_config, 2);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message config.v1.KASConfigV1.
|
|
43
|
+
* Use `create(KASConfigV1Schema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const KASConfigV1Schema =
|
|
46
|
+
/*@__PURE__*/
|
|
47
|
+
messageDesc(file_config_v1_kas_config, 3);
|
|
48
|
+
/**
|
|
49
|
+
* Enum to manage different versions of the KAS configuration.
|
|
50
|
+
*
|
|
51
|
+
* @generated from enum config.v1.KASConfigVersion
|
|
52
|
+
*/
|
|
53
|
+
export var KASConfigVersion;
|
|
54
|
+
(function (KASConfigVersion) {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum value: KAS_CONFIG_VERSION_UNSPECIFIED = 0;
|
|
57
|
+
*/
|
|
58
|
+
KASConfigVersion[KASConfigVersion["KAS_CONFIG_VERSION_UNSPECIFIED"] = 0] = "KAS_CONFIG_VERSION_UNSPECIFIED";
|
|
59
|
+
/**
|
|
60
|
+
* @generated from enum value: KAS_CONFIG_VERSION_V1 = 1;
|
|
61
|
+
*/
|
|
62
|
+
KASConfigVersion[KASConfigVersion["KAS_CONFIG_VERSION_V1"] = 1] = "KAS_CONFIG_VERSION_V1";
|
|
63
|
+
})(KASConfigVersion || (KASConfigVersion = {}));
|
|
64
|
+
/**
|
|
65
|
+
* Describes the enum config.v1.KASConfigVersion.
|
|
66
|
+
*/
|
|
67
|
+
export const KASConfigVersionSchema =
|
|
68
|
+
/*@__PURE__*/
|
|
69
|
+
enumDesc(file_config_v1_kas_config, 0);
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file config/v1/outlook_config.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_config_v1_outlook_config: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* A wrapper message that uses a oneof to support multiple config versions.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message config.v1.OutlookConfig
|
|
11
|
+
*/
|
|
12
|
+
export type OutlookConfig = Message<'config.v1.OutlookConfig'> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from oneof config.v1.OutlookConfig.version
|
|
15
|
+
*/
|
|
16
|
+
version: {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: config.v1.OutlookConfigV1 v1 = 1;
|
|
19
|
+
*/
|
|
20
|
+
value: OutlookConfigV1;
|
|
21
|
+
case: 'v1';
|
|
22
|
+
} | {
|
|
23
|
+
case: undefined;
|
|
24
|
+
value?: undefined;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message config.v1.OutlookConfig.
|
|
29
|
+
* Use `create(OutlookConfigSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export declare const OutlookConfigSchema: GenMessage<OutlookConfig>;
|
|
32
|
+
/**
|
|
33
|
+
* Services configuration for Outlook
|
|
34
|
+
*
|
|
35
|
+
* @generated from message config.v1.OutlookServices
|
|
36
|
+
*/
|
|
37
|
+
export type OutlookServices = Message<'config.v1.OutlookServices'> & {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: config.v1.OutlookTaggingService tagging = 1;
|
|
40
|
+
*/
|
|
41
|
+
tagging?: OutlookTaggingService;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message config.v1.OutlookServices.
|
|
45
|
+
* Use `create(OutlookServicesSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export declare const OutlookServicesSchema: GenMessage<OutlookServices>;
|
|
48
|
+
/**
|
|
49
|
+
* Tagging service configuration
|
|
50
|
+
*
|
|
51
|
+
* @generated from message config.v1.OutlookTaggingService
|
|
52
|
+
*/
|
|
53
|
+
export type OutlookTaggingService = Message<'config.v1.OutlookTaggingService'> & {
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: bool enabled = 1;
|
|
56
|
+
*/
|
|
57
|
+
enabled: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: string name = 2;
|
|
60
|
+
*/
|
|
61
|
+
name: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message config.v1.OutlookTaggingService.
|
|
65
|
+
* Use `create(OutlookTaggingServiceSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export declare const OutlookTaggingServiceSchema: GenMessage<OutlookTaggingService>;
|
|
68
|
+
/**
|
|
69
|
+
* This message corresponds to the top-level Go `Config` struct.
|
|
70
|
+
*
|
|
71
|
+
* @generated from message config.v1.OutlookConfigV1
|
|
72
|
+
*/
|
|
73
|
+
export type OutlookConfigV1 = Message<'config.v1.OutlookConfigV1'> & {
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: string platform_endpoint = 1;
|
|
76
|
+
*/
|
|
77
|
+
platformEndpoint: string;
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: string platform_auth_endpoint = 2;
|
|
80
|
+
*/
|
|
81
|
+
platformAuthEndpoint: string;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: string platform_auth_realm = 3;
|
|
84
|
+
*/
|
|
85
|
+
platformAuthRealm: string;
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: string token_endpoint = 4;
|
|
88
|
+
*/
|
|
89
|
+
tokenEndpoint: string;
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: string service_host_name = 5;
|
|
92
|
+
*/
|
|
93
|
+
serviceHostName: string;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: string client_id = 6;
|
|
96
|
+
*/
|
|
97
|
+
clientId: string;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: string auth_client_id = 7;
|
|
100
|
+
*/
|
|
101
|
+
authClientId: string;
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: bool auto_block = 8;
|
|
104
|
+
*/
|
|
105
|
+
autoBlock: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: bool should_encrypt = 9;
|
|
108
|
+
*/
|
|
109
|
+
shouldEncrypt: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: bool should_encrypt_body = 10;
|
|
112
|
+
*/
|
|
113
|
+
shouldEncryptBody: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: bool client_side_decrypt = 11;
|
|
116
|
+
*/
|
|
117
|
+
clientSideDecrypt: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: string assertion_type = 12;
|
|
120
|
+
*/
|
|
121
|
+
assertionType: string;
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: string log_level = 13;
|
|
124
|
+
*/
|
|
125
|
+
logLevel: string;
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: bool local_addin_log = 14;
|
|
128
|
+
*/
|
|
129
|
+
localAddinLog: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: bool addin_dev_mode = 15;
|
|
132
|
+
*/
|
|
133
|
+
addinDevMode: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: string addin_build_dir = 16;
|
|
136
|
+
*/
|
|
137
|
+
addinBuildDir: string;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: bool strict_assertions = 17;
|
|
140
|
+
*/
|
|
141
|
+
strictAssertions: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: string classify_namespace = 18;
|
|
144
|
+
*/
|
|
145
|
+
classifyNamespace: string;
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: string classify_flot_format = 19;
|
|
148
|
+
*/
|
|
149
|
+
classifyFlotFormat: string;
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: config.v1.OutlookServices services = 20;
|
|
152
|
+
*/
|
|
153
|
+
services?: OutlookServices;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message config.v1.OutlookConfigV1.
|
|
157
|
+
* Use `create(OutlookConfigV1Schema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export declare const OutlookConfigV1Schema: GenMessage<OutlookConfigV1>;
|
|
160
|
+
/**
|
|
161
|
+
* Enum to manage different versions of the Outlook configuration.
|
|
162
|
+
*
|
|
163
|
+
* @generated from enum config.v1.OutlookConfigVersion
|
|
164
|
+
*/
|
|
165
|
+
export declare enum OutlookConfigVersion {
|
|
166
|
+
/**
|
|
167
|
+
* @generated from enum value: OUTLOOK_CONFIG_VERSION_UNSPECIFIED = 0;
|
|
168
|
+
*/
|
|
169
|
+
UNSPECIFIED = 0,
|
|
170
|
+
/**
|
|
171
|
+
* @generated from enum value: OUTLOOK_CONFIG_VERSION_V1 = 1;
|
|
172
|
+
*/
|
|
173
|
+
V1 = 1
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Describes the enum config.v1.OutlookConfigVersion.
|
|
177
|
+
*/
|
|
178
|
+
export declare const OutlookConfigVersionSchema: GenEnum<OutlookConfigVersion>;
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
import { enumDesc, fileDesc, messageDesc } from '@bufbuild/protobuf/codegenv1';
|
|
7
|
+
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
|
8
|
+
import { file_config_v1_meta } from './meta_pb';
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file config/v1/outlook_config.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_config_v1_outlook_config =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
fileDesc('Ch5jb25maWcvdjEvb3V0bG9va19jb25maWcucHJvdG8SCWNvbmZpZy52MSJLCg1PdXRsb29rQ29uZmlnEigKAnYxGAEgASgLMhouY29uZmlnLnYxLk91dGxvb2tDb25maWdWMUgAQhAKB3ZlcnNpb24SBbpIAggBIpQBCg9PdXRsb29rU2VydmljZXMSgAEKB3RhZ2dpbmcYASABKAsyIC5jb25maWcudjEuT3V0bG9va1RhZ2dpbmdTZXJ2aWNlQk2CtRhJCg9UYWdnaW5nIFNlcnZpY2USNkNvbmZpZ3VyYXRpb24gZm9yIHRoZSB0YWdnaW5nIHNlcnZpY2UgdXNlZCBieSBPdXRsb29rLiKpAQoVT3V0bG9va1RhZ2dpbmdTZXJ2aWNlEkcKB2VuYWJsZWQYASABKAhCNoK1G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Q29uZmlnOjpWMWIGcHJvdG8z', [file_buf_validate_validate, file_config_v1_meta]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message config.v1.OutlookConfig.
|
|
17
|
+
* Use `create(OutlookConfigSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const OutlookConfigSchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
messageDesc(file_config_v1_outlook_config, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message config.v1.OutlookServices.
|
|
24
|
+
* Use `create(OutlookServicesSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const OutlookServicesSchema =
|
|
27
|
+
/*@__PURE__*/
|
|
28
|
+
messageDesc(file_config_v1_outlook_config, 1);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message config.v1.OutlookTaggingService.
|
|
31
|
+
* Use `create(OutlookTaggingServiceSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const OutlookTaggingServiceSchema =
|
|
34
|
+
/*@__PURE__*/
|
|
35
|
+
messageDesc(file_config_v1_outlook_config, 2);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message config.v1.OutlookConfigV1.
|
|
38
|
+
* Use `create(OutlookConfigV1Schema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const OutlookConfigV1Schema =
|
|
41
|
+
/*@__PURE__*/
|
|
42
|
+
messageDesc(file_config_v1_outlook_config, 3);
|
|
43
|
+
/**
|
|
44
|
+
* Enum to manage different versions of the Outlook configuration.
|
|
45
|
+
*
|
|
46
|
+
* @generated from enum config.v1.OutlookConfigVersion
|
|
47
|
+
*/
|
|
48
|
+
export var OutlookConfigVersion;
|
|
49
|
+
(function (OutlookConfigVersion) {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: OUTLOOK_CONFIG_VERSION_UNSPECIFIED = 0;
|
|
52
|
+
*/
|
|
53
|
+
OutlookConfigVersion[OutlookConfigVersion["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
54
|
+
/**
|
|
55
|
+
* @generated from enum value: OUTLOOK_CONFIG_VERSION_V1 = 1;
|
|
56
|
+
*/
|
|
57
|
+
OutlookConfigVersion[OutlookConfigVersion["V1"] = 1] = "V1";
|
|
58
|
+
})(OutlookConfigVersion || (OutlookConfigVersion = {}));
|
|
59
|
+
/**
|
|
60
|
+
* Describes the enum config.v1.OutlookConfigVersion.
|
|
61
|
+
*/
|
|
62
|
+
export const OutlookConfigVersionSchema =
|
|
63
|
+
/*@__PURE__*/
|
|
64
|
+
enumDesc(file_config_v1_outlook_config, 0);
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file config/v1/secureviewer_config.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_config_v1_secureviewer_config: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* A wrapper message that uses a oneof to support multiple config versions.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message config.v1.SecureViewerConfig
|
|
11
|
+
*/
|
|
12
|
+
export type SecureViewerConfig = Message<'config.v1.SecureViewerConfig'> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from oneof config.v1.SecureViewerConfig.version
|
|
15
|
+
*/
|
|
16
|
+
version: {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: config.v1.SecureViewerConfigV1 v1 = 1;
|
|
19
|
+
*/
|
|
20
|
+
value: SecureViewerConfigV1;
|
|
21
|
+
case: 'v1';
|
|
22
|
+
} | {
|
|
23
|
+
case: undefined;
|
|
24
|
+
value?: undefined;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message config.v1.SecureViewerConfig.
|
|
29
|
+
* Use `create(SecureViewerConfigSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export declare const SecureViewerConfigSchema: GenMessage<SecureViewerConfig>;
|
|
32
|
+
/**
|
|
33
|
+
* Message to define obligation feature map structure.
|
|
34
|
+
*
|
|
35
|
+
* @generated from message config.v1.ObligationFeatureMap
|
|
36
|
+
*/
|
|
37
|
+
export type ObligationFeatureMap = Message<'config.v1.ObligationFeatureMap'> & {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: repeated string fully_qualified_names = 1;
|
|
40
|
+
*/
|
|
41
|
+
fullyQualifiedNames: string[];
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message config.v1.ObligationFeatureMap.
|
|
45
|
+
* Use `create(ObligationFeatureMapSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export declare const ObligationFeatureMapSchema: GenMessage<ObligationFeatureMap>;
|
|
48
|
+
/**
|
|
49
|
+
* Message to define supported obligation types for the Secure Viewer.
|
|
50
|
+
*
|
|
51
|
+
* @generated from message config.v1.SupportedObligations
|
|
52
|
+
*/
|
|
53
|
+
export type SupportedObligations = Message<'config.v1.SupportedObligations'> & {
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: config.v1.ObligationFeatureMap watermark = 1;
|
|
56
|
+
*/
|
|
57
|
+
watermark?: ObligationFeatureMap;
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: config.v1.ObligationFeatureMap prevent_download = 2;
|
|
60
|
+
*/
|
|
61
|
+
preventDownload?: ObligationFeatureMap;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message config.v1.SupportedObligations.
|
|
65
|
+
* Use `create(SupportedObligationsSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export declare const SupportedObligationsSchema: GenMessage<SupportedObligations>;
|
|
68
|
+
/**
|
|
69
|
+
* This message corresponds to the top-level Go `Config` struct.
|
|
70
|
+
*
|
|
71
|
+
* @generated from message config.v1.SecureViewerConfigV1
|
|
72
|
+
*/
|
|
73
|
+
export type SecureViewerConfigV1 = Message<'config.v1.SecureViewerConfigV1'> & {
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: string client_id_web = 1;
|
|
76
|
+
*/
|
|
77
|
+
clientIdWeb: string;
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: string issuer_endpoint = 2;
|
|
80
|
+
*/
|
|
81
|
+
issuerEndpoint: string;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: string oidc_client_scope = 3;
|
|
84
|
+
*/
|
|
85
|
+
oidcClientScope: string;
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: config.v1.SupportedObligations supported_obligations = 4;
|
|
88
|
+
*/
|
|
89
|
+
supportedObligations?: SupportedObligations;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message config.v1.SecureViewerConfigV1.
|
|
93
|
+
* Use `create(SecureViewerConfigV1Schema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export declare const SecureViewerConfigV1Schema: GenMessage<SecureViewerConfigV1>;
|
|
96
|
+
/**
|
|
97
|
+
* Enum to manage different versions of the Secure Viewer configuration.
|
|
98
|
+
*
|
|
99
|
+
* @generated from enum config.v1.SecureViewerConfigVersion
|
|
100
|
+
*/
|
|
101
|
+
export declare enum SecureViewerConfigVersion {
|
|
102
|
+
/**
|
|
103
|
+
* @generated from enum value: SECURE_VIEWER_CONFIG_VERSION_UNSPECIFIED = 0;
|
|
104
|
+
*/
|
|
105
|
+
UNSPECIFIED = 0,
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: SECURE_VIEWER_CONFIG_VERSION_V1 = 1;
|
|
108
|
+
*/
|
|
109
|
+
V1 = 1
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Describes the enum config.v1.SecureViewerConfigVersion.
|
|
113
|
+
*/
|
|
114
|
+
export declare const SecureViewerConfigVersionSchema: GenEnum<SecureViewerConfigVersion>;
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
import { enumDesc, fileDesc, messageDesc } from '@bufbuild/protobuf/codegenv1';
|
|
7
|
+
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
|
8
|
+
import { file_config_v1_meta } from './meta_pb';
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file config/v1/secureviewer_config.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_config_v1_secureviewer_config =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
fileDesc('CiNjb25maWcvdjEvc2VjdXJldmlld2VyX2NvbmZpZy5wcm90bxIJY29uZmlnLnYxIlUKElNlY3VyZVZpZXdlckNvbmZpZxItCgJ2MRgBIAEoCzIfLmNvbmZpZy52MS5TZWN1cmVWaWV3ZXJDb25maWdWMUgAQhAKB3ZlcnNpb24SBbpIAggBIoIBChRPYmxpZ2F0aW9uRmVhdHVyZU1hcBJqChVmdWxseV9xdWFsaWZpZWRfbmFtZXMYASADKAlCS4K1GEcKFUZ1bGx5IFF1YWxpZmllZCBOYW1lcxIuTGlzdCBvZiBvYmxpZ2F0aW9uIHZhbHVlIEZRTnMgZm9yIHRoZSBmZWF0dXJlLiLPAgoUU3VwcG9ydGVkT2JsaWdhdGlvbnMSjwEKCXdhdGVybWFyaxgBIAEoCzIfLmNvbmZpZy52MS5PYmxpZ2F0aW9uRmVhdHVyZU1hcEJbgrUYVwogV2F0ZXJtYXJrIE9ibGlnYXRpb24gRmVhdHVyZSBNYXASM09ibGlnYXRpb24gY29uZmlndXJhdGlvbiBmb3IgdGhlIHdhdGVybWFyayBmZWF0dXJlLhKkAQoQcHJldmVudF9kb3dubG9hZBgCIAEoCzIfLmNvbmZpZy52MS5PYmxpZ2F0aW9uRmVhdHVyZU1hcEJpgrUYZQonUHJldmVudCBEb3dubG9hZCBPYmxpZ2F0aW9uIEZlYXR1cmUgTWF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_validate_validate, file_config_v1_meta]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message config.v1.SecureViewerConfig.
|
|
17
|
+
* Use `create(SecureViewerConfigSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const SecureViewerConfigSchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
messageDesc(file_config_v1_secureviewer_config, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message config.v1.ObligationFeatureMap.
|
|
24
|
+
* Use `create(ObligationFeatureMapSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const ObligationFeatureMapSchema =
|
|
27
|
+
/*@__PURE__*/
|
|
28
|
+
messageDesc(file_config_v1_secureviewer_config, 1);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message config.v1.SupportedObligations.
|
|
31
|
+
* Use `create(SupportedObligationsSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const SupportedObligationsSchema =
|
|
34
|
+
/*@__PURE__*/
|
|
35
|
+
messageDesc(file_config_v1_secureviewer_config, 2);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message config.v1.SecureViewerConfigV1.
|
|
38
|
+
* Use `create(SecureViewerConfigV1Schema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const SecureViewerConfigV1Schema =
|
|
41
|
+
/*@__PURE__*/
|
|
42
|
+
messageDesc(file_config_v1_secureviewer_config, 3);
|
|
43
|
+
/**
|
|
44
|
+
* Enum to manage different versions of the Secure Viewer configuration.
|
|
45
|
+
*
|
|
46
|
+
* @generated from enum config.v1.SecureViewerConfigVersion
|
|
47
|
+
*/
|
|
48
|
+
export var SecureViewerConfigVersion;
|
|
49
|
+
(function (SecureViewerConfigVersion) {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: SECURE_VIEWER_CONFIG_VERSION_UNSPECIFIED = 0;
|
|
52
|
+
*/
|
|
53
|
+
SecureViewerConfigVersion[SecureViewerConfigVersion["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
54
|
+
/**
|
|
55
|
+
* @generated from enum value: SECURE_VIEWER_CONFIG_VERSION_V1 = 1;
|
|
56
|
+
*/
|
|
57
|
+
SecureViewerConfigVersion[SecureViewerConfigVersion["V1"] = 1] = "V1";
|
|
58
|
+
})(SecureViewerConfigVersion || (SecureViewerConfigVersion = {}));
|
|
59
|
+
/**
|
|
60
|
+
* Describes the enum config.v1.SecureViewerConfigVersion.
|
|
61
|
+
*/
|
|
62
|
+
export const SecureViewerConfigVersionSchema =
|
|
63
|
+
/*@__PURE__*/
|
|
64
|
+
enumDesc(file_config_v1_secureviewer_config, 0);
|
package/package.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Your use of this file is governed by the Virtu Terms of Service <https://www.virtru.com/terms-of-service/>.
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
6
|
// @generated by protoc-gen-es v2.3.0 with parameter "target=ts"
|
|
8
7
|
// @generated from file config/formatters/testdata/v1/test.proto (package config.formatters.testdata.v1, syntax proto3)
|
|
9
8
|
/* eslint-disable */
|