@contractspec/lib.contracts 1.45.0 → 1.45.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,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";
33
32
  experimental: "experimental";
34
33
  beta: "beta";
35
34
  stable: "stable";
35
+ deprecated: "deprecated";
36
36
  }>>;
37
37
  defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
38
- user: "user";
39
38
  anonymous: "anonymous";
39
+ user: "user";
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";
83
82
  experimental: "experimental";
84
83
  beta: "beta";
85
84
  stable: "stable";
85
+ deprecated: "deprecated";
86
86
  }>>;
87
87
  defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
88
- user: "user";
89
88
  anonymous: "anonymous";
89
+ user: "user";
90
90
  admin: "admin";
91
91
  }>>;
92
92
  defaultOwners: z$2.ZodOptional<z$2.ZodArray<z$2.ZodString>>;
@@ -298,22 +298,22 @@ 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";
302
301
  off: "off";
303
302
  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";
310
- "data-view": "data-view";
311
309
  operation: "operation";
312
310
  event: "event";
313
311
  presentation: "presentation";
314
312
  feature: "feature";
315
313
  workflow: "workflow";
314
+ "data-view": "data-view";
316
315
  migration: "migration";
316
+ telemetry: "telemetry";
317
317
  experiment: "experiment";
318
318
  "app-config": "app-config";
319
319
  }>;
@@ -322,64 +322,64 @@ declare const SpecKindSchema: z$2.ZodEnum<{
322
322
  */
323
323
  declare const LintRulesSchema: z$2.ZodObject<{
324
324
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
325
- error: "error";
326
325
  off: "off";
327
326
  warn: "warn";
327
+ error: "error";
328
328
  }>>;
329
329
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
330
- error: "error";
331
330
  off: "off";
332
331
  warn: "warn";
332
+ error: "error";
333
333
  }>>;
334
334
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
335
- error: "error";
336
335
  off: "off";
337
336
  warn: "warn";
337
+ error: "error";
338
338
  }>>;
339
339
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
340
- error: "error";
341
340
  off: "off";
342
341
  warn: "warn";
342
+ error: "error";
343
343
  }>>;
344
344
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
345
- error: "error";
346
345
  off: "off";
347
346
  warn: "warn";
347
+ error: "error";
348
348
  }>>;
349
349
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
350
- error: "error";
351
350
  off: "off";
352
351
  warn: "warn";
352
+ error: "error";
353
353
  }>>;
354
354
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
355
- error: "error";
356
355
  off: "off";
357
356
  warn: "warn";
357
+ error: "error";
358
358
  }>>;
359
359
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
360
- error: "error";
361
360
  off: "off";
362
361
  warn: "warn";
362
+ error: "error";
363
363
  }>>;
364
364
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
365
- error: "error";
366
365
  off: "off";
367
366
  warn: "warn";
367
+ error: "error";
368
368
  }>>;
369
369
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
370
- error: "error";
371
370
  off: "off";
372
371
  warn: "warn";
372
+ error: "error";
373
373
  }>>;
374
374
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
375
- error: "error";
376
375
  off: "off";
377
376
  warn: "warn";
377
+ error: "error";
378
378
  }>>;
379
379
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
380
- error: "error";
381
380
  off: "off";
382
381
  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";
392
391
  off: "off";
393
392
  warn: "warn";
393
+ error: "error";
394
394
  }>>;
395
395
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
396
- error: "error";
397
396
  off: "off";
398
397
  warn: "warn";
398
+ error: "error";
399
399
  }>>;
400
400
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
401
- error: "error";
402
401
  off: "off";
403
402
  warn: "warn";
403
+ error: "error";
404
404
  }>>;
405
405
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
406
- error: "error";
407
406
  off: "off";
408
407
  warn: "warn";
408
+ error: "error";
409
409
  }>>;
410
410
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
411
- error: "error";
412
411
  off: "off";
413
412
  warn: "warn";
413
+ error: "error";
414
414
  }>>;
415
415
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
416
- error: "error";
417
416
  off: "off";
418
417
  warn: "warn";
418
+ error: "error";
419
419
  }>>;
420
420
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
421
- error: "error";
422
421
  off: "off";
423
422
  warn: "warn";
423
+ error: "error";
424
424
  }>>;
425
425
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
426
- error: "error";
427
426
  off: "off";
