@virtru/dsp-sdk 0.3.1 → 0.3.2

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 (44) hide show
  1. package/.rush/temp/chunked-rush-logs/dsp-sdk._phase_build.chunks.jsonl +3 -3
  2. package/.rush/temp/chunked-rush-logs/dsp-sdk._phase_test.chunks.jsonl +9 -38
  3. package/.rush/temp/package-deps__phase_build.json +28 -16
  4. package/.rush/temp/shrinkwrap-deps.json +174 -85
  5. package/CHANGELOG.json +14 -0
  6. package/CHANGELOG.md +8 -1
  7. package/README.md +10 -0
  8. package/dist/src/gen/config/v1/tagging_pb.d.ts +88 -4
  9. package/dist/src/gen/config/v1/tagging_pb.js +60 -5
  10. package/dist/src/gen/policyimportexport/v1/policy_import_export_pb.d.ts +6 -0
  11. package/dist/src/gen/policyimportexport/v1/policy_import_export_pb.js +2 -1
  12. package/dist/src/gen/virtru/common/common_pb.d.ts +10 -10
  13. package/dist/src/gen/virtru/common/common_pb.js +29 -13
  14. package/dist/src/gen/virtru/policy/certificates/v1/certificates_pb.d.ts +14 -14
  15. package/dist/src/gen/virtru/policy/certificates/v1/certificates_pb.js +40 -16
  16. package/dist/src/gen/virtru/policy/objects_pb.d.ts +5 -5
  17. package/dist/src/gen/virtru/policy/objects_pb.js +26 -12
  18. package/dist/src/lib/client.js +1 -1
  19. package/dist/src/lib/utils.js +9 -6
  20. package/dist/tests/dsp.test.js +1 -4
  21. package/package.json +8 -3
  22. package/src/gen/config/formatters/testdata/v1/test_pb.ts +1 -0
  23. package/src/gen/config/v1/config_connect.ts +111 -0
  24. package/src/gen/config/v1/tagging_pb.ts +106 -5
  25. package/src/gen/helloworld/v1/helloworld_connect.ts +49 -0
  26. package/src/gen/helloworld/v1/helloworld_pb.ts +6 -0
  27. package/src/gen/kas/nanotdf/v1/nanotdf_rewrap_connect.ts +39 -0
  28. package/src/gen/kas/nanotdf/v1/nanotdf_rewrap_pb.ts +207 -0
  29. package/src/gen/policyimportexport/v1/policy_import_export_connect.ts +56 -0
  30. package/src/gen/policyimportexport/v1/policy_import_export_pb.ts +10 -2
  31. package/src/gen/shared/v1/shared_connect.ts +61 -0
  32. package/src/gen/shared/v2/shared_connect.ts +39 -0
  33. package/src/gen/tagging/pdp/v2/externalprocessors/processor_connect.ts +156 -0
  34. package/src/gen/tagging/pdp/v2/tagging_connect.ts +73 -0
  35. package/src/gen/version/v1/version_connect.ts +31 -0
  36. package/src/gen/virtru/common/common_pb.ts +55 -33
  37. package/src/gen/virtru/policy/certificates/v1/certificates_pb.ts +188 -143
  38. package/src/gen/virtru/policy/objects_pb.ts +34 -16
  39. package/src/gen/web-admin/v1/config_connect.ts +52 -0
  40. package/src/lib/client.ts +5 -1
  41. package/src/lib/utils.test.ts +76 -40
  42. package/src/lib/utils.ts +54 -29
  43. package/tests/dsp.test.ts +2 -6
  44. package/update-protos.sh +63 -0
@@ -1,74 +1,109 @@
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
+
1
7
  // @generated by protoc-gen-es v2.3.0 with parameter "target=ts"
2
8
  // @generated from file virtru/policy/certificates/v1/certificates.proto (package virtru.policy.certificates.v1, syntax proto3)
3
9
  /* eslint-disable */
4
10
 
5
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
- import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb";
8
- import type { MetadataMutable, PageRequest, PageResponse } from "../../../common/common_pb";
9
- import { file_virtru_common_common } from "../../../common/common_pb";
10
- import type { Algorithm, Certificate, KeyMode, KeyStatus } from "../../objects_pb";
11
- import { file_virtru_policy_objects } from "../../objects_pb";
12
- import type { Message } from "@bufbuild/protobuf";
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 { file_buf_validate_validate } from '../../../../buf/validate/validate_pb';
22
+ import type {
23
+ MetadataMutable,
24
+ PageRequest,
25
+ PageResponse,
26
+ } from '../../../common/common_pb';
27
+ import { file_virtru_common_common } from '../../../common/common_pb';
28
+ import type {
29
+ Algorithm,
30
+ Certificate,
31
+ KeyMode,
32
+ KeyStatus,
33
+ } from '../../objects_pb';
34
+ import { file_virtru_policy_objects } from '../../objects_pb';
35
+ import type { Message } from '@bufbuild/protobuf';
13
36
 
14
37
  /**
15
38
  * Describes the file virtru/policy/certificates/v1/certificates.proto.
16
39
  */
