diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 4ac437f1c..98af54b20 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.429.0"
+ ".": "0.430.0"
}
\ No newline at end of file
diff --git a/.stats.yml b/.stats.yml
index bdfd829b6..fbae033a4 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 232
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aa6f3892142cc2ba55731765b00f760408d264406fc74ece34aafe2fa1a0c64a.yml
-openapi_spec_hash: 06d242fe01faa91bebb737697488d7d2
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e1f7516f9b6e2330afbb9f36fc3721a0c6b43947b8996105fa21d551591a3950.yml
+openapi_spec_hash: 782bc3e21cf8b511cf17b2a48600a67e
config_hash: 4b562e97b3d8b4cba758a87d4927a76d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21d5a30f0..5b118ecf1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## 0.430.0 (2026-02-10)
+
+Full Changelog: [v0.429.0...v0.430.0](https://github.com/Increase/increase-java/compare/v0.429.0...v0.430.0)
+
+### Features
+
+* **api:** api update ([c5d5b29](https://github.com/Increase/increase-java/commit/c5d5b29bc7213cfe748c247245ce4cc4cd2390e0))
+
## 0.429.0 (2026-02-10)
Full Changelog: [v0.428.0...v0.429.0](https://github.com/Increase/increase-java/compare/v0.428.0...v0.429.0)
diff --git a/README.md b/README.md
index d3da81846..07bd78ea9 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.429.0)
-[](https://javadoc.io/doc/com.increase.api/increase-java/0.429.0)
+[](https://central.sonatype.com/artifact/com.increase.api/increase-java/0.430.0)
+[](https://javadoc.io/doc/com.increase.api/increase-java/0.430.0)
@@ -13,7 +13,7 @@ The Increase Java SDK is similar to the Increase Kotlin SDK but with minor diffe
-The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.429.0).
+The REST API documentation can be found on [increase.com](https://increase.com/documentation). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.increase.api/increase-java/0.430.0).
@@ -24,7 +24,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d
### Gradle
```kotlin
-implementation("com.increase.api:increase-java:0.429.0")
+implementation("com.increase.api:increase-java:0.430.0")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.increase.api:increase-java:0.429.0")
com.increase.api
increase-java
- 0.429.0
+ 0.430.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index daa8eb41a..7b72bf351 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.increase.api"
- version = "0.429.0" // x-release-please-version
+ version = "0.430.0" // x-release-please-version
}
subprojects {
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt
index 43e743eec..08d60d4ec 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/Export.kt
@@ -41,6 +41,7 @@ private constructor(
private val createdAt: JsonField,
private val dashboardTableCsv: JsonField,
private val entityCsv: JsonField,
+ private val feeCsv: JsonField,
private val form1099Int: JsonField,
private val form1099Misc: JsonField,
private val fundingInstructions: JsonField,
@@ -82,6 +83,7 @@ private constructor(
@JsonProperty("entity_csv")
@ExcludeMissing
entityCsv: JsonField = JsonMissing.of(),
+ @JsonProperty("fee_csv") @ExcludeMissing feeCsv: JsonField = JsonMissing.of(),
@JsonProperty("form_1099_int")
@ExcludeMissing
form1099Int: JsonField = JsonMissing.of(),
@@ -117,6 +119,7 @@ private constructor(
createdAt,
dashboardTableCsv,
entityCsv,
+ feeCsv,
form1099Int,
form1099Misc,
fundingInstructions,
@@ -223,6 +226,15 @@ private constructor(
*/
fun entityCsv(): Optional = entityCsv.getOptional("entity_csv")
+ /**
+ * Details of the fee CSV export. This field will be present when the `category` is equal to
+ * `fee_csv`.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if the
+ * server responded with an unexpected value).
+ */
+ fun feeCsv(): Optional = feeCsv.getOptional("fee_csv")
+
/**
* Details of the Form 1099-INT export. This field will be present when the `category` is equal
* to `form_1099_int`.
@@ -404,6 +416,13 @@ private constructor(
*/
@JsonProperty("entity_csv") @ExcludeMissing fun _entityCsv(): JsonField = entityCsv
+ /**
+ * Returns the raw JSON value of [feeCsv].
+ *
+ * Unlike [feeCsv], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ @JsonProperty("fee_csv") @ExcludeMissing fun _feeCsv(): JsonField = feeCsv
+
/**
* Returns the raw JSON value of [form1099Int].
*
@@ -516,6 +535,7 @@ private constructor(
* .createdAt()
* .dashboardTableCsv()
* .entityCsv()
+ * .feeCsv()
* .form1099Int()
* .form1099Misc()
* .fundingInstructions()
@@ -544,6 +564,7 @@ private constructor(
private var createdAt: JsonField? = null
private var dashboardTableCsv: JsonField? = null
private var entityCsv: JsonField? = null
+ private var feeCsv: JsonField? = null
private var form1099Int: JsonField? = null
private var form1099Misc: JsonField? = null
private var fundingInstructions: JsonField? = null
@@ -568,6 +589,7 @@ private constructor(
createdAt = export.createdAt
dashboardTableCsv = export.dashboardTableCsv
entityCsv = export.entityCsv
+ feeCsv = export.feeCsv
form1099Int = export.form1099Int
form1099Misc = export.form1099Misc
fundingInstructions = export.fundingInstructions
@@ -779,6 +801,23 @@ private constructor(
*/
fun entityCsv(entityCsv: JsonField) = apply { this.entityCsv = entityCsv }
+ /**
+ * Details of the fee CSV export. This field will be present when the `category` is equal to
+ * `fee_csv`.
+ */
+ fun feeCsv(feeCsv: FeeCsv?) = feeCsv(JsonField.ofNullable(feeCsv))
+
+ /** Alias for calling [Builder.feeCsv] with `feeCsv.orElse(null)`. */
+ fun feeCsv(feeCsv: Optional) = feeCsv(feeCsv.getOrNull())
+
+ /**
+ * Sets [Builder.feeCsv] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.feeCsv] with a well-typed [FeeCsv] value instead. This
+ * method is primarily for setting the field to an undocumented or not yet supported value.
+ */
+ fun feeCsv(feeCsv: JsonField) = apply { this.feeCsv = feeCsv }
+
/**
* Details of the Form 1099-INT export. This field will be present when the `category` is
* equal to `form_1099_int`.
@@ -1005,6 +1044,7 @@ private constructor(
* .createdAt()
* .dashboardTableCsv()
* .entityCsv()
+ * .feeCsv()
* .form1099Int()
* .form1099Misc()
* .fundingInstructions()
@@ -1031,6 +1071,7 @@ private constructor(
checkRequired("createdAt", createdAt),
checkRequired("dashboardTableCsv", dashboardTableCsv),
checkRequired("entityCsv", entityCsv),
+ checkRequired("feeCsv", feeCsv),
checkRequired("form1099Int", form1099Int),
checkRequired("form1099Misc", form1099Misc),
checkRequired("fundingInstructions", fundingInstructions),
@@ -1062,6 +1103,7 @@ private constructor(
createdAt()
dashboardTableCsv().ifPresent { it.validate() }
entityCsv().ifPresent { it.validate() }
+ feeCsv().ifPresent { it.validate() }
form1099Int().ifPresent { it.validate() }
form1099Misc().ifPresent { it.validate() }
fundingInstructions().ifPresent { it.validate() }
@@ -1100,6 +1142,7 @@ private constructor(
(if (createdAt.asKnown().isPresent) 1 else 0) +
(dashboardTableCsv.asKnown().getOrNull()?.validity() ?: 0) +
(entityCsv.asKnown().getOrNull()?.validity() ?: 0) +
+ (feeCsv.asKnown().getOrNull()?.validity() ?: 0) +
(form1099Int.asKnown().getOrNull()?.validity() ?: 0) +
(form1099Misc.asKnown().getOrNull()?.validity() ?: 0) +
(fundingInstructions.asKnown().getOrNull()?.validity() ?: 0) +
@@ -2960,6 +3003,12 @@ private constructor(
/** A PDF of an Internal Revenue Service Form 1099-MISC. */
@JvmField val FORM_1099_MISC = of("form_1099_misc")
+ /**
+ * Export a CSV of fees. The time range must not include any fees that are part of an
+ * open fee statement.
+ */
+ @JvmField val FEE_CSV = of("fee_csv")
+
/** A PDF of a voided check. */
@JvmField val VOIDED_CHECK = of("voided_check")
@@ -3001,6 +3050,11 @@ private constructor(
FORM_1099_INT,
/** A PDF of an Internal Revenue Service Form 1099-MISC. */
FORM_1099_MISC,
+ /**
+ * Export a CSV of fees. The time range must not include any fees that are part of an
+ * open fee statement.
+ */
+ FEE_CSV,
/** A PDF of a voided check. */
VOIDED_CHECK,
}
@@ -3048,6 +3102,11 @@ private constructor(
FORM_1099_INT,
/** A PDF of an Internal Revenue Service Form 1099-MISC. */
FORM_1099_MISC,
+ /**
+ * Export a CSV of fees. The time range must not include any fees that are part of an
+ * open fee statement.
+ */
+ FEE_CSV,
/** A PDF of a voided check. */
VOIDED_CHECK,
/** An enum member indicating that [Category] was instantiated with an unknown value. */
@@ -3075,6 +3134,7 @@ private constructor(
FUNDING_INSTRUCTIONS -> Value.FUNDING_INSTRUCTIONS
FORM_1099_INT -> Value.FORM_1099_INT
FORM_1099_MISC -> Value.FORM_1099_MISC
+ FEE_CSV -> Value.FEE_CSV
VOIDED_CHECK -> Value.VOIDED_CHECK
else -> Value._UNKNOWN
}
@@ -3102,6 +3162,7 @@ private constructor(
FUNDING_INSTRUCTIONS -> Known.FUNDING_INSTRUCTIONS
FORM_1099_INT -> Known.FORM_1099_INT
FORM_1099_MISC -> Known.FORM_1099_MISC
+ FEE_CSV -> Known.FEE_CSV
VOIDED_CHECK -> Known.VOIDED_CHECK
else -> throw IncreaseInvalidDataException("Unknown Category: $value")
}
@@ -3372,6 +3433,395 @@ private constructor(
override fun toString() = "EntityCsv{additionalProperties=$additionalProperties}"
}
+ /**
+ * Details of the fee CSV export. This field will be present when the `category` is equal to
+ * `fee_csv`.
+ */
+ class FeeCsv
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
+ private constructor(
+ private val createdAt: JsonField,
+ private val additionalProperties: MutableMap,
+ ) {
+
+ @JsonCreator
+ private constructor(
+ @JsonProperty("created_at")
+ @ExcludeMissing
+ createdAt: JsonField = JsonMissing.of()
+ ) : this(createdAt, mutableMapOf())
+
+ /**
+ * Filter fees by their created date. The time range must not include any fees that are part
+ * of an open fee statement.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g. if
+ * the server responded with an unexpected value).
+ */
+ fun createdAt(): Optional = createdAt.getOptional("created_at")
+
+ /**
+ * Returns the raw JSON value of [createdAt].
+ *
+ * Unlike [createdAt], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ @JsonProperty("created_at")
+ @ExcludeMissing
+ fun _createdAt(): JsonField = createdAt
+
+ @JsonAnySetter
+ private fun putAdditionalProperty(key: String, value: JsonValue) {
+ additionalProperties.put(key, value)
+ }
+
+ @JsonAnyGetter
+ @ExcludeMissing
+ fun _additionalProperties(): Map =
+ Collections.unmodifiableMap(additionalProperties)
+
+ fun toBuilder() = Builder().from(this)
+
+ companion object {
+
+ /**
+ * Returns a mutable builder for constructing an instance of [FeeCsv].
+ *
+ * The following fields are required:
+ * ```java
+ * .createdAt()
+ * ```
+ */
+ @JvmStatic fun builder() = Builder()
+ }
+
+ /** A builder for [FeeCsv]. */
+ class Builder internal constructor() {
+
+ private var createdAt: JsonField? = null
+ private var additionalProperties: MutableMap = mutableMapOf()
+
+ @JvmSynthetic
+ internal fun from(feeCsv: FeeCsv) = apply {
+ createdAt = feeCsv.createdAt
+ additionalProperties = feeCsv.additionalProperties.toMutableMap()
+ }
+
+ /**
+ * Filter fees by their created date. The time range must not include any fees that are
+ * part of an open fee statement.
+ */
+ fun createdAt(createdAt: CreatedAt?) = createdAt(JsonField.ofNullable(createdAt))
+
+ /** Alias for calling [Builder.createdAt] with `createdAt.orElse(null)`. */
+ fun createdAt(createdAt: Optional) = createdAt(createdAt.getOrNull())
+
+ /**
+ * Sets [Builder.createdAt] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.createdAt] with a well-typed [CreatedAt] value
+ * instead. This method is primarily for setting the field to an undocumented or not yet
+ * supported value.
+ */
+ fun createdAt(createdAt: JsonField) = apply { this.createdAt = createdAt }
+
+ fun additionalProperties(additionalProperties: Map) = apply {
+ this.additionalProperties.clear()
+ putAllAdditionalProperties(additionalProperties)
+ }
+
+ fun putAdditionalProperty(key: String, value: JsonValue) = apply {
+ additionalProperties.put(key, value)
+ }
+
+ fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ this.additionalProperties.putAll(additionalProperties)
+ }
+
+ fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
+
+ fun removeAllAdditionalProperties(keys: Set) = apply {
+ keys.forEach(::removeAdditionalProperty)
+ }
+
+ /**
+ * Returns an immutable instance of [FeeCsv].
+ *
+ * Further updates to this [Builder] will not mutate the returned instance.
+ *
+ * The following fields are required:
+ * ```java
+ * .createdAt()
+ * ```
+ *
+ * @throws IllegalStateException if any required field is unset.
+ */
+ fun build(): FeeCsv =
+ FeeCsv(checkRequired("createdAt", createdAt), additionalProperties.toMutableMap())
+ }
+
+ private var validated: Boolean = false
+
+ fun validate(): FeeCsv = apply {
+ if (validated) {
+ return@apply
+ }
+
+ createdAt().ifPresent { it.validate() }
+ validated = true
+ }
+
+ fun isValid(): Boolean =
+ try {
+ validate()
+ true
+ } catch (e: IncreaseInvalidDataException) {
+ false
+ }
+
+ /**
+ * Returns a score indicating how many valid values are contained in this object
+ * recursively.
+ *
+ * Used for best match union deserialization.
+ */
+ @JvmSynthetic
+ internal fun validity(): Int = (createdAt.asKnown().getOrNull()?.validity() ?: 0)
+
+ /**
+ * Filter fees by their created date. The time range must not include any fees that are part
+ * of an open fee statement.
+ */
+ class CreatedAt
+ @JsonCreator(mode = JsonCreator.Mode.DISABLED)
+ private constructor(
+ private val after: JsonField,
+ private val before: JsonField,
+ private val additionalProperties: MutableMap,
+ ) {
+
+ @JsonCreator
+ private constructor(
+ @JsonProperty("after")
+ @ExcludeMissing
+ after: JsonField = JsonMissing.of(),
+ @JsonProperty("before")
+ @ExcludeMissing
+ before: JsonField = JsonMissing.of(),
+ ) : this(after, before, mutableMapOf())
+
+ /**
+ * Filter fees created after this time.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
+ * if the server responded with an unexpected value).
+ */
+ fun after(): Optional = after.getOptional("after")
+
+ /**
+ * Filter fees created before this time.
+ *
+ * @throws IncreaseInvalidDataException if the JSON field has an unexpected type (e.g.
+ * if the server responded with an unexpected value).
+ */
+ fun before(): Optional = before.getOptional("before")
+
+ /**
+ * Returns the raw JSON value of [after].
+ *
+ * Unlike [after], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ @JsonProperty("after") @ExcludeMissing fun _after(): JsonField = after
+
+ /**
+ * Returns the raw JSON value of [before].
+ *
+ * Unlike [before], this method doesn't throw if the JSON field has an unexpected type.
+ */
+ @JsonProperty("before")
+ @ExcludeMissing
+ fun _before(): JsonField = before
+
+ @JsonAnySetter
+ private fun putAdditionalProperty(key: String, value: JsonValue) {
+ additionalProperties.put(key, value)
+ }
+
+ @JsonAnyGetter
+ @ExcludeMissing
+ fun _additionalProperties(): Map =
+ Collections.unmodifiableMap(additionalProperties)
+
+ fun toBuilder() = Builder().from(this)
+
+ companion object {
+
+ /**
+ * Returns a mutable builder for constructing an instance of [CreatedAt].
+ *
+ * The following fields are required:
+ * ```java
+ * .after()
+ * .before()
+ * ```
+ */
+ @JvmStatic fun builder() = Builder()
+ }
+
+ /** A builder for [CreatedAt]. */
+ class Builder internal constructor() {
+
+ private var after: JsonField? = null
+ private var before: JsonField? = null
+ private var additionalProperties: MutableMap = mutableMapOf()
+
+ @JvmSynthetic
+ internal fun from(createdAt: CreatedAt) = apply {
+ after = createdAt.after
+ before = createdAt.before
+ additionalProperties = createdAt.additionalProperties.toMutableMap()
+ }
+
+ /** Filter fees created after this time. */
+ fun after(after: OffsetDateTime?) = after(JsonField.ofNullable(after))
+
+ /** Alias for calling [Builder.after] with `after.orElse(null)`. */
+ fun after(after: Optional) = after(after.getOrNull())
+
+ /**
+ * Sets [Builder.after] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.after] with a well-typed [OffsetDateTime] value
+ * instead. This method is primarily for setting the field to an undocumented or not
+ * yet supported value.
+ */
+ fun after(after: JsonField) = apply { this.after = after }
+
+ /** Filter fees created before this time. */
+ fun before(before: OffsetDateTime?) = before(JsonField.ofNullable(before))
+
+ /** Alias for calling [Builder.before] with `before.orElse(null)`. */
+ fun before(before: Optional) = before(before.getOrNull())
+
+ /**
+ * Sets [Builder.before] to an arbitrary JSON value.
+ *
+ * You should usually call [Builder.before] with a well-typed [OffsetDateTime] value
+ * instead. This method is primarily for setting the field to an undocumented or not
+ * yet supported value.
+ */
+ fun before(before: JsonField) = apply { this.before = before }
+
+ fun additionalProperties(additionalProperties: Map) = apply {
+ this.additionalProperties.clear()
+ putAllAdditionalProperties(additionalProperties)
+ }
+
+ fun putAdditionalProperty(key: String, value: JsonValue) = apply {
+ additionalProperties.put(key, value)
+ }
+
+ fun putAllAdditionalProperties(additionalProperties: Map) =
+ apply {
+ this.additionalProperties.putAll(additionalProperties)
+ }
+
+ fun removeAdditionalProperty(key: String) = apply {
+ additionalProperties.remove(key)
+ }
+
+ fun removeAllAdditionalProperties(keys: Set) = apply {
+ keys.forEach(::removeAdditionalProperty)
+ }
+
+ /**
+ * Returns an immutable instance of [CreatedAt].
+ *
+ * Further updates to this [Builder] will not mutate the returned instance.
+ *
+ * The following fields are required:
+ * ```java
+ * .after()
+ * .before()
+ * ```
+ *
+ * @throws IllegalStateException if any required field is unset.
+ */
+ fun build(): CreatedAt =
+ CreatedAt(
+ checkRequired("after", after),
+ checkRequired("before", before),
+ additionalProperties.toMutableMap(),
+ )
+ }
+
+ private var validated: Boolean = false
+
+ fun validate(): CreatedAt = apply {
+ if (validated) {
+ return@apply
+ }
+
+ after()
+ before()
+ validated = true
+ }
+
+ fun isValid(): Boolean =
+ try {
+ validate()
+ true
+ } catch (e: IncreaseInvalidDataException) {
+ false
+ }
+
+ /**
+ * Returns a score indicating how many valid values are contained in this object
+ * recursively.
+ *
+ * Used for best match union deserialization.
+ */
+ @JvmSynthetic
+ internal fun validity(): Int =
+ (if (after.asKnown().isPresent) 1 else 0) +
+ (if (before.asKnown().isPresent) 1 else 0)
+
+ override fun equals(other: Any?): Boolean {
+ if (this === other) {
+ return true
+ }
+
+ return other is CreatedAt &&
+ after == other.after &&
+ before == other.before &&
+ additionalProperties == other.additionalProperties
+ }
+
+ private val hashCode: Int by lazy { Objects.hash(after, before, additionalProperties) }
+
+ override fun hashCode(): Int = hashCode
+
+ override fun toString() =
+ "CreatedAt{after=$after, before=$before, additionalProperties=$additionalProperties}"
+ }
+
+ override fun equals(other: Any?): Boolean {
+ if (this === other) {
+ return true
+ }
+
+ return other is FeeCsv &&
+ createdAt == other.createdAt &&
+ additionalProperties == other.additionalProperties
+ }
+
+ private val hashCode: Int by lazy { Objects.hash(createdAt, additionalProperties) }
+
+ override fun hashCode(): Int = hashCode
+
+ override fun toString() =
+ "FeeCsv{createdAt=$createdAt, additionalProperties=$additionalProperties}"
+ }
+
/**
* Details of the Form 1099-INT export. This field will be present when the `category` is equal
* to `form_1099_int`.
@@ -5446,6 +5896,7 @@ private constructor(
createdAt == other.createdAt &&
dashboardTableCsv == other.dashboardTableCsv &&
entityCsv == other.entityCsv &&
+ feeCsv == other.feeCsv &&
form1099Int == other.form1099Int &&
form1099Misc == other.form1099Misc &&
fundingInstructions == other.fundingInstructions &&
@@ -5471,6 +5922,7 @@ private constructor(
createdAt,
dashboardTableCsv,
entityCsv,
+ feeCsv,
form1099Int,
form1099Misc,
fundingInstructions,
@@ -5488,5 +5940,5 @@ private constructor(
override fun hashCode(): Int = hashCode
override fun toString() =
- "Export{id=$id, accountStatementBai2=$accountStatementBai2, accountStatementOfx=$accountStatementOfx, accountVerificationLetter=$accountVerificationLetter, balanceCsv=$balanceCsv, bookkeepingAccountBalanceCsv=$bookkeepingAccountBalanceCsv, category=$category, createdAt=$createdAt, dashboardTableCsv=$dashboardTableCsv, entityCsv=$entityCsv, form1099Int=$form1099Int, form1099Misc=$form1099Misc, fundingInstructions=$fundingInstructions, idempotencyKey=$idempotencyKey, result=$result, status=$status, transactionCsv=$transactionCsv, type=$type, vendorCsv=$vendorCsv, voidedCheck=$voidedCheck, additionalProperties=$additionalProperties}"
+ "Export{id=$id, accountStatementBai2=$accountStatementBai2, accountStatementOfx=$accountStatementOfx, accountVerificationLetter=$accountVerificationLetter, balanceCsv=$balanceCsv, bookkeepingAccountBalanceCsv=$bookkeepingAccountBalanceCsv, category=$category, createdAt=$createdAt, dashboardTableCsv=$dashboardTableCsv, entityCsv=$entityCsv, feeCsv=$feeCsv, form1099Int=$form1099Int, form1099Misc=$form1099Misc, fundingInstructions=$fundingInstructions, idempotencyKey=$idempotencyKey, result=$result, status=$status, transactionCsv=$transactionCsv, type=$type, vendorCsv=$vendorCsv, voidedCheck=$voidedCheck, additionalProperties=$additionalProperties}"
}
diff --git a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListParams.kt b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListParams.kt
index 86db4355a..41623784c 100644
--- a/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListParams.kt
+++ b/increase-java-core/src/main/kotlin/com/increase/api/models/exports/ExportListParams.kt
@@ -399,6 +399,12 @@ private constructor(
/** A PDF of an Internal Revenue Service Form 1099-MISC. */
@JvmField val FORM_1099_MISC = of("form_1099_misc")
+ /**
+ * Export a CSV of fees. The time range must not include any fees that are part of an
+ * open fee statement.
+ */
+ @JvmField val FEE_CSV = of("fee_csv")
+
/** A PDF of a voided check. */
@JvmField val VOIDED_CHECK = of("voided_check")
@@ -440,6 +446,11 @@ private constructor(
FORM_1099_INT,
/** A PDF of an Internal Revenue Service Form 1099-MISC. */
FORM_1099_MISC,
+ /**
+ * Export a CSV of fees. The time range must not include any fees that are part of an
+ * open fee statement.
+ */
+ FEE_CSV,
/** A PDF of a voided check. */
VOIDED_CHECK,
}
@@ -487,6 +498,11 @@ private constructor(
FORM_1099_INT,
/** A PDF of an Internal Revenue Service Form 1099-MISC. */
FORM_1099_MISC,
+ /**
+ * Export a CSV of fees. The time range must not include any fees that are part of an
+ * open fee statement.
+ */
+ FEE_CSV,
/** A PDF of a voided check. */
VOIDED_CHECK,
/** An enum member indicating that [Category] was instantiated with an unknown value. */
@@ -514,6 +530,7 @@ private constructor(
FUNDING_INSTRUCTIONS -> Value.FUNDING_INSTRUCTIONS
FORM_1099_INT -> Value.FORM_1099_INT
FORM_1099_MISC -> Value.FORM_1099_MISC
+ FEE_CSV -> Value.FEE_CSV
VOIDED_CHECK -> Value.VOIDED_CHECK
else -> Value._UNKNOWN
}
@@ -541,6 +558,7 @@ private constructor(
FUNDING_INSTRUCTIONS -> Known.FUNDING_INSTRUCTIONS
FORM_1099_INT -> Known.FORM_1099_INT
FORM_1099_MISC -> Known.FORM_1099_MISC
+ FEE_CSV -> Known.FEE_CSV
VOIDED_CHECK -> Known.VOIDED_CHECK
else -> throw IncreaseInvalidDataException("Unknown Category: $value")
}
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportListPageResponseTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportListPageResponseTest.kt
index 9f8bb1864..a2bb1d0bf 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportListPageResponseTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportListPageResponseTest.kt
@@ -68,6 +68,16 @@ internal class ExportListPageResponseTest {
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.dashboardTableCsv(Export.DashboardTableCsv.builder().build())
.entityCsv(Export.EntityCsv.builder().build())
+ .feeCsv(
+ Export.FeeCsv.builder()
+ .createdAt(
+ Export.FeeCsv.CreatedAt.builder()
+ .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .build()
+ )
+ .build()
+ )
.form1099Int(
Export.Form1099Int.builder()
.accountId("account_id")
@@ -169,6 +179,16 @@ internal class ExportListPageResponseTest {
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.dashboardTableCsv(Export.DashboardTableCsv.builder().build())
.entityCsv(Export.EntityCsv.builder().build())
+ .feeCsv(
+ Export.FeeCsv.builder()
+ .createdAt(
+ Export.FeeCsv.CreatedAt.builder()
+ .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .build()
+ )
+ .build()
+ )
.form1099Int(
Export.Form1099Int.builder()
.accountId("account_id")
@@ -274,6 +294,16 @@ internal class ExportListPageResponseTest {
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.dashboardTableCsv(Export.DashboardTableCsv.builder().build())
.entityCsv(Export.EntityCsv.builder().build())
+ .feeCsv(
+ Export.FeeCsv.builder()
+ .createdAt(
+ Export.FeeCsv.CreatedAt.builder()
+ .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .build()
+ )
+ .build()
+ )
.form1099Int(
Export.Form1099Int.builder()
.accountId("account_id")
diff --git a/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportTest.kt b/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportTest.kt
index aab3cf1ba..32b52ff99 100644
--- a/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportTest.kt
+++ b/increase-java-core/src/test/kotlin/com/increase/api/models/exports/ExportTest.kt
@@ -66,6 +66,16 @@ internal class ExportTest {
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.dashboardTableCsv(Export.DashboardTableCsv.builder().build())
.entityCsv(Export.EntityCsv.builder().build())
+ .feeCsv(
+ Export.FeeCsv.builder()
+ .createdAt(
+ Export.FeeCsv.CreatedAt.builder()
+ .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .build()
+ )
+ .build()
+ )
.form1099Int(
Export.Form1099Int.builder()
.accountId("account_id")
@@ -166,6 +176,17 @@ internal class ExportTest {
assertThat(export.createdAt()).isEqualTo(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
assertThat(export.dashboardTableCsv()).contains(Export.DashboardTableCsv.builder().build())
assertThat(export.entityCsv()).contains(Export.EntityCsv.builder().build())
+ assertThat(export.feeCsv())
+ .contains(
+ Export.FeeCsv.builder()
+ .createdAt(
+ Export.FeeCsv.CreatedAt.builder()
+ .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .build()
+ )
+ .build()
+ )
assertThat(export.form1099Int())
.contains(
Export.Form1099Int.builder()
@@ -270,6 +291,16 @@ internal class ExportTest {
.createdAt(OffsetDateTime.parse("2020-01-31T23:59:59Z"))
.dashboardTableCsv(Export.DashboardTableCsv.builder().build())
.entityCsv(Export.EntityCsv.builder().build())
+ .feeCsv(
+ Export.FeeCsv.builder()
+ .createdAt(
+ Export.FeeCsv.CreatedAt.builder()
+ .after(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .before(OffsetDateTime.parse("2019-12-27T18:11:19.117Z"))
+ .build()
+ )
+ .build()
+ )
.form1099Int(
Export.Form1099Int.builder()
.accountId("account_id")