proxymail-qa 0.11.0 → 0.11.1
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.ts +25 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -369,6 +369,7 @@ export interface EmailChecks {
|
|
|
369
369
|
service_domain: string | null;
|
|
370
370
|
type: 'code' | 'link' | null;
|
|
371
371
|
subtype: string | null;
|
|
372
|
+
category?: 'auth' | 'transactional' | 'marketing' | null;
|
|
372
373
|
};
|
|
373
374
|
passed: boolean;
|
|
374
375
|
failed: CheckId[];
|
|
@@ -403,11 +404,16 @@ export interface RunInput {
|
|
|
403
404
|
}
|
|
404
405
|
export interface RunEvent {
|
|
405
406
|
at: string;
|
|
406
|
-
kind: 'address' | 'email' | 'missing' | 'none' | 'count' | 'checks' | 'note';
|
|
407
|
+
kind: 'address' | 'checkout' | 'email' | 'missing' | 'none' | 'count' | 'checks' | 'note' | 'test' | 'unsubscribe' | 'offers' | 'coupon';
|
|
407
408
|
address: string | null;
|
|
408
409
|
failed: boolean;
|
|
409
410
|
detail: Record<string, unknown>;
|
|
410
411
|
}
|
|
412
|
+
export type RunTextPart = string | {
|
|
413
|
+
code: string;
|
|
414
|
+
} | {
|
|
415
|
+
quote: string;
|
|
416
|
+
};
|
|
411
417
|
export interface Run {
|
|
412
418
|
id: string;
|
|
413
419
|
name: string;
|
|
@@ -417,7 +423,25 @@ export interface Run {
|
|
|
417
423
|
started_at: string;
|
|
418
424
|
finished_at: string | null;
|
|
419
425
|
url: string;
|
|
426
|
+
project?: {
|
|
427
|
+
id: string;
|
|
428
|
+
name: string;
|
|
429
|
+
};
|
|
420
430
|
events?: RunEvent[];
|
|
431
|
+
deliverability?: {
|
|
432
|
+
checked: number;
|
|
433
|
+
likely_spam: number;
|
|
434
|
+
may_spam: number;
|
|
435
|
+
harmful_attachments: number;
|
|
436
|
+
highest_spam_score: number | null;
|
|
437
|
+
};
|
|
438
|
+
comparison?: {
|
|
439
|
+
runs: number;
|
|
440
|
+
changes: Array<{
|
|
441
|
+
kind: string;
|
|
442
|
+
text: RunTextPart[];
|
|
443
|
+
}>;
|
|
444
|
+
} | null;
|
|
421
445
|
}
|
|
422
446
|
export declare class ProxyMailQAError extends Error {
|
|
423
447
|
readonly status: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proxymail-qa",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Test every email your app sends from Playwright, Cypress, Jest, Vitest or any Node script: disposable inboxes, sign-up codes, links and coupons, email checks, unsubscribe tests and run reports.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Proxy Mail QA <hello@proxymail.qa> (https://proxymail.qa)",
|