@greatwait/contracts 0.2.3 → 0.3.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.
Files changed (90) hide show
  1. package/dist/attempt-search.d.ts +235 -0
  2. package/dist/attempt-search.js +101 -0
  3. package/dist/authority.js +9 -9
  4. package/dist/billing.d.ts +4 -4
  5. package/dist/bulk-operations.d.ts +1832 -0
  6. package/dist/bulk-operations.js +610 -0
  7. package/dist/configuration-bounds.d.ts +12 -0
  8. package/dist/configuration-bounds.js +12 -0
  9. package/dist/configuration.d.ts +75 -0
  10. package/dist/configuration.js +242 -0
  11. package/dist/data-export.d.ts +3 -3
  12. package/dist/delivery.d.ts +1 -0
  13. package/dist/delivery.js +1 -0
  14. package/dist/effective-limits.d.ts +4 -4
  15. package/dist/endpoints.js +25 -25
  16. package/dist/execution-selection.d.ts +48 -0
  17. package/dist/execution-selection.js +21 -0
  18. package/dist/http-request.d.ts +1 -1
  19. package/dist/http-request.js +25 -23
  20. package/dist/identifiers.d.ts +2 -0
  21. package/dist/identifiers.js +21 -19
  22. package/dist/identity.d.ts +3 -3
  23. package/dist/index.d.ts +5 -0
  24. package/dist/index.js +5 -0
  25. package/dist/occurrence-states.d.ts +14 -0
  26. package/dist/occurrence-states.js +13 -0
  27. package/dist/operational-config.js +7 -6
  28. package/dist/operations.d.ts +573 -89
  29. package/dist/operations.js +67 -0
  30. package/dist/protocol.d.ts +19 -5
  31. package/dist/protocol.js +47 -40
  32. package/dist/schedule-selection.d.ts +28 -0
  33. package/dist/schedule-selection.js +48 -0
  34. package/dist/scheduling-records.d.ts +20 -20
  35. package/dist/scheduling.d.ts +109 -63
  36. package/dist/scheduling.js +101 -117
  37. package/dist/signatures.d.ts +6 -6
  38. package/dist/signatures.js +24 -24
  39. package/dist/stored-http.d.ts +18 -0
  40. package/dist/stored-http.js +106 -0
  41. package/dist/test-sink.d.ts +6 -6
  42. package/dist/time.js +7 -7
  43. package/dist/usage.d.ts +3 -3
  44. package/generated/v1/examples/attempts.search.response.json +42 -0
  45. package/generated/v1/examples/bulk.cancel.request.json +3 -0
  46. package/generated/v1/examples/bulk.cancel.response.json +59 -0
  47. package/generated/v1/examples/bulk.confirm.request.json +5 -0
  48. package/generated/v1/examples/bulk.confirm.response.json +59 -0
  49. package/generated/v1/examples/bulk.items.response.json +3 -0
  50. package/generated/v1/examples/bulk.list.response.json +63 -0
  51. package/generated/v1/examples/bulk.pause.request.json +3 -0
  52. package/generated/v1/examples/bulk.pause.response.json +59 -0
  53. package/generated/v1/examples/bulk.preview.request.json +12 -0
  54. package/generated/v1/examples/bulk.preview.response.json +59 -0
  55. package/generated/v1/examples/bulk.read.response.json +59 -0
  56. package/generated/v1/examples/bulk.resume.request.json +3 -0
  57. package/generated/v1/examples/bulk.resume.response.json +59 -0
  58. package/generated/v1/manifest.json +243 -1
  59. package/generated/v1/openapi.json +21569 -2418
  60. package/generated/v1/policy-matrix.json +63 -0
  61. package/generated/v1/schemas/attempts.search.query.json +96 -0
  62. package/generated/v1/schemas/attempts.search.response.json +271 -0
  63. package/generated/v1/schemas/bulk.cancel.request.json +13 -0
  64. package/generated/v1/schemas/bulk.cancel.response.json +1717 -0
  65. package/generated/v1/schemas/bulk.confirm.request-headers.json +13 -0
  66. package/generated/v1/schemas/bulk.confirm.request.json +19 -0
  67. package/generated/v1/schemas/bulk.confirm.response.json +1717 -0
  68. package/generated/v1/schemas/bulk.items.query.json +29 -0
  69. package/generated/v1/schemas/bulk.items.response.json +194 -0
  70. package/generated/v1/schemas/bulk.list.query.json +32 -0
  71. package/generated/v1/schemas/bulk.list.response.json +1789 -0
  72. package/generated/v1/schemas/bulk.pause.request.json +13 -0
  73. package/generated/v1/schemas/bulk.pause.response.json +1717 -0
  74. package/generated/v1/schemas/bulk.preview.request.json +1218 -0
  75. package/generated/v1/schemas/bulk.preview.response.json +1717 -0
  76. package/generated/v1/schemas/bulk.read.response.json +1717 -0
  77. package/generated/v1/schemas/bulk.resume.request.json +13 -0
  78. package/generated/v1/schemas/bulk.resume.response.json +1717 -0
  79. package/generated/v1/schemas/executions.list.query.json +33 -12
  80. package/generated/v1/schemas/schedules.list.query.json +32 -3
  81. package/generated/v1/snippets/attempts.search.json +6 -0
  82. package/generated/v1/snippets/bulk.cancel.json +6 -0
  83. package/generated/v1/snippets/bulk.confirm.json +6 -0
  84. package/generated/v1/snippets/bulk.items.json +6 -0
  85. package/generated/v1/snippets/bulk.list.json +6 -0
  86. package/generated/v1/snippets/bulk.pause.json +6 -0
  87. package/generated/v1/snippets/bulk.preview.json +6 -0
  88. package/generated/v1/snippets/bulk.read.json +6 -0
  89. package/generated/v1/snippets/bulk.resume.json +6 -0
  90. package/package.json +1 -1
