@virtru/dsp-sdk 0.1.10-pr604.7ef7a158
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/.prettierrc +3 -0
- package/.rush/temp/operation/_phase_build/state.json +3 -0
- package/.rush/temp/package-deps__phase_build.json +41 -0
- package/.rush/temp/shrinkwrap-deps.json +329 -0
- package/CHANGELOG.json +103 -0
- package/CHANGELOG.md +53 -0
- package/README.md +98 -0
- package/dist/src/gen/buf/validate/validate_pb.d.ts +4517 -0
- package/dist/src/gen/buf/validate/validate_pb.js +484 -0
- package/dist/src/gen/config/v1/config_pb.d.ts +88 -0
- package/dist/src/gen/config/v1/config_pb.js +46 -0
- package/dist/src/gen/config/v1/meta_pb.d.ts +37 -0
- package/dist/src/gen/config/v1/meta_pb.js +33 -0
- package/dist/src/gen/config/v1/tagging_pb.d.ts +264 -0
- package/dist/src/gen/config/v1/tagging_pb.js +188 -0
- package/dist/src/gen/google/api/annotations_pb.d.ts +13 -0
- package/dist/src/gen/google/api/annotations_pb.js +30 -0
- package/dist/src/gen/google/api/http_pb.d.ts +440 -0
- package/dist/src/gen/google/api/http_pb.js +41 -0
- package/dist/src/gen/policyimportexport/v1/policy_import_export_pb.d.ts +241 -0
- package/dist/src/gen/policyimportexport/v1/policy_import_export_pb.js +89 -0
- package/dist/src/gen/shared/v1/shared_pb.d.ts +172 -0
- package/dist/src/gen/shared/v1/shared_pb.js +92 -0
- package/dist/src/gen/tagging/pdp/v2/tagging_pb.d.ts +872 -0
- package/dist/src/gen/tagging/pdp/v2/tagging_pb.js +274 -0
- package/dist/src/gen/version/v1/version_pb.d.ts +96 -0
- package/dist/src/gen/version/v1/version_pb.js +37 -0
- package/dist/src/index.d.ts +21 -0
- package/dist/src/index.js +28 -0
- package/dist/src/lib/client.d.ts +33 -0
- package/dist/src/lib/client.js +60 -0
- package/dist/src/lib/dsp.d.ts +18 -0
- package/dist/src/lib/dsp.js +44 -0
- package/dist/src/lib/utils.d.ts +15 -0
- package/dist/src/lib/utils.js +35 -0
- package/dist/tests/dsp-client.test.d.ts +1 -0
- package/dist/tests/dsp-client.test.js +49 -0
- package/dist/tests/dsp.test.d.ts +1 -0
- package/dist/tests/dsp.test.js +71 -0
- package/dist/tests/mocks/create-export-artifacts.d.ts +2 -0
- package/dist/tests/mocks/create-export-artifacts.js +13 -0
- package/dist/tests/mocks/tagging-pdp-tag.d.ts +2 -0
- package/dist/tests/mocks/tagging-pdp-tag.js +11 -0
- package/dist/tests/mocks/well-known-configuration.d.ts +2 -0
- package/dist/tests/mocks/well-known-configuration.js +12 -0
- package/dist/tests/setup-msw.d.ts +9 -0
- package/dist/tests/setup-msw.js +30 -0
- package/eslint.config.mjs +28 -0
- package/package.json +47 -0
- package/src/gen/buf/validate/validate_pb.ts +4879 -0
- package/src/gen/config/formatters/testdata/v1/test_pb.ts +287 -0
- package/src/gen/config/v1/config_pb.ts +137 -0
- package/src/gen/config/v1/meta_pb.ts +72 -0
- package/src/gen/config/v1/tagging_pb.ts +355 -0
- package/src/gen/google/api/annotations_pb.ts +43 -0
- package/src/gen/google/api/http_pb.ts +486 -0
- package/src/gen/helloworld/v1/helloworld_pb.ts +98 -0
- package/src/gen/policyimportexport/v1/policy_import_export_pb.ts +324 -0
- package/src/gen/shared/v1/shared_pb.ts +240 -0
- package/src/gen/shared/v2/shared_pb.ts +122 -0
- package/src/gen/tagging/pdp/v2/externalprocessors/processor_pb.ts +709 -0
- package/src/gen/tagging/pdp/v2/stanag/stanag_pb.ts +953 -0
- package/src/gen/tagging/pdp/v2/tagging_pb.ts +1064 -0
- package/src/gen/version/v1/version_pb.ts +143 -0
- package/src/index.ts +49 -0
- package/src/lib/client.ts +83 -0
- package/src/lib/dsp.ts +65 -0
- package/src/lib/utils.ts +43 -0
- package/src/vite-env.d.ts +7 -0
- package/tests/dsp-client.test.ts +67 -0
- package/tests/dsp.test.ts +95 -0
- package/tests/mocks/create-export-artifacts.ts +16 -0
- package/tests/mocks/tagging-pdp-tag.ts +13 -0
- package/tests/mocks/well-known-configuration.ts +15 -0
- package/tests/setup-msw.ts +35 -0
- package/tsconfig.json +32 -0
- package/vitest.config.ts +42 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file policyimportexport/v1/policy_import_export.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_policyimportexport_v1_policy_import_export: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* A Trusted Policy Artifact Provider
|
|
9
|
+
*
|
|
10
|
+
* @generated from message policyimportexport.v1.TrustedArtifactProvider
|
|
11
|
+
*/
|
|
12
|
+
export type TrustedArtifactProvider = Message<'policyimportexport.v1.TrustedArtifactProvider'> & {
|
|
13
|
+
/**
|
|
14
|
+
* key for signature verification
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: bytes public_key = 1;
|
|
17
|
+
*/
|
|
18
|
+
publicKey: Uint8Array;
|
|
19
|
+
/**
|
|
20
|
+
* permitted namespaces
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: repeated string permitted_namespaces = 2;
|
|
23
|
+
*/
|
|
24
|
+
permittedNamespaces: string[];
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message policyimportexport.v1.TrustedArtifactProvider.
|
|
28
|
+
* Use `create(TrustedArtifactProviderSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export declare const TrustedArtifactProviderSchema: GenMessage<TrustedArtifactProvider>;
|
|
31
|
+
/**
|
|
32
|
+
* @generated from message policyimportexport.v1.CreateTrustedArtifactProviderRequest
|
|
33
|
+
*/
|
|
34
|
+
export type CreateTrustedArtifactProviderRequest = Message<'policyimportexport.v1.CreateTrustedArtifactProviderRequest'> & {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: policyimportexport.v1.TrustedArtifactProvider artifact_provider = 1;
|
|
37
|
+
*/
|
|
38
|
+
artifactProvider?: TrustedArtifactProvider;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message policyimportexport.v1.CreateTrustedArtifactProviderRequest.
|
|
42
|
+
* Use `create(CreateTrustedArtifactProviderRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export declare const CreateTrustedArtifactProviderRequestSchema: GenMessage<CreateTrustedArtifactProviderRequest>;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from message policyimportexport.v1.CreateTrustedArtifactProviderResponse
|
|
47
|
+
*/
|
|
48
|
+
export type CreateTrustedArtifactProviderResponse = Message<'policyimportexport.v1.CreateTrustedArtifactProviderResponse'> & {};
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message policyimportexport.v1.CreateTrustedArtifactProviderResponse.
|
|
51
|
+
* Use `create(CreateTrustedArtifactProviderResponseSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export declare const CreateTrustedArtifactProviderResponseSchema: GenMessage<CreateTrustedArtifactProviderResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* @generated from message policyimportexport.v1.CreateImportArtifactsRequest
|
|
56
|
+
*/
|
|
57
|
+
export type CreateImportArtifactsRequest = Message<'policyimportexport.v1.CreateImportArtifactsRequest'> & {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from oneof policyimportexport.v1.CreateImportArtifactsRequest.artifact_src
|
|
60
|
+
*/
|
|
61
|
+
artifactSrc: {
|
|
62
|
+
/**
|
|
63
|
+
* Policy artifact in unbundled format
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: policyimportexport.v1.PolicyArtifactUnbundled policy_unbundled = 1;
|
|
66
|
+
*/
|
|
67
|
+
value: PolicyArtifactUnbundled;
|
|
68
|
+
case: 'policyUnbundled';
|
|
69
|
+
} | {
|
|
70
|
+
/**
|
|
71
|
+
* Policy artifact in OCI format
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: policyimportexport.v1.CreateImportArtifactsRequest.PolicyArtifactBundled policy_oci_bundle = 2;
|
|
74
|
+
*/
|
|
75
|
+
value: CreateImportArtifactsRequest_PolicyArtifactBundled;
|
|
76
|
+
case: 'policyOciBundle';
|
|
77
|
+
} | {
|
|
78
|
+
case: undefined;
|
|
79
|
+
value?: undefined;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message policyimportexport.v1.CreateImportArtifactsRequest.
|
|
84
|
+
* Use `create(CreateImportArtifactsRequestSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export declare const CreateImportArtifactsRequestSchema: GenMessage<CreateImportArtifactsRequest>;
|
|
87
|
+
/**
|
|
88
|
+
* @generated from message policyimportexport.v1.CreateImportArtifactsRequest.PolicyArtifactBundled
|
|
89
|
+
*/
|
|
90
|
+
export type CreateImportArtifactsRequest_PolicyArtifactBundled = Message<'policyimportexport.v1.CreateImportArtifactsRequest.PolicyArtifactBundled'> & {
|
|
91
|
+
/**
|
|
92
|
+
* OCI Artifact provided as a signed blob
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: bytes oci_blob = 1;
|
|
95
|
+
*/
|
|
96
|
+
ociBlob: Uint8Array;
|
|
97
|
+
/**
|
|
98
|
+
* if true, signature verification is skipped
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: bool no_verify_signature = 2;
|
|
101
|
+
*/
|
|
102
|
+
noVerifySignature: boolean;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message policyimportexport.v1.CreateImportArtifactsRequest.PolicyArtifactBundled.
|
|
106
|
+
* Use `create(CreateImportArtifactsRequest_PolicyArtifactBundledSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export declare const CreateImportArtifactsRequest_PolicyArtifactBundledSchema: GenMessage<CreateImportArtifactsRequest_PolicyArtifactBundled>;
|
|
109
|
+
/**
|
|
110
|
+
* @generated from message policyimportexport.v1.CreateImportArtifactsResponse
|
|
111
|
+
*/
|
|
112
|
+
export type CreateImportArtifactsResponse = Message<'policyimportexport.v1.CreateImportArtifactsResponse'> & {};
|
|
113
|
+
/**
|
|
114
|
+
* Describes the message policyimportexport.v1.CreateImportArtifactsResponse.
|
|
115
|
+
* Use `create(CreateImportArtifactsResponseSchema)` to create a new message.
|
|
116
|
+
*/
|
|
117
|
+
export declare const CreateImportArtifactsResponseSchema: GenMessage<CreateImportArtifactsResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* @generated from message policyimportexport.v1.PolicyArtifactUnbundled
|
|
120
|
+
*/
|
|
121
|
+
export type PolicyArtifactUnbundled = Message<'policyimportexport.v1.PolicyArtifactUnbundled'> & {
|
|
122
|
+
/**
|
|
123
|
+
* Policy artifact bytes in YAML format that are understood by the Policy Artifact Service.
|
|
124
|
+
* Protos do not currently support generated YAML struct tags, so the interpretation of the bytes on import
|
|
125
|
+
* is considered an internal detail and not an API concern.
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: bytes policy = 1;
|
|
128
|
+
*/
|
|
129
|
+
policy: Uint8Array;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message policyimportexport.v1.PolicyArtifactUnbundled.
|
|
133
|
+
* Use `create(PolicyArtifactUnbundledSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export declare const PolicyArtifactUnbundledSchema: GenMessage<PolicyArtifactUnbundled>;
|
|
136
|
+
/**
|
|
137
|
+
* @generated from message policyimportexport.v1.PolicyArtifactOCI
|
|
138
|
+
*/
|
|
139
|
+
export type PolicyArtifactOCI = Message<'policyimportexport.v1.PolicyArtifactOCI'> & {
|
|
140
|
+
/**
|
|
141
|
+
* json manifest of the policy artifact as byte array
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: bytes manifest = 1;
|
|
144
|
+
*/
|
|
145
|
+
manifest: Uint8Array;
|
|
146
|
+
/**
|
|
147
|
+
* oci-layout tar archive containing the policy artifact
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: bytes artifact = 2;
|
|
150
|
+
*/
|
|
151
|
+
artifact: Uint8Array;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message policyimportexport.v1.PolicyArtifactOCI.
|
|
155
|
+
* Use `create(PolicyArtifactOCISchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const PolicyArtifactOCISchema: GenMessage<PolicyArtifactOCI>;
|
|
158
|
+
/**
|
|
159
|
+
* @generated from message policyimportexport.v1.CreateExportArtifactsRequest
|
|
160
|
+
*/
|
|
161
|
+
export type CreateExportArtifactsRequest = Message<'policyimportexport.v1.CreateExportArtifactsRequest'> & {
|
|
162
|
+
/**
|
|
163
|
+
* specified namespace to be exported
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: string namespace = 1;
|
|
166
|
+
*/
|
|
167
|
+
namespace: string;
|
|
168
|
+
/**
|
|
169
|
+
* should be exported unbundled instead of as an OCI artifact
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: bool no_bundle = 2;
|
|
172
|
+
*/
|
|
173
|
+
noBundle: boolean;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message policyimportexport.v1.CreateExportArtifactsRequest.
|
|
177
|
+
* Use `create(CreateExportArtifactsRequestSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export declare const CreateExportArtifactsRequestSchema: GenMessage<CreateExportArtifactsRequest>;
|
|
180
|
+
/**
|
|
181
|
+
* @generated from message policyimportexport.v1.CreateExportArtifactsResponse
|
|
182
|
+
*/
|
|
183
|
+
export type CreateExportArtifactsResponse = Message<'policyimportexport.v1.CreateExportArtifactsResponse'> & {
|
|
184
|
+
/**
|
|
185
|
+
* @generated from oneof policyimportexport.v1.CreateExportArtifactsResponse.artifact
|
|
186
|
+
*/
|
|
187
|
+
artifact: {
|
|
188
|
+
/**
|
|
189
|
+
* un-bundled raw YAML policy in the format understood by the Policy Artifact Service
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: policyimportexport.v1.PolicyArtifactUnbundled policy_unbundled = 1;
|
|
192
|
+
*/
|
|
193
|
+
value: PolicyArtifactUnbundled;
|
|
194
|
+
case: 'policyUnbundled';
|
|
195
|
+
} | {
|
|
196
|
+
/**
|
|
197
|
+
* OCI artifact containing the policy artifact
|
|
198
|
+
*
|
|
199
|
+
* @generated from field: policyimportexport.v1.PolicyArtifactOCI policy_artifact_oci = 2;
|
|
200
|
+
*/
|
|
201
|
+
value: PolicyArtifactOCI;
|
|
202
|
+
case: 'policyArtifactOci';
|
|
203
|
+
} | {
|
|
204
|
+
case: undefined;
|
|
205
|
+
value?: undefined;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Describes the message policyimportexport.v1.CreateExportArtifactsResponse.
|
|
210
|
+
* Use `create(CreateExportArtifactsResponseSchema)` to create a new message.
|
|
211
|
+
*/
|
|
212
|
+
export declare const CreateExportArtifactsResponseSchema: GenMessage<CreateExportArtifactsResponse>;
|
|
213
|
+
/**
|
|
214
|
+
* @generated from service policyimportexport.v1.PolicyArtifactService
|
|
215
|
+
*/
|
|
216
|
+
export declare const PolicyArtifactService: GenService<{
|
|
217
|
+
/**
|
|
218
|
+
* @generated from rpc policyimportexport.v1.PolicyArtifactService.CreateTrustedArtifactProvider
|
|
219
|
+
*/
|
|
220
|
+
createTrustedArtifactProvider: {
|
|
221
|
+
methodKind: 'unary';
|
|
222
|
+
input: typeof CreateTrustedArtifactProviderRequestSchema;
|
|
223
|
+
output: typeof CreateTrustedArtifactProviderResponseSchema;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* @generated from rpc policyimportexport.v1.PolicyArtifactService.CreateImportArtifacts
|
|
227
|
+
*/
|
|
228
|
+
createImportArtifacts: {
|
|
229
|
+
methodKind: 'unary';
|
|
230
|
+
input: typeof CreateImportArtifactsRequestSchema;
|
|
231
|
+
output: typeof CreateImportArtifactsResponseSchema;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* @generated from rpc policyimportexport.v1.PolicyArtifactService.CreateExportArtifacts
|
|
235
|
+
*/
|
|
236
|
+
createExportArtifacts: {
|
|
237
|
+
methodKind: 'unary';
|
|
238
|
+
input: typeof CreateExportArtifactsRequestSchema;
|
|
239
|
+
output: typeof CreateExportArtifactsResponseSchema;
|
|
240
|
+
};
|
|
241
|
+
}>;
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { fileDesc, messageDesc, serviceDesc, } from '@bufbuild/protobuf/codegenv1';
|
|
7
|
+
import { file_google_api_annotations } from '../../google/api/annotations_pb';
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file policyimportexport/v1/policy_import_export.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_policyimportexport_v1_policy_import_export =
|
|
12
|
+
/*@__PURE__*/
|
|
13
|
+
fileDesc('CjBwb2xpY3lpbXBvcnRleHBvcnQvdjEvcG9saWN5X2ltcG9ydF9leHBvcnQucHJvdG8SFXBvbGljeWltcG9ydGV4cG9ydC52MSJLChdUcnVzdGVkQXJ0aWZhY3RQcm92aWRlchISCgpwdWJsaWNfa2V5GAEgASgMEhwKFHBlcm1pdHRlZF9uYW1lc3BhY2VzGAIgAygJInEKJENyZWF0ZVRydXN0ZWRBcnRpZmFjdFByb3ZpZGVyUmVxdWVzdBJJChFhcnRpZmFjdF9wcm92aWRlchgBIAEoCzIuLnBvbGljeWltcG9ydGV4cG9ydC52MS5UcnVzdGVkQXJ0aWZhY3RQcm92aWRlciInCiVDcmVhdGVUcnVzdGVkQXJ0aWZhY3RQcm92aWRlclJlc3BvbnNlIqoCChxDcmVhdGVJbXBvcnRBcnRpZmFjdHNSZXF1ZXN0EkoKEHBvbGljeV91bmJ1bmRsZWQYASABKAsyLi5wb2xpY3lpbXBvcnRleHBvcnQudjEuUG9saWN5QXJ0aWZhY3RVbmJ1bmRsZWRIABJmChFwb2xpY3lfb2NpX2J1bmRsZRgCIAEoCzJJLnBvbGljeWltcG9ydGV4cG9ydC52MS5DcmVhdGVJbXBvcnRBcnRpZmFjdHNSZXF1ZXN0LlBvbGljeUFydGlmYWN0QnVuZGxlZEgAGkYKFVBvbGljeUFydGlmYWN0QnVuZGxlZBIQCghvY2lfYmxvYhgBIAEoDBIbChNub192ZXJpZnlfc2lnbmF0dXJlGAIgASgIQg4KDGFydGlmYWN0X3NyYyIfCh1DcmVhdGVJbXBvcnRBcnRpZmFjdHNSZXNwb25zZSIpChdQb2xpY3lBcnRpZmFjdFVuYnVuZGxlZBIOCgZwb2xpY3kYASABKAwiNwoRUG9saWN5QXJ0aWZhY3RPQ0kSEAoIbWFuaWZlc3QYASABKAwSEAoIYXJ0aWZhY3QYAiABKAwiRAocQ3JlYXRlRXhwb3J0QXJ0aWZhY3RzUmVxdWVzdBIRCgluYW1lc3BhY2UYASABKAkSEQoJbm9fYnVuZGxlGAIgASgIIsABCh1DcmVhdGVFeHBvcnRBcnRpZmFjdHNSZXNwb25zZRJKChBwb2xpY3lfdW5idW5kbGVkGAEgASgLMi4ucG9saWN5aW1wb3J0ZXhwb3J0LnYxLlBvbGljeUFydGlmYWN0VW5idW5kbGVkSAASRwoTcG9saWN5X2FydGlmYWN0X29jaRgCIAEoCzIoLnBvbGljeWltcG9ydGV4cG9ydC52MS5Qb2xpY3lBcnRpZmFjdE9DSUgAQgoKCGFydGlmYWN0MoQEChVQb2xpY3lBcnRpZmFjdFNlcnZpY2USuAEKHUNyZWF0ZVRydXN0ZWRBcnRpZmFjdFByb3ZpZGVyEjsucG9saWN5aW1wb3J0ZXhwb3J0LnYxLkNyZWF0ZVRydXN0ZWRBcnRpZmFjdFByb3ZpZGVyUmVxdWVzdBo8LnBvbGljeWltcG9ydGV4cG9ydC52MS5DcmVhdGVUcnVzdGVkQXJ0aWZhY3RQcm92aWRlclJlc3BvbnNlIhyC0+STAhYiFC92MS90cnVzdGVkcHJvdmlkZXJzEpYBChVDcmVhdGVJbXBvcnRBcnRpZmFjdHMSMy5wb2xpY3lpbXBvcnRleHBvcnQudjEuQ3JlYXRlSW1wb3J0QXJ0aWZhY3RzUmVxdWVzdBo0LnBvbGljeWltcG9ydGV4cG9ydC52MS5DcmVhdGVJbXBvcnRBcnRpZmFjdHNSZXNwb25zZSISgtPkkwIMIgovdjEvaW1wb3J0EpYBChVDcmVhdGVFeHBvcnRBcnRpZmFjdHMSMy5wb2xpY3lpbXBvcnRleHBvcnQudjEuQ3JlYXRlRXhwb3J0QXJ0aWZhY3RzUmVxdWVzdBo0LnBvbGljeWltcG9ydGV4cG9ydC52MS5DcmVhdGVFeHBvcnRBcnRpZmFjdHNSZXNwb25zZSISgtPkkwIMIgovdjEvZXhwb3J0Qo4CChljb20ucG9saWN5aW1wb3J0ZXhwb3J0LnYxQhdQb2xpY3lJbXBvcnRFeHBvcnRQcm90b1ABWmNnaXRodWIuY29tL3ZpcnRydS1jb3JwL2RhdGEtc2VjdXJpdHktcGxhdGZvcm0vc2RrL3YyL2dlbi9wb2xpY3lpbXBvcnRleHBvcnQvdjE7cG9saWN5aW1wb3J0ZXhwb3J0djGiAgNQWFiqAhVQb2xpY3lpbXBvcnRleHBvcnQuVjHKAhVQb2xpY3lpbXBvcnRleHBvcnRcVjHiAiFQb2xpY3lpbXBvcnRleHBvcnRcVjFcR1BCTWV0YWRhdGHqAhZQb2xpY3lpbXBvcnRleHBvcnQ6OlYxYgZwcm90bzM', [file_google_api_annotations]);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message policyimportexport.v1.TrustedArtifactProvider.
|
|
16
|
+
* Use `create(TrustedArtifactProviderSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const TrustedArtifactProviderSchema =
|
|
19
|
+
/*@__PURE__*/
|
|
20
|
+
messageDesc(file_policyimportexport_v1_policy_import_export, 0);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message policyimportexport.v1.CreateTrustedArtifactProviderRequest.
|
|
23
|
+
* Use `create(CreateTrustedArtifactProviderRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const CreateTrustedArtifactProviderRequestSchema =
|
|
26
|
+
/*@__PURE__*/
|
|
27
|
+
messageDesc(file_policyimportexport_v1_policy_import_export, 1);
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message policyimportexport.v1.CreateTrustedArtifactProviderResponse.
|
|
30
|
+
* Use `create(CreateTrustedArtifactProviderResponseSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const CreateTrustedArtifactProviderResponseSchema =
|
|
33
|
+
/*@__PURE__*/
|
|
34
|
+
messageDesc(file_policyimportexport_v1_policy_import_export, 2);
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message policyimportexport.v1.CreateImportArtifactsRequest.
|
|
37
|
+
* Use `create(CreateImportArtifactsRequestSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const CreateImportArtifactsRequestSchema =
|
|
40
|
+
/*@__PURE__*/
|
|
41
|
+
messageDesc(file_policyimportexport_v1_policy_import_export, 3);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message policyimportexport.v1.CreateImportArtifactsRequest.PolicyArtifactBundled.
|
|
44
|
+
* Use `create(CreateImportArtifactsRequest_PolicyArtifactBundledSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const CreateImportArtifactsRequest_PolicyArtifactBundledSchema =
|
|
47
|
+
/*@__PURE__*/
|
|
48
|
+
messageDesc(file_policyimportexport_v1_policy_import_export, 3, 0);
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message policyimportexport.v1.CreateImportArtifactsResponse.
|
|
51
|
+
* Use `create(CreateImportArtifactsResponseSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export const CreateImportArtifactsResponseSchema =
|
|
54
|
+
/*@__PURE__*/
|
|
55
|
+
messageDesc(file_policyimportexport_v1_policy_import_export, 4);
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message policyimportexport.v1.PolicyArtifactUnbundled.
|
|
58
|
+
* Use `create(PolicyArtifactUnbundledSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const PolicyArtifactUnbundledSchema =
|
|
61
|
+
/*@__PURE__*/
|
|
62
|
+
messageDesc(file_policyimportexport_v1_policy_import_export, 5);
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message policyimportexport.v1.PolicyArtifactOCI.
|
|
65
|
+
* Use `create(PolicyArtifactOCISchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export const PolicyArtifactOCISchema =
|
|
68
|
+
/*@__PURE__*/
|
|
69
|
+
messageDesc(file_policyimportexport_v1_policy_import_export, 6);
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message policyimportexport.v1.CreateExportArtifactsRequest.
|
|
72
|
+
* Use `create(CreateExportArtifactsRequestSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const CreateExportArtifactsRequestSchema =
|
|
75
|
+
/*@__PURE__*/
|
|
76
|
+
messageDesc(file_policyimportexport_v1_policy_import_export, 7);
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message policyimportexport.v1.CreateExportArtifactsResponse.
|
|
79
|
+
* Use `create(CreateExportArtifactsResponseSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const CreateExportArtifactsResponseSchema =
|
|
82
|
+
/*@__PURE__*/
|
|
83
|
+
messageDesc(file_policyimportexport_v1_policy_import_export, 8);
|
|
84
|
+
/**
|
|
85
|
+
* @generated from service policyimportexport.v1.PolicyArtifactService
|
|
86
|
+
*/
|
|
87
|
+
export const PolicyArtifactService =
|
|
88
|
+
/*@__PURE__*/
|
|
89
|
+
serviceDesc(file_policyimportexport_v1_policy_import_export, 0);
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file shared/v1/shared.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_shared_v1_shared: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message shared.v1.SimplePolicy
|
|
9
|
+
*/
|
|
10
|
+
export type SimplePolicy = Message<'shared.v1.SimplePolicy'> & {
|
|
11
|
+
/**
|
|
12
|
+
* fully qualified name of the attribute such as https://demo.com/attr/attr1
|
|
13
|
+
*
|
|
14
|
+
* @generated from field: string attr_fqn = 1;
|
|
15
|
+
*/
|
|
16
|
+
attrFqn: string;
|
|
17
|
+
/**
|
|
18
|
+
* rule type for the attribute
|
|
19
|
+
*
|
|
20
|
+
* @generated from field: shared.v1.SimplePolicy.AttributeRuleTypeEnum definition_rule = 2;
|
|
21
|
+
*/
|
|
22
|
+
definitionRule: SimplePolicy_AttributeRuleTypeEnum;
|
|
23
|
+
/**
|
|
24
|
+
* list of string values for the attribute
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: repeated string values = 3;
|
|
27
|
+
*/
|
|
28
|
+
values: string[];
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message shared.v1.SimplePolicy.
|
|
32
|
+
* Use `create(SimplePolicySchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export declare const SimplePolicySchema: GenMessage<SimplePolicy>;
|
|
35
|
+
/**
|
|
36
|
+
* buflint ENUM_VALUE_PREFIX: to make sure that C++ scoping rules aren't violated when users add new enum values to an enum in a given package
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum shared.v1.SimplePolicy.AttributeRuleTypeEnum
|
|
39
|
+
*/
|
|
40
|
+
export declare enum SimplePolicy_AttributeRuleTypeEnum {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_UNSPECIFIED = 0;
|
|
43
|
+
*/
|
|
44
|
+
UNSPECIFIED = 0,
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_ALL_OF = 1;
|
|
47
|
+
*/
|
|
48
|
+
ALL_OF = 1,
|
|
49
|
+
/**
|
|
50
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_ANY_OF = 2;
|
|
51
|
+
*/
|
|
52
|
+
ANY_OF = 2,
|
|
53
|
+
/**
|
|
54
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_HIERARCHY = 3;
|
|
55
|
+
*/
|
|
56
|
+
HIERARCHY = 3
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Describes the enum shared.v1.SimplePolicy.AttributeRuleTypeEnum.
|
|
60
|
+
*/
|
|
61
|
+
export declare const SimplePolicy_AttributeRuleTypeEnumSchema: GenEnum<SimplePolicy_AttributeRuleTypeEnum>;
|
|
62
|
+
/**
|
|
63
|
+
* @generated from message shared.v1.GetMyEntitlementsRequest
|
|
64
|
+
*/
|
|
65
|
+
export type GetMyEntitlementsRequest = Message<'shared.v1.GetMyEntitlementsRequest'> & {
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: repeated string attribute_value_fqns = 1;
|
|
68
|
+
*/
|
|
69
|
+
attributeValueFqns: string[];
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message shared.v1.GetMyEntitlementsRequest.
|
|
73
|
+
* Use `create(GetMyEntitlementsRequestSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export declare const GetMyEntitlementsRequestSchema: GenMessage<GetMyEntitlementsRequest>;
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message shared.v1.EntityEntitlements
|
|
78
|
+
*/
|
|
79
|
+
export type EntityEntitlements = Message<'shared.v1.EntityEntitlements'> & {
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: string entity_id = 1;
|
|
82
|
+
*/
|
|
83
|
+
entityId: string;
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: repeated string attribute_value_fqns = 2;
|
|
86
|
+
*/
|
|
87
|
+
attributeValueFqns: string[];
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message shared.v1.EntityEntitlements.
|
|
91
|
+
* Use `create(EntityEntitlementsSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export declare const EntityEntitlementsSchema: GenMessage<EntityEntitlements>;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from message shared.v1.GetMyEntitlementsResponse
|
|
96
|
+
*/
|
|
97
|
+
export type GetMyEntitlementsResponse = Message<'shared.v1.GetMyEntitlementsResponse'> & {
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: repeated shared.v1.EntityEntitlements entitlements = 1;
|
|
100
|
+
*/
|
|
101
|
+
entitlements: EntityEntitlements[];
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message shared.v1.GetMyEntitlementsResponse.
|
|
105
|
+
* Use `create(GetMyEntitlementsResponseSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const GetMyEntitlementsResponseSchema: GenMessage<GetMyEntitlementsResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* shared request message for transforming ICTDF <-> ZTDF
|
|
110
|
+
*
|
|
111
|
+
* @generated from message shared.v1.TransformTdfFormatRequest
|
|
112
|
+
*/
|
|
113
|
+
export type TransformTdfFormatRequest = Message<'shared.v1.TransformTdfFormatRequest'> & {
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: bytes tdf_bytes = 1;
|
|
116
|
+
*/
|
|
117
|
+
tdfBytes: Uint8Array;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message shared.v1.TransformTdfFormatRequest.
|
|
121
|
+
* Use `create(TransformTdfFormatRequestSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export declare const TransformTdfFormatRequestSchema: GenMessage<TransformTdfFormatRequest>;
|
|
124
|
+
/**
|
|
125
|
+
* shared response message for transforming ICTDF <-> ZTDF
|
|
126
|
+
*
|
|
127
|
+
* @generated from message shared.v1.TransformTdfFormatResponse
|
|
128
|
+
*/
|
|
129
|
+
export type TransformTdfFormatResponse = Message<'shared.v1.TransformTdfFormatResponse'> & {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: bytes tdf_bytes = 1;
|
|
132
|
+
*/
|
|
133
|
+
tdfBytes: Uint8Array;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Describes the message shared.v1.TransformTdfFormatResponse.
|
|
137
|
+
* Use `create(TransformTdfFormatResponseSchema)` to create a new message.
|
|
138
|
+
*/
|
|
139
|
+
export declare const TransformTdfFormatResponseSchema: GenMessage<TransformTdfFormatResponse>;
|
|
140
|
+
/**
|
|
141
|
+
* EXPERIMENTAL/UNSTABLE SERVICE
|
|
142
|
+
*
|
|
143
|
+
* @generated from service shared.v1.SharedService
|
|
144
|
+
*/
|
|
145
|
+
export declare const SharedService: GenService<{
|
|
146
|
+
/**
|
|
147
|
+
* Gets user's entitlements based on their OIDC token provided in the auth header
|
|
148
|
+
*
|
|
149
|
+
* @generated from rpc shared.v1.SharedService.GetMyEntitlements
|
|
150
|
+
*/
|
|
151
|
+
getMyEntitlements: {
|
|
152
|
+
methodKind: 'unary';
|
|
153
|
+
input: typeof GetMyEntitlementsRequestSchema;
|
|
154
|
+
output: typeof GetMyEntitlementsResponseSchema;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* @generated from rpc shared.v1.SharedService.TransformToICTDF
|
|
158
|
+
*/
|
|
159
|
+
transformToICTDF: {
|
|
160
|
+
methodKind: 'unary';
|
|
161
|
+
input: typeof TransformTdfFormatRequestSchema;
|
|
162
|
+
output: typeof TransformTdfFormatResponseSchema;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* @generated from rpc shared.v1.SharedService.TransformToZTDF
|
|
166
|
+
*/
|
|
167
|
+
transformToZTDF: {
|
|
168
|
+
methodKind: 'unary';
|
|
169
|
+
input: typeof TransformTdfFormatRequestSchema;
|
|
170
|
+
output: typeof TransformTdfFormatResponseSchema;
|
|
171
|
+
};
|
|
172
|
+
}>;
|
|
@@ -0,0 +1,92 @@
|
|
|
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, serviceDesc, } from '@bufbuild/protobuf/codegenv1';
|
|
7
|
+
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
|
8
|
+
import { file_google_api_annotations } from '../../google/api/annotations_pb';
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file shared/v1/shared.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_shared_v1_shared =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
fileDesc('ChZzaGFyZWQvdjEvc2hhcmVkLnByb3RvEglzaGFyZWQudjEirgIKDFNpbXBsZVBvbGljeRIQCghhdHRyX2ZxbhgBIAEoCRJGCg9kZWZpbml0aW9uX3J1bGUYAiABKA4yLS5zaGFyZWQudjEuU2ltcGxlUG9saWN5LkF0dHJpYnV0ZVJ1bGVUeXBlRW51bRIOCgZ2YWx1ZXMYAyADKAkiswEKFUF0dHJpYnV0ZVJ1bGVUeXBlRW51bRIoCiRBVFRSSUJVVEVfUlVMRV9UWVBFX0VOVU1fVU5TUEVDSUZJRUQQABIjCh9BVFRSSUJVVEVfUlVMRV9UWVBFX0VOVU1fQUxMX09GEAESIwofQVRUUklCVVRFX1JVTEVfVFlQRV9FTlVNX0FOWV9PRhACEiYKIkFUVFJJQlVURV9SVUxFX1RZUEVfRU5VTV9ISUVSQVJDSFkQAyI4ChhHZXRNeUVudGl0bGVtZW50c1JlcXVlc3QSHAoUYXR0cmlidXRlX3ZhbHVlX2ZxbnMYASADKAkiRQoSRW50aXR5RW50aXRsZW1lbnRzEhEKCWVudGl0eV9pZBgBIAEoCRIcChRhdHRyaWJ1dGVfdmFsdWVfZnFucxgCIAMoCSJQChlHZXRNeUVudGl0bGVtZW50c1Jlc3BvbnNlEjMKDGVudGl0bGVtZW50cxgBIAMoCzIdLnNoYXJlZC52MS5FbnRpdHlFbnRpdGxlbWVudHMiPQoZVHJhbnNmb3JtVGRmRm9ybWF0UmVxdWVzdBIgCgl0ZGZfYnl0ZXMYASABKAxCDbpICnoIEAEYgICAgAEiLwoaVHJhbnNmb3JtVGRmRm9ybWF0UmVzcG9uc2USEQoJdGRmX2J5dGVzGAEgASgMMqoDCg1TaGFyZWRTZXJ2aWNlEoIBChFHZXRNeUVudGl0bGVtZW50cxIjLnNoYXJlZC52MS5HZXRNeUVudGl0bGVtZW50c1JlcXVlc3QaJC5zaGFyZWQudjEuR2V0TXlFbnRpdGxlbWVudHNSZXNwb25zZSIikAIBgtPkkwIZOgEqIhQvc2hhcmVkL2VudGl0bGVtZW50cxKJAQoQVHJhbnNmb3JtVG9JQ1RERhIkLnNoYXJlZC52MS5UcmFuc2Zvcm1UZGZGb3JtYXRSZXF1ZXN0GiUuc2hhcmVkLnYxLlRyYW5zZm9ybVRkZkZvcm1hdFJlc3BvbnNlIiiQAgGC0+STAh86ASoiGi9zaGFyZWQvdHJhbnNmb3JtX3RvX2ljdGRmEocBCg9UcmFuc2Zvcm1Ub1pUREYSJC5zaGFyZWQudjEuVHJhbnNmb3JtVGRmRm9ybWF0UmVxdWVzdBolLnNoYXJlZC52MS5UcmFuc2Zvcm1UZGZGb3JtYXRSZXNwb25zZSInkAIBgtPkkwIeOgEqIhkvc2hhcmVkL3RyYW5zZm9ybV90b196dGRmQq4BCg1jb20uc2hhcmVkLnYxQgtTaGFyZWRQcm90b1ABWktnaXRodWIuY29tL3ZpcnRydS1jb3JwL2RhdGEtc2VjdXJpdHktcGxhdGZvcm0vc2RrL3YyL2dlbi9zaGFyZWQvdjE7c2hhcmVkdjGiAgNTWFiqAglTaGFyZWQuVjHKAglTaGFyZWRcVjHiAhVTaGFyZWRcVjFcR1BCTWV0YWRhdGHqAgpTaGFyZWQ6OlYxYgZwcm90bzM', [file_buf_validate_validate, file_google_api_annotations]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message shared.v1.SimplePolicy.
|
|
17
|
+
* Use `create(SimplePolicySchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const SimplePolicySchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
messageDesc(file_shared_v1_shared, 0);
|
|
22
|
+
/**
|
|
23
|
+
* buflint ENUM_VALUE_PREFIX: to make sure that C++ scoping rules aren't violated when users add new enum values to an enum in a given package
|
|
24
|
+
*
|
|
25
|
+
* @generated from enum shared.v1.SimplePolicy.AttributeRuleTypeEnum
|
|
26
|
+
*/
|
|
27
|
+
export var SimplePolicy_AttributeRuleTypeEnum;
|
|
28
|
+
(function (SimplePolicy_AttributeRuleTypeEnum) {
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_UNSPECIFIED = 0;
|
|
31
|
+
*/
|
|
32
|
+
SimplePolicy_AttributeRuleTypeEnum[SimplePolicy_AttributeRuleTypeEnum["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
33
|
+
/**
|
|
34
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_ALL_OF = 1;
|
|
35
|
+
*/
|
|
36
|
+
SimplePolicy_AttributeRuleTypeEnum[SimplePolicy_AttributeRuleTypeEnum["ALL_OF"] = 1] = "ALL_OF";
|
|
37
|
+
/**
|
|
38
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_ANY_OF = 2;
|
|
39
|
+
*/
|
|
40
|
+
SimplePolicy_AttributeRuleTypeEnum[SimplePolicy_AttributeRuleTypeEnum["ANY_OF"] = 2] = "ANY_OF";
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_HIERARCHY = 3;
|
|
43
|
+
*/
|
|
44
|
+
SimplePolicy_AttributeRuleTypeEnum[SimplePolicy_AttributeRuleTypeEnum["HIERARCHY"] = 3] = "HIERARCHY";
|
|
45
|
+
})(SimplePolicy_AttributeRuleTypeEnum || (SimplePolicy_AttributeRuleTypeEnum = {}));
|
|
46
|
+
/**
|
|
47
|
+
* Describes the enum shared.v1.SimplePolicy.AttributeRuleTypeEnum.
|
|
48
|
+
*/
|
|
49
|
+
export const SimplePolicy_AttributeRuleTypeEnumSchema =
|
|
50
|
+
/*@__PURE__*/
|
|
51
|
+
enumDesc(file_shared_v1_shared, 0, 0);
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message shared.v1.GetMyEntitlementsRequest.
|
|
54
|
+
* Use `create(GetMyEntitlementsRequestSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const GetMyEntitlementsRequestSchema =
|
|
57
|
+
/*@__PURE__*/
|
|
58
|
+
messageDesc(file_shared_v1_shared, 1);
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message shared.v1.EntityEntitlements.
|
|
61
|
+
* Use `create(EntityEntitlementsSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export const EntityEntitlementsSchema =
|
|
64
|
+
/*@__PURE__*/
|
|
65
|
+
messageDesc(file_shared_v1_shared, 2);
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message shared.v1.GetMyEntitlementsResponse.
|
|
68
|
+
* Use `create(GetMyEntitlementsResponseSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const GetMyEntitlementsResponseSchema =
|
|
71
|
+
/*@__PURE__*/
|
|
72
|
+
messageDesc(file_shared_v1_shared, 3);
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message shared.v1.TransformTdfFormatRequest.
|
|
75
|
+
* Use `create(TransformTdfFormatRequestSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export const TransformTdfFormatRequestSchema =
|
|
78
|
+
/*@__PURE__*/
|
|
79
|
+
messageDesc(file_shared_v1_shared, 4);
|
|
80
|
+
/**
|
|
81
|
+
* Describes the message shared.v1.TransformTdfFormatResponse.
|
|
82
|
+
* Use `create(TransformTdfFormatResponseSchema)` to create a new message.
|
|
83
|
+
*/
|
|
84
|
+
export const TransformTdfFormatResponseSchema =
|
|
85
|
+
/*@__PURE__*/
|
|
86
|
+
messageDesc(file_shared_v1_shared, 5);
|
|
87
|
+
/**
|
|
88
|
+
* EXPERIMENTAL/UNSTABLE SERVICE
|
|
89
|
+
*
|
|
90
|
+
* @generated from service shared.v1.SharedService
|
|
91
|
+
*/
|
|
92
|
+
export const SharedService = /*@__PURE__*/ serviceDesc(file_shared_v1_shared, 0);
|