serviceDate) {
+ Utils.checkNotNull(serviceDate, "serviceDate");
+ this.serviceDate = serviceDate;
+ return this;
+ }
+
+
/**
* ID of the category of the line item
*/
@@ -1775,12 +1837,13 @@ public InvoiceLineItemInput build() {
lineNumber, description, type,
taxAmount, totalAmount, quantity,
unitPrice, unitOfMeasure, discountPercentage,
- discountAmount, categoryId, locationId,
- departmentId, subsidiaryId, shippingId,
- memo, prepaid, item,
- taxApplicableOn, taxRecoverability, taxMethod,
- worktags, taxRate, trackingCategories,
- ledgerAccount, customFields, rowVersion);
+ discountAmount, serviceDate, categoryId,
+ locationId, departmentId, subsidiaryId,
+ shippingId, memo, prepaid,
+ item, taxApplicableOn, taxRecoverability,
+ taxMethod, worktags, taxRate,
+ trackingCategories, ledgerAccount, customFields,
+ rowVersion);
}
}
diff --git a/src/main/java/com/apideck/unify/models/components/LedgerAccountType.java b/src/main/java/com/apideck/unify/models/components/LedgerAccountType.java
index c8a15e22b..5db50a65e 100644
--- a/src/main/java/com/apideck/unify/models/components/LedgerAccountType.java
+++ b/src/main/java/com/apideck/unify/models/components/LedgerAccountType.java
@@ -14,25 +14,25 @@
* The type of account.
*/
public enum LedgerAccountType {
+ ACCOUNTS_PAYABLE("accounts_payable"),
ACCOUNTS_RECEIVABLE("accounts_receivable"),
- REVENUE("revenue"),
- SALES("sales"),
- OTHER_INCOME("other_income"),
+ BALANCESHEET("balancesheet"),
BANK("bank"),
+ COSTS_OF_SALES("costs_of_sales"),
+ CREDIT_CARD("credit_card"),
CURRENT_ASSET("current_asset"),
+ CURRENT_LIABILITY("current_liability"),
+ EQUITY("equity"),
+ EXPENSE("expense"),
FIXED_ASSET("fixed_asset"),
NON_CURRENT_ASSET("non_current_asset"),
+ NON_CURRENT_LIABILITY("non_current_liability"),
OTHER_ASSET("other_asset"),
- BALANCESHEET("balancesheet"),
- EQUITY("equity"),
- EXPENSE("expense"),
OTHER_EXPENSE("other_expense"),
- COSTS_OF_SALES("costs_of_sales"),
- ACCOUNTS_PAYABLE("accounts_payable"),
- CREDIT_CARD("credit_card"),
- CURRENT_LIABILITY("current_liability"),
- NON_CURRENT_LIABILITY("non_current_liability"),
+ OTHER_INCOME("other_income"),
OTHER_LIABILITY("other_liability"),
+ REVENUE("revenue"),
+ SALES("sales"),
OTHER("other");
@JsonValue
diff --git a/src/main/java/com/apideck/unify/models/components/Project.java b/src/main/java/com/apideck/unify/models/components/Project.java
index 0088502f3..05df51221 100644
--- a/src/main/java/com/apideck/unify/models/components/Project.java
+++ b/src/main/java/com/apideck/unify/models/components/Project.java
@@ -73,6 +73,13 @@ public class Project {
@JsonProperty("status")
private JsonNullable extends ProjectProjectStatus> status;
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("active")
+ private JsonNullable active;
+
/**
* Type or category of the project
*/
@@ -325,6 +332,7 @@ public Project(
@JsonProperty("reference_id") JsonNullable referenceId,
@JsonProperty("description") JsonNullable description,
@JsonProperty("status") JsonNullable extends ProjectProjectStatus> status,
+ @JsonProperty("active") JsonNullable active,
@JsonProperty("project_type") JsonNullable extends ProjectType> projectType,
@JsonProperty("priority") JsonNullable extends Priority> priority,
@JsonProperty("completion_percentage") JsonNullable completionPercentage,
@@ -367,6 +375,7 @@ public Project(
Utils.checkNotNull(referenceId, "referenceId");
Utils.checkNotNull(description, "description");
Utils.checkNotNull(status, "status");
+ Utils.checkNotNull(active, "active");
Utils.checkNotNull(projectType, "projectType");
Utils.checkNotNull(priority, "priority");
Utils.checkNotNull(completionPercentage, "completionPercentage");
@@ -409,6 +418,7 @@ public Project(
this.referenceId = referenceId;
this.description = description;
this.status = status;
+ this.active = active;
this.projectType = projectType;
this.priority = priority;
this.completionPercentage = completionPercentage;
@@ -457,11 +467,12 @@ public Project(
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
- Optional.empty(), JsonNullable.undefined(), Optional.empty(),
- JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), Optional.empty(), JsonNullable.undefined(),
Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined(),
- JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined());
+ JsonNullable.undefined(), JsonNullable.undefined(), Optional.empty(),
+ JsonNullable.undefined(), Optional.empty(), JsonNullable.undefined(),
+ JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
+ JsonNullable.undefined());
}
/**
@@ -521,6 +532,14 @@ public JsonNullable status() {
return (JsonNullable) status;
}
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ @JsonIgnore
+ public JsonNullable active() {
+ return active;
+ }
+
/**
* Type or category of the project
*/
@@ -934,6 +953,24 @@ public Project withStatus(JsonNullable extends ProjectProjectStatus> status) {
return this;
}
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ public Project withActive(boolean active) {
+ Utils.checkNotNull(active, "active");
+ this.active = JsonNullable.of(active);
+ return this;
+ }
+
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ public Project withActive(JsonNullable active) {
+ Utils.checkNotNull(active, "active");
+ this.active = active;
+ return this;
+ }
+
/**
* Type or category of the project
*/
@@ -1577,6 +1614,7 @@ public boolean equals(java.lang.Object o) {
Utils.enhancedDeepEquals(this.referenceId, other.referenceId) &&
Utils.enhancedDeepEquals(this.description, other.description) &&
Utils.enhancedDeepEquals(this.status, other.status) &&
+ Utils.enhancedDeepEquals(this.active, other.active) &&
Utils.enhancedDeepEquals(this.projectType, other.projectType) &&
Utils.enhancedDeepEquals(this.priority, other.priority) &&
Utils.enhancedDeepEquals(this.completionPercentage, other.completionPercentage) &&
@@ -1619,18 +1657,19 @@ public int hashCode() {
return Utils.enhancedHash(
id, downstreamId, name,
displayId, referenceId, description,
- status, projectType, priority,
- completionPercentage, startDate, endDate,
- customer, department, companyId,
- ownerId, parentProject, currency,
- budgetAmount, approvedAmount, actualAmount,
- budgetHours, actualHours, hourlyRate,
- billingMethod, isBillable, phase,
- taxRate, trackingCategories, tags,
- notes, contractNumber, profitMargin,
- scheduleStatus, addresses, teamSize,
- customFields, rowVersion, updatedBy,
- createdBy, createdAt, updatedAt);
+ status, active, projectType,
+ priority, completionPercentage, startDate,
+ endDate, customer, department,
+ companyId, ownerId, parentProject,
+ currency, budgetAmount, approvedAmount,
+ actualAmount, budgetHours, actualHours,
+ hourlyRate, billingMethod, isBillable,
+ phase, taxRate, trackingCategories,
+ tags, notes, contractNumber,
+ profitMargin, scheduleStatus, addresses,
+ teamSize, customFields, rowVersion,
+ updatedBy, createdBy, createdAt,
+ updatedAt);
}
@Override
@@ -1643,6 +1682,7 @@ public String toString() {
"referenceId", referenceId,
"description", description,
"status", status,
+ "active", active,
"projectType", projectType,
"priority", priority,
"completionPercentage", completionPercentage,
@@ -1697,6 +1737,8 @@ public final static class Builder {
private JsonNullable extends ProjectProjectStatus> status = JsonNullable.undefined();
+ private JsonNullable active = JsonNullable.undefined();
+
private JsonNullable extends ProjectType> projectType = JsonNullable.undefined();
private JsonNullable extends Priority> priority = JsonNullable.undefined();
@@ -1896,6 +1938,25 @@ public Builder status(JsonNullable extends ProjectProjectStatus> status) {
}
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ public Builder active(boolean active) {
+ Utils.checkNotNull(active, "active");
+ this.active = JsonNullable.of(active);
+ return this;
+ }
+
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ public Builder active(JsonNullable active) {
+ Utils.checkNotNull(active, "active");
+ this.active = active;
+ return this;
+ }
+
+
/**
* Type or category of the project
*/
@@ -2560,18 +2621,19 @@ public Project build() {
return new Project(
id, downstreamId, name,
displayId, referenceId, description,
- status, projectType, priority,
- completionPercentage, startDate, endDate,
- customer, department, companyId,
- ownerId, parentProject, currency,
- budgetAmount, approvedAmount, actualAmount,
- budgetHours, actualHours, hourlyRate,
- billingMethod, isBillable, phase,
- taxRate, trackingCategories, tags,
- notes, contractNumber, profitMargin,
- scheduleStatus, addresses, teamSize,
- customFields, rowVersion, updatedBy,
- createdBy, createdAt, updatedAt);
+ status, active, projectType,
+ priority, completionPercentage, startDate,
+ endDate, customer, department,
+ companyId, ownerId, parentProject,
+ currency, budgetAmount, approvedAmount,
+ actualAmount, budgetHours, actualHours,
+ hourlyRate, billingMethod, isBillable,
+ phase, taxRate, trackingCategories,
+ tags, notes, contractNumber,
+ profitMargin, scheduleStatus, addresses,
+ teamSize, customFields, rowVersion,
+ updatedBy, createdBy, createdAt,
+ updatedAt);
}
diff --git a/src/main/java/com/apideck/unify/models/components/ProjectInput.java b/src/main/java/com/apideck/unify/models/components/ProjectInput.java
index 1567b3020..5388ef332 100644
--- a/src/main/java/com/apideck/unify/models/components/ProjectInput.java
+++ b/src/main/java/com/apideck/unify/models/components/ProjectInput.java
@@ -58,6 +58,13 @@ public class ProjectInput {
@JsonProperty("status")
private JsonNullable extends ProjectProjectStatus> status;
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("active")
+ private JsonNullable active;
+
/**
* Type or category of the project
*/
@@ -266,6 +273,7 @@ public ProjectInput(
@JsonProperty("reference_id") JsonNullable referenceId,
@JsonProperty("description") JsonNullable description,
@JsonProperty("status") JsonNullable extends ProjectProjectStatus> status,
+ @JsonProperty("active") JsonNullable active,
@JsonProperty("project_type") JsonNullable extends ProjectType> projectType,
@JsonProperty("priority") JsonNullable extends Priority> priority,
@JsonProperty("completion_percentage") JsonNullable completionPercentage,
@@ -300,6 +308,7 @@ public ProjectInput(
Utils.checkNotNull(referenceId, "referenceId");
Utils.checkNotNull(description, "description");
Utils.checkNotNull(status, "status");
+ Utils.checkNotNull(active, "active");
Utils.checkNotNull(projectType, "projectType");
Utils.checkNotNull(priority, "priority");
Utils.checkNotNull(completionPercentage, "completionPercentage");
@@ -334,6 +343,7 @@ public ProjectInput(
this.referenceId = referenceId;
this.description = description;
this.status = status;
+ this.active = active;
this.projectType = projectType;
this.priority = priority;
this.completionPercentage = completionPercentage;
@@ -374,11 +384,11 @@ public ProjectInput(
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
- JsonNullable.undefined(), JsonNullable.undefined(), Optional.empty(),
- JsonNullable.undefined(), Optional.empty(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
Optional.empty(), JsonNullable.undefined(), Optional.empty(),
- JsonNullable.undefined());
+ JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
+ JsonNullable.undefined(), Optional.empty(), JsonNullable.undefined(),
+ Optional.empty(), JsonNullable.undefined());
}
/**
@@ -422,6 +432,14 @@ public JsonNullable status() {
return (JsonNullable) status;
}
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ @JsonIgnore
+ public JsonNullable active() {
+ return active;
+ }
+
/**
* Type or category of the project
*/
@@ -750,6 +768,24 @@ public ProjectInput withStatus(JsonNullable extends ProjectProjectStatus> stat
return this;
}
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ public ProjectInput withActive(boolean active) {
+ Utils.checkNotNull(active, "active");
+ this.active = JsonNullable.of(active);
+ return this;
+ }
+
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ public ProjectInput withActive(JsonNullable active) {
+ Utils.checkNotNull(active, "active");
+ this.active = active;
+ return this;
+ }
+
/**
* Type or category of the project
*/
@@ -1283,6 +1319,7 @@ public boolean equals(java.lang.Object o) {
Utils.enhancedDeepEquals(this.referenceId, other.referenceId) &&
Utils.enhancedDeepEquals(this.description, other.description) &&
Utils.enhancedDeepEquals(this.status, other.status) &&
+ Utils.enhancedDeepEquals(this.active, other.active) &&
Utils.enhancedDeepEquals(this.projectType, other.projectType) &&
Utils.enhancedDeepEquals(this.priority, other.priority) &&
Utils.enhancedDeepEquals(this.completionPercentage, other.completionPercentage) &&
@@ -1318,17 +1355,17 @@ public boolean equals(java.lang.Object o) {
public int hashCode() {
return Utils.enhancedHash(
name, displayId, referenceId,
- description, status, projectType,
- priority, completionPercentage, startDate,
- endDate, customer, department,
- companyId, ownerId, parentProject,
- currency, budgetAmount, approvedAmount,
- budgetHours, hourlyRate, billingMethod,
- isBillable, phase, taxRate,
- trackingCategories, tags, notes,
- contractNumber, profitMargin, scheduleStatus,
- addresses, teamSize, customFields,
- rowVersion);
+ description, status, active,
+ projectType, priority, completionPercentage,
+ startDate, endDate, customer,
+ department, companyId, ownerId,
+ parentProject, currency, budgetAmount,
+ approvedAmount, budgetHours, hourlyRate,
+ billingMethod, isBillable, phase,
+ taxRate, trackingCategories, tags,
+ notes, contractNumber, profitMargin,
+ scheduleStatus, addresses, teamSize,
+ customFields, rowVersion);
}
@Override
@@ -1339,6 +1376,7 @@ public String toString() {
"referenceId", referenceId,
"description", description,
"status", status,
+ "active", active,
"projectType", projectType,
"priority", priority,
"completionPercentage", completionPercentage,
@@ -1383,6 +1421,8 @@ public final static class Builder {
private JsonNullable extends ProjectProjectStatus> status = JsonNullable.undefined();
+ private JsonNullable active = JsonNullable.undefined();
+
private JsonNullable extends ProjectType> projectType = JsonNullable.undefined();
private JsonNullable extends Priority> priority = JsonNullable.undefined();
@@ -1532,6 +1572,25 @@ public Builder status(JsonNullable extends ProjectProjectStatus> status) {
}
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ public Builder active(boolean active) {
+ Utils.checkNotNull(active, "active");
+ this.active = JsonNullable.of(active);
+ return this;
+ }
+
+ /**
+ * Indicates whether the project is currently active or inactive
+ */
+ public Builder active(JsonNullable active) {
+ Utils.checkNotNull(active, "active");
+ this.active = active;
+ return this;
+ }
+
+
/**
* Type or category of the project
*/
@@ -2081,17 +2140,17 @@ public ProjectInput build() {
return new ProjectInput(
name, displayId, referenceId,
- description, status, projectType,
- priority, completionPercentage, startDate,
- endDate, customer, department,
- companyId, ownerId, parentProject,
- currency, budgetAmount, approvedAmount,
- budgetHours, hourlyRate, billingMethod,
- isBillable, phase, taxRate,
- trackingCategories, tags, notes,
- contractNumber, profitMargin, scheduleStatus,
- addresses, teamSize, customFields,
- rowVersion);
+ description, status, active,
+ projectType, priority, completionPercentage,
+ startDate, endDate, customer,
+ department, companyId, ownerId,
+ parentProject, currency, budgetAmount,
+ approvedAmount, budgetHours, hourlyRate,
+ billingMethod, isBillable, phase,
+ taxRate, trackingCategories, tags,
+ notes, contractNumber, profitMargin,
+ scheduleStatus, addresses, teamSize,
+ customFields, rowVersion);
}
diff --git a/src/main/java/com/apideck/unify/models/components/ProjectProjectStatus.java b/src/main/java/com/apideck/unify/models/components/ProjectProjectStatus.java
index bde9dc5db..a1409c41d 100644
--- a/src/main/java/com/apideck/unify/models/components/ProjectProjectStatus.java
+++ b/src/main/java/com/apideck/unify/models/components/ProjectProjectStatus.java
@@ -19,6 +19,8 @@ public enum ProjectProjectStatus {
ON_HOLD("on_hold"),
CANCELLED("cancelled"),
DRAFT("draft"),
+ IN_PROGRESS("in_progress"),
+ APPROVED("approved"),
OTHER("other");
@JsonValue
diff --git a/src/main/java/com/apideck/unify/models/components/QuoteLineItem.java b/src/main/java/com/apideck/unify/models/components/QuoteLineItem.java
index f60267a96..8d9e0e4f8 100644
--- a/src/main/java/com/apideck/unify/models/components/QuoteLineItem.java
+++ b/src/main/java/com/apideck/unify/models/components/QuoteLineItem.java
@@ -14,6 +14,7 @@
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnings;
+import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.util.List;
import java.util.Optional;
@@ -108,6 +109,13 @@ public class QuoteLineItem {
@JsonProperty("discount_amount")
private JsonNullable discountAmount;
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("service_date")
+ private JsonNullable serviceDate;
+
/**
* ID of the category of the line item
*/
@@ -207,6 +215,7 @@ public QuoteLineItem(
@JsonProperty("unit_of_measure") JsonNullable unitOfMeasure,
@JsonProperty("discount_percentage") JsonNullable discountPercentage,
@JsonProperty("discount_amount") JsonNullable discountAmount,
+ @JsonProperty("service_date") JsonNullable serviceDate,
@JsonProperty("category_id") JsonNullable categoryId,
@JsonProperty("location_id") JsonNullable locationId,
@JsonProperty("department_id") JsonNullable departmentId,
@@ -233,6 +242,7 @@ public QuoteLineItem(
Utils.checkNotNull(unitOfMeasure, "unitOfMeasure");
Utils.checkNotNull(discountPercentage, "discountPercentage");
Utils.checkNotNull(discountAmount, "discountAmount");
+ Utils.checkNotNull(serviceDate, "serviceDate");
Utils.checkNotNull(categoryId, "categoryId");
Utils.checkNotNull(locationId, "locationId");
Utils.checkNotNull(departmentId, "departmentId");
@@ -259,6 +269,7 @@ public QuoteLineItem(
this.unitOfMeasure = unitOfMeasure;
this.discountPercentage = discountPercentage;
this.discountAmount = discountAmount;
+ this.serviceDate = serviceDate;
this.categoryId = categoryId;
this.locationId = locationId;
this.departmentId = departmentId;
@@ -280,10 +291,10 @@ public QuoteLineItem() {
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
- JsonNullable.undefined(), Optional.empty(), Optional.empty(),
JsonNullable.undefined(), JsonNullable.undefined(), Optional.empty(),
- JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
- JsonNullable.undefined(), JsonNullable.undefined());
+ Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined(),
+ Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined(),
+ JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined());
}
/**
@@ -385,6 +396,14 @@ public JsonNullable discountAmount() {
return discountAmount;
}
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ @JsonIgnore
+ public JsonNullable serviceDate() {
+ return serviceDate;
+ }
+
/**
* ID of the category of the line item
*/
@@ -711,6 +730,24 @@ public QuoteLineItem withDiscountAmount(JsonNullable discountAmount) {
return this;
}
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ public QuoteLineItem withServiceDate(LocalDate serviceDate) {
+ Utils.checkNotNull(serviceDate, "serviceDate");
+ this.serviceDate = JsonNullable.of(serviceDate);
+ return this;
+ }
+
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ public QuoteLineItem withServiceDate(JsonNullable serviceDate) {
+ Utils.checkNotNull(serviceDate, "serviceDate");
+ this.serviceDate = serviceDate;
+ return this;
+ }
+
/**
* ID of the category of the line item
*/
@@ -949,6 +986,7 @@ public boolean equals(java.lang.Object o) {
Utils.enhancedDeepEquals(this.unitOfMeasure, other.unitOfMeasure) &&
Utils.enhancedDeepEquals(this.discountPercentage, other.discountPercentage) &&
Utils.enhancedDeepEquals(this.discountAmount, other.discountAmount) &&
+ Utils.enhancedDeepEquals(this.serviceDate, other.serviceDate) &&
Utils.enhancedDeepEquals(this.categoryId, other.categoryId) &&
Utils.enhancedDeepEquals(this.locationId, other.locationId) &&
Utils.enhancedDeepEquals(this.departmentId, other.departmentId) &&
@@ -971,11 +1009,11 @@ public int hashCode() {
lineNumber, description, type,
taxAmount, totalAmount, quantity,
unitPrice, unitOfMeasure, discountPercentage,
- discountAmount, categoryId, locationId,
- departmentId, item, taxRate,
- trackingCategories, ledgerAccount, customFields,
- rowVersion, updatedBy, createdBy,
- createdAt, updatedAt);
+ discountAmount, serviceDate, categoryId,
+ locationId, departmentId, item,
+ taxRate, trackingCategories, ledgerAccount,
+ customFields, rowVersion, updatedBy,
+ createdBy, createdAt, updatedAt);
}
@Override
@@ -994,6 +1032,7 @@ public String toString() {
"unitOfMeasure", unitOfMeasure,
"discountPercentage", discountPercentage,
"discountAmount", discountAmount,
+ "serviceDate", serviceDate,
"categoryId", categoryId,
"locationId", locationId,
"departmentId", departmentId,
@@ -1038,6 +1077,8 @@ public final static class Builder {
private JsonNullable discountAmount = JsonNullable.undefined();
+ private JsonNullable serviceDate = JsonNullable.undefined();
+
private JsonNullable categoryId = JsonNullable.undefined();
private JsonNullable locationId = JsonNullable.undefined();
@@ -1304,6 +1345,25 @@ public Builder discountAmount(JsonNullable discountAmount) {
}
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ public Builder serviceDate(LocalDate serviceDate) {
+ Utils.checkNotNull(serviceDate, "serviceDate");
+ this.serviceDate = JsonNullable.of(serviceDate);
+ return this;
+ }
+
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ public Builder serviceDate(JsonNullable serviceDate) {
+ Utils.checkNotNull(serviceDate, "serviceDate");
+ this.serviceDate = serviceDate;
+ return this;
+ }
+
+
/**
* ID of the category of the line item
*/
@@ -1535,11 +1595,11 @@ public QuoteLineItem build() {
lineNumber, description, type,
taxAmount, totalAmount, quantity,
unitPrice, unitOfMeasure, discountPercentage,
- discountAmount, categoryId, locationId,
- departmentId, item, taxRate,
- trackingCategories, ledgerAccount, customFields,
- rowVersion, updatedBy, createdBy,
- createdAt, updatedAt);
+ discountAmount, serviceDate, categoryId,
+ locationId, departmentId, item,
+ taxRate, trackingCategories, ledgerAccount,
+ customFields, rowVersion, updatedBy,
+ createdBy, createdAt, updatedAt);
}
}
diff --git a/src/main/java/com/apideck/unify/models/components/QuoteLineItemInput.java b/src/main/java/com/apideck/unify/models/components/QuoteLineItemInput.java
index 93f12209d..40335fe2c 100644
--- a/src/main/java/com/apideck/unify/models/components/QuoteLineItemInput.java
+++ b/src/main/java/com/apideck/unify/models/components/QuoteLineItemInput.java
@@ -14,6 +14,7 @@
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnings;
+import java.time.LocalDate;
import java.util.List;
import java.util.Optional;
import org.openapitools.jackson.nullable.JsonNullable;
@@ -107,6 +108,13 @@ public class QuoteLineItemInput {
@JsonProperty("discount_amount")
private JsonNullable discountAmount;
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("service_date")
+ private JsonNullable serviceDate;
+
/**
* ID of the category of the line item
*/
@@ -178,6 +186,7 @@ public QuoteLineItemInput(
@JsonProperty("unit_of_measure") JsonNullable unitOfMeasure,
@JsonProperty("discount_percentage") JsonNullable discountPercentage,
@JsonProperty("discount_amount") JsonNullable discountAmount,
+ @JsonProperty("service_date") JsonNullable serviceDate,
@JsonProperty("category_id") JsonNullable categoryId,
@JsonProperty("location_id") JsonNullable locationId,
@JsonProperty("department_id") JsonNullable departmentId,
@@ -200,6 +209,7 @@ public QuoteLineItemInput(
Utils.checkNotNull(unitOfMeasure, "unitOfMeasure");
Utils.checkNotNull(discountPercentage, "discountPercentage");
Utils.checkNotNull(discountAmount, "discountAmount");
+ Utils.checkNotNull(serviceDate, "serviceDate");
Utils.checkNotNull(categoryId, "categoryId");
Utils.checkNotNull(locationId, "locationId");
Utils.checkNotNull(departmentId, "departmentId");
@@ -222,6 +232,7 @@ public QuoteLineItemInput(
this.unitOfMeasure = unitOfMeasure;
this.discountPercentage = discountPercentage;
this.discountAmount = discountAmount;
+ this.serviceDate = serviceDate;
this.categoryId = categoryId;
this.locationId = locationId;
this.departmentId = departmentId;
@@ -239,9 +250,9 @@ public QuoteLineItemInput() {
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(),
- JsonNullable.undefined(), Optional.empty(), Optional.empty(),
JsonNullable.undefined(), JsonNullable.undefined(), Optional.empty(),
- JsonNullable.undefined());
+ Optional.empty(), JsonNullable.undefined(), JsonNullable.undefined(),
+ Optional.empty(), JsonNullable.undefined());
}
/**
@@ -343,6 +354,14 @@ public JsonNullable discountAmount() {
return discountAmount;
}
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ @JsonIgnore
+ public JsonNullable serviceDate() {
+ return serviceDate;
+ }
+
/**
* ID of the category of the line item
*/
@@ -637,6 +656,24 @@ public QuoteLineItemInput withDiscountAmount(JsonNullable discountAmount
return this;
}
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ public QuoteLineItemInput withServiceDate(LocalDate serviceDate) {
+ Utils.checkNotNull(serviceDate, "serviceDate");
+ this.serviceDate = JsonNullable.of(serviceDate);
+ return this;
+ }
+
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ public QuoteLineItemInput withServiceDate(JsonNullable serviceDate) {
+ Utils.checkNotNull(serviceDate, "serviceDate");
+ this.serviceDate = serviceDate;
+ return this;
+ }
+
/**
* ID of the category of the line item
*/
@@ -803,6 +840,7 @@ public boolean equals(java.lang.Object o) {
Utils.enhancedDeepEquals(this.unitOfMeasure, other.unitOfMeasure) &&
Utils.enhancedDeepEquals(this.discountPercentage, other.discountPercentage) &&
Utils.enhancedDeepEquals(this.discountAmount, other.discountAmount) &&
+ Utils.enhancedDeepEquals(this.serviceDate, other.serviceDate) &&
Utils.enhancedDeepEquals(this.categoryId, other.categoryId) &&
Utils.enhancedDeepEquals(this.locationId, other.locationId) &&
Utils.enhancedDeepEquals(this.departmentId, other.departmentId) &&
@@ -821,10 +859,10 @@ public int hashCode() {
lineNumber, description, type,
taxAmount, totalAmount, quantity,
unitPrice, unitOfMeasure, discountPercentage,
- discountAmount, categoryId, locationId,
- departmentId, item, taxRate,
- trackingCategories, ledgerAccount, customFields,
- rowVersion);
+ discountAmount, serviceDate, categoryId,
+ locationId, departmentId, item,
+ taxRate, trackingCategories, ledgerAccount,
+ customFields, rowVersion);
}
@Override
@@ -843,6 +881,7 @@ public String toString() {
"unitOfMeasure", unitOfMeasure,
"discountPercentage", discountPercentage,
"discountAmount", discountAmount,
+ "serviceDate", serviceDate,
"categoryId", categoryId,
"locationId", locationId,
"departmentId", departmentId,
@@ -883,6 +922,8 @@ public final static class Builder {
private JsonNullable discountAmount = JsonNullable.undefined();
+ private JsonNullable serviceDate = JsonNullable.undefined();
+
private JsonNullable categoryId = JsonNullable.undefined();
private JsonNullable locationId = JsonNullable.undefined();
@@ -1141,6 +1182,25 @@ public Builder discountAmount(JsonNullable discountAmount) {
}
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ public Builder serviceDate(LocalDate serviceDate) {
+ Utils.checkNotNull(serviceDate, "serviceDate");
+ this.serviceDate = JsonNullable.of(serviceDate);
+ return this;
+ }
+
+ /**
+ * Date on which the service was provided or performed - YYYY-MM-DD.
+ */
+ public Builder serviceDate(JsonNullable serviceDate) {
+ Utils.checkNotNull(serviceDate, "serviceDate");
+ this.serviceDate = serviceDate;
+ return this;
+ }
+
+
/**
* ID of the category of the line item
*/
@@ -1296,10 +1356,10 @@ public QuoteLineItemInput build() {
lineNumber, description, type,
taxAmount, totalAmount, quantity,
unitPrice, unitOfMeasure, discountPercentage,
- discountAmount, categoryId, locationId,
- departmentId, item, taxRate,
- trackingCategories, ledgerAccount, customFields,
- rowVersion);
+ discountAmount, serviceDate, categoryId,
+ locationId, departmentId, item,
+ taxRate, trackingCategories, ledgerAccount,
+ customFields, rowVersion);
}
}
diff --git a/src/main/java/com/apideck/unify/operations/AccountingAgedCreditorsOne.java b/src/main/java/com/apideck/unify/operations/AccountingAgedCreditorsOne.java
index faac9dbf3..548218b5f 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingAgedCreditorsOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingAgedCreditorsOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.agedCreditorsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.agedCreditorsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.agedCreditorsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingAgedDebtorsOne.java b/src/main/java/com/apideck/unify/operations/AccountingAgedDebtorsOne.java
index ee9d8acb4..bb96938f1 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingAgedDebtorsOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingAgedDebtorsOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.agedDebtorsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.agedDebtorsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.agedDebtorsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingAttachmentsAll.java b/src/main/java/com/apideck/unify/operations/AccountingAttachmentsAll.java
index 6e62bf23e..d71eef65a 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingAttachmentsAll.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingAttachmentsAll.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingAttachmentsDelete.java b/src/main/java/com/apideck/unify/operations/AccountingAttachmentsDelete.java
index 29ea38fee..2835dfacc 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingAttachmentsDelete.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingAttachmentsDelete.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingAttachmentsDownload.java b/src/main/java/com/apideck/unify/operations/AccountingAttachmentsDownload.java
index 8cedd60f3..5a2dd96c6 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingAttachmentsDownload.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingAttachmentsDownload.java
@@ -76,7 +76,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -92,7 +92,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsDownload",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -101,7 +101,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsDownload",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -110,7 +110,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsDownload",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingAttachmentsOne.java b/src/main/java/com/apideck/unify/operations/AccountingAttachmentsOne.java
index fd6bdd8c6..4cfe8d9a6 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingAttachmentsOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingAttachmentsOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingAttachmentsUpload.java b/src/main/java/com/apideck/unify/operations/AccountingAttachmentsUpload.java
index 948c2be7d..ea98b5c73 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingAttachmentsUpload.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingAttachmentsUpload.java
@@ -92,7 +92,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -108,7 +108,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsUpload",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -117,7 +117,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsUpload",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -126,7 +126,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.attachmentsUpload",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBalanceSheetOne.java b/src/main/java/com/apideck/unify/operations/AccountingBalanceSheetOne.java
index bf8ae00d0..7ea157e52 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBalanceSheetOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBalanceSheetOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.balanceSheetOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.balanceSheetOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.balanceSheetOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankAccountsAdd.java b/src/main/java/com/apideck/unify/operations/AccountingBankAccountsAdd.java
index 6a8edfc26..761ed9901 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankAccountsAdd.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankAccountsAdd.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankAccountsAll.java b/src/main/java/com/apideck/unify/operations/AccountingBankAccountsAll.java
index e765ed1ca..6080e9732 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankAccountsAll.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankAccountsAll.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankAccountsDelete.java b/src/main/java/com/apideck/unify/operations/AccountingBankAccountsDelete.java
index 21c8f709f..79b0f694c 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankAccountsDelete.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankAccountsDelete.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankAccountsOne.java b/src/main/java/com/apideck/unify/operations/AccountingBankAccountsOne.java
index 0ade2239f..c384b89eb 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankAccountsOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankAccountsOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankAccountsUpdate.java b/src/main/java/com/apideck/unify/operations/AccountingBankAccountsUpdate.java
index 965428bf2..4183917bb 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankAccountsUpdate.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankAccountsUpdate.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankAccountsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsAdd.java b/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsAdd.java
index 5bf5d5d5e..5edc6bf61 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsAdd.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsAdd.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsAll.java b/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsAll.java
index 4bed83b80..648a814fe 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsAll.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsAll.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsDelete.java b/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsDelete.java
index 7f0b42f74..a1ed3cadd 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsDelete.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsDelete.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsOne.java b/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsOne.java
index cc4123723..f427a8b75 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsUpdate.java b/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsUpdate.java
index d829c8fe3..9b97f5d2b 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsUpdate.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankFeedAccountsUpdate.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedAccountsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsAdd.java b/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsAdd.java
index d5afdca10..6eee49c85 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsAdd.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsAdd.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsAll.java b/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsAll.java
index 6bb578074..d2ac9edee 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsAll.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsAll.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsDelete.java b/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsDelete.java
index 5d18f0c0b..9ea6d725a 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsDelete.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsDelete.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsOne.java b/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsOne.java
index 8f3b9e668..852f72ed8 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsUpdate.java b/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsUpdate.java
index a5d84ebe1..7cf30c028 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsUpdate.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBankFeedStatementsUpdate.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.bankFeedStatementsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsAdd.java b/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsAdd.java
index 6def2a3ab..2c6857bdd 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsAdd.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsAdd.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsAll.java b/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsAll.java
index b64aa3b90..70d6749d4 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsAll.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsAll.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsDelete.java b/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsDelete.java
index b47cb866b..ccd92e9df 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsDelete.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsDelete.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsOne.java b/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsOne.java
index df20c9272..cf3455a20 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsUpdate.java b/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsUpdate.java
index b451880f8..12bbc7c11 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsUpdate.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBillPaymentsUpdate.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billPaymentsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBillsAdd.java b/src/main/java/com/apideck/unify/operations/AccountingBillsAdd.java
index 56467d33a..93286c717 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBillsAdd.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBillsAdd.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBillsAll.java b/src/main/java/com/apideck/unify/operations/AccountingBillsAll.java
index db4349a2b..c3097e867 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBillsAll.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBillsAll.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBillsDelete.java b/src/main/java/com/apideck/unify/operations/AccountingBillsDelete.java
index 3133f3fdc..6d2dca9cf 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBillsDelete.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBillsDelete.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBillsOne.java b/src/main/java/com/apideck/unify/operations/AccountingBillsOne.java
index a97b85eb7..23f51714d 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBillsOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBillsOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingBillsUpdate.java b/src/main/java/com/apideck/unify/operations/AccountingBillsUpdate.java
index d6ad846ac..6a2d1e55b 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingBillsUpdate.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingBillsUpdate.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.billsUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCategoriesAll.java b/src/main/java/com/apideck/unify/operations/AccountingCategoriesAll.java
index 96d438fa1..7f14892b9 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCategoriesAll.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCategoriesAll.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.categoriesAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.categoriesAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.categoriesAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCategoriesOne.java b/src/main/java/com/apideck/unify/operations/AccountingCategoriesOne.java
index 0a237a911..4cd8ed288 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCategoriesOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCategoriesOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.categoriesOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.categoriesOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.categoriesOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCompanyInfoOne.java b/src/main/java/com/apideck/unify/operations/AccountingCompanyInfoOne.java
index a703bf6de..71cd13ad7 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCompanyInfoOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCompanyInfoOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.companyInfoOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.companyInfoOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.companyInfoOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCreditNotesAdd.java b/src/main/java/com/apideck/unify/operations/AccountingCreditNotesAdd.java
index d417a64de..1257e95f6 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCreditNotesAdd.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCreditNotesAdd.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCreditNotesAll.java b/src/main/java/com/apideck/unify/operations/AccountingCreditNotesAll.java
index ec7b17ae7..4e4ddf1d8 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCreditNotesAll.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCreditNotesAll.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCreditNotesDelete.java b/src/main/java/com/apideck/unify/operations/AccountingCreditNotesDelete.java
index 1c8fa7e25..a310e5a7f 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCreditNotesDelete.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCreditNotesDelete.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCreditNotesOne.java b/src/main/java/com/apideck/unify/operations/AccountingCreditNotesOne.java
index bed55fa8f..460bdefbe 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCreditNotesOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCreditNotesOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCreditNotesUpdate.java b/src/main/java/com/apideck/unify/operations/AccountingCreditNotesUpdate.java
index 774e2c857..b6a6ecab0 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCreditNotesUpdate.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCreditNotesUpdate.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.creditNotesUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCustomersAdd.java b/src/main/java/com/apideck/unify/operations/AccountingCustomersAdd.java
index 8b610c5d3..0f71d165d 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCustomersAdd.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCustomersAdd.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCustomersAll.java b/src/main/java/com/apideck/unify/operations/AccountingCustomersAll.java
index 84e97c906..fa6e8df28 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCustomersAll.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCustomersAll.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCustomersDelete.java b/src/main/java/com/apideck/unify/operations/AccountingCustomersDelete.java
index 5be8c4133..cdd618e3a 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCustomersDelete.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCustomersDelete.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCustomersOne.java b/src/main/java/com/apideck/unify/operations/AccountingCustomersOne.java
index 4b7704be1..c0f9282b1 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCustomersOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCustomersOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingCustomersUpdate.java b/src/main/java/com/apideck/unify/operations/AccountingCustomersUpdate.java
index a5b64d2a9..c6586ee5d 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingCustomersUpdate.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingCustomersUpdate.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.customersUpdate",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingDepartmentsAdd.java b/src/main/java/com/apideck/unify/operations/AccountingDepartmentsAdd.java
index e9f0fbdb9..9cccb1979 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingDepartmentsAdd.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingDepartmentsAdd.java
@@ -80,7 +80,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -96,7 +96,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -105,7 +105,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -114,7 +114,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsAdd",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingDepartmentsAll.java b/src/main/java/com/apideck/unify/operations/AccountingDepartmentsAll.java
index e3abb2d68..569a7d3e8 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingDepartmentsAll.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingDepartmentsAll.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsAll",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingDepartmentsDelete.java b/src/main/java/com/apideck/unify/operations/AccountingDepartmentsDelete.java
index 390b94b46..97ed9805d 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingDepartmentsDelete.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingDepartmentsDelete.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsDelete",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class klass) throws Exception {
diff --git a/src/main/java/com/apideck/unify/operations/AccountingDepartmentsOne.java b/src/main/java/com/apideck/unify/operations/AccountingDepartmentsOne.java
index e38207ee7..64e8b753f 100644
--- a/src/main/java/com/apideck/unify/operations/AccountingDepartmentsOne.java
+++ b/src/main/java/com/apideck/unify/operations/AccountingDepartmentsOne.java
@@ -77,7 +77,7 @@ public Base(
.initialInterval(500, TimeUnit.MILLISECONDS)
.maxInterval(60000, TimeUnit.MILLISECONDS)
.baseFactor((double) (1.5))
- .maxElapsedTime(3600000, TimeUnit.MILLISECONDS)
+ .maxElapsedTime(900000, TimeUnit.MILLISECONDS)
.retryConnectError(true)
.build())
.build());
@@ -93,7 +93,7 @@ BeforeRequestContextImpl createBeforeRequestContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -102,7 +102,7 @@ AfterSuccessContextImpl createAfterSuccessContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
@@ -111,7 +111,7 @@ AfterErrorContextImpl createAfterErrorContext() {
this.sdkConfiguration,
this.baseUrl,
"accounting.departmentsOne",
- java.util.Optional.of(java.util.List.of()),
+ java.util.Optional.empty(),
securitySource());
}
HttpRequest buildRequest(T request, Class