17
- export const file_virtru_policy_certificates_v1_certificates: GenFile = /*@__PURE__*/
18
- fileDesc("CjB2aXJ0cnUvcG9saWN5L2NlcnRpZmljYXRlcy92MS9jZXJ0aWZpY2F0ZXMucHJvdG8SHXZpcnRydS5wb2xpY3kuY2VydGlmaWNhdGVzLnYxIl4KFE5hbWVzcGFjZUNlcnRpZmljYXRlEiEKDG5hbWVzcGFjZV9pZBgBIAEoCUILukgIyAEBcgOwAQESIwoOY2VydGlmaWNhdGVfaWQYAiABKAlCC7pICMgBAXIDsAEBIncKIkxpc3RDZXJ0aWZpY2F0ZXNCeU5hbWVzcGFjZVJlcXVlc3QSIQoMbmFtZXNwYWNlX2lkGAEgASgJQgu6SAjIAQFyA7ABARIuCgpwYWdpbmF0aW9uGAogASgLMhoudmlydHJ1LmNvbW1vbi5QYWdlUmVxdWVzdCKIAQojTGlzdENlcnRpZmljYXRlc0J5TmFtZXNwYWNlUmVzcG9uc2USMAoMY2VydGlmaWNhdGVzGAEgAygLMhoudmlydHJ1LnBvbGljeS5DZXJ0aWZpY2F0ZRIvCgpwYWdpbmF0aW9uGAogASgLMhsudmlydHJ1LmNvbW1vbi5QYWdlUmVzcG9uc2UiugMKI0Fzc2lnbkNlcnRpZmlj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2xpY3k6OkNlcnRpZmljYXRlczo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_virtru_common_common, file_virtru_policy_objects]);
40
+ export const file_virtru_policy_certificates_v1_certificates: GenFile =
41
+ /*@__PURE__*/
42
+ fileDesc(
43
+ 'CjB2aXJ0cnUvcG9saWN5L2NlcnRpZmljYXRlcy92MS9jZXJ0aWZpY2F0ZXMucHJvdG8SHXZpcnRydS5wb2xpY3kuY2VydGlmaWNhdGVzLnYxIl4KFE5hbWVzcGFjZUNlcnRpZmljYXRlEiEKDG5hbWVzcGFjZV9pZBgBIAEoCUILukgIyAEBcgOwAQESIwoOY2VydGlmaWNhdGVfaWQYAiABKAlCC7pICMgBAXIDsAEBIncKIkxpc3RDZXJ0aWZpY2F0ZXNCeU5hbWVzcGFjZVJlcXVlc3QSIQoMbmFtZXNwYWNlX2lkGAEgASgJQgu6SAjIAQFyA7ABARIuCgpwYWdpbmF0aW9uGAogASgLMhoudmlydHJ1LmNvbW1vbi5QYWdlUmVxdWVzdCKIAQojTGlzdENlcnRpZmljYXRlc0J5TmFtZXNwYWNlUmVzcG9uc2USMAoMY2VydGlmaWNhdGVzGAEgAygLMhoudmlydHJ1LnBvbGljeS5DZXJ0aWZpY2F0ZRIvCgpwYWdpbmF0aW9uGAogASgLMhsudmlydHJ1LmNvbW1vbi5QYWdlUmVzcG9uc2UiugMKI0Fzc2lnbkNlcnRpZmljYXRlVG9OYW1lc3BhY2VSZXF1ZXN0EiEKDG5hbWVzcGFjZV9pZBgBIAEoCUILukgIyAEBcgOwAQESEwoDcGVtGAIgASgJQga6SAPIAQESGwoGa2V5X2lkGAMgASgJQgu6SAjIAQFyA7ABARKdAQoNa2V5X2FsZ29yaXRobRgEIAEoDjIYLnZpcnRydS5wb2xpY3kuQWxnb3JpdGhtQmy6SGm6AWYKFWtleV9hbGdvcml0aG1fZGVmaW5lZBI0VGhlIGtleV9hbGdvcml0aG0gbXVzdCBiZSBvbmUgb2YgdGhlIGRlZmluZWQgdmF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eU5hbWVzcGFjZVJlc3BvbnNlIgASqQEKHEFzc2lnbkNlcnRpZmljYXRlVG9OYW1lc3BhY2USQi52aXJ0cnUucG9saWN5LmNlcnRpZmljYXRlcy52MS5Bc3NpZ25DZXJ0aWZpY2F0ZVRvTmFtZXNwYWNlUmVxdWVzdBpDLnZpcnRydS5wb2xpY3kuY2VydGlmaWNhdGVzLnYxLkFzc2lnbkNlcnRpZmljYXRlVG9OYW1lc3BhY2VSZXNwb25zZSIAEq8BCh5SZW1vdmVDZXJ0aWZpY2F0ZUZyb21OYW1lc3BhY2USRC52aXJ0cnUucG9saWN5LmNlcnRpZmljYXRlcy52MS5SZW1vdmVDZXJ0aWZpY2F0ZUZyb21OYW1lc3BhY2VSZXF1ZXN0GkUudmlydHJ1LnBvbGljeS5jZXJ0aWZpY2F0ZXMudjEuUmVtb3ZlQ2VydGlmaWNhdGVGcm9tTmFtZXNwYWNlUmVzcG9uc2UiAEK0AgohY29tLnZpcnRydS5wb2xpY3kuY2VydGlmaWNhdGVzLnYxQhFDZXJ0aWZpY2F0ZXNQcm90b1ABWmVnaXRodWIuY29tL3ZpcnRydS1jb3JwL2RhdGEtc2VjdXJpdHktcGxhdGZvcm0vc2RrL3YyL2dlbi92aXJ0cnUvcG9saWN5L2NlcnRpZmljYXRlcy92MTtjZXJ0aWZpY2F0ZXN2MaICA1ZQQ6oCHVZpcnRydS5Qb2xpY3kuQ2VydGlmaWNhdGVzLlYxygIdVmlydHJ1XFBvbGljeVxDZXJ0aWZpY2F0ZXNcVjHiAilWaXJ0cnVcUG9saWN5XENlcnRpZmljYXRlc1xWMVxHUEJNZXRhZGF0YeoCIFZpcnRydTo6UG9saWN5OjpDZXJ0aWZpY2F0ZXM6OlYxYgZwcm90bzM',
44
+ [
45
+ file_buf_validate_validate,
46
+ file_virtru_common_common,
47
+ file_virtru_policy_objects,
48
+ ]
49
+ );
19
50
 
20
51
  /**
21
52
  * Maps a namespace to a certificate (similar to NamespaceKey pattern)
22
53
  *
23
54
  * @generated from message virtru.policy.certificates.v1.NamespaceCertificate
24
55
  */
25
- export type NamespaceCertificate = Message<"virtru.policy.certificates.v1.NamespaceCertificate"> & {
26
- /**
27
- * Required - namespace id
28
- *
29
- * @generated from field: string namespace_id = 1;
30
- */
31
- namespaceId: string;
56
+ export type NamespaceCertificate =
57
+ Message<'virtru.policy.certificates.v1.NamespaceCertificate'> & {
58
+ /**
59
+ * Required - namespace id
60
+ *
61
+ * @generated from field: string namespace_id = 1;
62
+ */
63
+ namespaceId: string;
32
64
 
33
- /**
34
- * Required (The id from the Certificate object)
35
- *
36
- * @generated from field: string certificate_id = 2;
37
- */
38
- certificateId: string;
39
- };
65
+ /**
66
+ * Required (The id from the Certificate object)
67
+ *
68
+ * @generated from field: string certificate_id = 2;
69
+ */
70
+ certificateId: string;
71
+ };
40
72
 
41
73
  /**
42
74
  * Describes the message virtru.policy.certificates.v1.NamespaceCertificate.
43
75
  * Use `create(NamespaceCertificateSchema)` to create a new message.
44
76
  */
45
- export const NamespaceCertificateSchema: GenMessage<NamespaceCertificate> = /*@__PURE__*/
77
+ export const NamespaceCertificateSchema: GenMessage<NamespaceCertificate> =
78
+ /*@__PURE__*/
46
79
  messageDesc(file_virtru_policy_certificates_v1_certificates, 0);
47
80
 
48
81
  /**
49
82
  * @generated from message virtru.policy.certificates.v1.ListCertificatesByNamespaceRequest
50
83
  */
51
- export type ListCertificatesByNamespaceRequest = Message<"virtru.policy.certificates.v1.ListCertificatesByNamespaceRequest"> & {
52
- /**
53
- * Required - namespace id
54
- *
55
- * @generated from field: string namespace_id = 1;
56
- */
57
- namespaceId: string;
84
+ export type ListCertificatesByNamespaceRequest =
85
+ Message<'virtru.policy.certificates.v1.ListCertificatesByNamespaceRequest'> & {
86
+ /**
87
+ * Required - namespace id
88
+ *
89
+ * @generated from field: string namespace_id = 1;
90
+ */
91
+ namespaceId: string;
58
92
 
59
- /**
60
- * Optional pagination information
61
- *
62
- * @generated from field: virtru.common.PageRequest pagination = 10;
63
- */
64
- pagination?: PageRequest;
65
- };
93
+ /**
94
+ * Optional pagination information
95
+ *
96
+ * @generated from field: virtru.common.PageRequest pagination = 10;
97
+ */
98
+ pagination?: PageRequest;
99
+ };
66
100
 
67
101
  /**
68
102
  * Describes the message virtru.policy.certificates.v1.ListCertificatesByNamespaceRequest.
69
103
  * Use `create(ListCertificatesByNamespaceRequestSchema)` to create a new message.
70
104
  */
71
- export const ListCertificatesByNamespaceRequestSchema: GenMessage<ListCertificatesByNamespaceRequest> = /*@__PURE__*/
105
+ export const ListCertificatesByNamespaceRequestSchema: GenMessage<ListCertificatesByNamespaceRequest> =
106
+ /*@__PURE__*/
72
107
  messageDesc(file_virtru_policy_certificates_v1_certificates, 1);
73
108
 
74
109
  /**
@@ -76,155 +111,165 @@ export const ListCertificatesByNamespaceRequestSchema: GenMessage<ListCertificat
76
111
  *
77
112
  * @generated from message virtru.policy.certificates.v1.ListCertificatesByNamespaceResponse
78
113
  */
79
- export type ListCertificatesByNamespaceResponse = Message<"virtru.policy.certificates.v1.ListCertificatesByNamespaceResponse"> & {
80
- /**
81
- * The list of certificates for the specified namespace.
82
- *
83
- * @generated from field: repeated virtru.policy.Certificate certificates = 1;
84
- */
85
- certificates: Certificate[];
114
+ export type ListCertificatesByNamespaceResponse =
115
+ Message<'virtru.policy.certificates.v1.ListCertificatesByNamespaceResponse'> & {
116
+ /**
117
+ * The list of certificates for the specified namespace.
118
+ *
119
+ * @generated from field: repeated virtru.policy.Certificate certificates = 1;
120
+ */
121
+ certificates: Certificate[];
86
122
 
87
- /**
88
- * Pagination information
89
- *
90
- * @generated from field: virtru.common.PageResponse pagination = 10;
91
- */
92
- pagination?: PageResponse;
93
- };
123
+ /**
124
+ * Pagination information
125
+ *
126
+ * @generated from field: virtru.common.PageResponse pagination = 10;
127
+ */
128
+ pagination?: PageResponse;
129
+ };
94
130
 
95
131
  /**
96
132
  * Describes the message virtru.policy.certificates.v1.ListCertificatesByNamespaceResponse.
97
133
  * Use `create(ListCertificatesByNamespaceResponseSchema)` to create a new message.
98
134
  */
99
- export const ListCertificatesByNamespaceResponseSchema: GenMessage<ListCertificatesByNamespaceResponse> = /*@__PURE__*/
135
+ export const ListCertificatesByNamespaceResponseSchema: GenMessage<ListCertificatesByNamespaceResponse> =
136
+ /*@__PURE__*/
100
137
  messageDesc(file_virtru_policy_certificates_v1_certificates, 2);
101
138
 
102
139
  /**
103
140
  * @generated from message virtru.policy.certificates.v1.AssignCertificateToNamespaceRequest
104
141
  */
105
- export type AssignCertificateToNamespaceRequest = Message<"virtru.policy.certificates.v1.AssignCertificateToNamespaceRequest"> & {
106
- /**
107
- * Required - namespace id
108
- *
109
- * @generated from field: string namespace_id = 1;
110
- */
111
- namespaceId: string;
142
+ export type AssignCertificateToNamespaceRequest =
143
+ Message<'virtru.policy.certificates.v1.AssignCertificateToNamespaceRequest'> & {
144
+ /**
145
+ * Required - namespace id
146
+ *
147
+ * @generated from field: string namespace_id = 1;
148
+ */
149
+ namespaceId: string;
112
150
 
113
- /**
114
- * Required - PEM format certificate
115
- *
116
- * @generated from field: string pem = 2;
117
- */
118
- pem: string;
151
+ /**
152
+ * Required - PEM format certificate
153
+ *
154
+ * @generated from field: string pem = 2;
155
+ */
156
+ pem: string;
119
157
 
120
- /**
121
- * @generated from field: string key_id = 3;
122
- */
123
- keyId: string;
158
+ /**
159
+ * @generated from field: string key_id = 3;
160
+ */
161
+ keyId: string;
124
162
 
125
- /**
126
- * The algorithm to be used for the key
127
- *
128
- * @generated from field: virtru.policy.Algorithm key_algorithm = 4;
129
- */
130
- keyAlgorithm: Algorithm;
163
+ /**
164
+ * The algorithm to be used for the key
165
+ *
166
+ * @generated from field: virtru.policy.Algorithm key_algorithm = 4;
167
+ */
168
+ keyAlgorithm: Algorithm;
131
169
 
132
- /**
133
- * @generated from field: string name = 5;
134
- */
135
- name: string;
170
+ /**
171
+ * @generated from field: string name = 5;
172
+ */
173
+ name: string;
136
174
 
137
- /**
138
- * The status of the key
139
- *
140
- * @generated from field: virtru.policy.KeyStatus key_status = 6;
141
- */
142
- keyStatus: KeyStatus;
175
+ /**
176
+ * The status of the key
177
+ *
178
+ * @generated from field: virtru.policy.KeyStatus key_status = 6;
179
+ */
180
+ keyStatus: KeyStatus;
143
181
 
144
- /**
145
- * The mode of the key
146
- *
147
- * @generated from field: virtru.policy.KeyMode key_mode = 7;
148
- */
149
- keyMode: KeyMode;
182
+ /**
183
+ * The mode of the key
184
+ *
185
+ * @generated from field: virtru.policy.KeyMode key_mode = 7;
186
+ */
187
+ keyMode: KeyMode;
150
188
 
151
- /**
152
- * Optional
153
- *
154
- * @generated from field: virtru.common.MetadataMutable metadata = 100;
155
- */
156
- metadata?: MetadataMutable;
157
- };
189
+ /**
190
+ * Optional
191
+ *
192
+ * @generated from field: virtru.common.MetadataMutable metadata = 100;
193
+ */
194
+ metadata?: MetadataMutable;
195
+ };
158
196
 
159
197
  /**
160
198
  * Describes the message virtru.policy.certificates.v1.AssignCertificateToNamespaceRequest.
161
199
  * Use `create(AssignCertificateToNamespaceRequestSchema)` to create a new message.
162
200
  */
163
- export const AssignCertificateToNamespaceRequestSchema: GenMessage<AssignCertificateToNamespaceRequest> = /*@__PURE__*/
201
+ export const AssignCertificateToNamespaceRequestSchema: GenMessage<AssignCertificateToNamespaceRequest> =
202
+ /*@__PURE__*/
164
203
  messageDesc(file_virtru_policy_certificates_v1_certificates, 3);
165
204
 
166
205
  /**
167
206
  * @generated from message virtru.policy.certificates.v1.AssignCertificateToNamespaceResponse
168
207
  */
169
- export type AssignCertificateToNamespaceResponse = Message<"virtru.policy.certificates.v1.AssignCertificateToNamespaceResponse"> & {
170
- /**
171
- * The mapping of the namespace to the certificate.
172
- *
173
- * @generated from field: virtru.policy.certificates.v1.NamespaceCertificate namespace_certificate = 1;
174
- */
175
- namespaceCertificate?: NamespaceCertificate;
208
+ export type AssignCertificateToNamespaceResponse =
209
+ Message<'virtru.policy.certificates.v1.AssignCertificateToNamespaceResponse'> & {
210
+ /**
211
+ * The mapping of the namespace to the certificate.
212
+ *
213
+ * @generated from field: virtru.policy.certificates.v1.NamespaceCertificate namespace_certificate = 1;
214
+ */
215
+ namespaceCertificate?: NamespaceCertificate;
176
216
 
177
- /**
178
- * Return the full certificate object for convenience
179
- *
180
- * @generated from field: virtru.policy.Certificate certificate = 2;
181
- */
182
- certificate?: Certificate;
183
- };
217
+ /**
218
+ * Return the full certificate object for convenience
219
+ *
220
+ * @generated from field: virtru.policy.Certificate certificate = 2;
221
+ */
222
+ certificate?: Certificate;
223
+ };
184
224
 
185
225
  /**
186
226
  * Describes the message virtru.policy.certificates.v1.AssignCertificateToNamespaceResponse.
187
227
  * Use `create(AssignCertificateToNamespaceResponseSchema)` to create a new message.
188
228
  */
189
- export const AssignCertificateToNamespaceResponseSchema: GenMessage<AssignCertificateToNamespaceResponse> = /*@__PURE__*/
229
+ export const AssignCertificateToNamespaceResponseSchema: GenMessage<AssignCertificateToNamespaceResponse> =
230
+ /*@__PURE__*/
190
231
  messageDesc(file_virtru_policy_certificates_v1_certificates, 4);
191
232
 
192
233
  /**
193
234
  * @generated from message virtru.policy.certificates.v1.RemoveCertificateFromNamespaceRequest
194
235
  */
195
- export type RemoveCertificateFromNamespaceRequest = Message<"virtru.policy.certificates.v1.RemoveCertificateFromNamespaceRequest"> & {
196
- /**
197
- * The namespace and certificate to unassign.
198
- *
199
- * @generated from field: virtru.policy.certificates.v1.NamespaceCertificate namespace_certificate = 1;
200
- */
201
- namespaceCertificate?: NamespaceCertificate;
202
- };
236
+ export type RemoveCertificateFromNamespaceRequest =
237
+ Message<'virtru.policy.certificates.v1.RemoveCertificateFromNamespaceRequest'> & {
238
+ /**
239
+ * The namespace and certificate to unassign.
240
+ *
241
+ * @generated from field: virtru.policy.certificates.v1.NamespaceCertificate namespace_certificate = 1;
242
+ */
243
+ namespaceCertificate?: NamespaceCertificate;
244
+ };
203
245
 
204
246
  /**
205
247
  * Describes the message virtru.policy.certificates.v1.RemoveCertificateFromNamespaceRequest.
206
248
  * Use `create(RemoveCertificateFromNamespaceRequestSchema)` to create a new message.
207
249
  */
208
- export const RemoveCertificateFromNamespaceRequestSchema: GenMessage<RemoveCertificateFromNamespaceRequest> = /*@__PURE__*/
250
+ export const RemoveCertificateFromNamespaceRequestSchema: GenMessage<RemoveCertificateFromNamespaceRequest> =
251
+ /*@__PURE__*/
209
252
  messageDesc(file_virtru_policy_certificates_v1_certificates, 5);
210
253
 
211
254
  /**
212
255
  * @generated from message virtru.policy.certificates.v1.RemoveCertificateFromNamespaceResponse
213
256
  */
214
- export type RemoveCertificateFromNamespaceResponse = Message<"virtru.policy.certificates.v1.RemoveCertificateFromNamespaceResponse"> & {
215
- /**
216
- * The unassigned namespace and certificate.
217
- *
218
- * @generated from field: virtru.policy.certificates.v1.NamespaceCertificate namespace_certificate = 1;
219
- */
220
- namespaceCertificate?: NamespaceCertificate;
221
- };
257
+ export type RemoveCertificateFromNamespaceResponse =
258
+ Message<'virtru.policy.certificates.v1.RemoveCertificateFromNamespaceResponse'> & {
259
+ /**
260
+ * The unassigned namespace and certificate.
261
+ *
262
+ * @generated from field: virtru.policy.certificates.v1.NamespaceCertificate namespace_certificate = 1;
263
+ */
264
+ namespaceCertificate?: NamespaceCertificate;
265
+ };
222
266
 
223
267
  /**
224
268
  * Describes the message virtru.policy.certificates.v1.RemoveCertificateFromNamespaceResponse.
225
269
  * Use `create(RemoveCertificateFromNamespaceResponseSchema)` to create a new message.
226
270
  */
227
- export const RemoveCertificateFromNamespaceResponseSchema: GenMessage<RemoveCertificateFromNamespaceResponse> = /*@__PURE__*/
271
+ export const RemoveCertificateFromNamespaceResponseSchema: GenMessage<RemoveCertificateFromNamespaceResponse> =
272
+ /*@__PURE__*/
228
273
  messageDesc(file_virtru_policy_certificates_v1_certificates, 6);
229
274
 
230
275
  /**
@@ -235,26 +280,26 @@ export const CertificateService: GenService<{
235
280
  * @generated from rpc virtru.policy.certificates.v1.CertificateService.ListCertificatesByNamespace
236
281
  */
237
282
  listCertificatesByNamespace: {
238
- methodKind: "unary";
283
+ methodKind: 'unary';
239
284
  input: typeof ListCertificatesByNamespaceRequestSchema;
240
285
  output: typeof ListCertificatesByNamespaceResponseSchema;
241
- },
286
+ };
242
287
  /**
243
288
  * @generated from rpc virtru.policy.certificates.v1.CertificateService.AssignCertificateToNamespace
244
289
  */
