@proposit/shared 0.15.0 → 0.15.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.
@@ -52,7 +52,7 @@ export declare function provisionArgumentImpl(config: TApiClientConfig, argument
52
52
  body: import("typebox").TNull;
53
53
  titleContentHash: import("typebox").TNull;
54
54
  url: import("typebox").TString;
55
- citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
55
+ citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
56
56
  type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
57
57
  }>, import("typebox").TObject<{
58
58
  type: import("typebox").TLiteral<"Book">;
@@ -480,7 +480,7 @@ export declare function provisionArgumentImpl(config: TApiClientConfig, argument
480
480
  type: import("typebox").TLiteral<"UnparsedURL">;
481
481
  url: import("typebox").TString;
482
482
  text: import("typebox").TOptional<import("typebox").TString>;
483
- }>]>]>;
483
+ }>]>]>, import("typebox").TNull]>;
484
484
  citationContentHash: import("typebox").TString;
485
485
  axiom: import("typebox").TNull;
486
486
  }>, import("typebox").TObject<{
@@ -52,7 +52,7 @@ export declare function createClaimImpl(config: TApiClientConfig, argumentId: st
52
52
  body: import("typebox").TNull;
53
53
  titleContentHash: import("typebox").TNull;
54
54
  url: import("typebox").TString;
55
- citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
55
+ citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
56
56
  type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
57
57
  }>, import("typebox").TObject<{
58
58
  type: import("typebox").TLiteral<"Book">;
@@ -480,7 +480,7 @@ export declare function createClaimImpl(config: TApiClientConfig, argumentId: st
480
480
  type: import("typebox").TLiteral<"UnparsedURL">;
481
481
  url: import("typebox").TString;
482
482
  text: import("typebox").TOptional<import("typebox").TString>;
483
- }>]>]>;
483
+ }>]>]>, import("typebox").TNull]>;
484
484
  citationContentHash: import("typebox").TString;
485
485
  axiom: import("typebox").TNull;
486
486
  }>, import("typebox").TObject<{
@@ -634,7 +634,7 @@ export declare function deleteClaimImpl(config: TApiClientConfig, argumentId: st
634
634
  body: import("typebox").TNull;
635
635
  titleContentHash: import("typebox").TNull;
636
636
  url: import("typebox").TString;
637
- citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
637
+ citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
638
638
  type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
639
639
  }>, import("typebox").TObject<{
640
640
  type: import("typebox").TLiteral<"Book">;
@@ -1062,7 +1062,7 @@ export declare function deleteClaimImpl(config: TApiClientConfig, argumentId: st
1062
1062
  type: import("typebox").TLiteral<"UnparsedURL">;
1063
1063
  url: import("typebox").TString;
1064
1064
  text: import("typebox").TOptional<import("typebox").TString>;
1065
- }>]>]>;
1065
+ }>]>]>, import("typebox").TNull]>;
1066
1066
  citationContentHash: import("typebox").TString;
1067
1067
  axiom: import("typebox").TNull;
1068
1068
  }>, import("typebox").TObject<{
@@ -1135,7 +1135,7 @@ export declare function updateClaimImpl(config: TApiClientConfig, argumentId: st
1135
1135
  body: import("typebox").TNull;
1136
1136
  titleContentHash: import("typebox").TNull;
1137
1137
  url: import("typebox").TString;
1138
- citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
1138
+ citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
1139
1139
  type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
1140
1140
  }>, import("typebox").TObject<{
1141
1141
  type: import("typebox").TLiteral<"Book">;
@@ -1563,7 +1563,7 @@ export declare function updateClaimImpl(config: TApiClientConfig, argumentId: st
1563
1563
  type: import("typebox").TLiteral<"UnparsedURL">;
1564
1564
  url: import("typebox").TString;
1565
1565
  text: import("typebox").TOptional<import("typebox").TString>;
1566
- }>]>]>;
1566
+ }>]>]>, import("typebox").TNull]>;
1567
1567
  citationContentHash: import("typebox").TString;
