@aiquants/enrichment-core 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -7
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -20
- package/dist/index.d.ts +2 -20
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -12607,18 +12607,12 @@ declare const SYSTEM_PARAMETER_RANGES: {
|
|
|
12607
12607
|
min: number;
|
|
12608
12608
|
max: number;
|
|
12609
12609
|
}>;
|
|
12610
|
-
readonly ARCHIVE_READER_MAX_SECONDS: Readonly<{
|
|
12611
|
-
min: number;
|
|
12612
|
-
max: number;
|
|
12613
|
-
}>;
|
|
12614
12610
|
};
|
|
12615
12611
|
type SystemParameterRangeKey = keyof typeof SYSTEM_PARAMETER_RANGES;
|
|
12616
12612
|
declare const assertSystemParameterInRange: (key: string, value: number) => void;
|
|
12617
12613
|
declare const assertBoundedSystemParameter: (key: SystemParameterRangeKey, value: number) => void;
|
|
12618
12614
|
declare const PROTECTION_FORMATS: readonly [
|
|
12619
12615
|
"zip",
|
|
12620
|
-
"7z",
|
|
12621
|
-
"rar",
|
|
12622
12616
|
"pdf",
|
|
12623
12617
|
"ooxml",
|
|
12624
12618
|
"legacy_office"
|
|
@@ -12626,8 +12620,6 @@ declare const PROTECTION_FORMATS: readonly [
|
|
|
12626
12620
|
type ProtectionFormat = (typeof PROTECTION_FORMATS)[number];
|
|
12627
12621
|
declare const ProtectionFormatSchema: z.ZodEnum<[
|
|
12628
12622
|
"zip",
|
|
12629
|
-
"7z",
|
|
12630
|
-
"rar",
|
|
12631
12623
|
"pdf",
|
|
12632
12624
|
"ooxml",
|
|
12633
12625
|
"legacy_office"
|
|
@@ -12635,8 +12627,6 @@ declare const ProtectionFormatSchema: z.ZodEnum<[
|
|
|
12635
12627
|
declare const REMOVABLE_PROTECTION_SCHEMES: readonly [
|
|
12636
12628
|
"zipcrypto",
|
|
12637
12629
|
"aes",
|
|
12638
|
-
"7z_aes",
|
|
12639
|
-
"rar_encryption",
|
|
12640
12630
|
"pdf_user_password",
|
|
12641
12631
|
"pdf_owner_password",
|
|
12642
12632
|
"office_encryption"
|
|
@@ -12645,8 +12635,6 @@ type RemovableProtectionScheme = (typeof REMOVABLE_PROTECTION_SCHEMES)[number];
|
|
|
12645
12635
|
declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
|
|
12646
12636
|
"zipcrypto",
|
|
12647
12637
|
"aes",
|
|
12648
|
-
"7z_aes",
|
|
12649
|
-
"rar_encryption",
|
|
12650
12638
|
"pdf_user_password",
|
|
12651
12639
|
"pdf_owner_password",
|
|
12652
12640
|
"office_encryption"
|
|
@@ -12654,8 +12642,6 @@ declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
|
|
|
12654
12642
|
declare const PROTECTION_SCHEMES: readonly [
|
|
12655
12643
|
"zipcrypto",
|
|
12656
12644
|
"aes",
|
|
12657
|
-
"7z_aes",
|
|
12658
|
-
"rar_encryption",
|
|
12659
12645
|
"pdf_user_password",
|
|
12660
12646
|
"pdf_owner_password",
|
|
12661
12647
|
"office_encryption",
|
|
@@ -12665,8 +12651,6 @@ type ProtectionScheme = (typeof PROTECTION_SCHEMES)[number];
|
|
|
12665
12651
|
declare const ProtectionSchemeSchema: z.ZodEnum<[
|
|
12666
12652
|
"zipcrypto",
|
|
12667
12653
|
"aes",
|
|
12668
|
-
"7z_aes",
|
|
12669
|
-
"rar_encryption",
|
|
12670
12654
|
"pdf_user_password",
|
|
12671
12655
|
"pdf_owner_password",
|
|
12672
12656
|
"office_encryption",
|
|
@@ -12691,16 +12675,14 @@ declare const COPY_REASONS: readonly [
|
|
|
12691
12675
|
"permission_denied",
|
|
12692
12676
|
"immutable_source",
|
|
12693
12677
|
"foreign_application",
|
|
12694
|
-
"local_source"
|
|
12695
|
-
"format_changed"
|
|
12678
|
+
"local_source"
|
|
12696
12679
|
];
|
|
12697
12680
|
type CopyReason = (typeof COPY_REASONS)[number];
|
|
12698
12681
|
declare const CopyReasonSchema: z.ZodEnum<[
|
|
12699
12682
|
"permission_denied",
|
|
12700
12683
|
"immutable_source",
|
|
12701
12684
|
"foreign_application",
|
|
12702
|
-
"local_source"
|
|
12703
|
-
"format_changed"
|
|
12685
|
+
"local_source"
|
|
12704
12686
|
]>;
|
|
12705
12687
|
declare const COPY_REASON_LABELS: Readonly<Record<CopyReason, string>>;
|
|
12706
12688
|
declare const isPromotable: (reason: CopyReason) => boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -12607,18 +12607,12 @@ declare const SYSTEM_PARAMETER_RANGES: {
|
|
|
12607
12607
|
min: number;
|
|
12608
12608
|
max: number;
|
|
12609
12609
|
}>;
|
|
12610
|
-
readonly ARCHIVE_READER_MAX_SECONDS: Readonly<{
|
|
12611
|
-
min: number;
|
|
12612
|
-
max: number;
|
|
12613
|
-
}>;
|
|
12614
12610
|
};
|
|
12615
12611
|
type SystemParameterRangeKey = keyof typeof SYSTEM_PARAMETER_RANGES;
|
|
12616
12612
|
declare const assertSystemParameterInRange: (key: string, value: number) => void;
|
|
12617
12613
|
declare const assertBoundedSystemParameter: (key: SystemParameterRangeKey, value: number) => void;
|
|
12618
12614
|
declare const PROTECTION_FORMATS: readonly [
|
|
12619
12615
|
"zip",
|
|
12620
|
-
"7z",
|
|
12621
|
-
"rar",
|
|
12622
12616
|
"pdf",
|
|
12623
12617
|
"ooxml",
|
|
12624
12618
|
"legacy_office"
|
|
@@ -12626,8 +12620,6 @@ declare const PROTECTION_FORMATS: readonly [
|
|
|
12626
12620
|
type ProtectionFormat = (typeof PROTECTION_FORMATS)[number];
|
|
12627
12621
|
declare const ProtectionFormatSchema: z.ZodEnum<[
|
|
12628
12622
|
"zip",
|
|
12629
|
-
"7z",
|
|
12630
|
-
"rar",
|
|
12631
12623
|
"pdf",
|
|
12632
12624
|
"ooxml",
|
|
12633
12625
|
"legacy_office"
|
|
@@ -12635,8 +12627,6 @@ declare const ProtectionFormatSchema: z.ZodEnum<[
|
|
|
12635
12627
|
declare const REMOVABLE_PROTECTION_SCHEMES: readonly [
|
|
12636
12628
|
"zipcrypto",
|
|
12637
12629
|
"aes",
|
|
12638
|
-
"7z_aes",
|
|
12639
|
-
"rar_encryption",
|
|
12640
12630
|
"pdf_user_password",
|
|
12641
12631
|
"pdf_owner_password",
|
|
12642
12632
|
"office_encryption"
|
|
@@ -12645,8 +12635,6 @@ type RemovableProtectionScheme = (typeof REMOVABLE_PROTECTION_SCHEMES)[number];
|
|
|
12645
12635
|
declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
|
|
12646
12636
|
"zipcrypto",
|
|
12647
12637
|
"aes",
|
|
12648
|
-
"7z_aes",
|
|
12649
|
-
"rar_encryption",
|
|
12650
12638
|
"pdf_user_password",
|
|
12651
12639
|
"pdf_owner_password",
|
|
12652
12640
|
"office_encryption"
|
|
@@ -12654,8 +12642,6 @@ declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
|
|
|
12654
12642
|
declare const PROTECTION_SCHEMES: readonly [
|
|
12655
12643
|
"zipcrypto",
|
|
12656
12644
|
"aes",
|
|
12657
|
-
"7z_aes",
|
|
12658
|
-
"rar_encryption",
|
|
12659
12645
|
"pdf_user_password",
|
|
12660
12646
|
"pdf_owner_password",
|
|
12661
12647
|
"office_encryption",
|
|
@@ -12665,8 +12651,6 @@ type ProtectionScheme = (typeof PROTECTION_SCHEMES)[number];
|
|
|
12665
12651
|
declare const ProtectionSchemeSchema: z.ZodEnum<[
|
|
12666
12652
|
"zipcrypto",
|
|
12667
12653
|
"aes",
|
|
12668
|
-
"7z_aes",
|
|
12669
|
-
"rar_encryption",
|
|
12670
12654
|
"pdf_user_password",
|
|
12671
12655
|
"pdf_owner_password",
|
|
12672
12656
|
"office_encryption",
|
|
@@ -12691,16 +12675,14 @@ declare const COPY_REASONS: readonly [
|
|
|
12691
12675
|
"permission_denied",
|
|
12692
12676
|
"immutable_source",
|
|
12693
12677
|
"foreign_application",
|
|
12694
|
-
"local_source"
|
|
12695
|
-
"format_changed"
|
|
12678
|
+
"local_source"
|
|
12696
12679
|
];
|
|
12697
12680
|
type CopyReason = (typeof COPY_REASONS)[number];
|
|
12698
12681
|
declare const CopyReasonSchema: z.ZodEnum<[
|
|
12699
12682
|
"permission_denied",
|
|
12700
12683
|
"immutable_source",
|
|
12701
12684
|
"foreign_application",
|
|
12702
|
-
"local_source"
|
|
12703
|
-
"format_changed"
|
|
12685
|
+
"local_source"
|
|
12704
12686
|
]>;
|
|
12705
12687
|
declare const COPY_REASON_LABELS: Readonly<Record<CopyReason, string>>;
|
|
12706
12688
|
declare const isPromotable: (reason: CopyReason) => boolean;
|