@aiquants/enrichment-core 0.5.1 → 0.6.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/dist/index.d.cts CHANGED
@@ -12599,12 +12599,22 @@ declare const SYSTEM_PARAMETER_RANGES: {
12599
12599
  min: number;
12600
12600
  max: number;
12601
12601
  }>;
12602
+ readonly ARCHIVE_READER_MAX_MEMORY_BYTES: Readonly<{
12603
+ min: number;
12604
+ max: number;
12605
+ }>;
12606
+ readonly ARCHIVE_READER_MAX_SECONDS: Readonly<{
12607
+ min: number;
12608
+ max: number;
12609
+ }>;
12602
12610
  };
12603
12611
  type SystemParameterRangeKey = keyof typeof SYSTEM_PARAMETER_RANGES;
12604
12612
  declare const assertSystemParameterInRange: (key: string, value: number) => void;
12605
12613
  declare const assertBoundedSystemParameter: (key: SystemParameterRangeKey, value: number) => void;
12606
12614
  declare const PROTECTION_FORMATS: readonly [
12607
12615
  "zip",
12616
+ "7z",
12617
+ "rar",
12608
12618
  "pdf",
12609
12619
  "ooxml",
12610
12620
  "legacy_office"
@@ -12612,6 +12622,8 @@ declare const PROTECTION_FORMATS: readonly [
12612
12622
  type ProtectionFormat = (typeof PROTECTION_FORMATS)[number];
12613
12623
  declare const ProtectionFormatSchema: z.ZodEnum<[
12614
12624
  "zip",
12625
+ "7z",
12626
+ "rar",
12615
12627
  "pdf",
12616
12628
  "ooxml",
12617
12629
  "legacy_office"
@@ -12619,6 +12631,8 @@ declare const ProtectionFormatSchema: z.ZodEnum<[
12619
12631
  declare const REMOVABLE_PROTECTION_SCHEMES: readonly [
12620
12632
  "zipcrypto",
12621
12633
  "aes",
12634
+ "7z_aes",
12635
+ "rar_encryption",
12622
12636
  "pdf_user_password",
12623
12637
  "pdf_owner_password",
12624
12638
  "office_encryption"
@@ -12627,6 +12641,8 @@ type RemovableProtectionScheme = (typeof REMOVABLE_PROTECTION_SCHEMES)[number];
12627
12641
  declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
12628
12642
  "zipcrypto",
12629
12643
  "aes",
12644
+ "7z_aes",
12645
+ "rar_encryption",
12630
12646
  "pdf_user_password",
12631
12647
  "pdf_owner_password",
12632
12648
  "office_encryption"
@@ -12634,6 +12650,8 @@ declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
12634
12650
  declare const PROTECTION_SCHEMES: readonly [
12635
12651
  "zipcrypto",
12636
12652
  "aes",
12653
+ "7z_aes",
12654
+ "rar_encryption",
12637
12655
  "pdf_user_password",
12638
12656
  "pdf_owner_password",
12639
12657
  "office_encryption",
@@ -12643,6 +12661,8 @@ type ProtectionScheme = (typeof PROTECTION_SCHEMES)[number];
12643
12661
  declare const ProtectionSchemeSchema: z.ZodEnum<[
12644
12662
  "zipcrypto",
12645
12663
  "aes",
12664
+ "7z_aes",
12665
+ "rar_encryption",
12646
12666
  "pdf_user_password",
12647
12667
  "pdf_owner_password",
12648
12668
  "office_encryption",
@@ -12667,14 +12687,16 @@ declare const COPY_REASONS: readonly [
12667
12687
  "permission_denied",
12668
12688
  "immutable_source",
12669
12689
  "foreign_application",
12670
- "local_source"
12690
+ "local_source",
12691
+ "format_changed"
12671
12692
  ];
12672
12693
  type CopyReason = (typeof COPY_REASONS)[number];
12673
12694
  declare const CopyReasonSchema: z.ZodEnum<[
12674
12695
  "permission_denied",
12675
12696
  "immutable_source",
12676
12697
  "foreign_application",
12677
- "local_source"
12698
+ "local_source",
12699
+ "format_changed"
12678
12700
  ]>;
12679
12701
  declare const COPY_REASON_LABELS: Readonly<Record<CopyReason, string>>;
12680
12702
  declare const isPromotable: (reason: CopyReason) => boolean;
package/dist/index.d.ts CHANGED
@@ -12599,12 +12599,22 @@ declare const SYSTEM_PARAMETER_RANGES: {
12599
12599
  min: number;
12600
12600
  max: number;
12601
12601
  }>;
12602
+ readonly ARCHIVE_READER_MAX_MEMORY_BYTES: Readonly<{
12603
+ min: number;
12604
+ max: number;
12605
+ }>;
12606
+ readonly ARCHIVE_READER_MAX_SECONDS: Readonly<{
12607
+ min: number;
12608
+ max: number;
12609
+ }>;
12602
12610
  };
12603
12611
  type SystemParameterRangeKey = keyof typeof SYSTEM_PARAMETER_RANGES;
12604
12612
  declare const assertSystemParameterInRange: (key: string, value: number) => void;
12605
12613
  declare const assertBoundedSystemParameter: (key: SystemParameterRangeKey, value: number) => void;
12606
12614
  declare const PROTECTION_FORMATS: readonly [
12607
12615
  "zip",
12616
+ "7z",
12617
+ "rar",
12608
12618
  "pdf",
12609
12619
  "ooxml",
12610
12620
  "legacy_office"
@@ -12612,6 +12622,8 @@ declare const PROTECTION_FORMATS: readonly [
12612
12622
  type ProtectionFormat = (typeof PROTECTION_FORMATS)[number];
12613
12623
  declare const ProtectionFormatSchema: z.ZodEnum<[
12614
12624
  "zip",
12625
+ "7z",
12626
+ "rar",
12615
12627
  "pdf",
12616
12628
  "ooxml",
12617
12629
  "legacy_office"
@@ -12619,6 +12631,8 @@ declare const ProtectionFormatSchema: z.ZodEnum<[
12619
12631
  declare const REMOVABLE_PROTECTION_SCHEMES: readonly [
12620
12632
  "zipcrypto",
12621
12633
  "aes",
12634
+ "7z_aes",
12635
+ "rar_encryption",
12622
12636
  "pdf_user_password",
12623
12637
  "pdf_owner_password",
12624
12638
  "office_encryption"
@@ -12627,6 +12641,8 @@ type RemovableProtectionScheme = (typeof REMOVABLE_PROTECTION_SCHEMES)[number];
12627
12641
  declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
12628
12642
  "zipcrypto",
12629
12643
  "aes",
12644
+ "7z_aes",
12645
+ "rar_encryption",
12630
12646
  "pdf_user_password",
12631
12647
  "pdf_owner_password",
12632
12648
  "office_encryption"
@@ -12634,6 +12650,8 @@ declare const RemovableProtectionSchemeSchema: z.ZodEnum<[
12634
12650
  declare const PROTECTION_SCHEMES: readonly [
12635
12651
  "zipcrypto",
12636
12652
  "aes",
12653
+ "7z_aes",
12654
+ "rar_encryption",
12637
12655
  "pdf_user_password",
12638
12656
  "pdf_owner_password",
12639
12657
  "office_encryption",
@@ -12643,6 +12661,8 @@ type ProtectionScheme = (typeof PROTECTION_SCHEMES)[number];
12643
12661
  declare const ProtectionSchemeSchema: z.ZodEnum<[
12644
12662
  "zipcrypto",
12645
12663
  "aes",
12664
+ "7z_aes",
12665
+ "rar_encryption",
12646
12666
  "pdf_user_password",
12647
12667
  "pdf_owner_password",
12648
12668
  "office_encryption",
@@ -12667,14 +12687,16 @@ declare const COPY_REASONS: readonly [
12667
12687
  "permission_denied",
12668
12688
  "immutable_source",
12669
12689
  "foreign_application",
12670
- "local_source"
12690
+ "local_source",
12691
+ "format_changed"
12671
12692
  ];
12672
12693
  type CopyReason = (typeof COPY_REASONS)[number];
12673
12694
  declare const CopyReasonSchema: z.ZodEnum<[
12674
12695
  "permission_denied",
12675
12696
  "immutable_source",
12676
12697
  "foreign_application",
12677
- "local_source"
12698
+ "local_source",
12699
+ "format_changed"
12678
12700
  ]>;
12679
12701
  declare const COPY_REASON_LABELS: Readonly<Record<CopyReason, string>>;
12680
12702
  declare const isPromotable: (reason: CopyReason) => boolean;