1568
1568
  axiom: import("typebox").TNull;
1569
1569
  }>, import("typebox").TObject<{
@@ -1636,7 +1636,7 @@ export declare function createClaimCitationImpl(config: TApiClientConfig, argume
1636
1636
  body: import("typebox").TNull;
1637
1637
  titleContentHash: import("typebox").TNull;
1638
1638
  url: import("typebox").TString;
1639
- citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
1639
+ citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
1640
1640
  type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
1641
1641
  }>, import("typebox").TObject<{
1642
1642
  type: import("typebox").TLiteral<"Book">;
@@ -2064,7 +2064,7 @@ export declare function createClaimCitationImpl(config: TApiClientConfig, argume
2064
2064
  type: import("typebox").TLiteral<"UnparsedURL">;
2065
2065
  url: import("typebox").TString;
2066
2066
  text: import("typebox").TOptional<import("typebox").TString>;
2067
- }>]>]>;
2067
+ }>]>]>, import("typebox").TNull]>;
2068
2068
  citationContentHash: import("typebox").TString;
2069
2069
  axiom: import("typebox").TNull;
2070
2070
  }>, import("typebox").TObject<{
@@ -378,7 +378,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
378
378
  body: Type.TNull;
379
379
  titleContentHash: Type.TNull;
380
380
  url: Type.TString;
381
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
381
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
382
382
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
383
383
  }>, Type.TObject<{
384
384
  type: Type.TLiteral<"Book">;
@@ -806,7 +806,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
806
806
  type: Type.TLiteral<"UnparsedURL">;
807
807
  url: Type.TString;
808
808
  text: Type.TOptional<Type.TString>;
809
- }>]>]>;
809
+ }>]>]>, Type.TNull]>;
810
810
  citationContentHash: Type.TString;
811
811
  axiom: Type.TNull;
812
812
  }>, Type.TObject<{
@@ -861,7 +861,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
861
861
  body: Type.TNull;
862
862
  titleContentHash: Type.TNull;
863
863
  url: Type.TString;
864
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
864
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
865
865
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
866
866
  }>, Type.TObject<{
867
867
  type: Type.TLiteral<"Book">;
@@ -1289,7 +1289,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
1289
1289
  type: Type.TLiteral<"UnparsedURL">;
1290
1290
  url: Type.TString;
1291
1291
  text: Type.TOptional<Type.TString>;
1292
- }>]>]>;
1292
+ }>]>]>, Type.TNull]>;
1293
1293
  citationContentHash: Type.TString;
1294
1294
  axiom: Type.TNull;
1295
1295
  }>, Type.TObject<{
@@ -1344,7 +1344,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
1344
1344
  body: Type.TNull;
1345
1345
  titleContentHash: Type.TNull;
1346
1346
  url: Type.TString;
1347
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
1347
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
1348
1348
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
1349
1349
  }>, Type.TObject<{
1350
1350
  type: Type.TLiteral<"Book">;
@@ -1772,7 +1772,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
1772
1772
  type: Type.TLiteral<"UnparsedURL">;
1773
1773
  url: Type.TString;
1774
1774
  text: Type.TOptional<Type.TString>;
1775
- }>]>]>;
1775
+ }>]>]>, Type.TNull]>;
1776
1776
  citationContentHash: Type.TString;
1777
1777
  axiom: Type.TNull;
1778
1778
  }>, Type.TObject<{
@@ -2555,7 +2555,7 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
2555
2555
  body: Type.TNull;
2556
2556
  titleContentHash: Type.TNull;
2557
2557
  url: Type.TString;
2558
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
2558
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
2559
2559
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
2560
2560
  }>, Type.TObject<{
2561
2561
  type: Type.TLiteral<"Book">;
@@ -2983,7 +2983,7 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
2983
2983
  type: Type.TLiteral<"UnparsedURL">;
2984
2984
  url: Type.TString;
2985
2985
  text: Type.TOptional<Type.TString>;
2986
- }>]>]>;
2986
+ }>]>]>, Type.TNull]>;
2987
2987
  citationContentHash: Type.TString;