@@ -231,9 +231,9 @@ export interface OperationDefinition {
231
231
  */
232
232
  export declare const MOCK_BEHAVIORS: readonly ["ambiguous", "redelivery", "refusal", "retry", "success", "timeout"];
233
233
  export declare const mockBehaviorSchema: import("zod").ZodEnum<{
234
+ ambiguous: "ambiguous";
234
235
  success: "success";
235
236
  redelivery: "redelivery";
236
- ambiguous: "ambiguous";
237
237
  refusal: "refusal";
238
238
  timeout: "timeout";
239
239
  retry: "retry";
@@ -246,9 +246,9 @@ export type MockBehavior = z.infer<typeof mockBehaviorSchema>;
246
246
  */
247
247
  export declare const mockScenarioRequestSchema: import("zod").ZodObject<{
248
248
  behavior: import("zod").ZodEnum<{
249
+ ambiguous: "ambiguous";
249
250
  success: "success";
250
251
  redelivery: "redelivery";
251
- ambiguous: "ambiguous";
252
252
  refusal: "refusal";
253
253
  timeout: "timeout";
254
254
  retry: "retry";
@@ -259,9 +259,9 @@ export declare const mockScenarioRequestSchema: import("zod").ZodObject<{
259
259
  export type MockScenarioRequest = z.infer<typeof mockScenarioRequestSchema>;
260
260
  export declare const mockScenarioResponseSchema: import("zod").ZodObject<{
261
261
  behavior: import("zod").ZodEnum<{
262
+ ambiguous: "ambiguous";
262
263
  success: "success";
263
264
  redelivery: "redelivery";
264
- ambiguous: "ambiguous";
265
265
  refusal: "refusal";
266
266
  timeout: "timeout";
267
267
  retry: "retry";
@@ -437,6 +437,271 @@ export declare const OPERATIONS: readonly [{
437
437
  }, OperationDefinition & {
438
438
  readonly id: "exports.cancel";
439
439
  }, OperationDefinition & {
440
+ readonly id: "bulk.preview";
441
+ } & {
442
+ readonly request: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
443
+ operation: import("zod").ZodLiteral<"retry">;
444
+ parameters: import("zod").ZodObject<{
445
+ includeSucceeded: import("zod").ZodOptional<import("zod").ZodBoolean>;
446
+ }, import("zod/v4/core").$strict>;
447
+ target: import("zod").ZodEnum<{
448
+ schedules: "schedules";
449
+ parent_schedules: "parent_schedules";
450
+ occurrences: "occurrences";
451
+ }>;
452
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
453
+ kind: import("zod").ZodLiteral<"ids">;
454
+ resource: import("zod").ZodLiteral<"schedules">;
455
+ ids: import("zod").ZodArray<import("zod").ZodString>;
456
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
457
+ kind: import("zod").ZodLiteral<"ids">;
458
+ resource: import("zod").ZodLiteral<"executions">;
459
+ ids: import("zod").ZodArray<import("zod").ZodString>;
460
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
461
+ kind: import("zod").ZodLiteral<"all_matching">;
462
+ resource: import("zod").ZodLiteral<"schedules">;
463
+ filter: import("zod").ZodObject<{
464
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
465
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
466
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
467
+ cancelled: "cancelled";
468
+ active: "active";
469
+ paused: "paused";
470
+ completed: "completed";
471
+ }>>;
472
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
473
+ at: "at";
474
+ every: "every";
475
+ cron: "cron";
476
+ }>>;
477
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
478
+ text: import("zod").ZodOptional<import("zod").ZodString>;
479
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
480
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
481
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
482
+ }, import("zod/v4/core").$strict>;
483
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
484
+ kind: import("zod").ZodLiteral<"all_matching">;
485
+ resource: import("zod").ZodLiteral<"executions">;
486
+ filter: import("zod").ZodObject<{
487
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
488
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
489
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
490
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
491
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
492
+ cancelled: "cancelled";
493
+ active: "active";
494
+ paused: "paused";
495
+ completed: "completed";
496
+ }>>;
497
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
498
+ at: "at";
499
+ every: "every";
500
+ cron: "cron";
501
+ }>>;
502
+ text: import("zod").ZodOptional<import("zod").ZodString>;
503
+ from: import("zod").ZodOptional<import("zod").ZodString>;
504
+ to: import("zod").ZodOptional<import("zod").ZodString>;
505
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
506
+ planned: "planned";
507
+ due: "due";
508
+ dispatching: "dispatching";
509
+ retry_wait: "retry_wait";
510
+ ambiguous: "ambiguous";
511
+ succeeded: "succeeded";
512
+ terminal_failed: "terminal_failed";
513
+ cancelled: "cancelled";
514
+ skipped_stale: "skipped_stale";
515
+ }>>;
516
+ }, import("zod/v4/core").$strict>;
517
+ }, import("zod/v4/core").$strict>]>;
518
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
519
+ operation: import("zod").ZodLiteral<"reschedule">;
520
+ parameters: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
521
+ mode: import("zod").ZodLiteral<"absolute">;
522
+ at: import("zod").ZodString;
523
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
524
+ mode: import("zod").ZodLiteral<"shift_existing">;
525
+ seconds: import("zod").ZodNumber;
526
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
527
+ mode: import("zod").ZodLiteral<"delay_from_reference">;
528
+ seconds: import("zod").ZodNumber;
529
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
530
+ mode: import("zod").ZodLiteral<"definition">;
531
+ definition: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
532
+ everySeconds: import("zod").ZodNumber;
533
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
534
+ cron: import("zod").ZodString;
535
+ timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
536
+ }, import("zod/v4/core").$strict>]>;
537
+ }, import("zod/v4/core").$strict>], "mode">;
538
+ target: import("zod").ZodEnum<{
539
+ schedules: "schedules";
540
+ parent_schedules: "parent_schedules";
541
+ occurrences: "occurrences";
542
+ }>;
543
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
544
+ kind: import("zod").ZodLiteral<"ids">;
545
+ resource: import("zod").ZodLiteral<"schedules">;
546
+ ids: import("zod").ZodArray<import("zod").ZodString>;
547
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
548
+ kind: import("zod").ZodLiteral<"ids">;
549
+ resource: import("zod").ZodLiteral<"executions">;
550
+ ids: import("zod").ZodArray<import("zod").ZodString>;
551
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
552
+ kind: import("zod").ZodLiteral<"all_matching">;
553
+ resource: import("zod").ZodLiteral<"schedules">;
554
+ filter: import("zod").ZodObject<{
555
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
556
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
557
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
558
+ cancelled: "cancelled";
559
+ active: "active";
560
+ paused: "paused";
561
+ completed: "completed";
562
+ }>>;
563
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
564
+ at: "at";
565
+ every: "every";
566
+ cron: "cron";
567
+ }>>;
568
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
569
+ text: import("zod").ZodOptional<import("zod").ZodString>;
570
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
571
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
572
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
573
+ }, import("zod/v4/core").$strict>;
574
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
575
+ kind: import("zod").ZodLiteral<"all_matching">;
576
+ resource: import("zod").ZodLiteral<"executions">;
577
+ filter: import("zod").ZodObject<{
578
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
579
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
580
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
581
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
582
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
583
+ cancelled: "cancelled";
584
+ active: "active";
585
+ paused: "paused";
586
+ completed: "completed";
587
+ }>>;
588
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
589
+ at: "at";
590
+ every: "every";
591
+ cron: "cron";
592
+ }>>;
593
+ text: import("zod").ZodOptional<import("zod").ZodString>;
594
+ from: import("zod").ZodOptional<import("zod").ZodString>;
595
+ to: import("zod").ZodOptional<import("zod").ZodString>;
596
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
597
+ planned: "planned";
598
+ due: "due";
599
+ dispatching: "dispatching";
600
+ retry_wait: "retry_wait";
601
+ ambiguous: "ambiguous";
602
+ succeeded: "succeeded";
603
+ terminal_failed: "terminal_failed";
604
+ cancelled: "cancelled";
605
+ skipped_stale: "skipped_stale";
606
+ }>>;
607
+ }, import("zod/v4/core").$strict>;
608
+ }, import("zod/v4/core").$strict>]>;
609
+ }, import("zod/v4/core").$strict>, ...import("zod").ZodObject<{
610
+ operation: import("zod").ZodLiteral<"resume" | "cancel" | "pause">;
611
+ parameters: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
612
+ target: import("zod").ZodEnum<{
613
+ schedules: "schedules";
614
+ parent_schedules: "parent_schedules";
615
+ occurrences: "occurrences";
616
+ }>;
617
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
618
+ kind: import("zod").ZodLiteral<"ids">;
619
+ resource: import("zod").ZodLiteral<"schedules">;
620
+ ids: import("zod").ZodArray<import("zod").ZodString>;
621
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
622
+ kind: import("zod").ZodLiteral<"ids">;
623
+ resource: import("zod").ZodLiteral<"executions">;
624
+ ids: import("zod").ZodArray<import("zod").ZodString>;
625
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
626
+ kind: import("zod").ZodLiteral<"all_matching">;
627
+ resource: import("zod").ZodLiteral<"schedules">;
628
+ filter: import("zod").ZodObject<{
629
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
630
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
631
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
632
+ cancelled: "cancelled";
633
+ active: "active";
634
+ paused: "paused";
635
+ completed: "completed";
636
+ }>>;
637
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
638
+ at: "at";
639
+ every: "every";
640
+ cron: "cron";
641
+ }>>;
642
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
643
+ text: import("zod").ZodOptional<import("zod").ZodString>;
644
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
645
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
646
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
647
+ }, import("zod/v4/core").$strict>;
648
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
649
+ kind: import("zod").ZodLiteral<"all_matching">;
650
+ resource: import("zod").ZodLiteral<"executions">;
651
+ filter: import("zod").ZodObject<{
652
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
653
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
654
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
655
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
656
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
657
+ cancelled: "cancelled";
658
+ active: "active";
659
+ paused: "paused";
660
+ completed: "completed";
661
+ }>>;
662
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
663
+ at: "at";
664
+ every: "every";
665
+ cron: "cron";
666
+ }>>;
667
+ text: import("zod").ZodOptional<import("zod").ZodString>;
668
+ from: import("zod").ZodOptional<import("zod").ZodString>;
669
+ to: import("zod").ZodOptional<import("zod").ZodString>;
670
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
671
+ planned: "planned";
672
+ due: "due";
673
+ dispatching: "dispatching";
674
+ retry_wait: "retry_wait";
675
+ ambiguous: "ambiguous";
676
+ succeeded: "succeeded";
677
+ terminal_failed: "terminal_failed";
678
+ cancelled: "cancelled";
679
+ skipped_stale: "skipped_stale";
680
+ }>>;
681
+ }, import("zod/v4/core").$strict>;
682
+ }, import("zod/v4/core").$strict>]>;
683
+ }, import("zod/v4/core").$strict>[]], "operation">;
684
+ }, OperationDefinition & {
685
+ readonly id: "bulk.confirm";
686
+ } & {
687
+ readonly request: import("zod").ZodObject<{
688
+ intentDigest: import("zod").ZodString;
689
+ confirmed: import("zod").ZodLiteral<true>;
690
+ acknowledgeDuplicateEffects: import("zod").ZodBoolean;
691
+ }, import("zod/v4/core").$strict>;
692
+ }, OperationDefinition & {
693
+ readonly id: "bulk.read";
694
+ }, OperationDefinition & {
695
+ readonly id: "bulk.list";
696
+ }, OperationDefinition & {
697
+ readonly id: "bulk.items";
698
+ }, ...(OperationDefinition & {
699
+ readonly id: "bulk.resume" | "bulk.cancel" | "bulk.pause";
700
+ } & {
701
+ readonly request: import("zod").ZodObject<{
702
+ expectedVersion: import("zod").ZodNumber;
703
+ }, import("zod/v4/core").$strict>;
704
+ })[], OperationDefinition & {
440
705
  readonly id: "members.list";
441
706
  }, OperationDefinition & {
442
707
  readonly id: "invitations.list";
@@ -2131,11 +2396,11 @@ export declare const OPERATIONS: readonly [{
2131
2396
  timeout: "timeout";
2132
2397
  }>;
2133
2398
  disposition: import("zod").ZodEnum<{
2399
+ in_flight: "in_flight";
2134
2400
  duplicate: "duplicate";
2135
2401
  invalid_signature: "invalid_signature";
2136
2402
  body_too_large: "body_too_large";
2137
2403
  handler_failed: "handler_failed";
2138
- in_flight: "in_flight";
2139
2404
  invalid_envelope: "invalid_envelope";
2140
2405
  invalid_headers: "invalid_headers";
2141
2406
  processed: "processed";
@@ -2227,11 +2492,11 @@ export declare const OPERATIONS: readonly [{
2227
2492
  timeout: "timeout";
2228
2493
  }>;
2229
2494
  disposition: import("zod").ZodEnum<{
2495
+ in_flight: "in_flight";
2230
2496
  duplicate: "duplicate";
2231
2497
  invalid_signature: "invalid_signature";
2232
2498
  body_too_large: "body_too_large";
2233
2499
  handler_failed: "handler_failed";
2234
- in_flight: "in_flight";
2235
2500
  invalid_envelope: "invalid_envelope";
2236
2501
  invalid_headers: "invalid_headers";
2237
2502
  processed: "processed";
@@ -2369,9 +2634,9 @@ export declare const OPERATIONS: readonly [{
2369
2634
  readonly problems: readonly ["invalid_request"];
2370
2635
  readonly request: import("zod").ZodObject<{
2371
2636
  behavior: import("zod").ZodEnum<{
2637
+ ambiguous: "ambiguous";
2372
2638
  success: "success";
2373
2639
  redelivery: "redelivery";
2374
- ambiguous: "ambiguous";
2375
2640
  refusal: "refusal";
2376
2641
  timeout: "timeout";
2377
2642
  retry: "retry";
@@ -2388,9 +2653,9 @@ export declare const OPERATIONS: readonly [{
2388
2653
  };
2389
2654
  readonly response: import("zod").ZodNever | import("zod").ZodObject<{
2390
2655
  behavior: import("zod").ZodEnum<{
2656
+ ambiguous: "ambiguous";
2391
2657
  success: "success";
2392
2658
  redelivery: "redelivery";
2393
- ambiguous: "ambiguous";
2394
2659
  refusal: "refusal";
2395
2660
  timeout: "timeout";
2396
2661
  retry: "retry";
@@ -3561,14 +3826,14 @@ export declare const OPERATIONS: readonly [{
3561
3826
  sequence: import("zod").ZodNumber;
3562
3827
  settledAt: import("zod").ZodOptional<import("zod").ZodString>;
3563
3828
  state: import("zod").ZodEnum<{
3564
- succeeded: "succeeded";
3565
- ambiguous: "ambiguous";
3566
- due: "due";
3567
- cancelled: "cancelled";
3568
3829
  planned: "planned";
3830
+ due: "due";
3569
3831
  dispatching: "dispatching";
3570
3832
  retry_wait: "retry_wait";
3833
+ ambiguous: "ambiguous";
3834
+ succeeded: "succeeded";
3571
3835
  terminal_failed: "terminal_failed";
3836
+ cancelled: "cancelled";
3572
3837
  skipped_stale: "skipped_stale";
3573
3838
  }>;
3574
3839
  firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -3664,9 +3929,9 @@ export declare const OPERATIONS: readonly [{
3664
3929
  timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
3665
3930
  }, import("zod/v4/core").$strip>], "kind">;
3666
3931
  status: import("zod").ZodEnum<{
3667
- paused: "paused";
3668
- active: "active";
3669
3932
  cancelled: "cancelled";
3933
+ active: "active";
3934
+ paused: "paused";
3670
3935
  completed: "completed";
3671
3936
  }>;
3672
3937
  updatedAt: import("zod").ZodString;
@@ -3743,14 +4008,14 @@ export declare const OPERATIONS: readonly [{
3743
4008
  sequence: import("zod").ZodNumber;
3744
4009
  settledAt: import("zod").ZodOptional<import("zod").ZodString>;
3745
4010
  state: import("zod").ZodEnum<{
3746
- succeeded: "succeeded";
3747
- ambiguous: "ambiguous";
3748
- due: "due";
3749
- cancelled: "cancelled";
3750
4011
  planned: "planned";
4012
+ due: "due";
3751
4013
  dispatching: "dispatching";
3752
4014
  retry_wait: "retry_wait";
4015
+ ambiguous: "ambiguous";
4016
+ succeeded: "succeeded";
3753
4017
  terminal_failed: "terminal_failed";
4018
+ cancelled: "cancelled";
3754
4019
  skipped_stale: "skipped_stale";
3755
4020
  }>;
3756
4021
  firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -3846,9 +4111,9 @@ export declare const OPERATIONS: readonly [{
3846
4111
  timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
3847
4112
  }, import("zod/v4/core").$strip>], "kind">;
3848
4113
  status: import("zod").ZodEnum<{
3849
- paused: "paused";
3850
- active: "active";
3851
4114
  cancelled: "cancelled";
4115
+ active: "active";
4116
+ paused: "paused";
3852
4117
  completed: "completed";
3853
4118
  }>;
3854
4119
  updatedAt: import("zod").ZodString;
@@ -3901,14 +4166,28 @@ export declare const OPERATIONS: readonly [{
3901
4166
  readonly query: import("zod").ZodObject<{
3902
4167
  cursor: import("zod").ZodOptional<import("zod").ZodString>;
3903
4168
  limit: import("zod").ZodDefault<import("zod").ZodNumber>;
3904
- external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
3905
- tag: import("zod").ZodOptional<import("zod").ZodString>;
3906
- dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
3907
- endpoint: import("zod").ZodOptional<import("zod").ZodString>;
3908
4169
  order: import("zod").ZodDefault<import("zod").ZodEnum<{
3909
- created: "created";
3910
4170
  due: "due";
4171
+ created: "created";
4172
+ }>>;
4173
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
4174
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
4175
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
4176
+ cancelled: "cancelled";
4177
+ active: "active";
4178
+ paused: "paused";
4179
+ completed: "completed";
3911
4180
  }>>;
4181
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
4182
+ at: "at";
4183
+ every: "every";
4184
+ cron: "cron";
4185
+ }>>;
4186
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
4187
+ text: import("zod").ZodOptional<import("zod").ZodString>;
4188
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
4189
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
4190
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
3912
4191
  }, import("zod/v4/core").$strip>;
3913
4192
  readonly response: import("zod").ZodNever | import("zod").ZodObject<{
3914
4193
  data: import("zod").ZodArray<import("zod").ZodObject<{
@@ -3993,9 +4272,9 @@ export declare const OPERATIONS: readonly [{
3993
4272
  timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
3994
4273
  }, import("zod/v4/core").$strip>], "kind">;
3995
4274
  status: import("zod").ZodEnum<{
3996
- paused: "paused";
3997
- active: "active";
3998
4275
  cancelled: "cancelled";
4276
+ active: "active";
4277
+ paused: "paused";
3999
4278
  completed: "completed";
4000
4279
  }>;
4001
4280
  updatedAt: import("zod").ZodString;
@@ -4431,8 +4710,8 @@ export declare const OPERATIONS: readonly [{
4431
4710
  durationInMonths: import("zod").ZodOptional<import("zod").ZodNumber>;
4432
4711
  }, import("zod/v4/core").$strip>], "kind">;
4433
4712
  state: import("zod").ZodEnum<{
4434
- expired: "expired";
4435
4713
  active: "active";
4714
+ expired: "expired";
4436
4715
  revoked: "revoked";
4437
4716
  }>;
4438
4717
  startsAt: import("zod").ZodString;
@@ -4571,8 +4850,8 @@ export declare const OPERATIONS: readonly [{
4571
4850
  durationInMonths: import("zod").ZodOptional<import("zod").ZodNumber>;
4572
4851
  }, import("zod/v4/core").$strip>], "kind">;
4573
4852
  state: import("zod").ZodEnum<{
4574
- expired: "expired";
4575
4853
  active: "active";
4854
+ expired: "expired";
4576
4855
  revoked: "revoked";
4577
4856
  }>;
4578
4857
  startsAt: import("zod").ZodString;
@@ -4614,8 +4893,8 @@ export declare const OPERATIONS: readonly [{
4614
4893
  durationInMonths: import("zod").ZodOptional<import("zod").ZodNumber>;
4615
4894
  }, import("zod/v4/core").$strip>], "kind">;
4616
4895
  state: import("zod").ZodEnum<{
4617
- expired: "expired";
4618
4896
  active: "active";
4897
+ expired: "expired";
4619
4898
  revoked: "revoked";
4620
4899
  }>;
4621
4900
  startsAt: import("zod").ZodString;
@@ -5993,26 +6272,26 @@ export declare const OPERATIONS: readonly [{
5993
6272
  }, import("zod/v4/core").$strict>;
5994
6273
  provenance: import("zod").ZodObject<{
5995
6274
  inlinePayloadBytes: import("zod").ZodEnum<{
5996
- default: "default";
5997
6275
  organization: "organization";
6276
+ default: "default";
5998
6277
  global: "global";
5999
6278
  deployment: "deployment";
6000
6279
  }>;
6001
6280
  partitionKeyCeiling: import("zod").ZodOptional<import("zod").ZodEnum<{
6002
- default: "default";
6003
6281
  organization: "organization";
6282
+ default: "default";
6004
6283
  global: "global";
6005
6284
  deployment: "deployment";
6006
6285
  }>>;
6007
6286
  forecastHorizonSeconds: import("zod").ZodEnum<{
6008
- default: "default";
6009
6287
  organization: "organization";
6288
+ default: "default";
6010
6289
  global: "global";
6011
6290
  deployment: "deployment";
6012
6291
  }>;
6013
6292
  usageWindowDays: import("zod").ZodEnum<{
6014
- default: "default";
6015
6293
  organization: "organization";
6294
+ default: "default";
6016
6295
  global: "global";
6017
6296
  deployment: "deployment";
6018
6297
  }>;
@@ -6077,8 +6356,8 @@ export declare const OPERATIONS: readonly [{
6077
6356
  billableOccurrences: import("zod").ZodNumber;
6078
6357
  byTerminalState: import("zod").ZodRecord<import("zod").ZodEnum<{
6079
6358
  succeeded: "succeeded";
6080
- cancelled: "cancelled";
6081
6359
  terminal_failed: "terminal_failed";
6360
+ cancelled: "cancelled";
6082
6361
  skipped_stale: "skipped_stale";
6083
6362
  }> & import("zod/v4/core").$partial, import("zod").ZodNumber>;
6084
6363
  start: import("zod").ZodString;
@@ -6318,14 +6597,14 @@ export declare const OPERATIONS: readonly [{
6318
6597
  sequence: import("zod").ZodNumber;
6319
6598
  settledAt: import("zod").ZodOptional<import("zod").ZodString>;
6320
6599
  state: import("zod").ZodEnum<{
6321
- succeeded: "succeeded";
6322
- ambiguous: "ambiguous";
6323
- due: "due";
6324
- cancelled: "cancelled";
6325
6600
  planned: "planned";
6601
+ due: "due";
6326
6602
  dispatching: "dispatching";
6327
6603
  retry_wait: "retry_wait";
6604
+ ambiguous: "ambiguous";
6605
+ succeeded: "succeeded";
6328
6606
  terminal_failed: "terminal_failed";
6607
+ cancelled: "cancelled";
6329
6608
  skipped_stale: "skipped_stale";
6330
6609
  }>;
6331
6610
  firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -6388,23 +6667,35 @@ export declare const OPERATIONS: readonly [{
6388
6667
  readonly query: import("zod").ZodObject<{
6389
6668
  cursor: import("zod").ZodOptional<import("zod").ZodString>;
6390
6669
  limit: import("zod").ZodDefault<import("zod").ZodNumber>;
6391
- endpoint: import("zod").ZodOptional<import("zod").ZodString>;
6670
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
6671
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
6392
6672
  external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
6393
6673
  tag: import("zod").ZodOptional<import("zod").ZodString>;
6674
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
6675
+ cancelled: "cancelled";
6676
+ active: "active";
6677
+ paused: "paused";
6678
+ completed: "completed";
6679
+ }>>;
6680
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
6681
+ at: "at";
6682
+ every: "every";
6683
+ cron: "cron";
6684
+ }>>;
6685
+ text: import("zod").ZodOptional<import("zod").ZodString>;
6394
6686
  from: import("zod").ZodOptional<import("zod").ZodString>;
6687
+ to: import("zod").ZodOptional<import("zod").ZodString>;
6395
6688
  outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
6396
- succeeded: "succeeded";
6397
- ambiguous: "ambiguous";
6398
- due: "due";
6399
- cancelled: "cancelled";
6400
6689
  planned: "planned";
6690
+ due: "due";
6401
6691
  dispatching: "dispatching";
6402
6692
  retry_wait: "retry_wait";
6693
+ ambiguous: "ambiguous";
6694
+ succeeded: "succeeded";
6403
6695
  terminal_failed: "terminal_failed";
6696
+ cancelled: "cancelled";
6404
6697
  skipped_stale: "skipped_stale";
6405
6698
  }>>;
6406
- schedule: import("zod").ZodOptional<import("zod").ZodString>;
6407
- to: import("zod").ZodOptional<import("zod").ZodString>;
6408
6699
  }, import("zod/v4/core").$strip>;
6409
6700
  readonly response: import("zod").ZodNever | import("zod").ZodObject<{
6410
6701
  data: import("zod").ZodArray<import("zod").ZodObject<{
@@ -6415,14 +6706,14 @@ export declare const OPERATIONS: readonly [{
6415
6706
  sequence: import("zod").ZodNumber;
6416
6707
  settledAt: import("zod").ZodOptional<import("zod").ZodString>;
6417
6708
  state: import("zod").ZodEnum<{
6418
- succeeded: "succeeded";
6419
- ambiguous: "ambiguous";
6420
- due: "due";
6421
- cancelled: "cancelled";
6422
6709
  planned: "planned";
6710
+ due: "due";
6423
6711
  dispatching: "dispatching";
6424
6712
  retry_wait: "retry_wait";
6713
+ ambiguous: "ambiguous";
6714
+ succeeded: "succeeded";
6425
6715
  terminal_failed: "terminal_failed";
6716
+ cancelled: "cancelled";
6426
6717
  skipped_stale: "skipped_stale";
6427
6718
  }>;
6428
6719
  firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -6497,14 +6788,14 @@ export declare const OPERATIONS: readonly [{
6497
6788
  sequence: import("zod").ZodNumber;
6498
6789
  settledAt: import("zod").ZodOptional<import("zod").ZodString>;
6499
6790
  state: import("zod").ZodEnum<{
6500
- succeeded: "succeeded";
6501
- ambiguous: "ambiguous";
6502
- due: "due";
6503
- cancelled: "cancelled";
6504
6791
  planned: "planned";
6792
+ due: "due";
6505
6793
  dispatching: "dispatching";
6506
6794
  retry_wait: "retry_wait";
6795
+ ambiguous: "ambiguous";
6796
+ succeeded: "succeeded";
6507
6797
  terminal_failed: "terminal_failed";
6798
+ cancelled: "cancelled";
6508
6799
  skipped_stale: "skipped_stale";
6509
6800
  }>;
6510
6801
  firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -6523,6 +6814,199 @@ export declare const OPERATIONS: readonly [{
6523
6814
  readonly sessionAuthority: "headers";
6524
6815
  readonly summary: "" | "Read an occurrence";
6525
6816
  readonly surfaces: readonly ["api", "mock"];
6817
+ }, {
6818
+ readonly creates: false;
6819
+ readonly description: "" | "Search all retained delivery attempts by actual startedAt in the required UTC interval [startedFrom, startedBefore), newest first with attempt ID breaking ties. Combine HTTP responseStatus, statusClass, attempt outcome or diagnostic, endpoint, schedule and exact host identifier/tag filters. The matched attempt outcome remains searchable after recovery; occurrence.state is its current outcome. Follow schedule and occurrence IDs to retained details and attempts.list for the complete retry chain. Only safe metadata is returned. Retention horizons describe normal plan history and attempt-detail limits; absence after expiry is not evidence that a delivery never happened. Unavailable queries fail explicitly. Cursors are bound to the verified authority and every selected filter.";
6820
+ readonly example: {
6821
+ data?: never;
6822
+ freshness?: never;
6823
+ retention?: never;
6824
+ } | {
6825
+ data: {
6826
+ attempt: {
6827
+ id: string;
6828
+ attemptNumber: number;
6829
+ occurrence: string;
6830
+ startedAt: string;
6831
+ classifiedAt: string;
6832
+ state: string;
6833
+ responseStatus: number;
6834
+ durationMs: number;
6835
+ diagnostic: string;
6836
+ remediation: string;
6837
+ trigger: {
6838
+ kind: string;
6839
+ };
6840
+ };
6841
+ occurrence: {
6842
+ id: string;
6843
+ schedule: string;
6844
+ generation: number;
6845
+ sequence: number;
6846
+ attemptCount: number;
6847
+ plannedFor: string;
6848
+ settledAt: string;
6849
+ state: string;
6850
+ };
6851
+ schedule: {
6852
+ id: string;
6853
+ name: string;
6854
+ };
6855
+ }[];
6856
+ freshness: {
6857
+ kind: string;
6858
+ };
6859
+ retention: {
6860
+ from: string;
6861
+ detailsFrom: string;
6862
+ };
6863
+ };
6864
+ readonly id: "attempts.search";
6865
+ readonly idempotent: true;
6866
+ readonly mcp: {
6867
+ readonly destructive: false;
6868
+ readonly kind: "tool";
6869
+ readonly openWorld: false;
6870
+ };
6871
+ readonly method: "GET";
6872
+ readonly mutates: false;
6873
+ readonly path: "/v1/attempts";
6874
+ readonly principals: readonly ["api-credential", "oauth", "session"];
6875
+ readonly problems: readonly ["invalid_request"];
6876
+ readonly query: import("zod").ZodObject<{
6877
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
6878
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
6879
+ startedFrom: import("zod").ZodString;
6880
+ startedBefore: import("zod").ZodString;
6881
+ responseStatus: import("zod").ZodOptional<import("zod").ZodNumber>;
6882
+ statusClass: import("zod").ZodOptional<import("zod").ZodEnum<{
6883
+ "1xx": "1xx";
6884
+ "2xx": "2xx";
6885
+ "3xx": "3xx";
6886
+ "4xx": "4xx";
6887
+ "5xx": "5xx";
6888
+ }>>;
6889
+ outcome: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodEnum<{
6890
+ ambiguous: "ambiguous";
6891
+ succeeded: "succeeded";
6892
+ retryable_failure: "retryable_failure";
6893
+ terminal_failure: "terminal_failure";
6894
+ }>, import("zod").ZodLiteral<"in_flight">]>>;
6895
+ diagnostic: import("zod").ZodOptional<import("zod").ZodEnum<{
6896
+ rate_limited: "rate_limited";
6897
+ completion_timed_out: "completion_timed_out";
6898
+ delivered: "delivered";
6899
+ duplicate_inflight: "duplicate_inflight";
6900
+ endpoint_unavailable: "endpoint_unavailable";
6901
+ endpoint_unsafe: "endpoint_unsafe";
6902
+ http_refused: "http_refused";
6903
+ http_retryable: "http_retryable";
6904
+ http_terminal: "http_terminal";
6905
+ identity_conflict: "identity_conflict";
6906
+ network_ambiguous: "network_ambiguous";
6907
+ payload_unavailable: "payload_unavailable";
6908
+ }>>;
6909
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
6910
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
6911
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
6912
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
6913
+ }, import("zod/v4/core").$strip>;
6914
+ readonly response: import("zod").ZodNever | import("zod").ZodObject<{
6915
+ data: import("zod").ZodArray<import("zod").ZodObject<{
6916
+ attempt: import("zod").ZodObject<{
6917
+ id: import("zod").ZodString;
6918
+ attemptNumber: import("zod").ZodNumber;
6919
+ occurrence: import("zod").ZodString;
6920
+ startedAt: import("zod").ZodString;
6921
+ state: import("zod").ZodOptional<import("zod").ZodEnum<{
6922
+ ambiguous: "ambiguous";
6923
+ succeeded: "succeeded";
6924
+ retryable_failure: "retryable_failure";
6925
+ terminal_failure: "terminal_failure";
6926
+ }>>;
6927
+ classifiedAt: import("zod").ZodOptional<import("zod").ZodString>;
6928
+ durationMs: import("zod").ZodOptional<import("zod").ZodNumber>;
6929
+ responseStatus: import("zod").ZodOptional<import("zod").ZodNumber>;
6930
+ diagnostic: import("zod").ZodOptional<import("zod").ZodEnum<{
6931
+ rate_limited: "rate_limited";
6932
+ completion_timed_out: "completion_timed_out";
6933
+ delivered: "delivered";
6934
+ duplicate_inflight: "duplicate_inflight";
6935
+ endpoint_unavailable: "endpoint_unavailable";
6936
+ endpoint_unsafe: "endpoint_unsafe";
6937
+ http_refused: "http_refused";
6938
+ http_retryable: "http_retryable";
6939
+ http_terminal: "http_terminal";
6940
+ identity_conflict: "identity_conflict";
6941
+ network_ambiguous: "network_ambiguous";
6942
+ payload_unavailable: "payload_unavailable";
6943
+ }>>;
6944
+ remediation: import("zod").ZodOptional<import("zod").ZodEnum<{
6945
+ none: "none";
6946
+ review_retry_policy: "review_retry_policy";
6947
+ inspect_receiver: "inspect_receiver";
6948
+ review_endpoint: "review_endpoint";
6949
+ replace_payload: "replace_payload";
6950
+ contact_support: "contact_support";
6951
+ review_before_redelivery: "review_before_redelivery";
6952
+ }>>;
6953
+ trigger: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
6954
+ kind: import("zod").ZodLiteral<"automatic">;
6955
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6956
+ kind: import("zod").ZodLiteral<"redelivery">;
6957
+ sourceAttemptId: import("zod").ZodString;
6958
+ }, import("zod/v4/core").$strip>], "kind">;
6959
+ }, import("zod/v4/core").$strip>;
6960
+ occurrence: import("zod").ZodObject<{
6961
+ generation: import("zod").ZodNumber;
6962
+ id: import("zod").ZodString;
6963
+ plannedFor: import("zod").ZodString;
6964
+ schedule: import("zod").ZodString;
6965
+ sequence: import("zod").ZodNumber;
6966
+ settledAt: import("zod").ZodOptional<import("zod").ZodString>;
6967
+ state: import("zod").ZodEnum<{
6968
+ planned: "planned";
6969
+ due: "due";
6970
+ dispatching: "dispatching";
6971
+ retry_wait: "retry_wait";
6972
+ ambiguous: "ambiguous";
6973
+ succeeded: "succeeded";
6974
+ terminal_failed: "terminal_failed";
6975
+ cancelled: "cancelled";
6976
+ skipped_stale: "skipped_stale";
6977
+ }>;
6978
+ firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
6979
+ firstAttemptStartedAt: import("zod").ZodOptional<import("zod").ZodString>;
6980
+ timingEligibility: import("zod").ZodOptional<import("zod").ZodEnum<{
6981
+ customer_blocked: "customer_blocked";
6982
+ eligible: "eligible";
6983
+ platform_blocked: "platform_blocked";
6984
+ }>>;
6985
+ timingEligibilityReason: import("zod").ZodOptional<import("zod").ZodString>;
6986
+ timingPolicyVersion: import("zod").ZodOptional<import("zod").ZodString>;
6987
+ attemptCount: import("zod").ZodNumber;
6988
+ }, import("zod/v4/core").$strip>;
6989
+ schedule: import("zod").ZodObject<{
6990
+ id: import("zod").ZodString;
6991
+ name: import("zod").ZodOptional<import("zod").ZodString>;
6992
+ endpoint: import("zod").ZodOptional<import("zod").ZodString>;
6993
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
6994
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
6995
+ }, import("zod/v4/core").$strip>;
6996
+ }, import("zod/v4/core").$strip>>;
6997
+ nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
6998
+ freshness: import("zod").ZodObject<{
6999
+ kind: import("zod").ZodLiteral<"authoritative">;
7000
+ }, import("zod/v4/core").$strip>;
7001
+ retention: import("zod").ZodObject<{
7002
+ from: import("zod").ZodString;
7003
+ detailsFrom: import("zod").ZodString;
7004
+ }, import("zod/v4/core").$strip>;
7005
+ }, import("zod/v4/core").$strip>;
7006
+ readonly scopes: readonly ["occurrences:read"];
7007
+ readonly sessionAuthority: "headers";
7008
+ readonly summary: "" | "Search delivery attempts by actual time";
7009
+ readonly surfaces: readonly ["api", "mock"];
6526
7010
  }, {
6527
7011
  readonly creates: false;
6528
7012
  readonly description: "" | "Lists the immutable attempts retained under one occurrence, ordered by start instant and attempt identifier so equal timestamps have a stable position. The PostgreSQL authority answers every page. Optional first-outbound fields carry trusted occurrence timing and its pinned policy; absence means unknown, never zero. Results expose only bounded outcome, response-status, duration, timing, diagnostic, remediation and redelivery-cause metadata; callback payloads, response bodies, destinations, signing material, secrets and transport traces are structurally absent.";
@@ -6609,8 +7093,8 @@ export declare const OPERATIONS: readonly [{
6609
7093
  body: import("zod").ZodOptional<import("zod").ZodObject<{
6610
7094
  contentType: import("zod").ZodString;
6611
7095
  encoding: import("zod").ZodEnum<{
6612
- utf8: "utf8";
6613
7096
  base64: "base64";
7097
+ utf8: "utf8";
6614
7098
  }>;
6615
7099
  content: import("zod").ZodString;
6616
7100
  capturedBytes: import("zod").ZodInt;
@@ -6645,8 +7129,8 @@ export declare const OPERATIONS: readonly [{
6645
7129
  responseStatus: import("zod").ZodOptional<import("zod").ZodNumber>;
6646
7130
  startedAt: import("zod").ZodString;
6647
7131
  state: import("zod").ZodOptional<import("zod").ZodEnum<{
6648
- succeeded: "succeeded";
6649
7132
  ambiguous: "ambiguous";
7133
+ succeeded: "succeeded";
6650
7134
  retryable_failure: "retryable_failure";
6651
7135
  terminal_failure: "terminal_failure";
6652
7136
  }>>;
@@ -6773,8 +7257,8 @@ export declare const OPERATIONS: readonly [{
6773
7257
  body: import("zod").ZodOptional<import("zod").ZodObject<{
6774
7258
  contentType: import("zod").ZodString;
6775
7259
  encoding: import("zod").ZodEnum<{
6776
- utf8: "utf8";
6777
7260
  base64: "base64";
7261
+ utf8: "utf8";
6778
7262
  }>;
6779
7263
  content: import("zod").ZodString;
6780
7264
  capturedBytes: import("zod").ZodInt;
@@ -6809,8 +7293,8 @@ export declare const OPERATIONS: readonly [{
6809
7293
  responseStatus: import("zod").ZodOptional<import("zod").ZodNumber>;
6810
7294
  startedAt: import("zod").ZodString;
6811
7295
  state: import("zod").ZodOptional<import("zod").ZodEnum<{
6812
- succeeded: "succeeded";
6813
7296
  ambiguous: "ambiguous";
7297
+ succeeded: "succeeded";
6814
7298
  retryable_failure: "retryable_failure";
6815
7299
  terminal_failure: "terminal_failure";
6816
7300
  }>>;
@@ -6938,8 +7422,8 @@ export declare const OPERATIONS: readonly [{
6938
7422
  body: import("zod").ZodOptional<import("zod").ZodObject<{
6939
7423
  contentType: import("zod").ZodString;
6940
7424
  encoding: import("zod").ZodEnum<{
6941
- utf8: "utf8";
6942
7425
  base64: "base64";
7426
+ utf8: "utf8";
6943
7427
  }>;
6944
7428
  content: import("zod").ZodString;
6945
7429
  capturedBytes: import("zod").ZodInt;
@@ -6974,8 +7458,8 @@ export declare const OPERATIONS: readonly [{
6974
7458
  responseStatus: import("zod").ZodOptional<import("zod").ZodNumber>;
6975
7459
  startedAt: import("zod").ZodString;
6976
7460
  state: import("zod").ZodOptional<import("zod").ZodEnum<{
6977
- succeeded: "succeeded";
6978
7461
  ambiguous: "ambiguous";
7462
+ succeeded: "succeeded";
6979
7463
  retryable_failure: "retryable_failure";
6980
7464
  terminal_failure: "terminal_failure";
6981
7465
  }>>;
@@ -7168,14 +7652,14 @@ export declare const OPERATIONS: readonly [{
7168
7652
  sequence: import("zod").ZodNumber;
7169
7653
  settledAt: import("zod").ZodOptional<import("zod").ZodString>;
7170
7654
  state: import("zod").ZodEnum<{
7171
- succeeded: "succeeded";
7172
- ambiguous: "ambiguous";
7173
- due: "due";
7174
- cancelled: "cancelled";
7175
7655
  planned: "planned";
7656
+ due: "due";
7176
7657
  dispatching: "dispatching";
7177
7658
  retry_wait: "retry_wait";
7659
+ ambiguous: "ambiguous";
7660
+ succeeded: "succeeded";
7178
7661
  terminal_failed: "terminal_failed";
7662
+ cancelled: "cancelled";
7179
7663
  skipped_stale: "skipped_stale";
7180
7664
  }>;
7181
7665
  firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -7271,9 +7755,9 @@ export declare const OPERATIONS: readonly [{
7271
7755
  timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
7272
7756
  }, import("zod/v4/core").$strip>], "kind">;
7273
7757
  status: import("zod").ZodEnum<{
7274
- paused: "paused";
7275
- active: "active";
7276
7758
  cancelled: "cancelled";
7759
+ active: "active";
7760
+ paused: "paused";
7277
7761
  completed: "completed";
7278
7762
  }>;
7279
7763
  updatedAt: import("zod").ZodString;
@@ -7348,14 +7832,14 @@ export declare const OPERATIONS: readonly [{
7348
7832
  sequence: import("zod").ZodNumber;
7349
7833
  settledAt: import("zod").ZodOptional<import("zod").ZodString>;
7350
7834
  state: import("zod").ZodEnum<{
7351
- succeeded: "succeeded";
7352
- ambiguous: "ambiguous";
7353
- due: "due";
7354
- cancelled: "cancelled";
7355
7835
  planned: "planned";
7836
+ due: "due";
7356
7837
  dispatching: "dispatching";
7357
7838
  retry_wait: "retry_wait";
7839
+ ambiguous: "ambiguous";
7840
+ succeeded: "succeeded";
7358
7841
  terminal_failed: "terminal_failed";
7842
+ cancelled: "cancelled";
7359
7843
  skipped_stale: "skipped_stale";
7360
7844
  }>;
7361
7845
  firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -7451,9 +7935,9 @@ export declare const OPERATIONS: readonly [{
7451
7935
  timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
7452
7936
  }, import("zod/v4/core").$strip>], "kind">;
7453
7937
  status: import("zod").ZodEnum<{
7454
- paused: "paused";
7455
- active: "active";
7456
7938
  cancelled: "cancelled";
7939
+ active: "active";
7940
+ paused: "paused";
7457
7941
  completed: "completed";
7458
7942
  }>;
7459
7943
  updatedAt: import("zod").ZodString;
@@ -7523,14 +8007,14 @@ export declare const OPERATIONS: readonly [{
7523
8007
  sequence: import("zod").ZodNumber;
7524
8008
  settledAt: import("zod").ZodOptional<import("zod").ZodString>;
7525
8009
  state: import("zod").ZodEnum<{
7526
- succeeded: "succeeded";
7527
- ambiguous: "ambiguous";
7528
- due: "due";
7529
- cancelled: "cancelled";
7530
8010
  planned: "planned";
8011
+ due: "due";
7531
8012
  dispatching: "dispatching";
7532
8013
  retry_wait: "retry_wait";
8014
+ ambiguous: "ambiguous";
8015
+ succeeded: "succeeded";
7533
8016
  terminal_failed: "terminal_failed";
8017
+ cancelled: "cancelled";
7534
8018
  skipped_stale: "skipped_stale";
7535
8019
  }>;
7536
8020
  firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -7626,9 +8110,9 @@ export declare const OPERATIONS: readonly [{
7626
8110
  timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
7627
8111
  }, import("zod/v4/core").$strip>], "kind">;
7628
8112
  status: import("zod").ZodEnum<{
7629
- paused: "paused";
7630
- active: "active";
7631
8113
  cancelled: "cancelled";
8114
+ active: "active";
8115
+ paused: "paused";
7632
8116
  completed: "completed";
7633
8117
  }>;
7634
8118
  updatedAt: import("zod").ZodString;
@@ -7699,14 +8183,14 @@ export declare const OPERATIONS: readonly [{
7699
8183
  sequence: import("zod").ZodNumber;
7700
8184
  settledAt: import("zod").ZodOptional<import("zod").ZodString>;
7701
8185
  state: import("zod").ZodEnum<{
7702
- succeeded: "succeeded";
7703
- ambiguous: "ambiguous";
7704
- due: "due";
7705
- cancelled: "cancelled";
7706
8186
  planned: "planned";
8187
+ due: "due";
7707
8188
  dispatching: "dispatching";
7708
8189
  retry_wait: "retry_wait";
8190
+ ambiguous: "ambiguous";
8191
+ succeeded: "succeeded";
7709
8192
  terminal_failed: "terminal_failed";
8193
+ cancelled: "cancelled";
7710
8194
  skipped_stale: "skipped_stale";
7711
8195
  }>;
7712
8196
  firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -7802,9 +8286,9 @@ export declare const OPERATIONS: readonly [{
7802
8286
  timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
7803
8287
  }, import("zod/v4/core").$strip>], "kind">;
7804
8288
  status: import("zod").ZodEnum<{
7805
- paused: "paused";
7806
- active: "active";
7807
8289
  cancelled: "cancelled";
8290
+ active: "active";
8291
+ paused: "paused";
7808
8292
  completed: "completed";
7809
8293
  }>;
7810
8294
  updatedAt: import("zod").ZodString;
@@ -7876,14 +8360,14 @@ export declare const OPERATIONS: readonly [{
7876
8360
  sequence: import("zod").ZodNumber;
7877
8361
  settledAt: import("zod").ZodOptional<import("zod").ZodString>;
7878
8362
  state: import("zod").ZodEnum<{
7879
- succeeded: "succeeded";
7880
- ambiguous: "ambiguous";
7881
- due: "due";
7882
- cancelled: "cancelled";
7883
8363
  planned: "planned";
8364
+ due: "due";
7884
8365
  dispatching: "dispatching";
7885
8366
  retry_wait: "retry_wait";
8367
+ ambiguous: "ambiguous";
8368
+ succeeded: "succeeded";
7886
8369
  terminal_failed: "terminal_failed";
8370
+ cancelled: "cancelled";
7887
8371
  skipped_stale: "skipped_stale";
7888
8372
  }>;
7889
8373
  firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
@@ -7979,9 +8463,9 @@ export declare const OPERATIONS: readonly [{
7979
8463
  timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
7980
8464
  }, import("zod/v4/core").$strip>], "kind">;
7981
8465
  status: import("zod").ZodEnum<{
7982
- paused: "paused";
7983
- active: "active";
7984
8466
  cancelled: "cancelled";
8467
+ active: "active";
8468
+ paused: "paused";
7985
8469
  completed: "completed";
7986
8470
  }>;
7987
8471
  updatedAt: import("zod").ZodString;