@virtru/dsp-sdk 0.2.0-pr612.2dd0cdac → 0.2.1

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.
@@ -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('CiNjb25maWcvdjEvc2VjdXJldmlld2VyX2NvbmZpZy5wcm90bxIJY29uZmlnLnYxIlUKElNlY3VyZVZpZXdlckNvbmZpZxItCgJ2MRgBIAEoCzIfLmNvbmZpZy52MS5TZWN1cmVWaWV3ZXJDb25maWdWMUgAQhAKB3ZlcnNpb24SBbpIAggBIoIBChRPYmxpZ2F0aW9uRmVhdHVyZU1hcBJqChVmdWxseV9xdWFsaWZpZWRfbmFtZXMYASADKAlCS4K1GEcKFUZ1bGx5IFF1YWxpZmllZCBOYW1lcxIuTGlzdCBvZiBvYmxpZ2F0aW9uIHZhbHVlIEZRTnMgZm9yIHRoZSBmZWF0dXJlLiLPAgoUU3VwcG9ydGVkT2JsaWdhdGlvbnMSjwEKCXdhdGVybWFyaxgBIAEoCzIfLmNvbmZpZy52MS5PYmxpZ2F0aW9uRmVhdHVyZU1hcEJbgrUYVwogV2F0ZXJtYXJrIE9ibGlnYXRpb24gRmVhdHVyZSBNYXASM09ibGlnYXRpb24gY29uZmlndXJhdGlvbiBmb3IgdGhlIHdhdGVybWFyayBmZWF0dXJlLhKkAQoQcHJldmVudF9kb3dubG9hZBgCIAEoCzIfLmNvbmZpZy52MS5PYmxpZ2F0aW9uRmVhdHVyZU1hcEJpgrUYZQonUHJldmVudCBEb3dubG9hZCBPYmxpZ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nOjpWMWIGcHJvdG8z', [file_buf_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
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@virtru/dsp-sdk",
3
- "version": "0.2.0-pr612.2dd0cdac",
3
+ "version": "0.2.1",
4
+ "license": "SEE LICENSE IN LICENSE",
4
5
  "main": "dist/src/index.js",
5
6
  "exports": {
6
7
  ".": {
@@ -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 */
@@ -21,6 +21,15 @@ import {
21
21
  import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
22
22
  import type { TaggingPDPConfig, TaggingPDPConfigVersion } from './tagging_pb';
23
23
  import { file_config_v1_tagging } from './tagging_pb';
24
+ import type { KASConfig, KASConfigVersion } from './kas_config_pb';
25
+ import { file_config_v1_kas_config } from './kas_config_pb';
26
+ import type {
27
+ SecureViewerConfig,
28
+ SecureViewerConfigVersion,
29
+ } from './secureviewer_config_pb';
30
+ import { file_config_v1_secureviewer_config } from './secureviewer_config_pb';
31
+ import type { OutlookConfig, OutlookConfigVersion } from './outlook_config_pb';
32
+ import { file_config_v1_outlook_config } from './outlook_config_pb';
24
33
  import type { Message } from '@bufbuild/protobuf';
25
34
 
26
35
  /**
@@ -29,8 +38,14 @@ import type { Message } from '@bufbuild/protobuf';
29
38
  export const file_config_v1_config: GenFile =
30
39
  /*@__PURE__*/
31
40
  fileDesc(
32
- 'ChZjb25maWcvdjEvY29uZmlnLnByb3RvEgljb25maWcudjEiQQobR2V0VGFnZ2luZ1BEUENvbmZpZ1Jlc3BvbnNlEg0KBXZhbHVlGAEgASgJEhMKC2pzb25fc2NoZW1hGAIgASgJIlkKGkdldFRhZ2dpbmdQRFBDb25maWdSZXF1ZXN0EjsKB3ZlcnNpb24YASABKA4yIi5jb25maWcudjEuVGFnZ2luZ1BEUENvbmZpZ1ZlcnNpb25CBrpIA8gBASJJChpTZXRUYWdnaW5nUERQQ29uZmlnUmVxdWVzdBIrCgZjb25maWcYASABKAsyGy5jb25maWcudjEuVGFnZ2luZ1BEUENvbmZpZyJKChtTZXRUYWdnaW5nUERQQ29uZmlnUmVzcG9uc2USKwoGY29uZmlnGAEgASgLMhsuY29uZmlnLnYxLlRhZ2dpbmdQRFBDb25maWcy3wEKDUNvbmZpZ1NlcnZpY2USZgoTR2V0VGFnZ2luZ1BEUENvbmZpZxIlLmNvbmZpZy52MS5HZXRUYWdnaW5nUERQQ29uZmlnUmVxdWVzdBomLmNvbmZpZy52MS5HZXRUYWdnaW5nUERQQ29uZmlnUmVzcG9uc2UiABJmChNTZXRUYWdnaW5nUERQQ29uZmlnEiUuY29uZmlnLnYxLlNldFRhZ2dpbmdQRFBDb25maWdSZXF1ZXN0GiYuY29uZmlnLnYxLlNldFRhZ2dpbmdQRFBDb25maWdSZXNwb25zZSIAQq4BCg1jb20uY29uZmlnLnYxQgtDb25maWdQcm90b1ABWktnaXRodWIuY29tL3ZpcnRydS1jb3JwL2RhdGEtc2VjdXJpdHktcGxhdGZvcm0vc2RrL3YyL2dlbi9jb25maWcvdjE7Y29uZmlndjGiAgNDWFiqAglDb25maWcuVjHKAglDb25maWdcVjHiAhVDb25maWdcVjFcR1BCTWV0YWRhdGHqAgpDb25maWc6OlYxYgZwcm90bzM',
33
- [file_buf_validate_validate, file_config_v1_tagging]
41
+ 'ChZjb25maWcvdjEvY29uZmlnLnByb3RvEgljb25maWcudjEiQQobR2V0VGFnZ2luZ1BEUENvbmZpZ1Jlc3BvbnNlEg0KBXZhbHVlGAEgASgJEhMKC2pzb25fc2NoZW1hGAIgASgJIkMKHUdldFNlY3VyZVZpZXdlckNvbmZpZ1Jlc3BvbnNlEg0KBXZhbHVlGAEgASgJEhMKC2pzb25fc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xLlNldE91dGxvb2tDb25maWdSZXF1ZXN0GiMuY29uZmlnLnYxLlNldE91dGxvb2tDb25maWdSZXNwb25zZSIAElEKDEdldEtBU0NvbmZpZxIeLmNvbmZpZy52MS5HZXRLQVNDb25maWdSZXF1ZXN0Gh8uY29uZmlnLnYxLkdldEtBU0NvbmZpZ1Jlc3BvbnNlIgASUQoMU2V0S0FTQ29uZmlnEh4uY29uZmlnLnYxLlNldEtBU0NvbmZpZ1JlcXVlc3QaHy5jb25maWcudjEuU2V0S0FTQ29uZmlnUmVzcG9uc2UiAEKuAQoNY29tLmNvbmZpZy52MUILQ29uZmlnUHJvdG9QAVpLZ2l0aHViLmNvbS92aXJ0cnUtY29ycC9kYXRhLXNlY3VyaXR5LXBsYXRmb3JtL3Nkay92Mi9nZW4vY29uZmlnL3YxO2NvbmZpZ3YxogIDQ1hYqgIJQ29uZmlnLlYxygIJQ29uZmlnXFYx4gIVQ29uZmlnXFYxXEdQQk1ldGFkYXRh6gIKQ29uZmlnOjpWMWIGcHJvdG8z',
42
+ [
43
+ file_buf_validate_validate,
44
+ file_config_v1_tagging,
45
+ file_config_v1_kas_config,
46
+ file_config_v1_secureviewer_config,
47
+ file_config_v1_outlook_config,
48
+ ]
34
49
  );
35
50
 
36
51
  /**
@@ -57,6 +72,77 @@ export const GetTaggingPDPConfigResponseSchema: GenMessage<GetTaggingPDPConfigRe
57
72
  /*@__PURE__*/
58
73
  messageDesc(file_config_v1_config, 0);
59
74
 
75
+ /**
76
+ * @generated from message config.v1.GetSecureViewerConfigResponse
77
+ */
78
+ export type GetSecureViewerConfigResponse =
79
+ Message<'config.v1.GetSecureViewerConfigResponse'> & {
80
+ /**
81
+ * @generated from field: string value = 1;
82
+ */
83
+ value: string;
84
+
85
+ /**
86
+ * @generated from field: string json_schema = 2;
87
+ */
88
+ jsonSchema: string;
89
+ };
90
+
91
+ /**
92
+ * Describes the message config.v1.GetSecureViewerConfigResponse.
93
+ * Use `create(GetSecureViewerConfigResponseSchema)` to create a new message.
94
+ */
95
+ export const GetSecureViewerConfigResponseSchema: GenMessage<GetSecureViewerConfigResponse> =
96
+ /*@__PURE__*/
97
+ messageDesc(file_config_v1_config, 1);
98
+
99
+ /**
100
+ * @generated from message config.v1.GetKASConfigResponse
101
+ */
102
+ export type GetKASConfigResponse = Message<'config.v1.GetKASConfigResponse'> & {
103
+ /**
104
+ * @generated from field: string value = 1;
105
+ */
106
+ value: string;
107
+
108
+ /**
109
+ * @generated from field: string json_schema = 2;
110
+ */
111
+ jsonSchema: string;
112
+ };
113
+
114
+ /**
115
+ * Describes the message config.v1.GetKASConfigResponse.
116
+ * Use `create(GetKASConfigResponseSchema)` to create a new message.
117
+ */
118
+ export const GetKASConfigResponseSchema: GenMessage<GetKASConfigResponse> =
119
+ /*@__PURE__*/
120
+ messageDesc(file_config_v1_config, 2);
121
+
122
+ /**
123
+ * @generated from message config.v1.GetOutlookConfigResponse
124
+ */
125
+ export type GetOutlookConfigResponse =
126
+ Message<'config.v1.GetOutlookConfigResponse'> & {
127
+ /**
128
+ * @generated from field: string value = 1;
129
+ */
130
+ value: string;
131
+
132
+ /**
133
+ * @generated from field: string json_schema = 2;
134
+ */
135
+ jsonSchema: string;
136
+ };
137
+
138
+ /**
139
+ * Describes the message config.v1.GetOutlookConfigResponse.
140
+ * Use `create(GetOutlookConfigResponseSchema)` to create a new message.
141
+ */
142
+ export const GetOutlookConfigResponseSchema: GenMessage<GetOutlookConfigResponse> =
143
+ /*@__PURE__*/
144
+ messageDesc(file_config_v1_config, 3);
145
+
60
146
  /**
61
147
  * @generated from message config.v1.GetTaggingPDPConfigRequest
62
148
  */
@@ -74,7 +160,7 @@ export type GetTaggingPDPConfigRequest =
74
160
  */
75
161
  export const GetTaggingPDPConfigRequestSchema: GenMessage<GetTaggingPDPConfigRequest> =
76
162
  /*@__PURE__*/
77
- messageDesc(file_config_v1_config, 1);
163
+ messageDesc(file_config_v1_config, 4);
78
164
 
79
165
  /**
80
166
  * @generated from message config.v1.SetTaggingPDPConfigRequest
@@ -93,7 +179,7 @@ export type SetTaggingPDPConfigRequest =
93
179
  */
94
180
  export const SetTaggingPDPConfigRequestSchema: GenMessage<SetTaggingPDPConfigRequest> =
95
181
  /*@__PURE__*/
96
- messageDesc(file_config_v1_config, 2);
182
+ messageDesc(file_config_v1_config, 5);
97
183
 
98
184
  /**
99
185
  * @generated from message config.v1.SetTaggingPDPConfigResponse
@@ -112,7 +198,175 @@ export type SetTaggingPDPConfigResponse =
112
198
  */
113
199
  export const SetTaggingPDPConfigResponseSchema: GenMessage<SetTaggingPDPConfigResponse> =
114
200
  /*@__PURE__*/
115
- messageDesc(file_config_v1_config, 3);
201
+ messageDesc(file_config_v1_config, 6);
202
+
203
+ /**
204
+ * @generated from message config.v1.GetSecureViewerConfigRequest
205
+ */
206
+ export type GetSecureViewerConfigRequest =
207
+ Message<'config.v1.GetSecureViewerConfigRequest'> & {
208
+ /**
209
+ * @generated from field: config.v1.SecureViewerConfigVersion version = 1;
210
+ */
211
+ version: SecureViewerConfigVersion;
212
+ };
213
+
214
+ /**
215
+ * Describes the message config.v1.GetSecureViewerConfigRequest.
216
+ * Use `create(GetSecureViewerConfigRequestSchema)` to create a new message.
217
+ */
218
+ export const GetSecureViewerConfigRequestSchema: GenMessage<GetSecureViewerConfigRequest> =
219
+ /*@__PURE__*/
220
+ messageDesc(file_config_v1_config, 7);
221
+
222
+ /**
223
+ * @generated from message config.v1.SetSecureViewerConfigRequest
224
+ */
225
+ export type SetSecureViewerConfigRequest =
226
+ Message<'config.v1.SetSecureViewerConfigRequest'> & {
227
+ /**
228
+ * @generated from field: config.v1.SecureViewerConfig config = 1;
229
+ */
230
+ config?: SecureViewerConfig;
231
+ };
232
+
233
+ /**
234
+ * Describes the message config.v1.SetSecureViewerConfigRequest.
235
+ * Use `create(SetSecureViewerConfigRequestSchema)` to create a new message.
236
+ */
237
+ export const SetSecureViewerConfigRequestSchema: GenMessage<SetSecureViewerConfigRequest> =
238
+ /*@__PURE__*/
239
+ messageDesc(file_config_v1_config, 8);
240
+
241
+ /**
242
+ * @generated from message config.v1.SetSecureViewerConfigResponse
243
+ */
244
+ export type SetSecureViewerConfigResponse =
245
+ Message<'config.v1.SetSecureViewerConfigResponse'> & {
246
+ /**
247
+ * @generated from field: config.v1.SecureViewerConfig config = 1;
248
+ */
249
+ config?: SecureViewerConfig;
250
+ };
251
+
252
+ /**
253
+ * Describes the message config.v1.SetSecureViewerConfigResponse.
254
+ * Use `create(SetSecureViewerConfigResponseSchema)` to create a new message.
255
+ */
256
+ export const SetSecureViewerConfigResponseSchema: GenMessage<SetSecureViewerConfigResponse> =
257
+ /*@__PURE__*/
258
+ messageDesc(file_config_v1_config, 9);
259
+
260
+ /**
261
+ * @generated from message config.v1.GetOutlookConfigRequest
262
+ */
263
+ export type GetOutlookConfigRequest =
264
+ Message<'config.v1.GetOutlookConfigRequest'> & {
265
+ /**
266
+ * @generated from field: config.v1.OutlookConfigVersion version = 1;
267
+ */
268
+ version: OutlookConfigVersion;
269
+ };
270
+
271
+ /**
272
+ * Describes the message config.v1.GetOutlookConfigRequest.
273
+ * Use `create(GetOutlookConfigRequestSchema)` to create a new message.
274
+ */
275
+ export const GetOutlookConfigRequestSchema: GenMessage<GetOutlookConfigRequest> =
276
+ /*@__PURE__*/
277
+ messageDesc(file_config_v1_config, 10);
278
+
279
+ /**
280
+ * @generated from message config.v1.SetOutlookConfigRequest
281
+ */
282
+ export type SetOutlookConfigRequest =
283
+ Message<'config.v1.SetOutlookConfigRequest'> & {
284
+ /**
285
+ * @generated from field: config.v1.OutlookConfig config = 1;
286
+ */
287
+ config?: OutlookConfig;
288
+ };
289
+
290
+ /**
291
+ * Describes the message config.v1.SetOutlookConfigRequest.
292
+ * Use `create(SetOutlookConfigRequestSchema)` to create a new message.
293
+ */
294
+ export const SetOutlookConfigRequestSchema: GenMessage<SetOutlookConfigRequest> =
295
+ /*@__PURE__*/
296
+ messageDesc(file_config_v1_config, 11);
297
+
298
+ /**
299
+ * @generated from message config.v1.SetOutlookConfigResponse
300
+ */
301
+ export type SetOutlookConfigResponse =
302
+ Message<'config.v1.SetOutlookConfigResponse'> & {
303
+ /**
304
+ * @generated from field: config.v1.OutlookConfig config = 1;
305
+ */
306
+ config?: OutlookConfig;
307
+ };
308
+
309
+ /**
310
+ * Describes the message config.v1.SetOutlookConfigResponse.
311
+ * Use `create(SetOutlookConfigResponseSchema)` to create a new message.
312
+ */
313
+ export const SetOutlookConfigResponseSchema: GenMessage<SetOutlookConfigResponse> =
314
+ /*@__PURE__*/
315
+ messageDesc(file_config_v1_config, 12);
316
+
317
+ /**
318
+ * @generated from message config.v1.GetKASConfigRequest
319
+ */
320
+ export type GetKASConfigRequest = Message<'config.v1.GetKASConfigRequest'> & {
321
+ /**
322
+ * @generated from field: config.v1.KASConfigVersion version = 1;
323
+ */
324
+ version: KASConfigVersion;
325
+ };
326
+
327
+ /**
328
+ * Describes the message config.v1.GetKASConfigRequest.
329
+ * Use `create(GetKASConfigRequestSchema)` to create a new message.
330
+ */
331
+ export const GetKASConfigRequestSchema: GenMessage<GetKASConfigRequest> =
332
+ /*@__PURE__*/
333
+ messageDesc(file_config_v1_config, 13);
334
+
335
+ /**
336
+ * @generated from message config.v1.SetKASConfigRequest
337
+ */
338
+ export type SetKASConfigRequest = Message<'config.v1.SetKASConfigRequest'> & {
339
+ /**
340
+ * @generated from field: config.v1.KASConfig config = 1;
341
+ */
342
+ config?: KASConfig;
343
+ };
344
+
345
+ /**
346
+ * Describes the message config.v1.SetKASConfigRequest.
347
+ * Use `create(SetKASConfigRequestSchema)` to create a new message.
348
+ */
349
+ export const SetKASConfigRequestSchema: GenMessage<SetKASConfigRequest> =
350
+ /*@__PURE__*/
351
+ messageDesc(file_config_v1_config, 14);
352
+
353
+ /**
354
+ * @generated from message config.v1.SetKASConfigResponse
355
+ */
356
+ export type SetKASConfigResponse = Message<'config.v1.SetKASConfigResponse'> & {
357
+ /**
358
+ * @generated from field: config.v1.KASConfig config = 1;
359
+ */
360
+ config?: KASConfig;
361
+ };
362
+
363
+ /**
364
+ * Describes the message config.v1.SetKASConfigResponse.
365
+ * Use `create(SetKASConfigResponseSchema)` to create a new message.
366
+ */
367
+ export const SetKASConfigResponseSchema: GenMessage<SetKASConfigResponse> =
368
+ /*@__PURE__*/
369
+ messageDesc(file_config_v1_config, 15);
116
370
 
117
371
  /**
118
372
  * @generated from service config.v1.ConfigService
@@ -134,4 +388,52 @@ export const ConfigService: GenService<{
134
388
  input: typeof SetTaggingPDPConfigRequestSchema;
135
389
  output: typeof SetTaggingPDPConfigResponseSchema;
136
390
  };
391
+ /**
392
+ * @generated from rpc config.v1.ConfigService.GetSecureViewerConfig
393
+ */
394
+ getSecureViewerConfig: {
395
+ methodKind: 'unary';
396
+ input: typeof GetSecureViewerConfigRequestSchema;
397
+ output: typeof GetSecureViewerConfigResponseSchema;
398
+ };
399
+ /**
400
+ * @generated from rpc config.v1.ConfigService.SetSecureViewerConfig
401
+ */
402
+ setSecureViewerConfig: {
403
+ methodKind: 'unary';
404
+ input: typeof SetSecureViewerConfigRequestSchema;
405
+ output: typeof SetSecureViewerConfigResponseSchema;
406
+ };
407
+ /**
408
+ * @generated from rpc config.v1.ConfigService.GetOutlookConfig
409
+ */
410
+ getOutlookConfig: {
411
+ methodKind: 'unary';
412
+ input: typeof GetOutlookConfigRequestSchema;
413
+ output: typeof GetOutlookConfigResponseSchema;
414
+ };
415
+ /**
416
+ * @generated from rpc config.v1.ConfigService.SetOutlookConfig
417
+ */
418
+ setOutlookConfig: {
419
+ methodKind: 'unary';
420
+ input: typeof SetOutlookConfigRequestSchema;
421
+ output: typeof SetOutlookConfigResponseSchema;
422
+ };
423
+ /**
424
+ * @generated from rpc config.v1.ConfigService.GetKASConfig
425
+ */
426
+ getKASConfig: {
427
+ methodKind: 'unary';
428
+ input: typeof GetKASConfigRequestSchema;
429
+ output: typeof GetKASConfigResponseSchema;
430
+ };
431
+ /**
432
+ * @generated from rpc config.v1.ConfigService.SetKASConfig
433
+ */
434
+ setKASConfig: {
435
+ methodKind: 'unary';
436
+ input: typeof SetKASConfigRequestSchema;
437
+ output: typeof SetKASConfigResponseSchema;
438
+ };
137
439
  }> = /*@__PURE__*/ serviceDesc(file_config_v1_config, 0);