2988
2988
  axiom: Type.TNull;
2989
2989
  }>, Type.TObject<{
@@ -50,7 +50,7 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
50
50
  body: import("typebox").TNull;
51
51
  titleContentHash: import("typebox").TNull;
52
52
  url: import("typebox").TString;
53
- citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
53
+ citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
54
54
  type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
55
55
  }>, import("typebox").TObject<{
56
56
  type: import("typebox").TLiteral<"Book">;
@@ -478,7 +478,7 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
478
478
  type: import("typebox").TLiteral<"UnparsedURL">;
479
479
  url: import("typebox").TString;
480
480
  text: import("typebox").TOptional<import("typebox").TString>;
481
- }>]>]>;
481
+ }>]>]>, import("typebox").TNull]>;
482
482
  citationContentHash: import("typebox").TString;
483
483
  axiom: import("typebox").TNull;
484
484
  }>, import("typebox").TObject<{
@@ -540,7 +540,7 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
540
540
  body: import("typebox").TNull;
541
541
  titleContentHash: import("typebox").TNull;
542
542
  url: import("typebox").TString;
543
- citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
543
+ citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
544
544
  type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
545
545
  }>, import("typebox").TObject<{
546
546
  type: import("typebox").TLiteral<"Book">;
@@ -968,7 +968,7 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
968
968
  type: import("typebox").TLiteral<"UnparsedURL">;
969
969
  url: import("typebox").TString;
970
970
  text: import("typebox").TOptional<import("typebox").TString>;
971
- }>]>]>;
971
+ }>]>]>, import("typebox").TNull]>;
972
972
  citationContentHash: import("typebox").TString;
973
973
  axiom: import("typebox").TNull;
974
974
  }>, import("typebox").TObject<{
@@ -50,7 +50,7 @@ export declare function getUserClaimsImpl(config: TApiClientConfig, argumentId?:
50
50
  body: import("typebox").TNull;
51
51
  titleContentHash: import("typebox").TNull;
52
52
  url: import("typebox").TString;
53
- citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
53
+ citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
54
54
  type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
55
55
  }>, import("typebox").TObject<{
56
56
  type: import("typebox").TLiteral<"Book">;
@@ -478,7 +478,7 @@ export declare function getUserClaimsImpl(config: TApiClientConfig, argumentId?:
478
478
  type: import("typebox").TLiteral<"UnparsedURL">;
479
479
  url: import("typebox").TString;
480
480
  text: import("typebox").TOptional<import("typebox").TString>;
481
- }>]>]>;
481
+ }>]>]>, import("typebox").TNull]>;
482
482
  citationContentHash: import("typebox").TString;
483
483
  axiom: import("typebox").TNull;
484
484
  }>, import("typebox").TObject<{
@@ -33,7 +33,7 @@ export declare const ProvisionResponseSchema: Type.TObject<{
33
33
  body: Type.TNull;
34
34
  titleContentHash: Type.TNull;
35
35
  url: Type.TString;
36
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
36
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
37
37
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
38
38
  }>, Type.TObject<{
39
39
  type: Type.TLiteral<"Book">;
@@ -461,7 +461,7 @@ export declare const ProvisionResponseSchema: Type.TObject<{
461
461
  type: Type.TLiteral<"UnparsedURL">;
462
462
  url: Type.TString;
463
463
  text: Type.TOptional<Type.TString>;
464
- }>]>]>;
464
+ }>]>]>, Type.TNull]>;
465
465
  citationContentHash: Type.TString;
466
466
  axiom: Type.TNull;
