@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,88 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import type { TaggingPDPConfig, TaggingPDPConfigVersion } from './tagging_pb';
|
|
3
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file config/v1/config.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_config_v1_config: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message config.v1.GetTaggingPDPConfigResponse
|
|
10
|
+
*/
|
|
11
|
+
export type GetTaggingPDPConfigResponse = Message<'config.v1.GetTaggingPDPConfigResponse'> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string value = 1;
|
|
14
|
+
*/
|
|
15
|
+
value: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string json_schema = 2;
|
|
18
|
+
*/
|
|
19
|
+
jsonSchema: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message config.v1.GetTaggingPDPConfigResponse.
|
|
23
|
+
* Use `create(GetTaggingPDPConfigResponseSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const GetTaggingPDPConfigResponseSchema: GenMessage<GetTaggingPDPConfigResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from message config.v1.GetTaggingPDPConfigRequest
|
|
28
|
+
*/
|
|
29
|
+
export type GetTaggingPDPConfigRequest = Message<'config.v1.GetTaggingPDPConfigRequest'> & {
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: config.v1.TaggingPDPConfigVersion version = 1;
|
|
32
|
+
*/
|
|
33
|
+
version: TaggingPDPConfigVersion;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message config.v1.GetTaggingPDPConfigRequest.
|
|
37
|
+
* Use `create(GetTaggingPDPConfigRequestSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export declare const GetTaggingPDPConfigRequestSchema: GenMessage<GetTaggingPDPConfigRequest>;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from message config.v1.SetTaggingPDPConfigRequest
|
|
42
|
+
*/
|
|
43
|
+
export type SetTaggingPDPConfigRequest = Message<'config.v1.SetTaggingPDPConfigRequest'> & {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: config.v1.TaggingPDPConfig config = 1;
|
|
46
|
+
*/
|
|
47
|
+
config?: TaggingPDPConfig;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message config.v1.SetTaggingPDPConfigRequest.
|
|
51
|
+
* Use `create(SetTaggingPDPConfigRequestSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export declare const SetTaggingPDPConfigRequestSchema: GenMessage<SetTaggingPDPConfigRequest>;
|
|
54
|
+
/**
|
|
55
|
+
* @generated from message config.v1.SetTaggingPDPConfigResponse
|
|
56
|
+
*/
|
|
57
|
+
export type SetTaggingPDPConfigResponse = Message<'config.v1.SetTaggingPDPConfigResponse'> & {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: config.v1.TaggingPDPConfig config = 1;
|
|
60
|
+
*/
|
|
61
|
+
config?: TaggingPDPConfig;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message config.v1.SetTaggingPDPConfigResponse.
|
|
65
|
+
* Use `create(SetTaggingPDPConfigResponseSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export declare const SetTaggingPDPConfigResponseSchema: GenMessage<SetTaggingPDPConfigResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* @generated from service config.v1.ConfigService
|
|
70
|
+
*/
|
|
71
|
+
export declare const ConfigService: GenService<{
|
|
72
|
+
/**
|
|
73
|
+
* @generated from rpc config.v1.ConfigService.GetTaggingPDPConfig
|
|
74
|
+
*/
|
|
75
|
+
getTaggingPDPConfig: {
|
|
76
|
+
methodKind: 'unary';
|
|
77
|
+
input: typeof GetTaggingPDPConfigRequestSchema;
|
|
78
|
+
output: typeof GetTaggingPDPConfigResponseSchema;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @generated from rpc config.v1.ConfigService.SetTaggingPDPConfig
|
|
82
|
+
*/
|
|
83
|
+
setTaggingPDPConfig: {
|
|
84
|
+
methodKind: 'unary';
|
|
85
|
+
input: typeof SetTaggingPDPConfigRequestSchema;
|
|
86
|
+
output: typeof SetTaggingPDPConfigResponseSchema;
|
|
87
|
+
};
|
|
88
|
+
}>;
|
|
@@ -0,0 +1,46 @@
|
|
|
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_buf_validate_validate } from '../../buf/validate/validate_pb';
|
|
8
|
+
import { file_config_v1_tagging } from './tagging_pb';
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file config/v1/config.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_config_v1_config =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
fileDesc('ChZjb25maWcvdjEvY29uZmlnLnByb3RvEgljb25maWcudjEiQQobR2V0VGFnZ2luZ1BEUENvbmZpZ1Jlc3BvbnNlEg0KBXZhbHVlGAEgASgJEhMKC2pzb25fc2NoZW1hGAIgASgJIlkKGkdldFRhZ2dpbmdQRFBDb25maWdSZXF1ZXN0EjsKB3ZlcnNpb24YASABKA4yIi5jb25maWcudjEuVGFnZ2luZ1BEUENvbmZpZ1ZlcnNpb25CBrpIA8gBASJJChpTZXRUYWdnaW5nUERQQ29uZmlnUmVxdWVzdBIrCgZjb25maWcYASABKAsyGy5jb25maWcudjEuVGFnZ2luZ1BEUENvbmZpZyJKChtTZXRUYWdnaW5nUERQQ29uZmlnUmVzcG9uc2USKwoGY29uZmlnGAEgASgLMhsuY29uZmlnLnYxLlRhZ2dpbmdQRFBDb25maWcy3wEKDUNvbmZpZ1NlcnZpY2USZgoTR2V0VGFnZ2luZ1BEUENvbmZpZxIlLmNvbmZpZy52MS5HZXRUYWdnaW5nUERQQ29uZmlnUmVxdWVzdBomLmNvbmZpZy52MS5HZXRUYWdnaW5nUERQQ29uZmlnUmVzcG9uc2UiABJmChNTZXRUYWdnaW5nUERQQ29uZmlnEiUuY29uZmlnLnYxLlNldFRhZ2dpbmdQRFBDb25maWdSZXF1ZXN0GiYuY29uZmlnLnYxLlNldFRhZ2dpbmdQRFBDb25maWdSZXNwb25zZSIAQq4BCg1jb20uY29uZmlnLnYxQgtDb25maWdQcm90b1ABWktnaXRodWIuY29tL3ZpcnRydS1jb3JwL2RhdGEtc2VjdXJpdHktcGxhdGZvcm0vc2RrL3YyL2dlbi9jb25maWcvdjE7Y29uZmlndjGiAgNDWFiqAglDb25maWcuVjHKAglDb25maWdcVjHiAhVDb25maWdcVjFcR1BCTWV0YWRhdGHqAgpDb25maWc6OlYxYgZwcm90bzM', [file_buf_validate_validate, file_config_v1_tagging]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message config.v1.GetTaggingPDPConfigResponse.
|
|
17
|
+
* Use `create(GetTaggingPDPConfigResponseSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const GetTaggingPDPConfigResponseSchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
messageDesc(file_config_v1_config, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message config.v1.GetTaggingPDPConfigRequest.
|
|
24
|
+
* Use `create(GetTaggingPDPConfigRequestSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const GetTaggingPDPConfigRequestSchema =
|
|
27
|
+
/*@__PURE__*/
|
|
28
|
+
messageDesc(file_config_v1_config, 1);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message config.v1.SetTaggingPDPConfigRequest.
|
|
31
|
+
* Use `create(SetTaggingPDPConfigRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const SetTaggingPDPConfigRequestSchema =
|
|
34
|
+
/*@__PURE__*/
|
|
35
|
+
messageDesc(file_config_v1_config, 2);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message config.v1.SetTaggingPDPConfigResponse.
|
|
38
|
+
* Use `create(SetTaggingPDPConfigResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const SetTaggingPDPConfigResponseSchema =
|
|
41
|
+
/*@__PURE__*/
|
|
42
|
+
messageDesc(file_config_v1_config, 3);
|
|
43
|
+
/**
|
|
44
|
+
* @generated from service config.v1.ConfigService
|
|
45
|
+
*/
|
|
46
|
+
export const ConfigService = /*@__PURE__*/ serviceDesc(file_config_v1_config, 0);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { GenExtension, GenFile, GenMessage } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import type { EnumValueOptions, FieldOptions } from '@bufbuild/protobuf/wkt';
|
|
3
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file config/v1/meta.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_config_v1_meta: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message config.v1.FieldMetadata
|
|
10
|
+
*/
|
|
11
|
+
export type FieldMetadata = Message<'config.v1.FieldMetadata'> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string title = 1;
|
|
14
|
+
*/
|
|
15
|
+
title: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string description = 2;
|
|
18
|
+
*/
|
|
19
|
+
description: string;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string default = 3;
|
|
22
|
+
*/
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message config.v1.FieldMetadata.
|
|
27
|
+
* Use `create(FieldMetadataSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const FieldMetadataSchema: GenMessage<FieldMetadata>;
|
|
30
|
+
/**
|
|
31
|
+
* @generated from extension: config.v1.FieldMetadata meta = 50000;
|
|
32
|
+
*/
|
|
33
|
+
export declare const meta: GenExtension<FieldOptions, FieldMetadata>;
|
|
34
|
+
/**
|
|
35
|
+
* @generated from extension: string title = 50000;
|
|
36
|
+
*/
|
|
37
|
+
export declare const title: GenExtension<EnumValueOptions, string>;
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { extDesc, fileDesc, messageDesc } from '@bufbuild/protobuf/codegenv1';
|
|
7
|
+
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
|
8
|
+
import { file_google_protobuf_descriptor } from '@bufbuild/protobuf/wkt';
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file config/v1/meta.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_config_v1_meta =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
fileDesc('ChRjb25maWcvdjEvbWV0YS5wcm90bxIJY29uZmlnLnYxIlwKDUZpZWxkTWV0YWRhdGESFQoFdGl0bGUYASABKAlCBrpIA8gBABIbCgtkZXNjcmlwdGlvbhgCIAEoCUIGukgDyAEBEhcKB2RlZmF1bHQYAyABKAlCBrpIA8gBATpNCgRtZXRhEh0uZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucxjQhgMgASgLMhguY29uZmlnLnYxLkZpZWxkTWV0YWRhdGFSBG1ldGE6QQoFdGl0bGUSIS5nb29nbGUucHJvdG9idWYuRW51bVZhbHVlT3B0aW9ucxjQhgMgASgJQga6SAPIAQBSBXRpdGxlQqwBCg1jb20uY29uZmlnLnYxQglNZXRhUHJvdG9QAVpLZ2l0aHViLmNvbS92aXJ0cnUtY29ycC9kYXRhLXNlY3VyaXR5LXBsYXRmb3JtL3Nkay92Mi9nZW4vY29uZmlnL3YxO2NvbmZpZ3YxogIDQ1hYqgIJQ29uZmlnLlYxygIJQ29uZmlnXFYx4gIVQ29uZmlnXFYxXEdQQk1ldGFkYXRh6gIKQ29uZmlnOjpWMWIGcHJvdG8z', [file_buf_validate_validate, file_google_protobuf_descriptor]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message config.v1.FieldMetadata.
|
|
17
|
+
* Use `create(FieldMetadataSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const FieldMetadataSchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
messageDesc(file_config_v1_meta, 0);
|
|
22
|
+
/**
|
|
23
|
+
* @generated from extension: config.v1.FieldMetadata meta = 50000;
|
|
24
|
+
*/
|
|
25
|
+
export const meta =
|
|
26
|
+
/*@__PURE__*/
|
|
27
|
+
extDesc(file_config_v1_meta, 0);
|
|
28
|
+
/**
|
|
29
|
+
* @generated from extension: string title = 50000;
|
|
30
|
+
*/
|
|
31
|
+
export const title =
|
|
32
|
+
/*@__PURE__*/
|
|
33
|
+
extDesc(file_config_v1_meta, 1);
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import type { Message } from '@bufbuild/protobuf';
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file config/v1/tagging.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_config_v1_tagging: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message config.v1.TaggingPDPConfig
|
|
9
|
+
*/
|
|
10
|
+
export type TaggingPDPConfig = Message<'config.v1.TaggingPDPConfig'> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from oneof config.v1.TaggingPDPConfig.version
|
|
13
|
+
*/
|
|
14
|
+
version: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: config.v1.TaggingPDPConfigV1 v1 = 1;
|
|
17
|
+
*/
|
|
18
|
+
value: TaggingPDPConfigV1;
|
|
19
|
+
case: 'v1';
|
|
20
|
+
} | {
|
|
21
|
+
case: undefined;
|
|
22
|
+
value?: undefined;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message config.v1.TaggingPDPConfig.
|
|
27
|
+
* Use `create(TaggingPDPConfigSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const TaggingPDPConfigSchema: GenMessage<TaggingPDPConfig>;
|
|
30
|
+
/**
|
|
31
|
+
* @generated from message config.v1.TaggingPDPConfigV1
|
|
32
|
+
*/
|
|
33
|
+
export type TaggingPDPConfigV1 = Message<'config.v1.TaggingPDPConfigV1'> & {
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: repeated config.v1.ContentExtractor content_extractors = 1;
|
|
36
|
+
*/
|
|
37
|
+
contentExtractors: ContentExtractor[];
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: repeated config.v1.TagExtractionRule tag_extraction_rules = 2;
|
|
40
|
+
*/
|
|
41
|
+
tagExtractionRules: TagExtractionRule[];
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: repeated config.v1.TagProcessor tag_processors = 3;
|
|
44
|
+
*/
|
|
45
|
+
tagProcessors: TagProcessor[];
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: repeated config.v1.RollupRule rollup_rules = 4;
|
|
48
|
+
*/
|
|
49
|
+
rollupRules: RollupRule[];
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message config.v1.TaggingPDPConfigV1.
|
|
53
|
+
* Use `create(TaggingPDPConfigV1Schema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export declare const TaggingPDPConfigV1Schema: GenMessage<TaggingPDPConfigV1>;
|
|
56
|
+
/**
|
|
57
|
+
* @generated from message config.v1.ContentExtractor
|
|
58
|
+
*/
|
|
59
|
+
export type ContentExtractor = Message<'config.v1.ContentExtractor'> & {
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: string id = 1;
|
|
62
|
+
*/
|
|
63
|
+
id: string;
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: config.v1.ContentExtractorType type = 2;
|
|
66
|
+
*/
|
|
67
|
+
type: ContentExtractorType;
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: string options = 3;
|
|
70
|
+
*/
|
|
71
|
+
options: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message config.v1.ContentExtractor.
|
|
75
|
+
* Use `create(ContentExtractorSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export declare const ContentExtractorSchema: GenMessage<ContentExtractor>;
|
|
78
|
+
/**
|
|
79
|
+
* @generated from message config.v1.TagExtractionRule
|
|
80
|
+
*/
|
|
81
|
+
export type TagExtractionRule = Message<'config.v1.TagExtractionRule'> & {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: string id = 1;
|
|
84
|
+
*/
|
|
85
|
+
id: string;
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: config.v1.TagExtractionRuleType type = 2;
|
|
88
|
+
*/
|
|
89
|
+
type: TagExtractionRuleType;
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: string desc = 3;
|
|
92
|
+
*/
|
|
93
|
+
desc: string;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: string options = 4;
|
|
96
|
+
*/
|
|
97
|
+
options: string;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message config.v1.TagExtractionRule.
|
|
101
|
+
* Use `create(TagExtractionRuleSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export declare const TagExtractionRuleSchema: GenMessage<TagExtractionRule>;
|
|
104
|
+
/**
|
|
105
|
+
* @generated from message config.v1.TagProcessor
|
|
106
|
+
*/
|
|
107
|
+
export type TagProcessor = Message<'config.v1.TagProcessor'> & {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: string id = 1;
|
|
110
|
+
*/
|
|
111
|
+
id: string;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: config.v1.TagProcessorType type = 2;
|
|
114
|
+
*/
|
|
115
|
+
type: TagProcessorType;
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: string options = 3;
|
|
118
|
+
*/
|
|
119
|
+
options: string;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message config.v1.TagProcessor.
|
|
123
|
+
* Use `create(TagProcessorSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export declare const TagProcessorSchema: GenMessage<TagProcessor>;
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message config.v1.RollupRule
|
|
128
|
+
*/
|
|
129
|
+
export type RollupRule = Message<'config.v1.RollupRule'> & {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string id = 1;
|
|
132
|
+
*/
|
|
133
|
+
id: string;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: config.v1.RollupRuleType type = 2;
|
|
136
|
+
*/
|
|
137
|
+
type: RollupRuleType;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string options = 3;
|
|
140
|
+
*/
|
|
141
|
+
options: string;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message config.v1.RollupRule.
|
|
145
|
+
* Use `create(RollupRuleSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export declare const RollupRuleSchema: GenMessage<RollupRule>;
|
|
148
|
+
/**
|
|
149
|
+
* @generated from enum config.v1.TaggingPDPConfigVersion
|
|
150
|
+
*/
|
|
151
|
+
export declare enum TaggingPDPConfigVersion {
|
|
152
|
+
/**
|
|
153
|
+
* @generated from enum value: TAGGING_PDP_CONFIG_VERSION_UNSPECIFIED = 0;
|
|
154
|
+
*/
|
|
155
|
+
TAGGING_PDP_CONFIG_VERSION_UNSPECIFIED = 0,
|
|
156
|
+
/**
|
|
157
|
+
* @generated from enum value: TAGGING_PDP_CONFIG_VERSION_V1 = 1;
|
|
158
|
+
*/
|
|
159
|
+
TAGGING_PDP_CONFIG_VERSION_V1 = 1
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Describes the enum config.v1.TaggingPDPConfigVersion.
|
|
163
|
+
*/
|
|
164
|
+
export declare const TaggingPDPConfigVersionSchema: GenEnum<TaggingPDPConfigVersion>;
|
|
165
|
+
/**
|
|
166
|
+
* @generated from enum config.v1.ContentExtractorType
|
|
167
|
+
*/
|
|
168
|
+
export declare enum ContentExtractorType {
|
|
169
|
+
/**
|
|
170
|
+
* @generated from enum value: CONTENT_EXTRACTOR_TYPE_UNSPECIFIED = 0;
|
|
171
|
+
*/
|
|
172
|
+
UNSPECIFIED = 0,
|
|
173
|
+
/**
|
|
174
|
+
* @generated from enum value: CONTENT_EXTRACTOR_TYPE_TIKA_CONTENT_EXTRACTION = 1;
|
|
175
|
+
*/
|
|
176
|
+
TIKA_CONTENT_EXTRACTION = 1,
|
|
177
|
+
/**
|
|
178
|
+
* @generated from enum value: CONTENT_EXTRACTOR_TYPE_TITUS_METADATA = 2;
|
|
179
|
+
*/
|
|
180
|
+
TITUS_METADATA = 2
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Describes the enum config.v1.ContentExtractorType.
|
|
184
|
+
*/
|
|
185
|
+
export declare const ContentExtractorTypeSchema: GenEnum<ContentExtractorType>;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from enum config.v1.TagExtractionRuleType
|
|
188
|
+
*/
|
|
189
|
+
export declare enum TagExtractionRuleType {
|
|
190
|
+
/**
|
|
191
|
+
* @generated from enum value: TAG_EXTRACTION_RULE_TYPE_UNSPECIFIED = 0;
|
|
192
|
+
*/
|
|
193
|
+
UNSPECIFIED = 0,
|
|
194
|
+
/**
|
|
195
|
+
* @generated from enum value: TAG_EXTRACTION_RULE_TYPE_TDF3_TAG_PROCESSOR = 1;
|
|
196
|
+
*/
|
|
197
|
+
TDF3_TAG_PROCESSOR = 1,
|
|
198
|
+
/**
|
|
199
|
+
* @generated from enum value: TAG_EXTRACTION_RULE_TYPE_TDFXML = 2;
|
|
200
|
+
*/
|
|
201
|
+
TDFXML = 2,
|
|
202
|
+
/**
|
|
203
|
+
* @generated from enum value: TAG_EXTRACTION_RULE_TYPE_IC_EDH = 3;
|
|
204
|
+
*/
|
|
205
|
+
IC_EDH = 3,
|
|
206
|
+
/**
|
|
207
|
+
* @generated from enum value: TAG_EXTRACTION_RULE_TYPE_REGEX = 4;
|
|
208
|
+
*/
|
|
209
|
+
REGEX = 4
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Describes the enum config.v1.TagExtractionRuleType.
|
|
213
|
+
*/
|
|
214
|
+
export declare const TagExtractionRuleTypeSchema: GenEnum<TagExtractionRuleType>;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from enum config.v1.TagProcessorType
|
|
217
|
+
*/
|
|
218
|
+
export declare enum TagProcessorType {
|
|
219
|
+
/**
|
|
220
|
+
* @generated from enum value: TAG_PROCESSOR_TYPE_UNSPECIFIED = 0;
|
|
221
|
+
*/
|
|
222
|
+
UNSPECIFIED = 0,
|
|
223
|
+
/**
|
|
224
|
+
* @generated from enum value: TAG_PROCESSOR_TYPE_REQUIRED_TAGS = 1;
|
|
225
|
+
*/
|
|
226
|
+
REQUIRED_TAGS = 1,
|
|
227
|
+
/**
|
|
228
|
+
* @generated from enum value: TAG_PROCESSOR_TYPE_TAG_MISMATCH = 2;
|
|
229
|
+
*/
|
|
230
|
+
TAG_MISMATCH = 2
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Describes the enum config.v1.TagProcessorType.
|
|
234
|
+
*/
|
|
235
|
+
export declare const TagProcessorTypeSchema: GenEnum<TagProcessorType>;
|
|
236
|
+
/**
|
|
237
|
+
* @generated from enum config.v1.RollupRuleType
|
|
238
|
+
*/
|
|
239
|
+
export declare enum RollupRuleType {
|
|
240
|
+
/**
|
|
241
|
+
* @generated from enum value: ROLLUP_RULE_TYPE_UNSPECIFIED = 0;
|
|
242
|
+
*/
|
|
243
|
+
UNSPECIFIED = 0,
|
|
244
|
+
/**
|
|
245
|
+
* @generated from enum value: ROLLUP_RULE_TYPE_STD_ROLLUP = 1;
|
|
246
|
+
*/
|
|
247
|
+
STD_ROLLUP = 1,
|
|
248
|
+
/**
|
|
249
|
+
* @generated from enum value: ROLLUP_RULE_TYPE_DROP_DUPLICATES = 2;
|
|
250
|
+
*/
|
|
251
|
+
DROP_DUPLICATES = 2,
|
|
252
|
+
/**
|
|
253
|
+
* @generated from enum value: ROLLUP_RULE_TYPE_STANAG5636_ASSERTIONS = 3;
|
|
254
|
+
*/
|
|
255
|
+
STANAG5636_ASSERTIONS = 3,
|
|
256
|
+
/**
|
|
257
|
+
* @generated from enum value: ROLLUP_RULE_TYPE_ICEDH_ASSERTIONS = 4;
|
|
258
|
+
*/
|
|
259
|
+
ICEDH_ASSERTIONS = 4
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Describes the enum config.v1.RollupRuleType.
|
|
263
|
+
*/
|
|
264
|
+
export declare const RollupRuleTypeSchema: GenEnum<RollupRuleType>;
|
|
@@ -0,0 +1,188 @@
|
|
|
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/tagging.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_config_v1_tagging =
|
|
13
|
+
/*@__PURE__*/
|
|
14
|
+
fileDesc('Chdjb25maWcvdjEvdGFnZ2luZy5wcm90bxIJY29uZmlnLnYxIlEKEFRhZ2dpbmdQRFBDb25maWcSKwoCdjEYASABKAsyHS5jb25maWcudjEuVGFnZ2luZ1BEUENvbmZpZ1YxSABCEAoHdmVyc2lvbhIFukgCCAEi5wEKElRhZ2dpbmdQRFBDb25maWdWMRI3ChJjb250ZW50X2V4dHJhY3RvcnMYASADKAsyGy5jb25maWcudjEuQ29udGVudEV4dHJhY3RvchI6ChR0YWdfZXh0cmFjdGlvbl9ydWxlcxgCIAMoCzIcLmNvbmZpZy52MS5UYWdFeHRyYWN0aW9uUnVsZRIvCg50YWdfcHJvY2Vzc29ycxgDIAMoCzIXLmNvbmZpZy52MS5UYWdQcm9jZXNzb3ISKwoMcm9sbHVwX3J1bGVzGAQgAygLMhUuY29uZmlnLnYxLlJvbGx1cFJ1bGUimgIKEENvbnRlbnRFeHRyYWN0b3ISUQoCaWQYASABKAlCRbpIA8gBAYK1GDsKDEV4dHJhY3RvciBJRBIrVW5pcXVlIGlkZW50aWZpZXIgZm9yIHRoZSBjb250ZW50IGV4dHJhY3RvchJJCgR0eXBlGAIgASgOMh8uY29uZmlnLnYxLkNvbnRlbnRFeHRyYWN0b3JUeXBlQhq6SAPIAQGCtRgQCg5FeHRyYWN0b3IgVHlwZRJoCgdvcHRpb25zGAMgASgJQle6SAPIAQGCtRhNChFFeHRyYWN0b3IgT3B0aW9ucxI4T3B0aW9ucyBmb3IgdGhlIGNvbnRlbnQgZXh0cmFjdG9yIGluIEpTT04gb3IgWUFNTCBmb3JtYXQi3gIKEVRhZ0V4dHJhY3Rpb25SdWxlEksKAmlkGAEgASgJQj+6SAPIAQGCtRg1CgdSdWxlIElEEipVbmlxdWUgaWRlbnRpZmllciBmb3IgdGhpcyBleHRyYWN0aW9uIHJ1bGUSRQoEdHlwZRgCIAEoDjIgLmNvbmZpZy52MS5UYWdFeHRyYWN0aW9uUnVsZVR5cGVCFbpIA8gBAYK1GAsKCVJ1bGUgVHlwZRJcCgRkZXNjGAMgASgJQk66SAPIAQGCtRhEChBSdWxlIERlc2NyaXB0aW9uEjBIdW1hbi1yZWFkYWJsZSBkZXNjcmlwdGlvbiBvZiB0aGUgcnVsZSdzIHB1cnBvc2USVwoHb3B0aW9ucxgEIAEoCUJGukgDyAEBgrUYPAoMUnVsZSBPcHRpb25zEixPcHRpb25zIGZvciB0aGUgcnVsZXMgaW4gSlNPTiBvciBZQU1MIGZvcm1hdCKHAgoMVGFnUHJvY2Vzc29yEk4KAmlkGAEgASgJQkK6SAPIAQGCtRg4CgxQcm9jZXNzb3IgSUQSKFVuaXF1ZSBpZGVudGlmaWVyIGZvciB0aGlzIHRhZyBwcm9jZXNzb3ISRQoEdHlwZRgCIAEoDjIbLmNvbmZpZy52MS5UYWdQcm9jZXNzb3JUeXBlQhq6SAPIAQGCtRgQCg5Qcm9jZXNzb3IgVHlwZRJgCgdvcHRpb25zGAMgASgJQk+6SAPIAQGCtRhFChFQcm9jZXNzb3IgT3B0aW9ucxIwT3B0aW9ucyBmb3IgdGhlIHByb2Nlc3NvciBpbiBKU09OIG9yIFlBTUwgZm9ybWF0IvQBCgpSb2xsdXBSdWxlEkcKAmlkGAEgASgJQju6SAPIAQGCtRgxCgdSdWxlIElEEiZVbmlxdWUgaWRlbnRpZmllciBmb3IgdGhpcyByb2xsdXAgcnVsZRI+CgR0eXBlGAIgASgOMhkuY29uZmlnLnYxLlJvbGx1cFJ1bGVUeXBlQhW6SAPIAQGCtRgLCglSdWxlIFR5cGUSXQoHb3B0aW9ucxgDIAEoCUJMukgDyAEBgrUYQgoMUnVsZSBPcHRpb25zEjJPcHRpb25zIGZvciB0aGUgcm9sbHVwIHJ1bGUgaW4gSlNPTiBvciBZQU1MIGZvcm1hdCpoChdUYWdnaW5nUERQQ29uZmlnVmVyc2lvbhIqCiZUQUdHSU5HX1BEUF9DT05GSUdfVkVSU0lPTl9VTlNQRUNJRklFRBAAEiEKHVRBR0dJTkdfUERQX0NPTkZJR19WRVJTSU9OX1YxEAEq3wEKFENvbnRlbnRFeHRyYWN0b3JUeXBlEjcKIkNPTlRFTlRfRVhUUkFDVE9SX1RZUEVfVU5TUEVDSUZJRUQQABoPgrUYC1Vuc3BlY2lmaWVkEk8KLkNPTlRFTlRfRVhUUkFDVE9SX1RZUEVfVElLQV9DT05URU5UX0VYVFJBQ1RJT04QARobgrUYF1Rpa2EgQ29udGVudCBFeHRyYWN0aW9uEj0KJUNPTlRFTlRfRVhUUkFDVE9SX1RZUEVfVElUVVNfTUVUQURBVEEQAhoSgrUYDlRpdHVzIE1ldGFkYXRhKqwCChVUYWdFeHRyYWN0aW9uUnVsZVR5cGUSOQokVEFHX0VYVFJBQ1RJT05fUlVMRV9UWVBFX1VOU1BFQ0lGSUVEEAAaD4K1GAtVbnNwZWNpZmllZBJHCitUQUdfRVhUUkFDVElPTl9SVUxFX1RZUEVfVERGM19UQUdfUFJPQ0VTU09SEAEaFoK1GBJUREYzIFRhZyBQcm9jZXNzb3ISLwofVEFHX0VYVFJBQ1RJT05fUlVMRV9UWVBFX1RERlhNTBACGgqCtRgGVERGWE1MEi8KH1RBR19FWFRSQUNUSU9OX1JVTEVfVFlQRV9JQ19FREgQAxoKgrUYBklDIEVESBItCh5UQUdfRVhUUkFDVElPTl9SVUxFX1RZUEVfUkVHRVgQBBoJgrUYBVJlZ2V4KrcBChBUYWdQcm9jZXNzb3JUeXBlEjMKHlRBR19QUk9DRVNTT1JfVFlQRV9VTlNQRUNJRklFRBAAGg+CtRgLVW5zcGVjaWZpZWQSNwogVEFHX1BST0NFU1NPUl9UWVBFX1JFUVVJUkVEX1RBR1MQARoRgrUYDVJlcXVpcmVkIFRhZ3MSNQofVEFHX1BST0NFU1NPUl9UWVBFX1RBR19NSVNNQVRDSBACGhCCtRgMVGFnIE1pc21hdGNoKrkCCg5Sb2xsdXBSdWxlVHlwZRIxChxST0xMVVBfUlVMRV9UWVBFX1VOU1BFQ0lGSUVEEAAaD4K1GAtVbnNwZWNpZmllZBI0ChtST0xMVVBfUlVMRV9UWVBFX1NURF9ST0xMVVAQARoTgrUYD1N0YW5kYXJkIFJvbGx1cBI5CiBST0xMVVBfUlVMRV9UWVBFX0RST1BfRFVQTElDQVRFUxACGhOCtRgPRHJvcCBEdXBsaWNhdGVzEkYKJlJPTExVUF9SVUxFX1RZUEVfU1RBTkFHNTYzNl9BU1NFUlRJT05TEAMaGoK1GBZTVEFOQUcgNTYzNiBBc3NlcnRpb25zEjsKIVJPTExVUF9SVUxFX1RZUEVfSUNFREhfQVNTRVJUSU9OUxAEGhSCtRgQSUNFREggQXNzZXJ0aW9uc0KvAQoNY29tLmNvbmZpZy52MUIMVGFnZ2luZ1Byb3RvUAFaS2dpdGh1Yi5jb20vdmlydHJ1LWNvcnAvZGF0YS1zZWN1cml0eS1wbGF0Zm9ybS9zZGsvdjIvZ2VuL2NvbmZpZy92MTtjb25maWd2MaICA0NYWKoCCUNvbmZpZy5WMcoCCUNvbmZpZ1xWMeICFUNvbmZpZ1xWMVxHUEJNZXRhZGF0YeoCCkNvbmZpZzo6VjFiBnByb3RvMw', [file_buf_validate_validate, file_config_v1_meta]);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message config.v1.TaggingPDPConfig.
|
|
17
|
+
* Use `create(TaggingPDPConfigSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const TaggingPDPConfigSchema =
|
|
20
|
+
/*@__PURE__*/
|
|
21
|
+
messageDesc(file_config_v1_tagging, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message config.v1.TaggingPDPConfigV1.
|
|
24
|
+
* Use `create(TaggingPDPConfigV1Schema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const TaggingPDPConfigV1Schema =
|
|
27
|
+
/*@__PURE__*/
|
|
28
|
+
messageDesc(file_config_v1_tagging, 1);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message config.v1.ContentExtractor.
|
|
31
|
+
* Use `create(ContentExtractorSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const ContentExtractorSchema =
|
|
34
|
+
/*@__PURE__*/
|
|
35
|
+
messageDesc(file_config_v1_tagging, 2);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message config.v1.TagExtractionRule.
|
|
38
|
+
* Use `create(TagExtractionRuleSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const TagExtractionRuleSchema =
|
|
41
|
+
/*@__PURE__*/
|
|
42
|
+
messageDesc(file_config_v1_tagging, 3);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message config.v1.TagProcessor.
|
|
45
|
+
* Use `create(TagProcessorSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const TagProcessorSchema =
|
|
48
|
+
/*@__PURE__*/
|
|
49
|
+
messageDesc(file_config_v1_tagging, 4);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message config.v1.RollupRule.
|
|
52
|
+
* Use `create(RollupRuleSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const RollupRuleSchema =
|
|
55
|
+
/*@__PURE__*/
|
|
56
|
+
messageDesc(file_config_v1_tagging, 5);
|
|
57
|
+
/**
|
|
58
|
+
* @generated from enum config.v1.TaggingPDPConfigVersion
|
|
59
|
+
*/
|
|
60
|
+
export var TaggingPDPConfigVersion;
|
|
61
|
+
(function (TaggingPDPConfigVersion) {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from enum value: TAGGING_PDP_CONFIG_VERSION_UNSPECIFIED = 0;
|
|
64
|
+
*/
|
|
65
|
+
TaggingPDPConfigVersion[TaggingPDPConfigVersion["TAGGING_PDP_CONFIG_VERSION_UNSPECIFIED"] = 0] = "TAGGING_PDP_CONFIG_VERSION_UNSPECIFIED";
|
|
66
|
+
/**
|
|
67
|
+
* @generated from enum value: TAGGING_PDP_CONFIG_VERSION_V1 = 1;
|
|
68
|
+
*/
|
|
69
|
+
TaggingPDPConfigVersion[TaggingPDPConfigVersion["TAGGING_PDP_CONFIG_VERSION_V1"] = 1] = "TAGGING_PDP_CONFIG_VERSION_V1";
|
|
70
|
+
})(TaggingPDPConfigVersion || (TaggingPDPConfigVersion = {}));
|
|
71
|
+
/**
|
|
72
|
+
* Describes the enum config.v1.TaggingPDPConfigVersion.
|
|
73
|
+
*/
|
|
74
|
+
export const TaggingPDPConfigVersionSchema =
|
|
75
|
+
/*@__PURE__*/
|
|
76
|
+
enumDesc(file_config_v1_tagging, 0);
|
|
77
|
+
/**
|
|
78
|
+
* @generated from enum config.v1.ContentExtractorType
|
|
79
|
+
*/
|
|
80
|
+
export var ContentExtractorType;
|
|
81
|
+
(function (ContentExtractorType) {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from enum value: CONTENT_EXTRACTOR_TYPE_UNSPECIFIED = 0;
|
|
84
|
+
*/
|
|
85
|
+
ContentExtractorType[ContentExtractorType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
86
|
+
/**
|
|
87
|
+
* @generated from enum value: CONTENT_EXTRACTOR_TYPE_TIKA_CONTENT_EXTRACTION = 1;
|
|
88
|
+
*/
|
|
89
|
+
ContentExtractorType[ContentExtractorType["TIKA_CONTENT_EXTRACTION"] = 1] = "TIKA_CONTENT_EXTRACTION";
|
|
90
|
+
/**
|
|
91
|
+
* @generated from enum value: CONTENT_EXTRACTOR_TYPE_TITUS_METADATA = 2;
|
|
92
|
+
*/
|
|
93
|
+
ContentExtractorType[ContentExtractorType["TITUS_METADATA"] = 2] = "TITUS_METADATA";
|
|
94
|
+
})(ContentExtractorType || (ContentExtractorType = {}));
|
|
95
|
+
/**
|
|
96
|
+
* Describes the enum config.v1.ContentExtractorType.
|
|
97
|
+
*/
|
|
98
|
+
export const ContentExtractorTypeSchema =
|
|
99
|
+
/*@__PURE__*/
|
|
100
|
+
enumDesc(file_config_v1_tagging, 1);
|
|
101
|
+
/**
|
|
102
|
+
* @generated from enum config.v1.TagExtractionRuleType
|
|
103
|
+
*/
|
|
104
|
+
export var TagExtractionRuleType;
|
|
105
|
+
(function (TagExtractionRuleType) {
|
|
106
|
+
/**
|
|
107
|
+
* @generated from enum value: TAG_EXTRACTION_RULE_TYPE_UNSPECIFIED = 0;
|
|
108
|
+
*/
|
|
109
|
+
TagExtractionRuleType[TagExtractionRuleType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: TAG_EXTRACTION_RULE_TYPE_TDF3_TAG_PROCESSOR = 1;
|
|
112
|
+
*/
|
|
113
|
+
TagExtractionRuleType[TagExtractionRuleType["TDF3_TAG_PROCESSOR"] = 1] = "TDF3_TAG_PROCESSOR";
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: TAG_EXTRACTION_RULE_TYPE_TDFXML = 2;
|
|
116
|
+
*/
|
|
117
|
+
TagExtractionRuleType[TagExtractionRuleType["TDFXML"] = 2] = "TDFXML";
|
|
118
|
+
/**
|
|
119
|
+
* @generated from enum value: TAG_EXTRACTION_RULE_TYPE_IC_EDH = 3;
|
|
120
|
+
*/
|
|
121
|
+
TagExtractionRuleType[TagExtractionRuleType["IC_EDH"] = 3] = "IC_EDH";
|
|
122
|
+
/**
|
|
123
|
+
* @generated from enum value: TAG_EXTRACTION_RULE_TYPE_REGEX = 4;
|
|
124
|
+
*/
|
|
125
|
+
TagExtractionRuleType[TagExtractionRuleType["REGEX"] = 4] = "REGEX";
|
|
126
|
+
})(TagExtractionRuleType || (TagExtractionRuleType = {}));
|
|
127
|
+
/**
|
|
128
|
+
* Describes the enum config.v1.TagExtractionRuleType.
|
|
129
|
+
*/
|
|
130
|
+
export const TagExtractionRuleTypeSchema =
|
|
131
|
+
/*@__PURE__*/
|
|
132
|
+
enumDesc(file_config_v1_tagging, 2);
|
|
133
|
+
/**
|
|
134
|
+
* @generated from enum config.v1.TagProcessorType
|
|
135
|
+
*/
|
|
136
|
+
export var TagProcessorType;
|
|
137
|
+
(function (TagProcessorType) {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from enum value: TAG_PROCESSOR_TYPE_UNSPECIFIED = 0;
|
|
140
|
+
*/
|
|
141
|
+
TagProcessorType[TagProcessorType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
142
|
+
/**
|
|
143
|
+
* @generated from enum value: TAG_PROCESSOR_TYPE_REQUIRED_TAGS = 1;
|
|
144
|
+
*/
|
|
145
|
+
TagProcessorType[TagProcessorType["REQUIRED_TAGS"] = 1] = "REQUIRED_TAGS";
|
|
146
|
+
/**
|
|
147
|
+
* @generated from enum value: TAG_PROCESSOR_TYPE_TAG_MISMATCH = 2;
|
|
148
|
+
*/
|
|
149
|
+
TagProcessorType[TagProcessorType["TAG_MISMATCH"] = 2] = "TAG_MISMATCH";
|
|
150
|
+
})(TagProcessorType || (TagProcessorType = {}));
|
|
151
|
+
/**
|
|
152
|
+
* Describes the enum config.v1.TagProcessorType.
|
|
153
|
+
*/
|
|
154
|
+
export const TagProcessorTypeSchema =
|
|
155
|
+
/*@__PURE__*/
|
|
156
|
+
enumDesc(file_config_v1_tagging, 3);
|
|
157
|
+
/**
|
|
158
|
+
* @generated from enum config.v1.RollupRuleType
|
|
159
|
+
*/
|
|
160
|
+
export var RollupRuleType;
|
|
161
|
+
(function (RollupRuleType) {
|
|
162
|
+
/**
|
|
163
|
+
* @generated from enum value: ROLLUP_RULE_TYPE_UNSPECIFIED = 0;
|
|
164
|
+
*/
|
|
165
|
+
RollupRuleType[RollupRuleType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
166
|
+
/**
|
|
167
|
+
* @generated from enum value: ROLLUP_RULE_TYPE_STD_ROLLUP = 1;
|
|
168
|
+
*/
|
|
169
|
+
RollupRuleType[RollupRuleType["STD_ROLLUP"] = 1] = "STD_ROLLUP";
|
|
170
|
+
/**
|
|
171
|
+
* @generated from enum value: ROLLUP_RULE_TYPE_DROP_DUPLICATES = 2;
|
|
172
|
+
*/
|
|
173
|
+
RollupRuleType[RollupRuleType["DROP_DUPLICATES"] = 2] = "DROP_DUPLICATES";
|
|
174
|
+
/**
|
|
175
|
+
* @generated from enum value: ROLLUP_RULE_TYPE_STANAG5636_ASSERTIONS = 3;
|
|
176
|
+
*/
|
|
177
|
+
RollupRuleType[RollupRuleType["STANAG5636_ASSERTIONS"] = 3] = "STANAG5636_ASSERTIONS";
|
|
178
|
+
/**
|
|
179
|
+
* @generated from enum value: ROLLUP_RULE_TYPE_ICEDH_ASSERTIONS = 4;
|
|
180
|
+
*/
|
|
181
|
+
RollupRuleType[RollupRuleType["ICEDH_ASSERTIONS"] = 4] = "ICEDH_ASSERTIONS";
|
|
182
|
+
})(RollupRuleType || (RollupRuleType = {}));
|
|
183
|
+
/**
|
|
184
|
+
* Describes the enum config.v1.RollupRuleType.
|
|
185
|
+
*/
|
|
186
|
+
export const RollupRuleTypeSchema =
|
|
187
|
+
/*@__PURE__*/
|
|
188
|
+
enumDesc(file_config_v1_tagging, 4);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { GenExtension, GenFile } from '@bufbuild/protobuf/codegenv1';
|
|
2
|
+
import type { HttpRule } from './http_pb';
|
|
3
|
+
import type { MethodOptions } from '@bufbuild/protobuf/wkt';
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file google/api/annotations.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_google_api_annotations: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* See `HttpRule`.
|
|
10
|
+
*
|
|
11
|
+
* @generated from extension: google.api.HttpRule http = 72295728;
|
|
12
|
+
*/
|
|
13
|
+
export declare const http: GenExtension<MethodOptions, HttpRule>;
|