Skip to content

Commit b791cfd

Browse files
feat(api): adds new Auth Rules Scope and Settlement Details type
- adds ANY scope to Auth Rules list params - adds COLLABORATION type to Settlement Details
1 parent efaa72a commit b791cfd

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
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: 166
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-23922ce40b48fe48252246fb770033946ae5e49e73d90b30eb3415d9812e5947.yml
3-
openapi_spec_hash: b2dd7289d19829df73b2d596576549f7
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-54e6f7955e86265bc870eaae7f4a9cd716292457a83e032567f22bbb9ce6ad0d.yml
3+
openapi_spec_hash: 6adbff5e5aeda88504047fc2c87e3fa0
44
config_hash: e9a46eb8acb9dc2c236f3e1958a1c4dd

src/lithic/resources/auth_rules/v2/v2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def list(
455455
ending_before: str | NotGiven = NOT_GIVEN,
456456
event_stream: Literal["AUTHORIZATION", "THREE_DS_AUTHENTICATION"] | NotGiven = NOT_GIVEN,
457457
page_size: int | NotGiven = NOT_GIVEN,
458-
scope: Literal["PROGRAM", "ACCOUNT", "CARD"] | NotGiven = NOT_GIVEN,
458+
scope: Literal["PROGRAM", "ACCOUNT", "CARD", "ANY"] | NotGiven = NOT_GIVEN,
459459
starting_after: str | NotGiven = NOT_GIVEN,
460460
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
461461
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1317,7 +1317,7 @@ def list(
13171317
ending_before: str | NotGiven = NOT_GIVEN,
13181318
event_stream: Literal["AUTHORIZATION", "THREE_DS_AUTHENTICATION"] | NotGiven = NOT_GIVEN,
13191319
page_size: int | NotGiven = NOT_GIVEN,
1320-
scope: Literal["PROGRAM", "ACCOUNT", "CARD"] | NotGiven = NOT_GIVEN,
1320+
scope: Literal["PROGRAM", "ACCOUNT", "CARD", "ANY"] | NotGiven = NOT_GIVEN,
13211321
starting_after: str | NotGiven = NOT_GIVEN,
13221322
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
13231323
# The extra values given here take precedence over values defined on the client or passed to this method.

src/lithic/types/auth_rules/v2_list_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class V2ListParams(TypedDict, total=False):
2626
page_size: int
2727
"""Page size (for pagination)."""
2828

29-
scope: Literal["PROGRAM", "ACCOUNT", "CARD"]
29+
scope: Literal["PROGRAM", "ACCOUNT", "CARD", "ANY"]
3030
"""Only return Auth Rules that are bound to the provided scope."""
3131

3232
starting_after: str

src/lithic/types/settlement_detail.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class SettlementDetail(BaseModel):
9696
"ARBITRATION",
9797
"CHARGEBACK",
9898
"CLEARING",
99+
"COLLABORATION",
99100
"FEE",
100101
"FINANCIAL",
101102
"NON-FINANCIAL",

0 commit comments

Comments
 (0)