@nuxtseo/protocol 0.1.5 → 0.2.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/v1/account.d.ts +8 -0
- package/dist/v1/actions.d.ts +348 -0
- package/dist/v1/actions.js +76 -0
- package/dist/v1/audit.d.ts +32 -0
- package/dist/v1/audit.js +8 -0
- package/dist/v1/backlinks.d.ts +2826 -193
- package/dist/v1/backlinks.js +415 -6
- package/dist/v1/core.d.ts +1 -1
- package/dist/v1/core.js +10 -0
- package/dist/v1/gsc.d.ts +792 -0
- package/dist/v1/gsc.js +189 -0
- package/dist/v1/pages.d.ts +1085 -0
- package/dist/v1/pages.js +239 -0
- package/dist/v1/performance.d.ts +3868 -245
- package/dist/v1/performance.js +643 -1
- package/dist/v1/research.d.ts +1803 -489
- package/dist/v1/research.js +173 -0
- package/dist/v1/sites.d.ts +1025 -0
- package/dist/v1/sites.js +230 -0
- package/dist/v1/timeline.d.ts +1540 -70
- package/dist/v1/timeline.js +244 -0
- package/generated/openapi.v1.json +1 -1
- package/package.json +1 -1
package/dist/v1/sites.d.ts
CHANGED
|
@@ -391,6 +391,708 @@ export declare const sitesListOperation: {
|
|
|
391
391
|
}];
|
|
392
392
|
};
|
|
393
393
|
};
|
|
394
|
+
export declare const siteStatusParamsSchema: z.ZodObject<{
|
|
395
|
+
siteId: z.ZodString;
|
|
396
|
+
}, z.core.$strict>;
|
|
397
|
+
export declare const siteAssessmentSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
398
|
+
readonly reachStage: z.ZodNullable<z.ZodString>;
|
|
399
|
+
readonly healthStage: z.ZodNullable<z.ZodString>;
|
|
400
|
+
readonly headlineAxis: z.ZodNullable<z.ZodString>;
|
|
401
|
+
readonly summary: z.ZodString;
|
|
402
|
+
readonly recommendation: z.ZodString;
|
|
403
|
+
readonly assessedAt: z.ZodNullable<z.ZodString>;
|
|
404
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
405
|
+
readonly reachStage: z.ZodNullable<z.ZodString>;
|
|
406
|
+
readonly healthStage: z.ZodNullable<z.ZodString>;
|
|
407
|
+
readonly headlineAxis: z.ZodNullable<z.ZodString>;
|
|
408
|
+
readonly summary: z.ZodString;
|
|
409
|
+
readonly recommendation: z.ZodString;
|
|
410
|
+
readonly assessedAt: z.ZodNullable<z.ZodString>;
|
|
411
|
+
}, z.core.$strip>>;
|
|
412
|
+
/**
|
|
413
|
+
* The one ranked thing to do next. `kind` says what it is: `connect` asks for a
|
|
414
|
+
* missing data source, `action` points at a specific open Action by id, and
|
|
415
|
+
* `dimension` names an area with no single backing Action yet. Only `action`
|
|
416
|
+
* carries an `actionId` a caller can resolve.
|
|
417
|
+
*/
|
|
418
|
+
export declare const siteNextActionSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
419
|
+
readonly kind: z.ZodEnum<{
|
|
420
|
+
action: "action";
|
|
421
|
+
connect: "connect";
|
|
422
|
+
dimension: "dimension";
|
|
423
|
+
}>;
|
|
424
|
+
readonly label: z.ZodString;
|
|
425
|
+
readonly detail: z.ZodNullable<z.ZodString>;
|
|
426
|
+
readonly focus: z.ZodNullable<z.ZodString>;
|
|
427
|
+
readonly dimension: z.ZodNullable<z.ZodString>;
|
|
428
|
+
readonly urgent: z.ZodBoolean;
|
|
429
|
+
/** Organic traffic at stake, the ranking magnitude. GLOSSARY: Impact. */
|
|
430
|
+
readonly impact: z.ZodNullable<z.ZodNumber>;
|
|
431
|
+
readonly actionId: z.ZodNullable<z.ZodString>;
|
|
432
|
+
readonly citedProofKey: z.ZodNullable<z.ZodString>;
|
|
433
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
434
|
+
readonly kind: z.ZodEnum<{
|
|
435
|
+
action: "action";
|
|
436
|
+
connect: "connect";
|
|
437
|
+
dimension: "dimension";
|
|
438
|
+
}>;
|
|
439
|
+
readonly label: z.ZodString;
|
|
440
|
+
readonly detail: z.ZodNullable<z.ZodString>;
|
|
441
|
+
readonly focus: z.ZodNullable<z.ZodString>;
|
|
442
|
+
readonly dimension: z.ZodNullable<z.ZodString>;
|
|
443
|
+
readonly urgent: z.ZodBoolean;
|
|
444
|
+
readonly impact: z.ZodNullable<z.ZodNumber>;
|
|
445
|
+
readonly actionId: z.ZodNullable<z.ZodString>;
|
|
446
|
+
readonly citedProofKey: z.ZodNullable<z.ZodString>;
|
|
447
|
+
}, z.core.$strip>>;
|
|
448
|
+
export declare const siteStatusChangeSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
449
|
+
readonly kind: z.ZodString;
|
|
450
|
+
readonly source: z.ZodNullable<z.ZodString>;
|
|
451
|
+
readonly label: z.ZodString;
|
|
452
|
+
readonly direction: z.ZodEnum<{
|
|
453
|
+
down: "down";
|
|
454
|
+
flat: "flat";
|
|
455
|
+
up: "up";
|
|
456
|
+
}>;
|
|
457
|
+
readonly value: z.ZodNullable<z.ZodString>;
|
|
458
|
+
readonly deltaPct: z.ZodNullable<z.ZodNumber>;
|
|
459
|
+
readonly window: z.ZodNullable<z.ZodString>;
|
|
460
|
+
readonly meaning: z.ZodNullable<z.ZodString>;
|
|
461
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
462
|
+
readonly kind: z.ZodString;
|
|
463
|
+
readonly source: z.ZodNullable<z.ZodString>;
|
|
464
|
+
readonly label: z.ZodString;
|
|
465
|
+
readonly direction: z.ZodEnum<{
|
|
466
|
+
down: "down";
|
|
467
|
+
flat: "flat";
|
|
468
|
+
up: "up";
|
|
469
|
+
}>;
|
|
470
|
+
readonly value: z.ZodNullable<z.ZodString>;
|
|
471
|
+
readonly deltaPct: z.ZodNullable<z.ZodNumber>;
|
|
472
|
+
readonly window: z.ZodNullable<z.ZodString>;
|
|
473
|
+
readonly meaning: z.ZodNullable<z.ZodString>;
|
|
474
|
+
}, z.core.$strip>>;
|
|
475
|
+
export declare const siteStatusReceiptSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
476
|
+
readonly actionId: z.ZodString;
|
|
477
|
+
readonly title: z.ZodString;
|
|
478
|
+
readonly outcome: z.ZodString;
|
|
479
|
+
readonly observedAt: z.ZodString;
|
|
480
|
+
readonly note: z.ZodNullable<z.ZodString>;
|
|
481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
482
|
+
readonly actionId: z.ZodString;
|
|
483
|
+
readonly title: z.ZodString;
|
|
484
|
+
readonly outcome: z.ZodString;
|
|
485
|
+
readonly observedAt: z.ZodString;
|
|
486
|
+
readonly note: z.ZodNullable<z.ZodString>;
|
|
487
|
+
}, z.core.$strip>>;
|
|
488
|
+
export declare const siteStatusDataSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
489
|
+
readonly site: z.ZodString;
|
|
490
|
+
readonly available: z.ZodBoolean;
|
|
491
|
+
readonly message: z.ZodNullable<z.ZodString>;
|
|
492
|
+
readonly assessment: z.ZodNullable<z.ZodObject<{
|
|
493
|
+
readonly reachStage: z.ZodNullable<z.ZodString>;
|
|
494
|
+
readonly healthStage: z.ZodNullable<z.ZodString>;
|
|
495
|
+
readonly headlineAxis: z.ZodNullable<z.ZodString>;
|
|
496
|
+
readonly summary: z.ZodString;
|
|
497
|
+
readonly recommendation: z.ZodString;
|
|
498
|
+
readonly assessedAt: z.ZodNullable<z.ZodString>;
|
|
499
|
+
}, z.core.$strip>>;
|
|
500
|
+
readonly nextAction: z.ZodNullable<z.ZodObject<{
|
|
501
|
+
readonly kind: z.ZodEnum<{
|
|
502
|
+
action: "action";
|
|
503
|
+
connect: "connect";
|
|
504
|
+
dimension: "dimension";
|
|
505
|
+
}>;
|
|
506
|
+
readonly label: z.ZodString;
|
|
507
|
+
readonly detail: z.ZodNullable<z.ZodString>;
|
|
508
|
+
readonly focus: z.ZodNullable<z.ZodString>;
|
|
509
|
+
readonly dimension: z.ZodNullable<z.ZodString>;
|
|
510
|
+
readonly urgent: z.ZodBoolean;
|
|
511
|
+
/** Organic traffic at stake, the ranking magnitude. GLOSSARY: Impact. */
|
|
512
|
+
readonly impact: z.ZodNullable<z.ZodNumber>;
|
|
513
|
+
readonly actionId: z.ZodNullable<z.ZodString>;
|
|
514
|
+
readonly citedProofKey: z.ZodNullable<z.ZodString>;
|
|
515
|
+
}, z.core.$strip>>;
|
|
516
|
+
readonly dataQuality: z.ZodObject<{
|
|
517
|
+
status: z.ZodEnum<{
|
|
518
|
+
complete: "complete";
|
|
519
|
+
degraded: "degraded";
|
|
520
|
+
unavailable: "unavailable";
|
|
521
|
+
}>;
|
|
522
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
523
|
+
unavailableProofs: z.ZodArray<z.ZodString>;
|
|
524
|
+
}, z.core.$strict>;
|
|
525
|
+
readonly openCount: z.ZodNumber;
|
|
526
|
+
readonly verifiedCount: z.ZodNumber;
|
|
527
|
+
readonly counts: z.ZodObject<{
|
|
528
|
+
open: z.ZodNumber;
|
|
529
|
+
inProgress: z.ZodNumber;
|
|
530
|
+
shipped: z.ZodNumber;
|
|
531
|
+
landed: z.ZodNumber;
|
|
532
|
+
noEffect: z.ZodNumber;
|
|
533
|
+
}, z.core.$strict>;
|
|
534
|
+
readonly degradedSteps: z.ZodArray<z.ZodString>;
|
|
535
|
+
readonly changes: z.ZodArray<z.ZodObject<{
|
|
536
|
+
readonly kind: z.ZodString;
|
|
537
|
+
readonly source: z.ZodNullable<z.ZodString>;
|
|
538
|
+
readonly label: z.ZodString;
|
|
539
|
+
readonly direction: z.ZodEnum<{
|
|
540
|
+
down: "down";
|
|
541
|
+
flat: "flat";
|
|
542
|
+
up: "up";
|
|
543
|
+
}>;
|
|
544
|
+
readonly value: z.ZodNullable<z.ZodString>;
|
|
545
|
+
readonly deltaPct: z.ZodNullable<z.ZodNumber>;
|
|
546
|
+
readonly window: z.ZodNullable<z.ZodString>;
|
|
547
|
+
readonly meaning: z.ZodNullable<z.ZodString>;
|
|
548
|
+
}, z.core.$strip>>;
|
|
549
|
+
readonly receipts: z.ZodArray<z.ZodObject<{
|
|
550
|
+
readonly actionId: z.ZodString;
|
|
551
|
+
readonly title: z.ZodString;
|
|
552
|
+
readonly outcome: z.ZodString;
|
|
553
|
+
readonly observedAt: z.ZodString;
|
|
554
|
+
readonly note: z.ZodNullable<z.ZodString>;
|
|
555
|
+
}, z.core.$strip>>;
|
|
556
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
557
|
+
readonly site: z.ZodString;
|
|
558
|
+
readonly available: z.ZodBoolean;
|
|
559
|
+
readonly message: z.ZodNullable<z.ZodString>;
|
|
560
|
+
readonly assessment: z.ZodNullable<z.ZodObject<{
|
|
561
|
+
readonly reachStage: z.ZodNullable<z.ZodString>;
|
|
562
|
+
readonly healthStage: z.ZodNullable<z.ZodString>;
|
|
563
|
+
readonly headlineAxis: z.ZodNullable<z.ZodString>;
|
|
564
|
+
readonly summary: z.ZodString;
|
|
565
|
+
readonly recommendation: z.ZodString;
|
|
566
|
+
readonly assessedAt: z.ZodNullable<z.ZodString>;
|
|
567
|
+
}, z.core.$strip>>;
|
|
568
|
+
readonly nextAction: z.ZodNullable<z.ZodObject<{
|
|
569
|
+
readonly kind: z.ZodEnum<{
|
|
570
|
+
action: "action";
|
|
571
|
+
connect: "connect";
|
|
572
|
+
dimension: "dimension";
|
|
573
|
+
}>;
|
|
574
|
+
readonly label: z.ZodString;
|
|
575
|
+
readonly detail: z.ZodNullable<z.ZodString>;
|
|
576
|
+
readonly focus: z.ZodNullable<z.ZodString>;
|
|
577
|
+
readonly dimension: z.ZodNullable<z.ZodString>;
|
|
578
|
+
readonly urgent: z.ZodBoolean;
|
|
579
|
+
readonly impact: z.ZodNullable<z.ZodNumber>;
|
|
580
|
+
readonly actionId: z.ZodNullable<z.ZodString>;
|
|
581
|
+
readonly citedProofKey: z.ZodNullable<z.ZodString>;
|
|
582
|
+
}, z.core.$strip>>;
|
|
583
|
+
readonly dataQuality: z.ZodObject<{
|
|
584
|
+
status: z.ZodEnum<{
|
|
585
|
+
complete: "complete";
|
|
586
|
+
degraded: "degraded";
|
|
587
|
+
unavailable: "unavailable";
|
|
588
|
+
}>;
|
|
589
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
590
|
+
unavailableProofs: z.ZodArray<z.ZodString>;
|
|
591
|
+
}, z.core.$loose>;
|
|
592
|
+
readonly openCount: z.ZodNumber;
|
|
593
|
+
readonly verifiedCount: z.ZodNumber;
|
|
594
|
+
readonly counts: z.ZodObject<{
|
|
595
|
+
open: z.ZodNumber;
|
|
596
|
+
inProgress: z.ZodNumber;
|
|
597
|
+
shipped: z.ZodNumber;
|
|
598
|
+
landed: z.ZodNumber;
|
|
599
|
+
noEffect: z.ZodNumber;
|
|
600
|
+
}, z.core.$loose>;
|
|
601
|
+
readonly degradedSteps: z.ZodArray<z.ZodString>;
|
|
602
|
+
readonly changes: z.ZodArray<z.ZodObject<{
|
|
603
|
+
readonly kind: z.ZodString;
|
|
604
|
+
readonly source: z.ZodNullable<z.ZodString>;
|
|
605
|
+
readonly label: z.ZodString;
|
|
606
|
+
readonly direction: z.ZodEnum<{
|
|
607
|
+
down: "down";
|
|
608
|
+
flat: "flat";
|
|
609
|
+
up: "up";
|
|
610
|
+
}>;
|
|
611
|
+
readonly value: z.ZodNullable<z.ZodString>;
|
|
612
|
+
readonly deltaPct: z.ZodNullable<z.ZodNumber>;
|
|
613
|
+
readonly window: z.ZodNullable<z.ZodString>;
|
|
614
|
+
readonly meaning: z.ZodNullable<z.ZodString>;
|
|
615
|
+
}, z.core.$strip>>;
|
|
616
|
+
readonly receipts: z.ZodArray<z.ZodObject<{
|
|
617
|
+
readonly actionId: z.ZodString;
|
|
618
|
+
readonly title: z.ZodString;
|
|
619
|
+
readonly outcome: z.ZodString;
|
|
620
|
+
readonly observedAt: z.ZodString;
|
|
621
|
+
readonly note: z.ZodNullable<z.ZodString>;
|
|
622
|
+
}, z.core.$strip>>;
|
|
623
|
+
}, z.core.$strip>>;
|
|
624
|
+
export declare const siteStatusResponseSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
625
|
+
data: z.ZodObject<{
|
|
626
|
+
readonly site: z.ZodString;
|
|
627
|
+
readonly available: z.ZodBoolean;
|
|
628
|
+
readonly message: z.ZodNullable<z.ZodString>;
|
|
629
|
+
readonly assessment: z.ZodNullable<z.ZodObject<{
|
|
630
|
+
readonly reachStage: z.ZodNullable<z.ZodString>;
|
|
631
|
+
readonly healthStage: z.ZodNullable<z.ZodString>;
|
|
632
|
+
readonly headlineAxis: z.ZodNullable<z.ZodString>;
|
|
633
|
+
readonly summary: z.ZodString;
|
|
634
|
+
readonly recommendation: z.ZodString;
|
|
635
|
+
readonly assessedAt: z.ZodNullable<z.ZodString>;
|
|
636
|
+
}, z.core.$strip>>;
|
|
637
|
+
readonly nextAction: z.ZodNullable<z.ZodObject<{
|
|
638
|
+
readonly kind: z.ZodEnum<{
|
|
639
|
+
action: "action";
|
|
640
|
+
connect: "connect";
|
|
641
|
+
dimension: "dimension";
|
|
642
|
+
}>;
|
|
643
|
+
readonly label: z.ZodString;
|
|
644
|
+
readonly detail: z.ZodNullable<z.ZodString>;
|
|
645
|
+
readonly focus: z.ZodNullable<z.ZodString>;
|
|
646
|
+
readonly dimension: z.ZodNullable<z.ZodString>;
|
|
647
|
+
readonly urgent: z.ZodBoolean;
|
|
648
|
+
/** Organic traffic at stake, the ranking magnitude. GLOSSARY: Impact. */
|
|
649
|
+
readonly impact: z.ZodNullable<z.ZodNumber>;
|
|
650
|
+
readonly actionId: z.ZodNullable<z.ZodString>;
|
|
651
|
+
readonly citedProofKey: z.ZodNullable<z.ZodString>;
|
|
652
|
+
}, z.core.$strip>>;
|
|
653
|
+
readonly dataQuality: z.ZodObject<{
|
|
654
|
+
status: z.ZodEnum<{
|
|
655
|
+
complete: "complete";
|
|
656
|
+
degraded: "degraded";
|
|
657
|
+
unavailable: "unavailable";
|
|
658
|
+
}>;
|
|
659
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
660
|
+
unavailableProofs: z.ZodArray<z.ZodString>;
|
|
661
|
+
}, z.core.$strict>;
|
|
662
|
+
readonly openCount: z.ZodNumber;
|
|
663
|
+
readonly verifiedCount: z.ZodNumber;
|
|
664
|
+
readonly counts: z.ZodObject<{
|
|
665
|
+
open: z.ZodNumber;
|
|
666
|
+
inProgress: z.ZodNumber;
|
|
667
|
+
shipped: z.ZodNumber;
|
|
668
|
+
landed: z.ZodNumber;
|
|
669
|
+
noEffect: z.ZodNumber;
|
|
670
|
+
}, z.core.$strict>;
|
|
671
|
+
readonly degradedSteps: z.ZodArray<z.ZodString>;
|
|
672
|
+
readonly changes: z.ZodArray<z.ZodObject<{
|
|
673
|
+
readonly kind: z.ZodString;
|
|
674
|
+
readonly source: z.ZodNullable<z.ZodString>;
|
|
675
|
+
readonly label: z.ZodString;
|
|
676
|
+
readonly direction: z.ZodEnum<{
|
|
677
|
+
down: "down";
|
|
678
|
+
flat: "flat";
|
|
679
|
+
up: "up";
|
|
680
|
+
}>;
|
|
681
|
+
readonly value: z.ZodNullable<z.ZodString>;
|
|
682
|
+
readonly deltaPct: z.ZodNullable<z.ZodNumber>;
|
|
683
|
+
readonly window: z.ZodNullable<z.ZodString>;
|
|
684
|
+
readonly meaning: z.ZodNullable<z.ZodString>;
|
|
685
|
+
}, z.core.$strip>>;
|
|
686
|
+
readonly receipts: z.ZodArray<z.ZodObject<{
|
|
687
|
+
readonly actionId: z.ZodString;
|
|
688
|
+
readonly title: z.ZodString;
|
|
689
|
+
readonly outcome: z.ZodString;
|
|
690
|
+
readonly observedAt: z.ZodString;
|
|
691
|
+
readonly note: z.ZodNullable<z.ZodString>;
|
|
692
|
+
}, z.core.$strip>>;
|
|
693
|
+
}, z.core.$strip>;
|
|
694
|
+
meta: z.ZodObject<{
|
|
695
|
+
requestId: z.ZodString;
|
|
696
|
+
version: z.ZodLiteral<"1.0">;
|
|
697
|
+
}, z.core.$strict>;
|
|
698
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
699
|
+
data: z.ZodObject<{
|
|
700
|
+
readonly site: z.ZodString;
|
|
701
|
+
readonly available: z.ZodBoolean;
|
|
702
|
+
readonly message: z.ZodNullable<z.ZodString>;
|
|
703
|
+
readonly assessment: z.ZodNullable<z.ZodObject<{
|
|
704
|
+
readonly reachStage: z.ZodNullable<z.ZodString>;
|
|
705
|
+
readonly healthStage: z.ZodNullable<z.ZodString>;
|
|
706
|
+
readonly headlineAxis: z.ZodNullable<z.ZodString>;
|
|
707
|
+
readonly summary: z.ZodString;
|
|
708
|
+
readonly recommendation: z.ZodString;
|
|
709
|
+
readonly assessedAt: z.ZodNullable<z.ZodString>;
|
|
710
|
+
}, z.core.$strip>>;
|
|
711
|
+
readonly nextAction: z.ZodNullable<z.ZodObject<{
|
|
712
|
+
readonly kind: z.ZodEnum<{
|
|
713
|
+
action: "action";
|
|
714
|
+
connect: "connect";
|
|
715
|
+
dimension: "dimension";
|
|
716
|
+
}>;
|
|
717
|
+
readonly label: z.ZodString;
|
|
718
|
+
readonly detail: z.ZodNullable<z.ZodString>;
|
|
719
|
+
readonly focus: z.ZodNullable<z.ZodString>;
|
|
720
|
+
readonly dimension: z.ZodNullable<z.ZodString>;
|
|
721
|
+
readonly urgent: z.ZodBoolean;
|
|
722
|
+
readonly impact: z.ZodNullable<z.ZodNumber>;
|
|
723
|
+
readonly actionId: z.ZodNullable<z.ZodString>;
|
|
724
|
+
readonly citedProofKey: z.ZodNullable<z.ZodString>;
|
|
725
|
+
}, z.core.$strip>>;
|
|
726
|
+
readonly dataQuality: z.ZodObject<{
|
|
727
|
+
status: z.ZodEnum<{
|
|
728
|
+
complete: "complete";
|
|
729
|
+
degraded: "degraded";
|
|
730
|
+
unavailable: "unavailable";
|
|
731
|
+
}>;
|
|
732
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
733
|
+
unavailableProofs: z.ZodArray<z.ZodString>;
|
|
734
|
+
}, z.core.$loose>;
|
|
735
|
+
readonly openCount: z.ZodNumber;
|
|
736
|
+
readonly verifiedCount: z.ZodNumber;
|
|
737
|
+
readonly counts: z.ZodObject<{
|
|
738
|
+
open: z.ZodNumber;
|
|
739
|
+
inProgress: z.ZodNumber;
|
|
740
|
+
shipped: z.ZodNumber;
|
|
741
|
+
landed: z.ZodNumber;
|
|
742
|
+
noEffect: z.ZodNumber;
|
|
743
|
+
}, z.core.$loose>;
|
|
744
|
+
readonly degradedSteps: z.ZodArray<z.ZodString>;
|
|
745
|
+
readonly changes: z.ZodArray<z.ZodObject<{
|
|
746
|
+
readonly kind: z.ZodString;
|
|
747
|
+
readonly source: z.ZodNullable<z.ZodString>;
|
|
748
|
+
readonly label: z.ZodString;
|
|
749
|
+
readonly direction: z.ZodEnum<{
|
|
750
|
+
down: "down";
|
|
751
|
+
flat: "flat";
|
|
752
|
+
up: "up";
|
|
753
|
+
}>;
|
|
754
|
+
readonly value: z.ZodNullable<z.ZodString>;
|
|
755
|
+
readonly deltaPct: z.ZodNullable<z.ZodNumber>;
|
|
756
|
+
readonly window: z.ZodNullable<z.ZodString>;
|
|
757
|
+
readonly meaning: z.ZodNullable<z.ZodString>;
|
|
758
|
+
}, z.core.$strip>>;
|
|
759
|
+
readonly receipts: z.ZodArray<z.ZodObject<{
|
|
760
|
+
readonly actionId: z.ZodString;
|
|
761
|
+
readonly title: z.ZodString;
|
|
762
|
+
readonly outcome: z.ZodString;
|
|
763
|
+
readonly observedAt: z.ZodString;
|
|
764
|
+
readonly note: z.ZodNullable<z.ZodString>;
|
|
765
|
+
}, z.core.$strip>>;
|
|
766
|
+
}, z.core.$strip>;
|
|
767
|
+
meta: z.ZodObject<{
|
|
768
|
+
requestId: z.ZodString;
|
|
769
|
+
version: z.ZodLiteral<"1.0">;
|
|
770
|
+
}, z.core.$loose>;
|
|
771
|
+
}, z.core.$strip>>;
|
|
772
|
+
export type SiteStatus = z.output<typeof siteStatusDataSchema.producer>;
|
|
773
|
+
export declare const siteStatusOperation: {
|
|
774
|
+
readonly id: 'sites.status';
|
|
775
|
+
readonly method: 'GET';
|
|
776
|
+
readonly path: '/api/v1/sites/{siteId}/status';
|
|
777
|
+
readonly visibility: 'public';
|
|
778
|
+
readonly semantics: {
|
|
779
|
+
readonly kind: 'query';
|
|
780
|
+
readonly sideEffects: 'none';
|
|
781
|
+
readonly retry: 'idempotent';
|
|
782
|
+
readonly readConsistency: 'primary';
|
|
783
|
+
};
|
|
784
|
+
readonly auth: {
|
|
785
|
+
readonly credentials: readonly ["session", "api_token"];
|
|
786
|
+
readonly scopes: readonly ["sites:read"];
|
|
787
|
+
readonly minimumRole: 'viewer';
|
|
788
|
+
readonly ownership: 'site';
|
|
789
|
+
};
|
|
790
|
+
readonly request: {
|
|
791
|
+
readonly params: z.ZodObject<{
|
|
792
|
+
siteId: z.ZodString;
|
|
793
|
+
}, z.core.$strict>;
|
|
794
|
+
readonly query: null;
|
|
795
|
+
readonly headers: null;
|
|
796
|
+
readonly body: null;
|
|
797
|
+
};
|
|
798
|
+
readonly responses: {
|
|
799
|
+
readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
800
|
+
data: z.ZodObject<{
|
|
801
|
+
readonly site: z.ZodString;
|
|
802
|
+
readonly available: z.ZodBoolean;
|
|
803
|
+
readonly message: z.ZodNullable<z.ZodString>;
|
|
804
|
+
readonly assessment: z.ZodNullable<z.ZodObject<{
|
|
805
|
+
readonly reachStage: z.ZodNullable<z.ZodString>;
|
|
806
|
+
readonly healthStage: z.ZodNullable<z.ZodString>;
|
|
807
|
+
readonly headlineAxis: z.ZodNullable<z.ZodString>;
|
|
808
|
+
readonly summary: z.ZodString;
|
|
809
|
+
readonly recommendation: z.ZodString;
|
|
810
|
+
readonly assessedAt: z.ZodNullable<z.ZodString>;
|
|
811
|
+
}, z.core.$strip>>;
|
|
812
|
+
readonly nextAction: z.ZodNullable<z.ZodObject<{
|
|
813
|
+
readonly kind: z.ZodEnum<{
|
|
814
|
+
action: "action";
|
|
815
|
+
connect: "connect";
|
|
816
|
+
dimension: "dimension";
|
|
817
|
+
}>;
|
|
818
|
+
readonly label: z.ZodString;
|
|
819
|
+
readonly detail: z.ZodNullable<z.ZodString>;
|
|
820
|
+
readonly focus: z.ZodNullable<z.ZodString>;
|
|
821
|
+
readonly dimension: z.ZodNullable<z.ZodString>;
|
|
822
|
+
readonly urgent: z.ZodBoolean;
|
|
823
|
+
/** Organic traffic at stake, the ranking magnitude. GLOSSARY: Impact. */
|
|
824
|
+
readonly impact: z.ZodNullable<z.ZodNumber>;
|
|
825
|
+
readonly actionId: z.ZodNullable<z.ZodString>;
|
|
826
|
+
readonly citedProofKey: z.ZodNullable<z.ZodString>;
|
|
827
|
+
}, z.core.$strip>>;
|
|
828
|
+
readonly dataQuality: z.ZodObject<{
|
|
829
|
+
status: z.ZodEnum<{
|
|
830
|
+
complete: "complete";
|
|
831
|
+
degraded: "degraded";
|
|
832
|
+
unavailable: "unavailable";
|
|
833
|
+
}>;
|
|
834
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
835
|
+
unavailableProofs: z.ZodArray<z.ZodString>;
|
|
836
|
+
}, z.core.$strict>;
|
|
837
|
+
readonly openCount: z.ZodNumber;
|
|
838
|
+
readonly verifiedCount: z.ZodNumber;
|
|
839
|
+
readonly counts: z.ZodObject<{
|
|
840
|
+
open: z.ZodNumber;
|
|
841
|
+
inProgress: z.ZodNumber;
|
|
842
|
+
shipped: z.ZodNumber;
|
|
843
|
+
landed: z.ZodNumber;
|
|
844
|
+
noEffect: z.ZodNumber;
|
|
845
|
+
}, z.core.$strict>;
|
|
846
|
+
readonly degradedSteps: z.ZodArray<z.ZodString>;
|
|
847
|
+
readonly changes: z.ZodArray<z.ZodObject<{
|
|
848
|
+
readonly kind: z.ZodString;
|
|
849
|
+
readonly source: z.ZodNullable<z.ZodString>;
|
|
850
|
+
readonly label: z.ZodString;
|
|
851
|
+
readonly direction: z.ZodEnum<{
|
|
852
|
+
down: "down";
|
|
853
|
+
flat: "flat";
|
|
854
|
+
up: "up";
|
|
855
|
+
}>;
|
|
856
|
+
readonly value: z.ZodNullable<z.ZodString>;
|
|
857
|
+
readonly deltaPct: z.ZodNullable<z.ZodNumber>;
|
|
858
|
+
readonly window: z.ZodNullable<z.ZodString>;
|
|
859
|
+
readonly meaning: z.ZodNullable<z.ZodString>;
|
|
860
|
+
}, z.core.$strip>>;
|
|
861
|
+
readonly receipts: z.ZodArray<z.ZodObject<{
|
|
862
|
+
readonly actionId: z.ZodString;
|
|
863
|
+
readonly title: z.ZodString;
|
|
864
|
+
readonly outcome: z.ZodString;
|
|
865
|
+
readonly observedAt: z.ZodString;
|
|
866
|
+
readonly note: z.ZodNullable<z.ZodString>;
|
|
867
|
+
}, z.core.$strip>>;
|
|
868
|
+
}, z.core.$strip>;
|
|
869
|
+
meta: z.ZodObject<{
|
|
870
|
+
requestId: z.ZodString;
|
|
871
|
+
version: z.ZodLiteral<"1.0">;
|
|
872
|
+
}, z.core.$strict>;
|
|
873
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
874
|
+
data: z.ZodObject<{
|
|
875
|
+
readonly site: z.ZodString;
|
|
876
|
+
readonly available: z.ZodBoolean;
|
|
877
|
+
readonly message: z.ZodNullable<z.ZodString>;
|
|
878
|
+
readonly assessment: z.ZodNullable<z.ZodObject<{
|
|
879
|
+
readonly reachStage: z.ZodNullable<z.ZodString>;
|
|
880
|
+
readonly healthStage: z.ZodNullable<z.ZodString>;
|
|
881
|
+
readonly headlineAxis: z.ZodNullable<z.ZodString>;
|
|
882
|
+
readonly summary: z.ZodString;
|
|
883
|
+
readonly recommendation: z.ZodString;
|
|
884
|
+
readonly assessedAt: z.ZodNullable<z.ZodString>;
|
|
885
|
+
}, z.core.$strip>>;
|
|
886
|
+
readonly nextAction: z.ZodNullable<z.ZodObject<{
|
|
887
|
+
readonly kind: z.ZodEnum<{
|
|
888
|
+
action: "action";
|
|
889
|
+
connect: "connect";
|
|
890
|
+
dimension: "dimension";
|
|
891
|
+
}>;
|
|
892
|
+
readonly label: z.ZodString;
|
|
893
|
+
readonly detail: z.ZodNullable<z.ZodString>;
|
|
894
|
+
readonly focus: z.ZodNullable<z.ZodString>;
|
|
895
|
+
readonly dimension: z.ZodNullable<z.ZodString>;
|
|
896
|
+
readonly urgent: z.ZodBoolean;
|
|
897
|
+
readonly impact: z.ZodNullable<z.ZodNumber>;
|
|
898
|
+
readonly actionId: z.ZodNullable<z.ZodString>;
|
|
899
|
+
readonly citedProofKey: z.ZodNullable<z.ZodString>;
|
|
900
|
+
}, z.core.$strip>>;
|
|
901
|
+
readonly dataQuality: z.ZodObject<{
|
|
902
|
+
status: z.ZodEnum<{
|
|
903
|
+
complete: "complete";
|
|
904
|
+
degraded: "degraded";
|
|
905
|
+
unavailable: "unavailable";
|
|
906
|
+
}>;
|
|
907
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
908
|
+
unavailableProofs: z.ZodArray<z.ZodString>;
|
|
909
|
+
}, z.core.$loose>;
|
|
910
|
+
readonly openCount: z.ZodNumber;
|
|
911
|
+
readonly verifiedCount: z.ZodNumber;
|
|
912
|
+
readonly counts: z.ZodObject<{
|
|
913
|
+
open: z.ZodNumber;
|
|
914
|
+
inProgress: z.ZodNumber;
|
|
915
|
+
shipped: z.ZodNumber;
|
|
916
|
+
landed: z.ZodNumber;
|
|
917
|
+
noEffect: z.ZodNumber;
|
|
918
|
+
}, z.core.$loose>;
|
|
919
|
+
readonly degradedSteps: z.ZodArray<z.ZodString>;
|
|
920
|
+
readonly changes: z.ZodArray<z.ZodObject<{
|
|
921
|
+
readonly kind: z.ZodString;
|
|
922
|
+
readonly source: z.ZodNullable<z.ZodString>;
|
|
923
|
+
readonly label: z.ZodString;
|
|
924
|
+
readonly direction: z.ZodEnum<{
|
|
925
|
+
down: "down";
|
|
926
|
+
flat: "flat";
|
|
927
|
+
up: "up";
|
|
928
|
+
}>;
|
|
929
|
+
readonly value: z.ZodNullable<z.ZodString>;
|
|
930
|
+
readonly deltaPct: z.ZodNullable<z.ZodNumber>;
|
|
931
|
+
readonly window: z.ZodNullable<z.ZodString>;
|
|
932
|
+
readonly meaning: z.ZodNullable<z.ZodString>;
|
|
933
|
+
}, z.core.$strip>>;
|
|
934
|
+
readonly receipts: z.ZodArray<z.ZodObject<{
|
|
935
|
+
readonly actionId: z.ZodString;
|
|
936
|
+
readonly title: z.ZodString;
|
|
937
|
+
readonly outcome: z.ZodString;
|
|
938
|
+
readonly observedAt: z.ZodString;
|
|
939
|
+
readonly note: z.ZodNullable<z.ZodString>;
|
|
940
|
+
}, z.core.$strip>>;
|
|
941
|
+
}, z.core.$strip>;
|
|
942
|
+
meta: z.ZodObject<{
|
|
943
|
+
requestId: z.ZodString;
|
|
944
|
+
version: z.ZodLiteral<"1.0">;
|
|
945
|
+
}, z.core.$loose>;
|
|
946
|
+
}, z.core.$strip>>;
|
|
947
|
+
};
|
|
948
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "entitlement_required", "conflict", "not_found", "rate_limited", "contract_violation", "internal_error"];
|
|
949
|
+
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
950
|
+
readonly error: z.ZodObject<{
|
|
951
|
+
code: z.ZodEnum<{
|
|
952
|
+
auth_expired: "auth_expired";
|
|
953
|
+
conflict: "conflict";
|
|
954
|
+
contract_violation: "contract_violation";
|
|
955
|
+
entitlement_required: "entitlement_required";
|
|
956
|
+
forbidden: "forbidden";
|
|
957
|
+
internal_error: "internal_error";
|
|
958
|
+
invalid_request: "invalid_request";
|
|
959
|
+
not_found: "not_found";
|
|
960
|
+
provider_unavailable: "provider_unavailable";
|
|
961
|
+
quota_exhausted: "quota_exhausted";
|
|
962
|
+
rate_limited: "rate_limited";
|
|
963
|
+
site_ambiguous: "site_ambiguous";
|
|
964
|
+
stale_evidence: "stale_evidence";
|
|
965
|
+
unauthorized: "unauthorized";
|
|
966
|
+
}>;
|
|
967
|
+
message: z.ZodString;
|
|
968
|
+
requestId: z.ZodString;
|
|
969
|
+
retryable: z.ZodBoolean;
|
|
970
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
971
|
+
}, z.core.$strict>;
|
|
972
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
973
|
+
readonly error: z.ZodObject<{
|
|
974
|
+
code: z.ZodEnum<{
|
|
975
|
+
auth_expired: "auth_expired";
|
|
976
|
+
conflict: "conflict";
|
|
977
|
+
contract_violation: "contract_violation";
|
|
978
|
+
entitlement_required: "entitlement_required";
|
|
979
|
+
forbidden: "forbidden";
|
|
980
|
+
internal_error: "internal_error";
|
|
981
|
+
invalid_request: "invalid_request";
|
|
982
|
+
not_found: "not_found";
|
|
983
|
+
provider_unavailable: "provider_unavailable";
|
|
984
|
+
quota_exhausted: "quota_exhausted";
|
|
985
|
+
rate_limited: "rate_limited";
|
|
986
|
+
site_ambiguous: "site_ambiguous";
|
|
987
|
+
stale_evidence: "stale_evidence";
|
|
988
|
+
unauthorized: "unauthorized";
|
|
989
|
+
}>;
|
|
990
|
+
message: z.ZodString;
|
|
991
|
+
requestId: z.ZodString;
|
|
992
|
+
retryable: z.ZodBoolean;
|
|
993
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
994
|
+
}, z.core.$loose>;
|
|
995
|
+
}, z.core.$strip>>;
|
|
996
|
+
readonly resources: {
|
|
997
|
+
readonly reads: readonly [{
|
|
998
|
+
readonly type: 'site.actions';
|
|
999
|
+
readonly idFrom: 'params.siteId';
|
|
1000
|
+
}];
|
|
1001
|
+
readonly changes: readonly [];
|
|
1002
|
+
};
|
|
1003
|
+
readonly policy: {
|
|
1004
|
+
readonly rate: {
|
|
1005
|
+
readonly name: 'public-v1-fixed-window';
|
|
1006
|
+
readonly limit: 50;
|
|
1007
|
+
readonly windowSeconds: 60;
|
|
1008
|
+
};
|
|
1009
|
+
readonly idempotency: {
|
|
1010
|
+
readonly _tag: 'none';
|
|
1011
|
+
};
|
|
1012
|
+
readonly entitlement: null;
|
|
1013
|
+
readonly meter: null;
|
|
1014
|
+
};
|
|
1015
|
+
readonly lifecycle: {
|
|
1016
|
+
readonly introduced: '1.2.0';
|
|
1017
|
+
};
|
|
1018
|
+
readonly docs: {
|
|
1019
|
+
readonly summary: 'Get Site status';
|
|
1020
|
+
readonly description: 'Returns the current assessment for one Site: the verdict, the single ranked Next Action, open and verified counts, the pipeline steps that degraded on the last run, recent changes, and recent Receipts. `available: false` means the first assessment has not run yet. Start here before listing Actions.';
|
|
1021
|
+
readonly tags: readonly ["Sites"];
|
|
1022
|
+
readonly examples: readonly [{
|
|
1023
|
+
readonly request: {
|
|
1024
|
+
readonly params: {
|
|
1025
|
+
readonly siteId: 'site_01JXYZ';
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
readonly response: {
|
|
1029
|
+
readonly status: 200;
|
|
1030
|
+
readonly body: {
|
|
1031
|
+
readonly data: {
|
|
1032
|
+
readonly site: 'https://example.com';
|
|
1033
|
+
readonly available: true;
|
|
1034
|
+
readonly message: null;
|
|
1035
|
+
readonly assessment: {
|
|
1036
|
+
readonly reachStage: 'growing';
|
|
1037
|
+
readonly healthStage: 'at-risk';
|
|
1038
|
+
readonly headlineAxis: 'health';
|
|
1039
|
+
readonly summary: 'Indexing is slipping on the docs template.';
|
|
1040
|
+
readonly recommendation: 'Fix the canonical tag on /docs pages.';
|
|
1041
|
+
readonly assessedAt: '2026-09-04T02:00:00.000Z';
|
|
1042
|
+
};
|
|
1043
|
+
readonly nextAction: {
|
|
1044
|
+
readonly kind: 'action';
|
|
1045
|
+
readonly label: 'Fix indexing';
|
|
1046
|
+
readonly detail: 'Repair the canonical tag on 42 /docs pages';
|
|
1047
|
+
readonly focus: 'protect';
|
|
1048
|
+
readonly dimension: 'indexing';
|
|
1049
|
+
readonly urgent: true;
|
|
1050
|
+
readonly impact: 1840;
|
|
1051
|
+
readonly actionId: 'act_01JXYZ';
|
|
1052
|
+
readonly citedProofKey: 'gsc.indexState';
|
|
1053
|
+
};
|
|
1054
|
+
readonly dataQuality: {
|
|
1055
|
+
readonly status: 'complete';
|
|
1056
|
+
readonly reason: null;
|
|
1057
|
+
readonly unavailableProofs: readonly [];
|
|
1058
|
+
};
|
|
1059
|
+
readonly openCount: 7;
|
|
1060
|
+
readonly verifiedCount: 3;
|
|
1061
|
+
readonly counts: {
|
|
1062
|
+
readonly open: 5;
|
|
1063
|
+
readonly inProgress: 2;
|
|
1064
|
+
readonly shipped: 3;
|
|
1065
|
+
readonly landed: 0;
|
|
1066
|
+
readonly noEffect: 0;
|
|
1067
|
+
};
|
|
1068
|
+
readonly degradedSteps: readonly [];
|
|
1069
|
+
readonly changes: readonly [{
|
|
1070
|
+
readonly kind: 'indexing';
|
|
1071
|
+
readonly source: 'gsc';
|
|
1072
|
+
readonly label: 'Not-indexed pages rose to 42';
|
|
1073
|
+
readonly direction: 'up';
|
|
1074
|
+
readonly value: '42 pages';
|
|
1075
|
+
readonly deltaPct: 18.5;
|
|
1076
|
+
readonly window: '28d';
|
|
1077
|
+
readonly meaning: 'Google is declining more of this Site than last month.';
|
|
1078
|
+
}];
|
|
1079
|
+
readonly receipts: readonly [{
|
|
1080
|
+
readonly actionId: 'act_01JXYA';
|
|
1081
|
+
readonly title: 'Fixed: broken internal links in /guides';
|
|
1082
|
+
readonly outcome: 'verified';
|
|
1083
|
+
readonly observedAt: '2026-08-30';
|
|
1084
|
+
readonly note: null;
|
|
1085
|
+
}];
|
|
1086
|
+
};
|
|
1087
|
+
readonly meta: {
|
|
1088
|
+
readonly requestId: 'req_01JXYZ';
|
|
1089
|
+
readonly version: '1.0';
|
|
1090
|
+
};
|
|
1091
|
+
};
|
|
1092
|
+
};
|
|
1093
|
+
}];
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
394
1096
|
export declare const sitesV1Registry: import("./core.js").PublicV1Registry<{
|
|
395
1097
|
readonly list: {
|
|
396
1098
|
readonly id: 'sites.list';
|
|
@@ -588,4 +1290,327 @@ export declare const sitesV1Registry: import("./core.js").PublicV1Registry<{
|
|
|
588
1290
|
}];
|
|
589
1291
|
};
|
|
590
1292
|
};
|
|
1293
|
+
readonly status: {
|
|
1294
|
+
readonly id: 'sites.status';
|
|
1295
|
+
readonly method: 'GET';
|
|
1296
|
+
readonly path: '/api/v1/sites/{siteId}/status';
|
|
1297
|
+
readonly visibility: 'public';
|
|
1298
|
+
readonly semantics: {
|
|
1299
|
+
readonly kind: 'query';
|
|
1300
|
+
readonly sideEffects: 'none';
|
|
1301
|
+
readonly retry: 'idempotent';
|
|
1302
|
+
readonly readConsistency: 'primary';
|
|
1303
|
+
};
|
|
1304
|
+
readonly auth: {
|
|
1305
|
+
readonly credentials: readonly ["session", "api_token"];
|
|
1306
|
+
readonly scopes: readonly ["sites:read"];
|
|
1307
|
+
readonly minimumRole: 'viewer';
|
|
1308
|
+
readonly ownership: 'site';
|
|
1309
|
+
};
|
|
1310
|
+
readonly request: {
|
|
1311
|
+
readonly params: z.ZodObject<{
|
|
1312
|
+
siteId: z.ZodString;
|
|
1313
|
+
}, z.core.$strict>;
|
|
1314
|
+
readonly query: null;
|
|
1315
|
+
readonly headers: null;
|
|
1316
|
+
readonly body: null;
|
|
1317
|
+
};
|
|
1318
|
+
readonly responses: {
|
|
1319
|
+
readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
1320
|
+
data: z.ZodObject<{
|
|
1321
|
+
readonly site: z.ZodString;
|
|
1322
|
+
readonly available: z.ZodBoolean;
|
|
1323
|
+
readonly message: z.ZodNullable<z.ZodString>;
|
|
1324
|
+
readonly assessment: z.ZodNullable<z.ZodObject<{
|
|
1325
|
+
readonly reachStage: z.ZodNullable<z.ZodString>;
|
|
1326
|
+
readonly healthStage: z.ZodNullable<z.ZodString>;
|
|
1327
|
+
readonly headlineAxis: z.ZodNullable<z.ZodString>;
|
|
1328
|
+
readonly summary: z.ZodString;
|
|
1329
|
+
readonly recommendation: z.ZodString;
|
|
1330
|
+
readonly assessedAt: z.ZodNullable<z.ZodString>;
|
|
1331
|
+
}, z.core.$strip>>;
|
|
1332
|
+
readonly nextAction: z.ZodNullable<z.ZodObject<{
|
|
1333
|
+
readonly kind: z.ZodEnum<{
|
|
1334
|
+
action: "action";
|
|
1335
|
+
connect: "connect";
|
|
1336
|
+
dimension: "dimension";
|
|
1337
|
+
}>;
|
|
1338
|
+
readonly label: z.ZodString;
|
|
1339
|
+
readonly detail: z.ZodNullable<z.ZodString>;
|
|
1340
|
+
readonly focus: z.ZodNullable<z.ZodString>;
|
|
1341
|
+
readonly dimension: z.ZodNullable<z.ZodString>;
|
|
1342
|
+
readonly urgent: z.ZodBoolean;
|
|
1343
|
+
/** Organic traffic at stake, the ranking magnitude. GLOSSARY: Impact. */
|
|
1344
|
+
readonly impact: z.ZodNullable<z.ZodNumber>;
|
|
1345
|
+
readonly actionId: z.ZodNullable<z.ZodString>;
|
|
1346
|
+
readonly citedProofKey: z.ZodNullable<z.ZodString>;
|
|
1347
|
+
}, z.core.$strip>>;
|
|
1348
|
+
readonly dataQuality: z.ZodObject<{
|
|
1349
|
+
status: z.ZodEnum<{
|
|
1350
|
+
complete: "complete";
|
|
1351
|
+
degraded: "degraded";
|
|
1352
|
+
unavailable: "unavailable";
|
|
1353
|
+
}>;
|
|
1354
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
1355
|
+
unavailableProofs: z.ZodArray<z.ZodString>;
|
|
1356
|
+
}, z.core.$strict>;
|
|
1357
|
+
readonly openCount: z.ZodNumber;
|
|
1358
|
+
readonly verifiedCount: z.ZodNumber;
|
|
1359
|
+
readonly counts: z.ZodObject<{
|
|
1360
|
+
open: z.ZodNumber;
|
|
1361
|
+
inProgress: z.ZodNumber;
|
|
1362
|
+
shipped: z.ZodNumber;
|
|
1363
|
+
landed: z.ZodNumber;
|
|
1364
|
+
noEffect: z.ZodNumber;
|
|
1365
|
+
}, z.core.$strict>;
|
|
1366
|
+
readonly degradedSteps: z.ZodArray<z.ZodString>;
|
|
1367
|
+
readonly changes: z.ZodArray<z.ZodObject<{
|
|
1368
|
+
readonly kind: z.ZodString;
|
|
1369
|
+
readonly source: z.ZodNullable<z.ZodString>;
|
|
1370
|
+
readonly label: z.ZodString;
|
|
1371
|
+
readonly direction: z.ZodEnum<{
|
|
1372
|
+
down: "down";
|
|
1373
|
+
flat: "flat";
|
|
1374
|
+
up: "up";
|
|
1375
|
+
}>;
|
|
1376
|
+
readonly value: z.ZodNullable<z.ZodString>;
|
|
1377
|
+
readonly deltaPct: z.ZodNullable<z.ZodNumber>;
|
|
1378
|
+
readonly window: z.ZodNullable<z.ZodString>;
|
|
1379
|
+
readonly meaning: z.ZodNullable<z.ZodString>;
|
|
1380
|
+
}, z.core.$strip>>;
|
|
1381
|
+
readonly receipts: z.ZodArray<z.ZodObject<{
|
|
1382
|
+
readonly actionId: z.ZodString;
|
|
1383
|
+
readonly title: z.ZodString;
|
|
1384
|
+
readonly outcome: z.ZodString;
|
|
1385
|
+
readonly observedAt: z.ZodString;
|
|
1386
|
+
readonly note: z.ZodNullable<z.ZodString>;
|
|
1387
|
+
}, z.core.$strip>>;
|
|
1388
|
+
}, z.core.$strip>;
|
|
1389
|
+
meta: z.ZodObject<{
|
|
1390
|
+
requestId: z.ZodString;
|
|
1391
|
+
version: z.ZodLiteral<"1.0">;
|
|
1392
|
+
}, z.core.$strict>;
|
|
1393
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1394
|
+
data: z.ZodObject<{
|
|
1395
|
+
readonly site: z.ZodString;
|
|
1396
|
+
readonly available: z.ZodBoolean;
|
|
1397
|
+
readonly message: z.ZodNullable<z.ZodString>;
|
|
1398
|
+
readonly assessment: z.ZodNullable<z.ZodObject<{
|
|
1399
|
+
readonly reachStage: z.ZodNullable<z.ZodString>;
|
|
1400
|
+
readonly healthStage: z.ZodNullable<z.ZodString>;
|
|
1401
|
+
readonly headlineAxis: z.ZodNullable<z.ZodString>;
|
|
1402
|
+
readonly summary: z.ZodString;
|
|
1403
|
+
readonly recommendation: z.ZodString;
|
|
1404
|
+
readonly assessedAt: z.ZodNullable<z.ZodString>;
|
|
1405
|
+
}, z.core.$strip>>;
|
|
1406
|
+
readonly nextAction: z.ZodNullable<z.ZodObject<{
|
|
1407
|
+
readonly kind: z.ZodEnum<{
|
|
1408
|
+
action: "action";
|
|
1409
|
+
connect: "connect";
|
|
1410
|
+
dimension: "dimension";
|
|
1411
|
+
}>;
|
|
1412
|
+
readonly label: z.ZodString;
|
|
1413
|
+
readonly detail: z.ZodNullable<z.ZodString>;
|
|
1414
|
+
readonly focus: z.ZodNullable<z.ZodString>;
|
|
1415
|
+
readonly dimension: z.ZodNullable<z.ZodString>;
|
|
1416
|
+
readonly urgent: z.ZodBoolean;
|
|
1417
|
+
readonly impact: z.ZodNullable<z.ZodNumber>;
|
|
1418
|
+
readonly actionId: z.ZodNullable<z.ZodString>;
|
|
1419
|
+
readonly citedProofKey: z.ZodNullable<z.ZodString>;
|
|
1420
|
+
}, z.core.$strip>>;
|
|
1421
|
+
readonly dataQuality: z.ZodObject<{
|
|
1422
|
+
status: z.ZodEnum<{
|
|
1423
|
+
complete: "complete";
|
|
1424
|
+
degraded: "degraded";
|
|
1425
|
+
unavailable: "unavailable";
|
|
1426
|
+
}>;
|
|
1427
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
1428
|
+
unavailableProofs: z.ZodArray<z.ZodString>;
|
|
1429
|
+
}, z.core.$loose>;
|
|
1430
|
+
readonly openCount: z.ZodNumber;
|
|
1431
|
+
readonly verifiedCount: z.ZodNumber;
|
|
1432
|
+
readonly counts: z.ZodObject<{
|
|
1433
|
+
open: z.ZodNumber;
|
|
1434
|
+
inProgress: z.ZodNumber;
|
|
1435
|
+
shipped: z.ZodNumber;
|
|
1436
|
+
landed: z.ZodNumber;
|
|
1437
|
+
noEffect: z.ZodNumber;
|
|
1438
|
+
}, z.core.$loose>;
|
|
1439
|
+
readonly degradedSteps: z.ZodArray<z.ZodString>;
|
|
1440
|
+
readonly changes: z.ZodArray<z.ZodObject<{
|
|
1441
|
+
readonly kind: z.ZodString;
|
|
1442
|
+
readonly source: z.ZodNullable<z.ZodString>;
|
|
1443
|
+
readonly label: z.ZodString;
|
|
1444
|
+
readonly direction: z.ZodEnum<{
|
|
1445
|
+
down: "down";
|
|
1446
|
+
flat: "flat";
|
|
1447
|
+
up: "up";
|
|
1448
|
+
}>;
|
|
1449
|
+
readonly value: z.ZodNullable<z.ZodString>;
|
|
1450
|
+
readonly deltaPct: z.ZodNullable<z.ZodNumber>;
|
|
1451
|
+
readonly window: z.ZodNullable<z.ZodString>;
|
|
1452
|
+
readonly meaning: z.ZodNullable<z.ZodString>;
|
|
1453
|
+
}, z.core.$strip>>;
|
|
1454
|
+
readonly receipts: z.ZodArray<z.ZodObject<{
|
|
1455
|
+
readonly actionId: z.ZodString;
|
|
1456
|
+
readonly title: z.ZodString;
|
|
1457
|
+
readonly outcome: z.ZodString;
|
|
1458
|
+
readonly observedAt: z.ZodString;
|
|
1459
|
+
readonly note: z.ZodNullable<z.ZodString>;
|
|
1460
|
+
}, z.core.$strip>>;
|
|
1461
|
+
}, z.core.$strip>;
|
|
1462
|
+
meta: z.ZodObject<{
|
|
1463
|
+
requestId: z.ZodString;
|
|
1464
|
+
version: z.ZodLiteral<"1.0">;
|
|
1465
|
+
}, z.core.$loose>;
|
|
1466
|
+
}, z.core.$strip>>;
|
|
1467
|
+
};
|
|
1468
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "entitlement_required", "conflict", "not_found", "rate_limited", "contract_violation", "internal_error"];
|
|
1469
|
+
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
1470
|
+
readonly error: z.ZodObject<{
|
|
1471
|
+
code: z.ZodEnum<{
|
|
1472
|
+
auth_expired: "auth_expired";
|
|
1473
|
+
conflict: "conflict";
|
|
1474
|
+
contract_violation: "contract_violation";
|
|
1475
|
+
entitlement_required: "entitlement_required";
|
|
1476
|
+
forbidden: "forbidden";
|
|
1477
|
+
internal_error: "internal_error";
|
|
1478
|
+
invalid_request: "invalid_request";
|
|
1479
|
+
not_found: "not_found";
|
|
1480
|
+
provider_unavailable: "provider_unavailable";
|
|
1481
|
+
quota_exhausted: "quota_exhausted";
|
|
1482
|
+
rate_limited: "rate_limited";
|
|
1483
|
+
site_ambiguous: "site_ambiguous";
|
|
1484
|
+
stale_evidence: "stale_evidence";
|
|
1485
|
+
unauthorized: "unauthorized";
|
|
1486
|
+
}>;
|
|
1487
|
+
message: z.ZodString;
|
|
1488
|
+
requestId: z.ZodString;
|
|
1489
|
+
retryable: z.ZodBoolean;
|
|
1490
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1491
|
+
}, z.core.$strict>;
|
|
1492
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1493
|
+
readonly error: z.ZodObject<{
|
|
1494
|
+
code: z.ZodEnum<{
|
|
1495
|
+
auth_expired: "auth_expired";
|
|
1496
|
+
conflict: "conflict";
|
|
1497
|
+
contract_violation: "contract_violation";
|
|
1498
|
+
entitlement_required: "entitlement_required";
|
|
1499
|
+
forbidden: "forbidden";
|
|
1500
|
+
internal_error: "internal_error";
|
|
1501
|
+
invalid_request: "invalid_request";
|
|
1502
|
+
not_found: "not_found";
|
|
1503
|
+
provider_unavailable: "provider_unavailable";
|
|
1504
|
+
quota_exhausted: "quota_exhausted";
|
|
1505
|
+
rate_limited: "rate_limited";
|
|
1506
|
+
site_ambiguous: "site_ambiguous";
|
|
1507
|
+
stale_evidence: "stale_evidence";
|
|
1508
|
+
unauthorized: "unauthorized";
|
|
1509
|
+
}>;
|
|
1510
|
+
message: z.ZodString;
|
|
1511
|
+
requestId: z.ZodString;
|
|
1512
|
+
retryable: z.ZodBoolean;
|
|
1513
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1514
|
+
}, z.core.$loose>;
|
|
1515
|
+
}, z.core.$strip>>;
|
|
1516
|
+
readonly resources: {
|
|
1517
|
+
readonly reads: readonly [{
|
|
1518
|
+
readonly type: 'site.actions';
|
|
1519
|
+
readonly idFrom: 'params.siteId';
|
|
1520
|
+
}];
|
|
1521
|
+
readonly changes: readonly [];
|
|
1522
|
+
};
|
|
1523
|
+
readonly policy: {
|
|
1524
|
+
readonly rate: {
|
|
1525
|
+
readonly name: 'public-v1-fixed-window';
|
|
1526
|
+
readonly limit: 50;
|
|
1527
|
+
readonly windowSeconds: 60;
|
|
1528
|
+
};
|
|
1529
|
+
readonly idempotency: {
|
|
1530
|
+
readonly _tag: 'none';
|
|
1531
|
+
};
|
|
1532
|
+
readonly entitlement: null;
|
|
1533
|
+
readonly meter: null;
|
|
1534
|
+
};
|
|
1535
|
+
readonly lifecycle: {
|
|
1536
|
+
readonly introduced: '1.2.0';
|
|
1537
|
+
};
|
|
1538
|
+
readonly docs: {
|
|
1539
|
+
readonly summary: 'Get Site status';
|
|
1540
|
+
readonly description: 'Returns the current assessment for one Site: the verdict, the single ranked Next Action, open and verified counts, the pipeline steps that degraded on the last run, recent changes, and recent Receipts. `available: false` means the first assessment has not run yet. Start here before listing Actions.';
|
|
1541
|
+
readonly tags: readonly ["Sites"];
|
|
1542
|
+
readonly examples: readonly [{
|
|
1543
|
+
readonly request: {
|
|
1544
|
+
readonly params: {
|
|
1545
|
+
readonly siteId: 'site_01JXYZ';
|
|
1546
|
+
};
|
|
1547
|
+
};
|
|
1548
|
+
readonly response: {
|
|
1549
|
+
readonly status: 200;
|
|
1550
|
+
readonly body: {
|
|
1551
|
+
readonly data: {
|
|
1552
|
+
readonly site: 'https://example.com';
|
|
1553
|
+
readonly available: true;
|
|
1554
|
+
readonly message: null;
|
|
1555
|
+
readonly assessment: {
|
|
1556
|
+
readonly reachStage: 'growing';
|
|
1557
|
+
readonly healthStage: 'at-risk';
|
|
1558
|
+
readonly headlineAxis: 'health';
|
|
1559
|
+
readonly summary: 'Indexing is slipping on the docs template.';
|
|
1560
|
+
readonly recommendation: 'Fix the canonical tag on /docs pages.';
|
|
1561
|
+
readonly assessedAt: '2026-09-04T02:00:00.000Z';
|
|
1562
|
+
};
|
|
1563
|
+
readonly nextAction: {
|
|
1564
|
+
readonly kind: 'action';
|
|
1565
|
+
readonly label: 'Fix indexing';
|
|
1566
|
+
readonly detail: 'Repair the canonical tag on 42 /docs pages';
|
|
1567
|
+
readonly focus: 'protect';
|
|
1568
|
+
readonly dimension: 'indexing';
|
|
1569
|
+
readonly urgent: true;
|
|
1570
|
+
readonly impact: 1840;
|
|
1571
|
+
readonly actionId: 'act_01JXYZ';
|
|
1572
|
+
readonly citedProofKey: 'gsc.indexState';
|
|
1573
|
+
};
|
|
1574
|
+
readonly dataQuality: {
|
|
1575
|
+
readonly status: 'complete';
|
|
1576
|
+
readonly reason: null;
|
|
1577
|
+
readonly unavailableProofs: readonly [];
|
|
1578
|
+
};
|
|
1579
|
+
readonly openCount: 7;
|
|
1580
|
+
readonly verifiedCount: 3;
|
|
1581
|
+
readonly counts: {
|
|
1582
|
+
readonly open: 5;
|
|
1583
|
+
readonly inProgress: 2;
|
|
1584
|
+
readonly shipped: 3;
|
|
1585
|
+
readonly landed: 0;
|
|
1586
|
+
readonly noEffect: 0;
|
|
1587
|
+
};
|
|
1588
|
+
readonly degradedSteps: readonly [];
|
|
1589
|
+
readonly changes: readonly [{
|
|
1590
|
+
readonly kind: 'indexing';
|
|
1591
|
+
readonly source: 'gsc';
|
|
1592
|
+
readonly label: 'Not-indexed pages rose to 42';
|
|
1593
|
+
readonly direction: 'up';
|
|
1594
|
+
readonly value: '42 pages';
|
|
1595
|
+
readonly deltaPct: 18.5;
|
|
1596
|
+
readonly window: '28d';
|
|
1597
|
+
readonly meaning: 'Google is declining more of this Site than last month.';
|
|
1598
|
+
}];
|
|
1599
|
+
readonly receipts: readonly [{
|
|
1600
|
+
readonly actionId: 'act_01JXYA';
|
|
1601
|
+
readonly title: 'Fixed: broken internal links in /guides';
|
|
1602
|
+
readonly outcome: 'verified';
|
|
1603
|
+
readonly observedAt: '2026-08-30';
|
|
1604
|
+
readonly note: null;
|
|
1605
|
+
}];
|
|
1606
|
+
};
|
|
1607
|
+
readonly meta: {
|
|
1608
|
+
readonly requestId: 'req_01JXYZ';
|
|
1609
|
+
readonly version: '1.0';
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
};
|
|
1613
|
+
}];
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
591
1616
|
}>;
|