467
467
  }>, Type.TObject<{
@@ -41,7 +41,7 @@ export declare const ClaimCreationResponseSchema: Type.TObject<{
41
41
  body: Type.TNull;
42
42
  titleContentHash: Type.TNull;
43
43
  url: Type.TString;
44
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
44
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
45
45
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
46
46
  }>, Type.TObject<{
47
47
  type: Type.TLiteral<"Book">;
@@ -469,7 +469,7 @@ export declare const ClaimCreationResponseSchema: Type.TObject<{
469
469
  type: Type.TLiteral<"UnparsedURL">;
470
470
  url: Type.TString;
471
471
  text: Type.TOptional<Type.TString>;
472
- }>]>]>;
472
+ }>]>]>, Type.TNull]>;
473
473
  citationContentHash: Type.TString;
474
474
  axiom: Type.TNull;
475
475
  }>, Type.TObject<{
@@ -607,7 +607,7 @@ export declare const ClaimDeletionResponseSchema: Type.TObject<{
607
607
  body: Type.TNull;
608
608
  titleContentHash: Type.TNull;
609
609
  url: Type.TString;
610
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
610
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
611
611
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
612
612
  }>, Type.TObject<{
613
613
  type: Type.TLiteral<"Book">;
@@ -1035,7 +1035,7 @@ export declare const ClaimDeletionResponseSchema: Type.TObject<{
1035
1035
  type: Type.TLiteral<"UnparsedURL">;
1036
1036
  url: Type.TString;
1037
1037
  text: Type.TOptional<Type.TString>;
1038
- }>]>]>;
1038
+ }>]>]>, Type.TNull]>;
1039
1039
  citationContentHash: Type.TString;
1040
1040
  axiom: Type.TNull;
1041
1041
  }>, Type.TObject<{
@@ -1093,7 +1093,7 @@ export declare const CitationCreationSchema: Type.TObject<{
1093
1093
  body: Type.TNull;
1094
1094
  titleContentHash: Type.TNull;
1095
1095
  url: Type.TString;
1096
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
1096
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
1097
1097
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
1098
1098
  }>, Type.TObject<{
1099
1099
  type: Type.TLiteral<"Book">;
@@ -1521,7 +1521,7 @@ export declare const CitationCreationSchema: Type.TObject<{
1521
1521
  type: Type.TLiteral<"UnparsedURL">;
1522
1522
  url: Type.TString;
1523
1523
  text: Type.TOptional<Type.TString>;
1524
- }>]>]>;
1524
+ }>]>]>, Type.TNull]>;
1525
1525
  citationContentHash: Type.TString;
1526
1526
  axiom: Type.TNull;
1527
1527
  }>, Type.TObject<{
@@ -86,7 +86,7 @@ export declare const FullArgumentSchema: Type.TObject<{
86
86
  body: Type.TNull;
87
87
  titleContentHash: Type.TNull;
88
88
  url: Type.TString;
89
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
89
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
90
90
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
91
91
  }>, Type.TObject<{
92
92
  type: Type.TLiteral<"Book">;
@@ -514,7 +514,7 @@ export declare const FullArgumentSchema: Type.TObject<{
514
514
  type: Type.TLiteral<"UnparsedURL">;
515
515
  url: Type.TString;
516
516
  text: Type.TOptional<Type.TString>;
517
- }>]>]>;
517
+ }>]>]>, Type.TNull]>;
518
518
  citationContentHash: Type.TString;
519
519
  axiom: Type.TNull;
520
520
  }>, Type.TObject<{
@@ -44,7 +44,7 @@ export declare const CitationUsageSchema: Type.TObject<{
44
44
  body: Type.TNull;
45
45
  titleContentHash: Type.TNull;
46
46
  url: Type.TString;
47
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
47
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
48
48
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
49
49
  }>, Type.TObject<{
50
50
  type: Type.TLiteral<"Book">;
@@ -472,7 +472,7 @@ export declare const CitationUsageSchema: Type.TObject<{
472
472
  type: Type.TLiteral<"UnparsedURL">;
473
473
  url: Type.TString;
474
474
  text: Type.TOptional<Type.TString>;
475
- }>]>]>;
475
+ }>]>]>, Type.TNull]>;
476
476
  citationContentHash: Type.TString;