245
290
  assignCertificateToNamespace: {
246
- methodKind: "unary";
291
+ methodKind: 'unary';
247
292
  input: typeof AssignCertificateToNamespaceRequestSchema;
248
293
  output: typeof AssignCertificateToNamespaceResponseSchema;
249
- },
294
+ };
250
295
  /**
251
296
  * @generated from rpc virtru.policy.certificates.v1.CertificateService.RemoveCertificateFromNamespace
252
297
  */
253
298
  removeCertificateFromNamespace: {
254
- methodKind: "unary";
299
+ methodKind: 'unary';
255
300
  input: typeof RemoveCertificateFromNamespaceRequestSchema;
256
301
  output: typeof RemoveCertificateFromNamespaceResponseSchema;
257
- },
258
- }> = /*@__PURE__*/
302
+ };
303
+ }> =
304
+ /*@__PURE__*/
259
305
  serviceDesc(file_virtru_policy_certificates_v1_certificates, 0);
260
-
@@ -1,24 +1,38 @@
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
+
1
7
  // @generated by protoc-gen-es v2.3.0 with parameter "target=ts"
2
8
  // @generated from file virtru/policy/objects.proto (package virtru.policy, syntax proto3)
3
9
  /* eslint-disable */
4
10
 
5
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
- import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
8
- import type { Metadata } from "../common/common_pb";
9
- import { file_virtru_common_common } from "../common/common_pb";
10
- import type { Message } from "@bufbuild/protobuf";
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 type { Metadata } from '../common/common_pb';
19
+ import { file_virtru_common_common } from '../common/common_pb';
20
+ import type { Message } from '@bufbuild/protobuf';
11
21
 
