@contractspec/lib.contracts 1.45.1 → 1.45.2

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,14 +29,14 @@ 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
- anonymous: "anonymous";
39
38
  user: "user";
39
+ anonymous: "anonymous";
40
40
  admin: "admin";
41
41
  }>>;
42
42
  defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
@@ -79,14 +79,14 @@ 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
- anonymous: "anonymous";
89
88
  user: "user";
89
+ anonymous: "anonymous";
90
90
  admin: "admin";
91
91
  }>>;
92
92
  defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
@@ -298,88 +298,88 @@ declare const FormatterConfigSchema: z$2.ZodObject<{
298
298
  * Rule severity levels (inspired by ESLint).
299
299
  */
300
300
  declare const RuleSeveritySchema: z$2.ZodEnum<{
301
+ error: "error";
301
302
  off: "off";
302
303
  warn: "warn";
303
- error: "error";
304
304
  }>;
305
305
  /**
306
306
  * Contract kinds for per-kind rule overrides.
307
307
  */
308
308
  declare const SpecKindSchema: z$2.ZodEnum<{
309
+ telemetry: "telemetry";
309
310
  operation: "operation";
311
+ "app-config": "app-config";
312
+ "data-view": "data-view";
313
+ workflow: "workflow";
314
+ feature: "feature";
310
315
  event: "event";
311
316
  presentation: "presentation";
312
- feature: "feature";
313
- workflow: "workflow";
314
- "data-view": "data-view";
315
317
  migration: "migration";
316
- telemetry: "telemetry";
317
318
  experiment: "experiment";
318
- "app-config": "app-config";
319
319
  }>;
320
320
  /**
321
321
  * Available lint rules with their severity.
322
322
  */
323
323
  declare const LintRulesSchema: z$2.ZodObject<{
324
324
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
325
+ error: "error";
325
326
  off: "off";
326
327
  warn: "warn";
327
- error: "error";
328
328
  }>>;
329
329
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
330
+ error: "error";
330
331
  off: "off";
331
332
  warn: "warn";
332
- error: "error";
333
333
  }>>;
334
334
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
335
+ error: "error";
335
336
  off: "off";
336
337
  warn: "warn";
337
- error: "error";
338
338
  }>>;
339
339
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
340
+ error: "error";
340
341
  off: "off";
341
342
  warn: "warn";
342
- error: "error";
343
343
  }>>;
344
344
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
345
+ error: "error";
345
346
  off: "off";
346
347
  warn: "warn";
347
- error: "error";
348
348
  }>>;
349
349
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
350
+ error: "error";
350
351
  off: "off";
351
352
  warn: "warn";
352
- error: "error";
353
353
  }>>;
354
354
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
355
+ error: "error";
355
356
  off: "off";
356
357
  warn: "warn";
357
- error: "error";
358
358
  }>>;
359
359
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
360
+ error: "error";
360
361
  off: "off";
361
362
  warn: "warn";
362
- error: "error";
363
363
  }>>;
364
364
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
365
+ error: "error";
365
366
  off: "off";
366
367
  warn: "warn";
367
- error: "error";
368
368
  }>>;
369
369
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
370
+ error: "error";
370
371
  off: "off";
371
372
  warn: "warn";
372
- error: "error";
373
373
  }>>;
374
374
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
375
+ error: "error";
375
376
  off: "off";
376
377
  warn: "warn";
377
- error: "error";
378
378
  }>>;
379
379
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
380
+ error: "error";
380
381
  off: "off";
381
382
  warn: "warn";
382
- error: "error";
383
383
  }>>;
384
384
  }, z$2.core.$strip>;
