@redsift/products 12.1.1-muiv7 → 12.2.0-muiv5
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/index.d.ts +24 -0
- package/index2.js +8031 -410
- package/index2.js.map +1 -1
- package/package.json +6 -10
package/index.d.ts
CHANGED
|
@@ -464,6 +464,15 @@ declare enum BimiRecordStatus {
|
|
|
464
464
|
type BimiSvgError = 'invalid-svg' | 'invalid-svg-version' | 'invalid-svg-profile' | 'invalid-svg-root-element' | 'invalid-svg-attribute-xy' | 'invalid-svg-reference' | 'invalid-svg-missing-title' | 'invalid-svg-size' | 'invalid-svg-content-type' | 'invalid-svg-id-name' | 'invalid-svg-attribute' | 'invalid-svg-element-style' | 'invalid-svg-element-script' | 'invalid-svg-element-link' | 'invalid-svg-element-image' | 'invalid-svg-element-foreign-object' | 'invalid-xml-12' | 'logo-and-evidence-mismatch' | 'logo-extract-error' | 'unknown-svg-error';
|
|
465
465
|
type BimiRecordValidationError = 'bimi-error-missing-v' | 'bimi-error-missing-a' | 'bimi-error-missing-l' | 'bimi-error-invalid-a' | 'bimi-error-invalid-l' | 'bimi-error-unsupported-values' | 'bimi-error-incorrect-v' | 'bimi-error-cert-not-valid' | 'bimi-error-invalid-record' | 'bimi-error-unknown';
|
|
466
466
|
type BimiPemError = 'cert-not-found' | 'cert-not-url' | 'cert-not-file' | 'cert-not-https' | 'cert-not-pem' | 'cert-forbidden' | 'cert-bad-date' | 'cert-not-valid' | 'cert-bad-signature' | 'cert-unknown-error';
|
|
467
|
+
interface BimiReportNewItem {
|
|
468
|
+
status: 'warning' | 'error' | 'info';
|
|
469
|
+
message: string;
|
|
470
|
+
msgCode?: string;
|
|
471
|
+
}
|
|
472
|
+
interface BimiRecordErrorItem {
|
|
473
|
+
message: string;
|
|
474
|
+
code: string;
|
|
475
|
+
}
|
|
467
476
|
interface BimiProps {
|
|
468
477
|
dmarcCompliant?: boolean;
|
|
469
478
|
domainPublished?: string;
|
|
@@ -471,6 +480,10 @@ interface BimiProps {
|
|
|
471
480
|
txtExtractedFrom?: string;
|
|
472
481
|
bimiRecordStatus?: BimiRecordStatus;
|
|
473
482
|
recordValidationErrors?: BimiRecordValidationError[];
|
|
483
|
+
reportNew?: BimiReportNewItem[];
|
|
484
|
+
bimiRecord?: {
|
|
485
|
+
errors?: BimiRecordErrorItem[];
|
|
486
|
+
};
|
|
474
487
|
imageSource?: 'image-source-vmc' | 'image-source-logo' | 'image-source-notthere';
|
|
475
488
|
imageUrl?: string;
|
|
476
489
|
svgErrors?: BimiSvgError[];
|
|
@@ -986,6 +999,8 @@ type ChecklistItem = {
|
|
|
986
999
|
extractionBox?: {
|
|
987
1000
|
caption?: ExtractionCaptionType;
|
|
988
1001
|
};
|
|
1002
|
+
/** Optional test ID for QA automation */
|
|
1003
|
+
'data-testid'?: string;
|
|
989
1004
|
};
|
|
990
1005
|
|
|
991
1006
|
/**
|
|
@@ -1059,10 +1074,19 @@ interface SignalCardSpfDomainAnalyzerProps extends SignalCardSharedProps {
|
|
|
1059
1074
|
};
|
|
1060
1075
|
}
|
|
1061
1076
|
|
|
1077
|
+
/**
|
|
1078
|
+
* SPF report item from the BIMI Checker API
|
|
1079
|
+
*/
|
|
1080
|
+
interface SpfReportItem {
|
|
1081
|
+
status?: string;
|
|
1082
|
+
message?: string;
|
|
1083
|
+
spfError?: string;
|
|
1084
|
+
}
|
|
1062
1085
|
interface SpfDetails {
|
|
1063
1086
|
raw?: string | string[] | null;
|
|
1064
1087
|
status?: string | null;
|
|
1065
1088
|
txtExtractedFrom?: string | null;
|
|
1089
|
+
report?: SpfReportItem[];
|
|
1066
1090
|
[key: string]: unknown;
|
|
1067
1091
|
}
|
|
1068
1092
|
/**
|