12
22
  /**
13
23
  * Describes the file virtru/policy/objects.proto.
14
24
  */
15
- export const file_virtru_policy_objects: GenFile = /*@__PURE__*/
16
- fileDesc("Cht2aXJ0cnUvcG9saWN5L29iamVjdHMucHJvdG8SDXZpcnRydS5wb2xpY3kinwIKC0NlcnRpZmljYXRlEgoKAmlkGAEgASgJEg4KBmtleV9pZBgCIAEoCRIvCg1rZXlfYWxnb3JpdGhtGAMgASgOMhgudmlydHJ1LnBvbGljeS5BbGdvcml0aG0SLAoKa2V5X3N0YXR1cxgEIAEoDjIYLnZpcnRydS5wb2xpY3kuS2V5U3RhdHVzEhQKA3BlbRgFIAEoCUIHukgEcgIQARIVCgRuYW1lGAYgASgJQge6SARyAhABEigKCGtleV9tb2RlGAcgASgOMhYudmlydHJ1LnBvbGljeS5LZXlNb2RlEhMKC2ZpbmdlcnByaW50GAggASgJEikKCG1ldGFkYXRhGGQgASgLMhcudmlydHJ1LmNvbW1vbi5NZXRhZGF0YSKXAQoSQ2VydGlmaWNhdGVNYXBwaW5nEhQKAmlkGAEgASgJQgi6SAVyA7ABARIgCg5jZXJ0aWZpY2F0ZV9pZBgCIAEoCUIIukgFcgOwAQESHgoMbmFtZXNwYWNlX2lkGAMgASgJQgi6SAVyA7ABARIpCghtZXRhZGF0YRhkIAEoCzIXLnZpcnRydS5jb21tb24uTWV0YWRhdGEqmwEKCUFsZ29yaXRobRIZChVBTEdPUklUSE1fVU5TUEVDSUZJRUQQABIWChJBTEdPUklUSE1fUlNBXzIwNDgQARIWChJBTEdPUklUSE1fUlNBXzQwOTYQAhIVChFBTEdPUklUSE1fRUNfUDI1NhADEhUKEUFMR09SSVRITV9FQ19QMzg0EAQSFQoRQUxHT1JJVEhNX0VDX1A1MjEQBSpWCglLZXlTdGF0dXMSGgoWS0VZX1NUQVRVU19VTlNQRUNJRklFRBAAEhUKEUtFWV9TVEFUVVNfQUNUSVZFEAESFgoSS0VZX1NUQVRVU19ST1RBVEVEEAIqlAEKB0tleU1vZGUSGAoUS0VZX01PREVfVU5TUEVDSUZJRUQQABIcChhLRVlfTU9ERV9DT05GSUdfUk9PVF9LRVkQARIeChpLRVlfTU9ERV9QUk9WSURFUl9ST09UX0tFWRACEhMKD0tFWV9NT0RFX1JFTU9URRADEhwKGEtFWV9NT0RFX1BVQkxJQ19LRVlfT05MWRAEQnYKEWNvbS52aXJ0cnUucG9saWN5QgxPYmplY3RzUHJvdG9QAaICA1ZQWKoCDVZpcnRydS5Qb2xpY3nKAg1WaXJ0cnVcUG9saWN54gIZVmlydHJ1XFBvbGljeVxHUEJNZXRhZGF0YeoCDlZpcnRydTo6UG9saWN5YgZwcm90bzM", [file_buf_validate_validate, file_virtru_common_common]);
25
+ export const file_virtru_policy_objects: GenFile =
26
+ /*@__PURE__*/
27
+ fileDesc(
28
+ 'Cht2aXJ0cnUvcG9saWN5L29iamVjdHMucHJvdG8SDXZpcnRydS5wb2xpY3kinwIKC0NlcnRpZmljYXRlEgoKAmlkGAEgASgJEg4KBmtleV9pZBgCIAEoCRIvCg1rZXlfYWxnb3JpdGhtGAMgASgOMhgudmlydHJ1LnBvbGljeS5BbGdvcml0aG0SLAoKa2V5X3N0YXR1cxgEIAEoDjIYLnZpcnRydS5wb2xpY3kuS2V5U3RhdHVzEhQKA3BlbRgFIAEoCUIHukgEcgIQARIVCgRuYW1lGAYgASgJQge6SARyAhABEigKCGtleV9tb2RlGAcgASgOMhYudmlydHJ1LnBvbGljeS5LZXlNb2RlEhMKC2ZpbmdlcnByaW50GAggASgJEikKCG1ldGFkYXRhGGQgASgLMhcudmlydHJ1LmNvbW1vbi5NZXRhZGF0YSKXAQoSQ2VydGlmaWNhdGVNYXBwaW5nEhQKAmlkGAEgASgJQgi6SAVyA7ABARIgCg5jZXJ0aWZpY2F0ZV9pZBgCIAEoCUIIukgFcgOwAQESHgoMbmFtZXNwYWNlX2lkGAMgASgJQgi6SAVyA7ABARIpCghtZXRhZGF0YRhkIAEoCzIXLnZpcnRydS5jb21tb24uTWV0YWRhdGEqmwEKCUFsZ29yaXRobRIZChVBTEdPUklUSE1fVU5TUEVDSUZJRUQQABIWChJBTEdPUklUSE1fUlNBXzIwNDgQARIWChJBTEdPUklUSE1fUlNBXzQwOTYQAhIVChFBTEdPUklUSE1fRUNfUDI1NhADEhUKEUFMR09SSVRITV9FQ19QMzg0EAQSFQoRQUxHT1JJVEhNX0VDX1A1MjEQBSpWCglLZXlTdGF0dXMSGgoWS0VZX1NUQVRVU19VTlNQRUNJRklFRBAAEhUKEUtFWV9TVEFUVVNfQUNUSVZFEAESFgoSS0VZX1NUQVRVU19ST1RBVEVEEAIqlAEKB0tleU1vZGUSGAoUS0VZX01PREVfVU5TUEVDSUZJRUQQABIcChhLRVlfTU9ERV9DT05GSUdfUk9PVF9LRVkQARIeChpLRVlfTU9ERV9QUk9WSURFUl9ST09UX0tFWRACEhMKD0tFWV9NT0RFX1JFTU9URRADEhwKGEtFWV9NT0RFX1BVQkxJQ19LRVlfT05MWRAEQr4BChFjb20udmlydHJ1LnBvbGljeUIMT2JqZWN0c1Byb3RvUAFaRmdpdGh1Yi5jb20vdmlydHJ1LWNvcnAvZGF0YS1zZWN1cml0eS1wbGF0Zm9ybS9zZGsvdjIvZ2VuL3ZpcnRydS9wb2xpY3miAgNWUFiqAg1WaXJ0cnUuUG9saWN5ygINVmlydHJ1XFBvbGljeeICGVZpcnRydVxQb2xpY3lcR1BCTWV0YWRhdGHqAg5WaXJ0cnU6OlBvbGljeWIGcHJvdG8z',
29
+ [file_buf_validate_validate, file_virtru_common_common]
30
+ );
17
31
 
