@contractspec/lib.contracts 1.46.0 → 1.46.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.
@@ -29,15 +29,15 @@ declare const OpenApiSourceConfigSchema: z$2.ZodObject<{
29
29
  include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
30
30
  prefix: z$2.ZodOptional<z$2.ZodString>;
31
31
  defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
32
+ deprecated: "deprecated";
32
33
  experimental: "experimental";
33
34
  beta: "beta";
34
35
  stable: "stable";
35
- deprecated: "deprecated";
36
36
  }>>;
37
37
  defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
38
+ admin: "admin";
38
39
  anonymous: "anonymous";
39
40
  user: "user";
40
- admin: "admin";
41
41
  }>>;
42
42
  defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
43
43
  schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
@@ -79,15 +79,15 @@ declare const OpenApiConfigSchema: z$2.ZodObject<{
79
79
  include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
80
80
  prefix: z$2.ZodOptional<z$2.ZodString>;
81
81
  defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
82
+ deprecated: "deprecated";
82
83
  experimental: "experimental";
83
84
  beta: "beta";
84
85
  stable: "stable";
85
- deprecated: "deprecated";
86
86
  }>>;
87
87
  defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
88
+ admin: "admin";
88
89
  anonymous: "anonymous";
89
90
  user: "user";
90
- admin: "admin";
91
91
  }>>;
92
92
  defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
93
93
  schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
@@ -313,8 +313,8 @@ declare const ChangelogFormatSchema: z$2.ZodEnum<{
313
313
  * Changelog tier configuration.
314
314
  */
315
315
  declare const ChangelogTierSchema: z$2.ZodEnum<{
316
- spec: "spec";
317
316
  library: "library";
317
+ spec: "spec";
318
318
  monorepo: "monorepo";
319
319
  }>;
320
320
  /**
@@ -328,8 +328,8 @@ declare const VersioningConfigSchema: z$2.ZodObject<{
328
328
  }>>;
329
329
  integrateWithChangesets: z$2.ZodDefault<z$2.ZodBoolean>;
330
330
  changelogTiers: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
331
- spec: "spec";
332
331
  library: "library";
332
+ spec: "spec";
333
333
  monorepo: "monorepo";
334
334
  }>>>;
335
335
  format: z$2.ZodDefault<z$2.ZodEnum<{
@@ -428,88 +428,88 @@ declare const ExternalAgentsConfigSchema: z$2.ZodObject<{
428
428
  * Rule severity levels (inspired by ESLint).
429
429
  */
430
430
  declare const RuleSeveritySchema: z$2.ZodEnum<{
431
+ error: "error";
431
432
  off: "off";
432
433
  warn: "warn";
433
- error: "error";
434
434
  }>;
435
435
  /**
436
436
  * Contract kinds for per-kind rule overrides.
437
437
  */
438
438
  declare const SpecKindSchema: z$2.ZodEnum<{
439
+ "data-view": "data-view";
440
+ telemetry: "telemetry";
439
441
  operation: "operation";
442
+ workflow: "workflow";
443
+ feature: "feature";
444
+ "app-config": "app-config";
440
445
  event: "event";
441
446
  presentation: "presentation";
442
- feature: "feature";
443
- workflow: "workflow";
444
- "data-view": "data-view";
445
447
  migration: "migration";
446
- telemetry: "telemetry";
447
448
  experiment: "experiment";
448
- "app-config": "app-config";
449
449
  }>;
450
450
  /**
451
451
  * Available lint rules with their severity.
452
452
  */
453
453
  declare const LintRulesSchema: z$2.ZodObject<{
454
454
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
455
+ error: "error";
455
456
  off: "off";
456
457
  warn: "warn";
457
- error: "error";
458
458
  }>>;
459
459
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
460
+ error: "error";
460
461
  off: "off";
461
462
  warn: "warn";
462
- error: "error";
463
463
  }>>;
464
464
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
465
+ error: "error";
465
466
  off: "off";
466
467
  warn: "warn";
467
- error: "error";
468
468
  }>>;
469
469
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
470
+ error: "error";
470
471
  off: "off";
471
472
  warn: "warn";
472
- error: "error";
473
473
  }>>;
474
474
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
475
+ error: "error";
475
476
  off: "off";
476
477
  warn: "warn";
477
- error: "error";
478
478
  }>>;
