Skip to content

Commit cf189c2

Browse files
author
lithic-sdk-bot[bot]
committed
feat(api): add ALLPOINT to network enums on settlement report and detail endpoints
Stainless-Generated-From: 00f7e1274f175e7dfb4bea7ec79425cc7d013ced
1 parent f37a6c0 commit cf189c2

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎scripts/mock‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎src/lithic/resources/reports/settlement/network_totals.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def list(
8383
end: Union[str, datetime] | Omit = omit,
8484
ending_before: str | Omit = omit,
8585
institution_id: str | Omit = omit,
86-
network: Literal["AMEX", "VISA", "MASTERCARD", "MAESTRO", "INTERLINK"] | Omit = omit,
86+
network: Literal["ALLPOINT", "AMEX", "VISA", "MASTERCARD", "MAESTRO", "INTERLINK"] | Omit = omit,
8787
page_size: int | Omit = omit,
8888
report_date: Union[str, date] | Omit = omit,
8989
report_date_begin: Union[str, date] | Omit = omit,
@@ -227,7 +227,7 @@ def list(
227227
end: Union[str, datetime] | Omit = omit,
228228
ending_before: str | Omit = omit,
229229
institution_id: str | Omit = omit,
230-
network: Literal["AMEX", "VISA", "MASTERCARD", "MAESTRO", "INTERLINK"] | Omit = omit,
230+
network: Literal["ALLPOINT", "AMEX", "VISA", "MASTERCARD", "MAESTRO", "INTERLINK"] | Omit = omit,
231231
page_size: int | Omit = omit,
232232
report_date: Union[str, date] | Omit = omit,
233233
report_date_begin: Union[str, date] | Omit = omit,

‎src/lithic/types/network_total.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ class NetworkTotal(BaseModel):
5151
available in the details endpoint.
5252
"""
5353

54-
network: Literal["AMEX", "VISA", "MASTERCARD", "MAESTRO", "INTERLINK"]
54+
network: Literal["ALLPOINT", "AMEX", "VISA", "MASTERCARD", "MAESTRO", "INTERLINK"]
5555
"""Card network where the transaction took place.
5656
57-
AMEX, VISA, MASTERCARD, MAESTRO, or INTERLINK.
57+
ALLPOINT, AMEX, VISA, MASTERCARD, MAESTRO, or INTERLINK.
5858
"""
5959

6060
report_date: date

‎src/lithic/types/reports/settlement/network_total_list_params.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class NetworkTotalListParams(TypedDict, total=False):
3434
institution_id: str
3535
"""Institution ID to filter on."""
3636

37-
network: Literal["AMEX", "VISA", "MASTERCARD", "MAESTRO", "INTERLINK"]
37+
network: Literal["ALLPOINT", "AMEX", "VISA", "MASTERCARD", "MAESTRO", "INTERLINK"]
3838
"""Network to filter on."""
3939

4040
page_size: int

‎src/lithic/types/settlement_detail.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class SettlementDetail(BaseModel):
6666
interchange_gross_amount: int
6767
"""The total amount of interchange."""
6868

69-
network: Literal["AMEX", "INTERLINK", "MAESTRO", "MASTERCARD", "UNKNOWN", "VISA"]
69+
network: Literal["ALLPOINT", "AMEX", "INTERLINK", "MAESTRO", "MASTERCARD", "UNKNOWN", "VISA"]
7070
"""Card network where the transaction took place."""
7171

7272
other_fees_details: OtherFeesDetails

‎src/lithic/types/settlement_summary_details.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class SettlementSummaryDetails(BaseModel):
2424
interchange_gross_amount: Optional[int] = None
2525
"""The total amount of interchange."""
2626

27-
network: Optional[Literal["AMEX", "INTERLINK", "MAESTRO", "MASTERCARD", "UNKNOWN", "VISA"]] = None
27+
network: Optional[Literal["ALLPOINT", "AMEX", "INTERLINK", "MAESTRO", "MASTERCARD", "UNKNOWN", "VISA"]] = None
2828
"""Card network where the transaction took place"""
2929

3030
other_fees_gross_amount: Optional[int] = None

‎tests/api_resources/reports/settlement/test_network_totals.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_method_list_with_all_params(self, client: Lithic) -> None:
6969
end=parse_datetime("2019-12-27T18:11:19.117Z"),
7070
ending_before="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
7171
institution_id="institution_id",
72-
network="AMEX",
72+
network="ALLPOINT",
7373
page_size=1,
7474
report_date=parse_date("2019-12-27"),
7575
report_date_begin=parse_date("2019-12-27"),
@@ -155,7 +155,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncLithic) -> N
155155
end=parse_datetime("2019-12-27T18:11:19.117Z"),
156156
ending_before="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
157157
institution_id="institution_id",
158-
network="AMEX",
158+
network="ALLPOINT",
159159
page_size=1,
160160
report_date=parse_date("2019-12-27"),
161161
report_date_begin=parse_date("2019-12-27"),

0 commit comments

Comments
 (0)