See the error's `supported_filters` or the connector's supported filters.
*/
@SpeakeasyMetadata("queryParam:name=status")
private Optional extends LedgerAccountsFilterStatus> status;
@@ -91,7 +95,11 @@ public Optional See the error's `supported_filters` or the connector's supported filters.
*/
@SuppressWarnings("unchecked")
@JsonIgnore
@@ -165,7 +173,11 @@ public LedgerAccountsFilter withClassification(Optional extends Classification
}
/**
- * Filter by account status.
+ * Filter by account status. Supported only on a subset of connectors (e.g. NetSuite); connectors that
+ * do not support it reject `filter[status]` with a `400 UnsupportedFiltersError` — read the account's
+ * `status` field in the response and filter client-side instead.
+ *
+ * See the error's `supported_filters` or the connector's supported filters.
*/
public LedgerAccountsFilter withStatus(LedgerAccountsFilterStatus status) {
Utils.checkNotNull(status, "status");
@@ -175,7 +187,11 @@ public LedgerAccountsFilter withStatus(LedgerAccountsFilterStatus status) {
/**
- * Filter by account status.
+ * Filter by account status. Supported only on a subset of connectors (e.g. NetSuite); connectors that
+ * do not support it reject `filter[status]` with a `400 UnsupportedFiltersError` — read the account's
+ * `status` field in the response and filter client-side instead.
+ *
+ * See the error's `supported_filters` or the connector's supported filters.
*/
public LedgerAccountsFilter withStatus(Optional extends LedgerAccountsFilterStatus> status) {
Utils.checkNotNull(status, "status");
@@ -308,7 +324,11 @@ public Builder classification(Optional extends Classification> classification)
/**
- * Filter by account status.
+ * Filter by account status. Supported only on a subset of connectors (e.g. NetSuite); connectors that
+ * do not support it reject `filter[status]` with a `400 UnsupportedFiltersError` — read the account's
+ * `status` field in the response and filter client-side instead.
+ *
+ * See the error's `supported_filters` or the connector's supported filters.
*/
public Builder status(LedgerAccountsFilterStatus status) {
Utils.checkNotNull(status, "status");
@@ -317,7 +337,11 @@ public Builder status(LedgerAccountsFilterStatus status) {
}
/**
- * Filter by account status.
+ * Filter by account status. Supported only on a subset of connectors (e.g. NetSuite); connectors that
+ * do not support it reject `filter[status]` with a `400 UnsupportedFiltersError` — read the account's
+ * `status` field in the response and filter client-side instead.
+ *
+ * See the error's `supported_filters` or the connector's supported filters.
*/
public Builder status(Optional extends LedgerAccountsFilterStatus> status) {
Utils.checkNotNull(status, "status");
diff --git a/src/main/java/com/apideck/unify/models/components/LedgerAccountsFilterStatus.java b/src/main/java/com/apideck/unify/models/components/LedgerAccountsFilterStatus.java
index 200b2179..a71999a0 100644
--- a/src/main/java/com/apideck/unify/models/components/LedgerAccountsFilterStatus.java
+++ b/src/main/java/com/apideck/unify/models/components/LedgerAccountsFilterStatus.java
@@ -21,7 +21,11 @@
/**
* LedgerAccountsFilterStatus
*
- * Filter by account status.
+ * Filter by account status. Supported only on a subset of connectors (e.g. NetSuite); connectors that
+ * do not support it reject `filter[status]` with a `400 UnsupportedFiltersError` — read the account's
+ * `status` field in the response and filter client-side instead.
+ *
+ * See the error's `supported_filters` or the connector's supported filters.
*/
public class LedgerAccountsFilterStatus {
diff --git a/src/main/java/com/apideck/unify/models/components/WebhookEventType.java b/src/main/java/com/apideck/unify/models/components/WebhookEventType.java
index 1ae898df..b76d02c3 100644
--- a/src/main/java/com/apideck/unify/models/components/WebhookEventType.java
+++ b/src/main/java/com/apideck/unify/models/components/WebhookEventType.java
@@ -151,6 +151,9 @@ public class WebhookEventType {
public static final WebhookEventType ACCOUNTING_PROJECT_CREATED = new WebhookEventType("accounting.project.created");
public static final WebhookEventType ACCOUNTING_PROJECT_UPDATED = new WebhookEventType("accounting.project.updated");
public static final WebhookEventType ACCOUNTING_PROJECT_DELETED = new WebhookEventType("accounting.project.deleted");
+ public static final WebhookEventType ACCOUNTING_TRACKING_CATEGORY_CREATED = new WebhookEventType("accounting.tracking_category.created");
+ public static final WebhookEventType ACCOUNTING_TRACKING_CATEGORY_UPDATED = new WebhookEventType("accounting.tracking_category.updated");
+ public static final WebhookEventType ACCOUNTING_TRACKING_CATEGORY_DELETED = new WebhookEventType("accounting.tracking_category.deleted");
// This map will grow whenever a Color gets created with a new
// unrecognized value (a potential memory leak if the user is not
@@ -355,6 +358,9 @@ private static final Map