428
427
  warn: "warn";
428
+ error: "error";
429
429
  }>>;
430
430
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
431
- error: "error";
432
431
  off: "off";
433
432
  warn: "warn";
433
+ error: "error";
434
434
  }>>;
435
435
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
436
- error: "error";
437
436
  off: "off";
438
437
  warn: "warn";
438
+ error: "error";
439
439
  }>>;
440
440
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
441
- error: "error";
442
441
  off: "off";
443
442
  warn: "warn";
443
+ error: "error";
444
444
  }>>;
445
445
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
446
- error: "error";
447
446
  off: "off";
448
447
  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";
453
- "data-view": "data-view";
454
452
  operation: "operation";
455
453
  event: "event";
456
454
  presentation: "presentation";
457
455
  feature: "feature";
458
456
  workflow: "workflow";
457
+ "data-view": "data-view";
459
458
  migration: "migration";
459
+ telemetry: "telemetry";
460
460
  experiment: "experiment";
461
461
  "app-config": "app-config";
462
462
  }>, z$2.ZodObject<{
463
463
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
464
- error: "error";
465
464
  off: "off";
466
465
  warn: "warn";
466
+ error: "error";
467
467
  }>>;
468
468
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
469
- error: "error";
470
469
  off: "off";
471
470
  warn: "warn";
471
+ error: "error";
472
472
  }>>;
473
473
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
474
- error: "error";
475
474
  off: "off";
476
475
  warn: "warn";
476
+ error: "error";
477
477
  }>>;
478
478
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
479
- error: "error";
480
479
  off: "off";
481
480
  warn: "warn";
481
+ error: "error";
482
482
  }>>;
483
483
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
484
- error: "error";
485
484
  off: "off";
486
485
  warn: "warn";
486
+ error: "error";
487
487
  }>>;
488
488
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
489
- error: "error";
490
489
  off: "off";
491
490
  warn: "warn";
491
+ error: "error";
492
492
  }>>;
493
493
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
494
- error: "error";
495
494
  off: "off";
496
495
  warn: "warn";
496
+ error: "error";
497
497
  }>>;
498
498
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
499
- error: "error";
500
499
  off: "off";
501
500
  warn: "warn";
501
+ error: "error";
502
502
  }>>;
503
503
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
504
- error: "error";
505
504
  off: "off";
506
505
  warn: "warn";
506
+ error: "error";
507
507
  }>>;
508
508
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
509
- error: "error";
510
509
  off: "off";
511
510
  warn: "warn";
511
+ error: "error";
512
512
  }>>;
513
513
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
514
- error: "error";
515
514
  off: "off";
516
515
  warn: "warn";
516
+ error: "error";
517
517
  }>>;
518
518
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
519
- error: "error";
520
519
  off: "off";
521
520
  warn: "warn";
521
+ error: "error";
522
522
  }>>;
523
523
  }, z$2.core.$strip>>>;
524
524
  }, z$2.core.$strip>;
@@ -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";
613
612
  experimental: "experimental";
614
613
  beta: "beta";
615
614
  stable: "stable";
615
+ deprecated: "deprecated";
616
616
  }>>;
617
617
  defaultAuth: z$2.ZodOptional<z$2.ZodEnum<{
618
- user: "user";
619
618
  anonymous: "anonymous";
619
+ user: "user";
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";
684
683
  off: "off";
685
684
  warn: "warn";
685
+ error: "error";
686
686
  }>>;
687
687
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
688
- error: "error";
689
688
  off: "off";
690
689
  warn: "warn";
690
+ error: "error";
691
691
  }>>;
692
692
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
693
- error: "error";
694
693
  off: "off";
695
694
  warn: "warn";
695
+ error: "error";
696
696
  }>>;
697
697
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
698
- error: "error";
699
698
  off: "off";
700
699
  warn: "warn";
700
+ error: "error";
701
701
  }>>;
702
702
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
703
- error: "error";
704
703
  off: "off";
705
704
  warn: "warn";
705
+ error: "error";
706
706
  }>>;
707
707
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
708
- error: "error";
709
708
  off: "off";
710
709
  warn: "warn";
710
+ error: "error";
711
711
  }>>;
712
712
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
713
- error: "error";
714
713
  off: "off";
715
714
  warn: "warn";
