Skip to content

Commit 50ece81

Browse files
feat(api): add min max
1 parent 562f11d commit 50ece81

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-99dc0da03e73ae9e78d667dfaca5da19c9a0ad9d3983b103cdefb13b72114b4b.yml
3-
openapi_spec_hash: 6453366c1968ad787a016bce5d19a5b3
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-94f314dddc2240af4de04d5649a9489da326db981130e6b967f2b365a8de965b.yml
3+
openapi_spec_hash: dd9007dc44904b0393ef35543694cb77
44
config_hash: 1d77b499f5b4f2dc6986fdd5936d18ef

src/isaacus/types/enrichment_response.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import List, Optional
3+
from typing import List, Union, Optional
44
from typing_extensions import Literal
55

66
from .._models import BaseModel
@@ -55,7 +55,7 @@ class ResultDocumentDate(BaseModel):
5555
Only Gregorian dates between the years 1000 and 9999 (inclusive) fitting into one of the supported date types are extractable.
5656
"""
5757

58-
mentions: List[List[object]]
58+
mentions: List[List[Union[int, int]]]
5959
"""
6060
An array of one or more spans within the document's text where the date is
6161
mentioned.
@@ -118,7 +118,7 @@ class ResultDocumentEmail(BaseModel):
118118
address: str
119119
"""The normalized email address."""
120120

121-
mentions: List[List[object]]
121+
mentions: List[List[Union[int, int]]]
122122
"""
123123
An array of one or more spans within the document's text where the email address
124124
is mentioned.
@@ -151,7 +151,7 @@ class ResultDocumentExternalDocument(BaseModel):
151151
code for federal law.
152152
"""
153153

154-
mentions: List[List[object]]
154+
mentions: List[List[Union[int, int]]]
155155
"""
156156
An array of one or more spans within the document's text where the external
157157
document is mentioned by name, for example, 'the US Constitution' in 'the Second
@@ -171,7 +171,7 @@ class ResultDocumentExternalDocument(BaseModel):
171171
spans.
172172
"""
173173

174-
pinpoints: List[List[object]]
174+
pinpoints: List[List[Union[int, int]]]
175175
"""
176176
An array of spans within the document's text where specific parts of the
177177
external document are referenced, for example, 'Section 2' in 'as defined in
@@ -223,7 +223,7 @@ class ResultDocumentIDNumber(BaseModel):
223223
If an identification number was mentioned in the document but is not attributable to a legal person, it will not be extracted.
224224
"""
225225

226-
mentions: List[List[object]]
226+
mentions: List[List[Union[int, int]]]
227227
"""
228228
An array of one or more spans within the document's text where the
229229
identification number is mentioned.
@@ -245,7 +245,7 @@ class ResultDocumentLocation(BaseModel):
245245
`{index}` is a non-negative incrementing integer starting from zero.
246246
"""
247247

248-
mentions: List[List[object]]
248+
mentions: List[List[Union[int, int]]]
249249
"""
250250
An array of one or more spans within the document's text where the location is
251251
mentioned.
@@ -284,7 +284,7 @@ class ResultDocumentPerson(BaseModel):
284284
is a non-negative incrementing integer starting from zero.
285285
"""
286286

287-
mentions: List[List[object]]
287+
mentions: List[List[Union[int, int]]]
288288
"""
289289
An array of one or more spans within the document's text where the person is
290290
mentioned.
@@ -462,7 +462,7 @@ class ResultDocumentPhoneNumber(BaseModel):
462462
If a phone number was mentioned in the document but is not valid, possible, or attributable to a legal person, it will not be extracted.
463463
"""
464464

465-
mentions: List[List[object]]
465+
mentions: List[List[Union[int, int]]]
466466
"""
467467
An array of one or more spans within the document's text where the phone number
468468
is mentioned.
@@ -542,7 +542,7 @@ class ResultDocumentSegment(BaseModel):
542542
`other` denotes content that does not fit into any of the other categories.
543543
"""
544544

545-
code: Optional[List[object]] = None
545+
code: Optional[List[Union[int, int]]] = None
546546
"""
547547
The start index and the index immediately after the end of a span of Unicode
548548
code points in input text.
@@ -591,7 +591,7 @@ class ResultDocumentSegment(BaseModel):
591591
span: List[object]
592592
"""The span of the segment within the document's text."""
593593

594-
title: Optional[List[object]] = None
594+
title: Optional[List[Union[int, int]]] = None
595595
"""
596596
The start index and the index immediately after the end of a span of Unicode
597597
code points in input text.
@@ -679,7 +679,7 @@ class ResultDocumentSegment(BaseModel):
679679
of which are exclusive to it.
680680
"""
681681

682-
type_name: Optional[List[object]] = None
682+
type_name: Optional[List[Union[int, int]]] = None
683683
"""
684684
The start index and the index immediately after the end of a span of Unicode
685685
code points in input text.
@@ -715,7 +715,7 @@ class ResultDocumentTerm(BaseModel):
715715
the parties'.
716716
"""
717717

718-
mentions: List[List[object]]
718+
mentions: List[List[Union[int, int]]]
719719
"""
720720
An array of spans within the document's text where the term is mentioned outside
721721
of its definition.
@@ -741,7 +741,7 @@ class ResultDocumentWebsite(BaseModel):
741741
If a website was mentioned in the document but is not attributable to a legal person, it will not be extracted.
742742
"""
743743

744-
mentions: List[List[object]]
744+
mentions: List[List[Union[int, int]]]
745745
"""
746746
An array of one or more spans within the document's text where the website is
747747
mentioned (including paths and slugs which are not part of the website's
@@ -786,7 +786,7 @@ class ResultDocument(BaseModel):
786786
external_documents: List[ResultDocumentExternalDocument]
787787
"""An array of documents identified within the document."""
788788

789-
headings: List[List[object]]
789+
headings: List[List[Union[int, int]]]
790790
"""An array of spans within the document's text constituting headings."""
791791

792792
id_numbers: List[ResultDocumentIDNumber]
@@ -798,7 +798,7 @@ class ResultDocument(BaseModel):
798798
legal persons will not be extracted.
799799
"""
800800

801-
junk: List[List[object]]
801+
junk: List[List[Union[int, int]]]
802802
"""
803803
An array of spans within the document's text constituting non-operative,
804804
non-substantive 'junk' content such as headers, footers, page numbers, and OCR
@@ -843,7 +843,7 @@ class ResultDocument(BaseModel):
843843
portions of its content.
844844
"""
845845

846-
subtitle: Optional[List[object]] = None
846+
subtitle: Optional[List[Union[int, int]]] = None
847847
"""
848848
The start index and the index immediately after the end of a span of Unicode
849849
code points in input text.
@@ -864,7 +864,7 @@ class ResultDocument(BaseModel):
864864
terms: List[ResultDocumentTerm]
865865
"""An array of terms assigned definite meanings within the document."""
866866

867-
title: Optional[List[object]] = None
867+
title: Optional[List[Union[int, int]]] = None
868868
"""
869869
The start index and the index immediately after the end of a span of Unicode
870870
code points in input text.

0 commit comments

Comments
 (0)