477
477
  axiom: Type.TNull;
478
478
  }>, Type.TObject<{
@@ -534,7 +534,7 @@ export declare const CitationWithContextSchema: Type.TObject<{
534
534
  body: Type.TNull;
535
535
  titleContentHash: Type.TNull;
536
536
  url: Type.TString;
537
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
537
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
538
538
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
539
539
  }>, Type.TObject<{
540
540
  type: Type.TLiteral<"Book">;
@@ -962,7 +962,7 @@ export declare const CitationWithContextSchema: Type.TObject<{
962
962
  type: Type.TLiteral<"UnparsedURL">;
963
963
  url: Type.TString;
964
964
  text: Type.TOptional<Type.TString>;
965
- }>]>]>;
965
+ }>]>]>, Type.TNull]>;
966
966
  citationContentHash: Type.TString;
967
967
  axiom: Type.TNull;
968
968
  }>, Type.TObject<{
@@ -1024,7 +1024,7 @@ export declare const CitationWithContextSchema: Type.TObject<{
1024
1024
  body: Type.TNull;
1025
1025
  titleContentHash: Type.TNull;
1026
1026
  url: Type.TString;
1027
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
1027
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
1028
1028
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
1029
1029
  }>, Type.TObject<{
1030
1030
  type: Type.TLiteral<"Book">;
@@ -1452,7 +1452,7 @@ export declare const CitationWithContextSchema: Type.TObject<{
1452
1452
  type: Type.TLiteral<"UnparsedURL">;
1453
1453
  url: Type.TString;
1454
1454
  text: Type.TOptional<Type.TString>;
1455
- }>]>]>;
1455
+ }>]>]>, Type.TNull]>;
1456
1456
  citationContentHash: Type.TString;
1457
1457
  axiom: Type.TNull;
1458
1458
  }>, Type.TObject<{
@@ -1515,7 +1515,7 @@ export declare const UserCitationsResponseSchema: Type.TArray<Type.TObject<{
1515
1515
  body: Type.TNull;
1516
1516
  titleContentHash: Type.TNull;
1517
1517
  url: Type.TString;
1518
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
1518
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
1519
1519
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
1520
1520
  }>, Type.TObject<{
1521
1521
  type: Type.TLiteral<"Book">;
@@ -1943,7 +1943,7 @@ export declare const UserCitationsResponseSchema: Type.TArray<Type.TObject<{
1943
1943
  type: Type.TLiteral<"UnparsedURL">;
1944
1944
  url: Type.TString;
1945
1945
  text: Type.TOptional<Type.TString>;
1946
- }>]>]>;
1946
+ }>]>]>, Type.TNull]>;
1947
1947
  citationContentHash: Type.TString;
1948
1948
  axiom: Type.TNull;
1949
1949
  }>, Type.TObject<{
@@ -2005,7 +2005,7 @@ export declare const UserCitationsResponseSchema: Type.TArray<Type.TObject<{
2005
2005
  body: Type.TNull;
2006
2006
  titleContentHash: Type.TNull;
2007
2007
  url: Type.TString;
2008
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
2008
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
2009
2009
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
2010
2010
  }>, Type.TObject<{
2011
2011
  type: Type.TLiteral<"Book">;
@@ -2433,7 +2433,7 @@ export declare const UserCitationsResponseSchema: Type.TArray<Type.TObject<{
2433
2433
  type: Type.TLiteral<"UnparsedURL">;
2434
2434
  url: Type.TString;
2435
2435
  text: Type.TOptional<Type.TString>;
2436
- }>]>]>;
2436
+ }>]>]>, Type.TNull]>;
2437
2437
  citationContentHash: Type.TString;
2438
2438
  axiom: Type.TNull;