385
385
  /**
@@ -388,137 +388,137 @@ declare const LintRulesSchema: z$2.ZodObject<{
388
388
  declare const RulesConfigSchema: z$2.ZodObject<{
389
389
  defaults: z$2.ZodOptional<z$2.ZodObject<{
390
390
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
391
+ error: "error";
391
392
  off: "off";
392
393
  warn: "warn";
393
- error: "error";
394
394
  }>>;
395
395
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
396
+ error: "error";
396
397
  off: "off";
397
398
  warn: "warn";
398
- error: "error";
399
399
  }>>;
400
400
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
401
+ error: "error";
401
402
  off: "off";
402
403
  warn: "warn";
403
- error: "error";
404
404
  }>>;
405
405
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
406
+ error: "error";
406
407
  off: "off";
407
408
  warn: "warn";
408
- error: "error";
409
409
  }>>;
410
410
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
411
+ error: "error";
411
412
  off: "off";
412
413
  warn: "warn";
413
- error: "error";
414
414
  }>>;
415
415
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
416
+ error: "error";
416
417
  off: "off";
417
418
  warn: "warn";
418
- error: "error";
419
419
  }>>;
420
420
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
421
+ error: "error";
421
422
  off: "off";
422
423
  warn: "warn";
423
- error: "error";
424
424
  }>>;
425
425
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
426
+ error: "error";
426
427
  off: "off";
427
428
  warn: "warn";
428
- error: "error";
429
429
  }>>;
430
430
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
431
+ error: "error";
431
432
  off: "off";
432
433
  warn: "warn";
433
- error: "error";
434
434
  }>>;
435
435
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
436
+ error: "error";
436
437
  off: "off";
437
438
  warn: "warn";
438
- error: "error";
439
439
  }>>;
440
440
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
441
+ error: "error";
441
442
  off: "off";
442
443
  warn: "warn";
443
- error: "error";
444
444
  }>>;
445
445
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
446
+ error: "error";
446
447
  off: "off";
447
448
  warn: "warn";
448
- error: "error";
449
449
  }>>;
450
450
  }, z$2.core.$strip>>;
451
451
  overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
452
+ telemetry: "telemetry";
452
453
  operation: "operation";
454
+ "app-config": "app-config";
455
+ "data-view": "data-view";
456
+ workflow: "workflow";
457
+ feature: "feature";
453
458
  event: "event";
454
459
  presentation: "presentation";
455
- feature: "feature";
456
- workflow: "workflow";
457
- "data-view": "data-view";
458
460
  migration: "migration";
459
- telemetry: "telemetry";
460
461
  experiment: "experiment";
461
- "app-config": "app-config";
462
462
  }>, z$2.ZodObject<{
463
463
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
464
+ error: "error";
464
465
  off: "off";
465
466
  warn: "warn";
466
- error: "error";
467
467
  }>>;
468
468
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
469
+ error: "error";
469
470
  off: "off";
470
471
  warn: "warn";
471
- error: "error";
472
472
  }>>;
473
473
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
474
+ error: "error";
474
475
  off: "off";
475
476
  warn: "warn";
476
- error: "error";
477
477
  }>>;
478
478
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
479
+ error: "error";
479
480
  off: "off";
480
481
  warn: "warn";
481
- error: "error";
482
482
  }>>;
483
483
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
484
+ error: "error";
484
485
  off: "off";
485
486
  warn: "warn";
486
- error: "error";
487
487
  }>>;
488
488
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
489
+ error: "error";
489
490
  off: "off";
490
491
  warn: "warn";
491
- error: "error";
492
492
  }>>;
493
493
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
494
+ error: "error";
494
495
  off: "off";
495
496
  warn: "warn";
496
- error: "error";
497
497
  }>>;
498
498
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
499
+ error: "error";
499
500
  off: "off";
500
501
  warn: "warn";
501
- error: "error";
502
502
  }>>;
503
503
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
504
+ error: "error";
504
505
  off: "off";
505
506
  warn: "warn";
506
- error: "error";
507
507
  }>>;
508
508
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
509
+ error: "error";
509
510
  off: "off";
510
511
  warn: "warn";
511
- error: "error";
512
512
  }>>;
513
513
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
514
+ error: "error";
514
515
  off: "off";
515
516
  warn: "warn";
516
- error: "error";
517
517
  }>>;
518
518
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
519
+ error: "error";
519
520
  off: "off";
520
521
  warn: "warn";
521
- error: "error";
522
522
  }>>;
523
523
  }, z$2.core.$strip>>>;
524
524
  }, z$2.core.$strip>;
@@ -534,9 +534,9 @@ declare const ContractsrcSchema: z$2.ZodObject<{
534
534
  }>>;
535
535
  aiModel: z$2.ZodOptional<z$2.ZodString>;
536
536
  agentMode: z$2.ZodDefault<z$2.ZodEnum<{
537
+ "claude-code": "claude-code";
537
538
  simple: "simple";
538
539
  cursor: "cursor";
539
- "claude-code": "claude-code";
540
540
  "openai-codex": "openai-codex";
541
541
  }>>;
542
542
  customEndpoint: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodURL>>;
@@ -609,14 +609,14 @@ declare const ContractsrcSchema: z$2.ZodObject<{
609
609
  include: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
610
610
  prefix: z$2.ZodOptional<z$2.ZodString>;
611
611
  defaultStability: z$2.ZodOptional<z$2.ZodEnum<{
612
+ deprecated: "deprecated";
612
613
  experimental: "experimental";
613
614
  beta: "beta";
614
615
  stable: "stable";
615
- deprecated: "deprecated";
616
616
  }>>;
617
617
  defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
618
- anonymous: "anonymous";
619
618
  user: "user";
619
+ anonymous: "anonymous";
620
620
  admin: "admin";
621
621
  }>>;
622
622
  defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
@@ -680,137 +680,137 @@ declare const ContractsrcSchema: z$2.ZodObject<{
680
680
  rules: z$2.ZodOptional<z$2.ZodObject<{
681
681
  defaults: z$2.ZodOptional<z$2.ZodObject<{
682
682
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
683
+ error: "error";
683
684
  off: "off";
684
685
  warn: "warn";
685
- error: "error";
686
686
  }>>;
687
687
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
688
+ error: "error";
688
689
  off: "off";
689
690
  warn: "warn";
690
- error: "error";
691
691
  }>>;
692
692
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
693
+ error: "error";
693
694
  off: "off";
694
695
  warn: "warn";
695
- error: "error";
696
696
  }>>;
697
697
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
698
+ error: "error";
698
699
  off: "off";
699
700
  warn: "warn";
700
- error: "error";
701
701
  }>>;
702
702
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
703
+ error: "error";
703
704
  off: "off";
704
705
  warn: "warn";
705
- error: "error";
706
706
  }>>;
707
707
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
708
+ error: "error";
708
709
  off: "off";
709
710
  warn: "warn";
710
- error: "error";
711
711
  }>>;
712
712
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
713
+ error: "error";
713
714
  off: "off";
714
715
  warn: "warn";
715
- error: "error";
716
716
  }>>;
717
717
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
718
+ error: "error";
718
719
  off: "off";
719
720
  warn: "warn";
720
- error: "error";
721
721
  }>>;
722
722
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
723
+ error: "error";
723
724
  off: "off";
724
725
  warn: "warn";
725
- error: "error";
726
726
  }>>;
727
727
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
728
+ error: "error";
728
729
  off: "off";
729
730
  warn: "warn";
730
- error: "error";
731
731
  }>>;
732
732
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
733
+ error: "error";
733
734
  off: "off";
734
735
  warn: "warn";
735
- error: "error";
736
736
  }>>;
737
737
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
738
+ error: "error";
738
739
  off: "off";
739
740
  warn: "warn";
740
- error: "error";
741
741
  }>>;
742
742
  }, z$2.core.$strip>>;
743
743
  overrides: z$2.ZodOptional<z$2.ZodRecord<z$2.ZodEnum<{
744
+ telemetry: "telemetry";
744
745
  operation: "operation";
746
+ "app-config": "app-config";
747
+ "data-view": "data-view";
748
+ workflow: "workflow";
749
+ feature: "feature";
745
750
  event: "event";
746
751
  presentation: "presentation";
747
- feature: "feature";
748
- workflow: "workflow";
749
- "data-view": "data-view";
750
752
  migration: "migration";
751
- telemetry: "telemetry";
752
753
  experiment: "experiment";
753
- "app-config": "app-config";
754
754
  }>, z$2.ZodObject<{
755
755
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
756
+ error: "error";
756
757
  off: "off";
757
758
  warn: "warn";
758
- error: "error";
759
759
  }>>;
760
760
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
761
+ error: "error";
761
762
  off: "off";
762
763
  warn: "warn";
763
- error: "error";
764
764
  }>>;
765
765
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
766
+ error: "error";
766
767
  off: "off";
767
768
  warn: "warn";
768
- error: "error";
769
769
  }>>;
770
770
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
771
+ error: "error";
771
772
  off: "off";
772
773
  warn: "warn";
773
- error: "error";
774
774
  }>>;
775
775
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
776
+ error: "error";
776
777
  off: "off";
777
778
  warn: "warn";
778
- error: "error";
779
779
  }>>;
780
780
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
781
+ error: "error";
781
782
  off: "off";
782
783
  warn: "warn";
783
- error: "error";
784
784
  }>>;
785
785
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
786
+ error: "error";
786
787
  off: "off";
787
788
  warn: "warn";
788
- error: "error";
789
789
  }>>;
790
790
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
791
+ error: "error";
791
792
  off: "off";
792
793
  warn: "warn";
793
- error: "error";
794
794
  }>>;
795
795
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
796
+ error: "error";
796
797
  off: "off";
797
798
  warn: "warn";
798
- error: "error";
799
799
  }>>;
800
800
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
801
+ error: "error";
801
802
  off: "off";
802
803
  warn: "warn";
803
- error: "error";
804
804
  }>>;
805
805
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
806
+ error: "error";
806
807
  off: "off";
807
808
  warn: "warn";
808
- error: "error";
809
809
  }>>;
810
810
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
811
+ error: "error";
811
812
  off: "off";
812
813
  warn: "warn";
813
- error: "error";
814
814
  }>>;
815
815
  }, z$2.core.$strip>>>;
816
816
  }, z$2.core.$strip>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.contracts",
3
- "version": "1.45.1",
3
+ "version": "1.45.2",
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.45.1",
29
- "@contractspec/tool.typescript": "1.45.1",
28
+ "@contractspec/tool.tsdown": "1.45.2",
29
+ "@contractspec/tool.typescript": "1.45.2",
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.45.1",
39
- "@contractspec/lib.schema": "1.45.1",
38
+ "@contractspec/lib.logger": "1.45.2",
39
+ "@contractspec/lib.schema": "1.45.2",
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",