715
+ error: "error";
716
716
  }>>;
717
717
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
718
- error: "error";
719
718
  off: "off";
720
719
  warn: "warn";
720
+ error: "error";
721
721
  }>>;
722
722
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
723
- error: "error";
724
723
  off: "off";
725
724
  warn: "warn";
725
+ error: "error";
726
726
  }>>;
727
727
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
728
- error: "error";
729
728
  off: "off";
730
729
  warn: "warn";
730
+ error: "error";
731
731
  }>>;
732
732
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
733
- error: "error";
734
733
  off: "off";
735
734
  warn: "warn";
735
+ error: "error";
736
736
  }>>;
737
737
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
738
- error: "error";
739
738
  off: "off";
740
739
  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";
745
- "data-view": "data-view";
746
744
  operation: "operation";
747
745
  event: "event";
748
746
  presentation: "presentation";
749
747
  feature: "feature";
750
748
  workflow: "workflow";
749
+ "data-view": "data-view";
751
750
  migration: "migration";
751
+ telemetry: "telemetry";
752
752
  experiment: "experiment";
753
753
  "app-config": "app-config";
754
754
  }>, z$2.ZodObject<{
755
755
  'require-acceptance': z$2.ZodOptional<z$2.ZodEnum<{
756
- error: "error";
757
756
  off: "off";
758
757
  warn: "warn";
758
+ error: "error";
759
759
  }>>;
760
760
  'require-examples': z$2.ZodOptional<z$2.ZodEnum<{
761
- error: "error";
762
761
  off: "off";
763
762
  warn: "warn";
763
+ error: "error";
764
764
  }>>;
765
765
  'require-stability': z$2.ZodOptional<z$2.ZodEnum<{
766
- error: "error";
767
766
  off: "off";
768
767
  warn: "warn";
768
+ error: "error";
769
769
  }>>;
770
770
  'require-owners-format': z$2.ZodOptional<z$2.ZodEnum<{
771
- error: "error";
772
771
  off: "off";
773
772
  warn: "warn";
773
+ error: "error";
774
774
  }>>;
775
775
  'event-past-tense': z$2.ZodOptional<z$2.ZodEnum<{
776
- error: "error";
777
776
  off: "off";
778
777
  warn: "warn";
778
+ error: "error";
779
779
  }>>;
780
780
  'no-todo': z$2.ZodOptional<z$2.ZodEnum<{
781
- error: "error";
782
781
  off: "off";
783
782
  warn: "warn";
783
+ error: "error";
784
784
  }>>;
785
785
  'workflow-transitions': z$2.ZodOptional<z$2.ZodEnum<{
786
- error: "error";
787
786
  off: "off";
788
787
  warn: "warn";
788
+ error: "error";
789
789
  }>>;
790
790
  'telemetry-privacy': z$2.ZodOptional<z$2.ZodEnum<{
791
- error: "error";
792
791
  off: "off";
793
792
  warn: "warn";
793
+ error: "error";
794
794
  }>>;
795
795
  'experiment-allocation': z$2.ZodOptional<z$2.ZodEnum<{
796
- error: "error";
797
796
  off: "off";
798
797
  warn: "warn";
798
+ error: "error";
799
799
  }>>;
800
800
  'app-config-appid': z$2.ZodOptional<z$2.ZodEnum<{
801
- error: "error";
802
801
  off: "off";
803
802
  warn: "warn";
803
+ error: "error";
804
804
  }>>;
805
805
  'app-config-capabilities': z$2.ZodOptional<z$2.ZodEnum<{
806
- error: "error";
807
806
  off: "off";
808
807
  warn: "warn";
808
+ error: "error";
809
809
  }>>;
810
810
  'data-view-fields': z$2.ZodOptional<z$2.ZodEnum<{
811
- error: "error";
812
811
  off: "off";
813
812
  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.0",
3
+ "version": "1.45.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.45.0",
29
- "@contractspec/tool.typescript": "1.45.0",
28
+ "@contractspec/tool.tsdown": "1.45.1",
29
+ "@contractspec/tool.typescript": "1.45.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.45.0",
39
- "@contractspec/lib.schema": "1.45.0",
38
+ "@contractspec/lib.logger": "1.45.1",
39
+ "@contractspec/lib.schema": "1.45.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",