2439
2439
  }>, Type.TObject<{
@@ -33,7 +33,7 @@ export declare const ClaimWithContextSchema: Type.TObject<{
33
33
  body: Type.TNull;
34
34
  titleContentHash: Type.TNull;
35
35
  url: Type.TString;
36
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
36
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
37
37
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
38
38
  }>, Type.TObject<{
39
39
  type: Type.TLiteral<"Book">;
@@ -461,7 +461,7 @@ export declare const ClaimWithContextSchema: Type.TObject<{
461
461
  type: Type.TLiteral<"UnparsedURL">;
462
462
  url: Type.TString;
463
463
  text: Type.TOptional<Type.TString>;
464
- }>]>]>;
464
+ }>]>]>, Type.TNull]>;
465
465
  citationContentHash: Type.TString;
466
466
  axiom: Type.TNull;
467
467
  }>, Type.TObject<{
@@ -628,7 +628,7 @@ export declare const UserClaimsResponseSchema: Type.TArray<Type.TObject<{
628
628
  body: Type.TNull;
629
629
  titleContentHash: Type.TNull;
630
630
  url: Type.TString;
631
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
631
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
632
632
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
633
633
  }>, Type.TObject<{
634
634
  type: Type.TLiteral<"Book">;
@@ -1056,7 +1056,7 @@ export declare const UserClaimsResponseSchema: Type.TArray<Type.TObject<{
1056
1056
  type: Type.TLiteral<"UnparsedURL">;
1057
1057
  url: Type.TString;
1058
1058
  text: Type.TOptional<Type.TString>;
1059
- }>]>]>;
1059
+ }>]>]>, Type.TNull]>;
1060
1060
  citationContentHash: Type.TString;
1061
1061
  axiom: Type.TNull;
1062
1062
  }>, Type.TObject<{
@@ -0,0 +1,12 @@
1
+ import { Type, type Static } from "typebox";
2
+ export declare const BudgetExceededErrorBodySchema: Type.TObject<{
3
+ code: Type.TLiteral<"TOKEN_BUDGET_EXCEEDED">;
4
+ message: Type.TString;
5
+ usage: Type.TObject<{
6
+ used: Type.TInteger;
7
+ limit: Type.TInteger;
8
+ resetOn: Type.TString;
9
+ }>;
10
+ }>;
11
+ export type TBudgetExceededErrorBody = Static<typeof BudgetExceededErrorBodySchema>;
12
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/schemas/api/errors.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,IAAI,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,6BAA6B;;;;;;;;EAQxC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,MAAM,CACzC,OAAO,6BAA6B,CACvC,CAAA"}
@@ -0,0 +1,20 @@
1
+ // Canonical error-body shapes shared by server entry routes. The first
2
+ // member is the 402 budget-exceeded contract emitted by every LLM-bearing
3
+ // entry route (build, twitter/reddit/raw_text import) when the caller's
4
+ // per-user token budget is exhausted. The discriminating `code` matches the
5
+ // task-level settle code used for mid-pipeline overruns (TaskStatus.FAILED
6
+ // with errorData.code === "TOKEN_BUDGET_EXCEEDED") so the client has one
7
+ // classifier across both surfaces — request-level (this body) and
8
+ // task-level. `usage` lets the client surface used / limit / resetOn to the
9
+ // user.
10
+ import { Type } from "typebox";
11
+ export const BudgetExceededErrorBodySchema = Type.Object({
12
+ code: Type.Literal("TOKEN_BUDGET_EXCEEDED"),
13
+ message: Type.String(),
14
+ usage: Type.Object({
15
+ used: Type.Integer({ minimum: 0 }),
16
+ limit: Type.Integer({ minimum: 0 }),
17
+ resetOn: Type.String({ format: "date-time" }),
18
+ }),
19
+ });
20
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/schemas/api/errors.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,0EAA0E;AAC1E,wEAAwE;AACxE,4EAA4E;AAC5E,2EAA2E;AAC3E,yEAAyE;AACzE,kEAAkE;AAClE,4EAA4E;AAC5E,QAAQ;AAER,OAAO,EAAE,IAAI,EAAe,MAAM,SAAS,CAAA;AAE3C,MAAM,CAAC,MAAM,6BAA6B,GAAG,IAAI,CAAC,MAAM,CAAC;IACrD,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,uBAAuB,CAAC;IAC3C,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;IACtB,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC;QACf,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;QAClC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;QACnC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;KAChD,CAAC;CACL,CAAC,CAAA"}
@@ -158,7 +158,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
158
158
  body: Type.TNull;
159
159
  titleContentHash: Type.TNull;
160
160
  url: Type.TString;
161
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
161
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
162
162
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
163
163
  }>, Type.TObject<{
164
164
  type: Type.TLiteral<"Book">;
@@ -586,7 +586,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
586
586
  type: Type.TLiteral<"UnparsedURL">;
587
587
  url: Type.TString;
588
588
  text: Type.TOptional<Type.TString>;
589
- }>]>]>;
589
+ }>]>]>, Type.TNull]>;
590
590
  citationContentHash: Type.TString;