18
32
  /**
19
33
  * @generated from message virtru.policy.Certificate
20
34
  */
21
- export type Certificate = Message<"virtru.policy.Certificate"> & {
35
+ export type Certificate = Message<'virtru.policy.Certificate'> & {
22
36
  /**
23
37
  * @generated from field: string id = 1;
24
38
  */
@@ -75,13 +89,14 @@ export type Certificate = Message<"virtru.policy.Certificate"> & {
75
89
  * Describes the message virtru.policy.Certificate.
76
90
  * Use `create(CertificateSchema)` to create a new message.
77
91
  */
78
- export const CertificateSchema: GenMessage<Certificate> = /*@__PURE__*/
92
+ export const CertificateSchema: GenMessage<Certificate> =
93
+ /*@__PURE__*/
79
94
  messageDesc(file_virtru_policy_objects, 0);
80
95
 
81
96
  /**
82
97
  * @generated from message virtru.policy.CertificateMapping
83
98
  */
84
- export type CertificateMapping = Message<"virtru.policy.CertificateMapping"> & {
99
+ export type CertificateMapping = Message<'virtru.policy.CertificateMapping'> & {
85
100
  /**
86
101
  * @generated from field: string id = 1;
87
102
  */
@@ -107,7 +122,8 @@ export type CertificateMapping = Message<"virtru.policy.CertificateMapping"> & {
107
122
  * Describes the message virtru.policy.CertificateMapping.
108
123
  * Use `create(CertificateMappingSchema)` to create a new message.
109
124
  */
110
- export const CertificateMappingSchema: GenMessage<CertificateMapping> = /*@__PURE__*/
125
+ export const CertificateMappingSchema: GenMessage<CertificateMapping> =
126
+ /*@__PURE__*/
111
127
  messageDesc(file_virtru_policy_objects, 1);
112
128
 
113
129
  /**
@@ -148,7 +164,8 @@ export enum Algorithm {
148
164
  /**
149
165
  * Describes the enum virtru.policy.Algorithm.
150
166
  */
151
- export const AlgorithmSchema: GenEnum<Algorithm> = /*@__PURE__*/
167
+ export const AlgorithmSchema: GenEnum<Algorithm> =
168
+ /*@__PURE__*/
152
169
  enumDesc(file_virtru_policy_objects, 0);
153
170
 
154
171
  /**
@@ -174,7 +191,8 @@ export enum KeyStatus {
174
191
  /**
175
192
  * Describes the enum virtru.policy.KeyStatus.
176
193
  */
177
- export const KeyStatusSchema: GenEnum<KeyStatus> = /*@__PURE__*/
194
+ export const KeyStatusSchema: GenEnum<KeyStatus> =
195
+ /*@__PURE__*/
178
196
  enumDesc(file_virtru_policy_objects, 1);
179
197
 
180
198
  /**
@@ -230,6 +248,6 @@ export enum KeyMode {
230
248
  /**
231
249
  * Describes the enum virtru.policy.KeyMode.
232
250
  */
233
- export const KeyModeSchema: GenEnum<KeyMode> = /*@__PURE__*/
251
+ export const KeyModeSchema: GenEnum<KeyMode> =
252
+ /*@__PURE__*/
234
253
  enumDesc(file_virtru_policy_objects, 2);
235
-
@@ -0,0 +1,52 @@
1
+ /*
2
+ * Copyright (c) Virtru Corporation. All rights reserved.
3
+ *
4
+ * Your use of this file is governed by the Virtu Terms of Service <https://www.virtru.com/terms-of-service/>.
5
+ */
6
+
7
+ // @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
8
+ // @generated from file web-admin/v1/config.proto (package webadmin.v1, syntax proto3)
9
+ /* eslint-disable */
10
+ // @ts-nocheck
11
+
12
+ import {
13
+ HasConfigChangesRequest,
14
+ HasConfigChangesResponse,
15
+ ListAllConfigRequest,
16
+ ListAllConfigResponse,
17
+ } from './config_pb.js';
18
+ import { MethodKind } from '@bufbuild/protobuf';
19
+
20
+ /**
21
+ * The ConfigService provides an interface for managing and retrieving
22
+ * platform configuration values stored in the database.
23
+ *
24
+ * @generated from service webadmin.v1.ConfigService
25
+ */
26
+ export const ConfigService = {
27
+ typeName: 'webadmin.v1.ConfigService',
28
+ methods: {
29
+ /**
30
+ * ListAllConfig retrieves all configuration key-value pairs.
31
+ *
32
+ * @generated from rpc webadmin.v1.ConfigService.ListAllConfig
33
+ */
34
+ listAllConfig: {
35
+ name: 'ListAllConfig',
36
+ I: ListAllConfigRequest,
37
+ O: ListAllConfigResponse,
38
+ kind: MethodKind.Unary,
39
+ },
40
+ /**
41
+ * HasConfigChanges checks if any configuration was updated after a given timestamp.
42
+ *
43
+ * @generated from rpc webadmin.v1.ConfigService.HasConfigChanges
44
+ */
45
+ hasConfigChanges: {
46
+ name: 'HasConfigChanges',
47
+ I: HasConfigChangesRequest,
48
+ O: HasConfigChangesResponse,
49
+ kind: MethodKind.Unary,
50
+ },
51
+ },
52
+ } as const;
package/src/lib/client.ts CHANGED
@@ -8,7 +8,11 @@
8
8
 
9
9
  // export Connect RPC framework
10
10
  import type { AuthProvider } from '@opentdf/sdk';
11
- import { type Client, createClient, type Interceptor } from '@connectrpc/connect';
11
+ import {
12
+ type Client,
13
+ createClient,
14
+ type Interceptor,
15
+ } from '@connectrpc/connect';
12
16
  import { createConnectTransport } from '@connectrpc/connect-web';
13
17
  import { ConfigService } from '../gen/config/v1/config_pb';
14
18
  import { PolicyArtifactService } from '../gen/policyimportexport/v1/policy_import_export_pb';