Skip to content

Commit a8c6766

Browse files
feat(api): add Google WPP to SDKs
docs(api): clarify error 422 for 3DS challenge response feat(api): add IS_AFTER / IS_BEFORE operators to Auth Rule APIs
1 parent d0cd057 commit a8c6766

File tree

16 files changed

+1260
-512
lines changed

16 files changed

+1260
-512
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: 176
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-3e50857d2b8f4c85922abf83df7b3c6894f5bd500d6226ff589476029bbb258b.yml
3-
openapi_spec_hash: 6bef8b283eb7292ad6f3f62d40fda699
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-abe6a4f82f696099fa8ecb1cc44f08979e17d56578ae7ea68b0e9182e21df508.yml
3+
openapi_spec_hash: d2ce51592a9a234c6f34a1168a31f91f
44
config_hash: ba3fbfc99a1b8635d9e79e9e49d12952

lithic-java-core/src/main/kotlin/com/lithic/api/models/AuthRuleCondition.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import com.lithic.api.core.JsonMissing
1212
import com.lithic.api.core.JsonValue
1313
import com.lithic.api.core.checkRequired
1414
import com.lithic.api.errors.LithicInvalidDataException
15+
import java.time.OffsetDateTime
1516
import java.util.Collections
1617
import java.util.Objects
1718
import kotlin.jvm.optionals.getOrNull
@@ -264,6 +265,9 @@ private constructor(
264265
fun valueOfListOfStrings(listOfStrings: List<String>) =
265266
value(ConditionalValue.ofListOfStrings(listOfStrings))
266267

268+
/** Alias for calling [value] with `ConditionalValue.ofTimestamp(timestamp)`. */
269+
fun value(timestamp: OffsetDateTime) = value(ConditionalValue.ofTimestamp(timestamp))
270+
267271
fun additionalProperties(additionalProperties: Map<String, JsonValue>) = apply {
268272
this.additionalProperties.clear()
269273
putAllAdditionalProperties(additionalProperties)

0 commit comments

Comments
 (0)