591
591
  axiom: Type.TNull;
592
592
  }>, Type.TObject<{
@@ -641,7 +641,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
641
641
  body: Type.TNull;
642
642
  titleContentHash: Type.TNull;
643
643
  url: Type.TString;
644
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
644
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
645
645
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
646
646
  }>, Type.TObject<{
647
647
  type: Type.TLiteral<"Book">;
@@ -1069,7 +1069,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
1069
1069
  type: Type.TLiteral<"UnparsedURL">;
1070
1070
  url: Type.TString;
1071
1071
  text: Type.TOptional<Type.TString>;
1072
- }>]>]>;
1072
+ }>]>]>, Type.TNull]>;
1073
1073
  citationContentHash: Type.TString;
1074
1074
  axiom: Type.TNull;
1075
1075
  }>, Type.TObject<{
@@ -1124,7 +1124,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
1124
1124
  body: Type.TNull;
1125
1125
  titleContentHash: Type.TNull;
1126
1126
  url: Type.TString;
1127
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
1127
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
1128
1128
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
1129
1129
  }>, Type.TObject<{
1130
1130
  type: Type.TLiteral<"Book">;
@@ -1552,7 +1552,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
1552
1552
  type: Type.TLiteral<"UnparsedURL">;
1553
1553
  url: Type.TString;
1554
1554
  text: Type.TOptional<Type.TString>;
1555
- }>]>]>;
1555
+ }>]>]>, Type.TNull]>;
1556
1556
  citationContentHash: Type.TString;
1557
1557
  axiom: Type.TNull;
1558
1558
  }>, Type.TObject<{
@@ -59,7 +59,7 @@ export declare const CitationClaimSchema: Type.TObject<{
59
59
  body: Type.TNull;
60
60
  titleContentHash: Type.TNull;
61
61
  url: Type.TString;
62
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
62
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
63
63
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
64
64
  }>, Type.TObject<{
65
65
  type: Type.TLiteral<"Book">;
@@ -487,7 +487,7 @@ export declare const CitationClaimSchema: Type.TObject<{
487
487
  type: Type.TLiteral<"UnparsedURL">;
488
488
  url: Type.TString;
489
489
  text: Type.TOptional<Type.TString>;
490
- }>]>]>;
490
+ }>]>]>, Type.TNull]>;
491
491
  citationContentHash: Type.TString;
492
492
  axiom: Type.TNull;
493
493
  }>;
@@ -545,7 +545,7 @@ export declare const ClaimSchema: Type.TUnion<[Type.TObject<{
545
545
  body: Type.TNull;
546
546
  titleContentHash: Type.TNull;
547
547
  url: Type.TString;
548
- citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
548
+ citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
549
549
  type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
550
550
  }>, Type.TObject<{
551
551
  type: Type.TLiteral<"Book">;
@@ -973,7 +973,7 @@ export declare const ClaimSchema: Type.TUnion<[Type.TObject<{
973
973
  type: Type.TLiteral<"UnparsedURL">;
974
974
  url: Type.TString;
975
975
  text: Type.TOptional<Type.TString>;
976
- }>]>]>;
976
+ }>]>]>, Type.TNull]>;
977
977
  citationContentHash: Type.TString;