479
479
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
480
+ error: "error";
480
481
  off: "off";
481
482
  warn: "warn";
482
- error: "error";
483
483
  }>>;
484
484
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
485
+ error: "error";
485
486
  off: "off";
486
487
  warn: "warn";
487
- error: "error";
488
488
  }>>;
489
489
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
490
+ error: "error";
490
491
  off: "off";
491
492
  warn: "warn";
492
- error: "error";
493
493
  }>>;
494
494
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
495
+ error: "error";
495
496
  off: "off";
496
497
  warn: "warn";
497
- error: "error";
498
498
  }>>;
499
499
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
500
+ error: "error";
500
501
  off: "off";
501
502
  warn: "warn";
502
- error: "error";
503
503
  }>>;
504
504
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
505
+ error: "error";
505
506
  off: "off";
506
507
  warn: "warn";
507
- error: "error";
508
508
  }>>;
509
509
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
510
+ error: "error";
510
511
  off: "off";
511
512
  warn: "warn";
512
- error: "error";
513
513
  }>>;
514
514
  }, z$2.core.$strip>;
515
515
  /**
@@ -518,137 +518,137 @@ declare const LintRulesSchema: z$2.ZodObject<{
518
518
  declare const RulesConfigSchema: z$2.ZodObject<{
519
519
  defaults: z$2.ZodOptional<z$2.ZodObject<{
520
520
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
521
+ error: "error";
521
522
  off: "off";
522
523
  warn: "warn";
523
- error: "error";
524
524
  }>>;
525
525
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
526
+ error: "error";
526
527
  off: "off";
527
528
  warn: "warn";
528
- error: "error";
529
529
  }>>;
530
530
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
531
+ error: "error";
531
532
  off: "off";
532
533
  warn: "warn";
533
- error: "error";
534
534
  }>>;
535
535
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
536
+ error: "error";
536
537
  off: "off";
537
538
  warn: "warn";
538
- error: "error";
539
539
  }>>;
540
540
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
541
+ error: "error";
541
542
  off: "off";
542
543
  warn: "warn";
543
- error: "error";
544
544
  }>>;
545
545
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
546
+ error: "error";
546
547
  off: "off";
547
548
  warn: "warn";
548
- error: "error";
549
549
  }>>;
550
550
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
551
+ error: "error";
551
552
  off: "off";
552
553
  warn: "warn";
553
- error: "error";
554
554
  }>>;
555
555
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
556
+ error: "error";
556
557
  off: "off";
557
558
  warn: "warn";
558
- error: "error";
559
559
  }>>;
560
560
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
561
+ error: "error";
561
562
  off: "off";
562
563
  warn: "warn";
563
- error: "error";
564
564
  }>>;
565
565
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
566
+ error: "error";
566
567
  off: "off";
567
568
  warn: "warn";
568
- error: "error";
569
569
  }>>;
570
570
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
571
+ error: "error";
571
572
  off: "off";
572
573
  warn: "warn";
573
- error: "error";
574
574
  }>>;
575
575
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
576
+ error: "error";
576
577
  off: "off";
577
578
  warn: "warn";
578
- error: "error";
579
579
  }>>;
580
580
  }, z$2.core.$strip>>;
581
581
  overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
582
+ "data-view": "data-view";
583
+ telemetry: "telemetry";
582
584
  operation: "operation";
585
+ workflow: "workflow";
586
+ feature: "feature";
587
+ "app-config": "app-config";
583
588
  event: "event";
584
589
  presentation: "presentation";
585
- feature: "feature";
586
- workflow: "workflow";
587
- "data-view": "data-view";
588
590
  migration: "migration";
589
- telemetry: "telemetry";
590
591
  experiment: "experiment";
591
- "app-config": "app-config";
592
592
  }>, z$2.ZodObject<{
593
593
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
594
+ error: "error";
594
595
  off: "off";
595
596
  warn: "warn";
596
- error: "error";
597
597
  }>>;
598
598
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
599
+ error: "error";
599
600
  off: "off";
600
601
  warn: "warn";
601
- error: "error";
602
602
  }>>;
603
603
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
604
+ error: "error";
604
605
  off: "off";
605
606
  warn: "warn";
606
- error: "error";
607
607
  }>>;
608
608
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
609
+ error: "error";
609
610
  off: "off";
610
611
  warn: "warn";
611
- error: "error";
612
612
  }>>;
613
613
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
614
+ error: "error";
614
615
  off: "off";
615
616
  warn: "warn";
616
- error: "error";
617
617
  }>>;
618
618
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
619
+ error: "error";
619
620
  off: "off";
620
621
  warn: "warn";
621
- error: "error";
622
622
  }>>;
623
623
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
624
+ error: "error";
624
625
  off: "off";
625
626
  warn: "warn";
626
- error: "error";
627
627
  }>>;
628
628
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
629
+ error: "error";
629
630
  off: "off";
630
631
  warn: "warn";
631
- error: "error";
632
632
  }>>;
633
633
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
634
+ error: "error";
634
635
  off: "off";
635
636
  warn: "warn";
636
- error: "error";
637
637
  }>>;
638
638
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
639
+ error: "error";
639
640
  off: "off";
640
641
  warn: "warn";
641
- error: "error";
642
642
  }>>;
643
643
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
644
+ error: "error";
644
645
  off: "off";
645
646
  warn: "warn";
646
- error: "error";
647
647
  }>>;
648
648
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
649
+ error: "error";
649
650
  off: "off";
650
651
  warn: "warn";
651
- error: "error";
652
652
  }>>;
653
653
  }, z$2.core.$strip>>>;
654
654
  }, z$2.core.$strip>;
@@ -746,15 +746,15 @@ declare const ContractsrcSchema: z$2.ZodObject<{
746
746
  include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
747
747
  prefix: z$2.ZodOptional<z$2.ZodString>;
748
748
  defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
749
+ deprecated: "deprecated";
749
750
  experimental: "experimental";
750
751
  beta: "beta";
751
752
  stable: "stable";
752
- deprecated: "deprecated";
753
753
  }>>;
754
754
  defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
755
+ admin: "admin";
755
756
  anonymous: "anonymous";
756
757
  user: "user";
757
- admin: "admin";
758
758
  }>>;
759
759
  defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
760
760
  schemaFormat: z$2.ZodDefault<z$2.ZodEnum<{
@@ -817,137 +817,137 @@ declare const ContractsrcSchema: z$2.ZodObject<{
817
817
  rules: z$2.ZodOptional<z$2.ZodObject<{
818
818
  defaults: z$2.ZodOptional<z$2.ZodObject<{
819
819
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
820
+ error: "error";
820
821
  off: "off";
821
822
  warn: "warn";
822
- error: "error";
823
823
  }>>;
824
824
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
825
+ error: "error";
825
826
  off: "off";
826
827
  warn: "warn";
827
- error: "error";
828
828
  }>>;
829
829
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
830
+ error: "error";
830
831
  off: "off";
831
832
  warn: "warn";
832
- error: "error";
833
833
  }>>;
834
834
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
835
+ error: "error";
835
836
  off: "off";
836
837
  warn: "warn";
837
- error: "error";
838
838
  }>>;
839
839
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
840
+ error: "error";
840
841
  off: "off";
841
842
  warn: "warn";
842
- error: "error";
843
843
  }>>;
844
844
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
845
+ error: "error";
845
846
  off: "off";
846
847
  warn: "warn";
847
- error: "error";
848
848
  }>>;
849
849
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
850
+ error: "error";
850
851
  off: "off";
851
852
  warn: "warn";
852
- error: "error";
853
853
  }>>;
854
854
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
855
+ error: "error";
855
856
  off: "off";
856
857
  warn: "warn";
857
- error: "error";
858
858
  }>>;
859
859
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
860
+ error: "error";
860
861
  off: "off";
861
862
  warn: "warn";
862
- error: "error";
863
863
  }>>;
864
864
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
865
+ error: "error";
865
866
  off: "off";
866
867
  warn: "warn";
867
- error: "error";
868
868
  }>>;
869
869
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
870
+ error: "error";
870
871
  off: "off";
871
872
  warn: "warn";
872
- error: "error";
873
873
  }>>;
874
874
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
875
+ error: "error";
875
876
  off: "off";
876
877
  warn: "warn";
877
- error: "error";
878
878
  }>>;
879
879
  }, z$2.core.$strip>>;
880
880
  overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
881
+ "data-view": "data-view";
882
+ telemetry: "telemetry";
881
883
  operation: "operation";
884
+ workflow: "workflow";
885
+ feature: "feature";
886
+ "app-config": "app-config";
882
887
  event: "event";
883
888
  presentation: "presentation";
884
- feature: "feature";
885
- workflow: "workflow";
886
- "data-view": "data-view";
887
889
  migration: "migration";
888
- telemetry: "telemetry";
889
890
  experiment: "experiment";
890
- "app-config": "app-config";
891
891
  }>, z$2.ZodObject<{
892
892
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
893
+ error: "error";
893
894
  off: "off";
894
895
  warn: "warn";
895
- error: "error";
896
896
  }>>;
897
897
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
898
+ error: "error";
898
899
  off: "off";
899
900
  warn: "warn";
900
- error: "error";
901
901
  }>>;
902
902
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
903
+ error: "error";
903
904
  off: "off";
904
905
  warn: "warn";
905
- error: "error";
906
906
  }>>;
907
907
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
908
+ error: "error";
908
909
  off: "off";
909
910
  warn: "warn";
910
- error: "error";
911
911
  }>>;
912
912
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
913
+ error: "error";
913
914
  off: "off";
914
915
  warn: "warn";
915
- error: "error";
916
916
  }>>;
917
917
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
918
+ error: "error";
918
919
  off: "off";
919
920
  warn: "warn";
920
- error: "error";
921
921
  }>>;
922
922
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
923
+ error: "error";
923
924
  off: "off";
924
925
  warn: "warn";
925
- error: "error";
926
926
  }>>;
927
927
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
928
+ error: "error";
928
929
  off: "off";
929
930
  warn: "warn";
930
- error: "error";
931
931
  }>>;
932
932
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
933
+ error: "error";
933
934
  off: "off";
934
935
  warn: "warn";
935
- error: "error";
936
936
  }>>;
937
937
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
938
+ error: "error";
938
939
  off: "off";
939
940
  warn: "warn";
940
- error: "error";
941
941
  }>>;
942
942
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
943
+ error: "error";
943
944
  off: "off";
944
945
  warn: "warn";
945
- error: "error";
946
946
  }>>;
947
947
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
948
+ error: "error";
948
949
  off: "off";
949
950
  warn: "warn";
950
- error: "error";
951
951
  }>>;
952
952
  }, z$2.core.$strip>>>;
953
953
  }, z$2.core.$strip>>;
@@ -979,8 +979,8 @@ declare const ContractsrcSchema: z$2.ZodObject<{
979
979
  }>>;
980
980
  integrateWithChangesets: z$2.ZodDefault<z$2.ZodBoolean>;
981
981
  changelogTiers: z$2.ZodDefault<z$2.ZodArray<z$2.ZodEnum<{
982
- spec: "spec";
983
982
  library: "library";
983
+ spec: "spec";
984
984
  monorepo: "monorepo";
985
985
  }>>>;
986
986
  format: z$2.ZodDefault<z$2.ZodEnum<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.contracts",
3
- "version": "1.46.0",
3
+ "version": "1.46.1",
4
4
  "description": "Core contract specification definitions and runtime",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -25,8 +25,8 @@
25
25
  "test": "bun test"
26
26
  },
27
27
  "devDependencies": {
28
- "@contractspec/tool.tsdown": "1.46.0",
29
- "@contractspec/tool.typescript": "1.46.0",
28
+ "@contractspec/tool.tsdown": "1.46.1",
29
+ "@contractspec/tool.typescript": "1.46.1",
30
30
  "@types/express": "^5.0.3",
31
31
  "@types/turndown": "^5.0.6",
32
32
  "tsdown": "^0.18.3",
@@ -35,8 +35,8 @@
35
35
  "dependencies": {
36
36
  "@aws-sdk/client-secrets-manager": "^3.958.0",
37
37
  "@aws-sdk/client-sqs": "^3.958.0",
38
- "@contractspec/lib.logger": "1.46.0",
39
- "@contractspec/lib.schema": "1.46.0",
38
+ "@contractspec/lib.logger": "1.46.1",
39
+ "@contractspec/lib.schema": "1.46.1",
40
40
  "@elevenlabs/elevenlabs-js": "^2.27.0",
41
41
  "@google-cloud/secret-manager": "^6.1.1",
42
42
  "@google-cloud/storage": "^7.18.0",