978
978
  axiom: Type.TNull;
979
979
  }>, Type.TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"claims.d.ts","sourceRoot":"","sources":["../../../src/schemas/model/claims.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAA;AAY3C,eAAO,MAAM,eAAe,+FAAsB,CAAA;AAClD,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,eAAe,CAAC,CAAA;AAEvD,eAAO,MAAM,eAAe,6NAyB1B,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,eAAe,CAAC,CAAA;AAUvD,eAAO,MAAM,wBAAwB;;;;EAInC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAIzE,eAAO,MAAM,wBAAwB;;;;;EAGpC,CAAA;AACD,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAIxE,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAA;AAWV,eAAO,MAAM,sBAAsB,2JAGjC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAItB,CAAA;AACF,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAA;AAE/C,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAElE;AACD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAEtE;AACD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAExE;AAUD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASlC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
@@ -85,7 +85,12 @@ export const CitationClaimSchema = Type.Interface([ClaimSharedFieldsSchema], {
85
85
  body: Type.Null(),
86
86
  titleContentHash: Type.Null(),
87
87
  url: Type.String(),
88
- citation: IEEEReferenceSchema,
88
+ // Nullable: v2 ingestion produces url-only citation claims that carry a
89
+ // `url` but no structured IEEE reference (`citation: null`). Full IEEE
90
+ // references remain valid — this is a widening, not a replacement. The
91
+ // `url` string is what discriminates a citation claim, so a null citation
92
+ // does not collide with the normal/axiomatic branches of `ClaimSchema`.
93
+ citation: Nullable(IEEEReferenceSchema),
89
94
  citationContentHash: Type.String(),
90
95
  axiom: Type.Null(),
91
96
  });
@@ -1 +1 @@
1
- {"version":3,"file":"claims.js","sourceRoot":"","sources":["../../../src/schemas/model/claims.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAe,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EACH,4BAA4B,EAC5B,2BAA2B,EAC3B,yBAAyB,EACzB,mBAAmB,GACtB,MAAM,yBAAyB,CAAA;AAEhC,4EAA4E;AAC5E,iEAAiE;AACjE,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAA;AAGlD,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC;IACtC,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE;QACvB,WAAW,EACP,qFAAqF;KAC5F,CAAC;IACF,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE;QACxB,WAAW,EACP,gGAAgG;KACvG,CAAC;IACF,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE;QAC9B,WAAW,EACP,wFAAwF;KAC/F,CAAC;IACF,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE;QACnC,WAAW,EACP,6DAA6D;KACpE,CAAC;IACF,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE;QACxB,WAAW,EACP,+FAA+F;KACtG,CAAC;IACF,IAAI,CAAC,OAAO,CAAC,uBAAuB,EAAE;QAClC,WAAW,EACP,mEAAmE;KAC1E,CAAC;CACL,CAAC,CAAA;AAGF,6EAA6E;AAC7E,gDAAgD;AAChD,MAAM,yBAAyB,GA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/shared",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "description": "Runtime-agnostic TypeScript shared between proposit-server and proposit-mobile. Schemas, engine, api-client, and utilities.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/Proposit-App/proposit-shared",
@@ -38,6 +38,11 @@
38
38
  "import": "./dist/schemas/api/auth/index.js",
39
39
  "default": "./dist/schemas/api/auth/index.js"
40
40
  },
41
+ "./schemas/api/errors": {
42
+ "types": "./dist/schemas/api/errors.d.ts",
43
+ "import": "./dist/schemas/api/errors.js",
44
+ "default": "./dist/schemas/api/errors.js"
45
+ },
41
46
  "./schemas/api/grammar-violations": {
42
47
  "types": "./dist/schemas/api/grammar-violations.d.ts",
43
48
  "import": "./dist/schemas/api/grammar-violations.js",