diff --git a/.openapi-generator/config.yml b/.openapi-generator/config.yml
index e2065d5..2c1677d 100644
--- a/.openapi-generator/config.yml
+++ b/.openapi-generator/config.yml
@@ -1,7 +1,7 @@
ensureUniqueParams: false
allowUnicodeIdentifiers: true
snapshotVersion: true
-artifactVersion: 2.9.0
+artifactVersion: 2.10.0
groupId: "jp.co.freee"
artifactId: "freee-accounting-sdk"
apiPackage: "jp.co.freee.accounting.api"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bf41f50..068f7c0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 2.10.0
+リリース日時 2022-07-07 11:57:17
+対象差分
+https://github.com/freee/freee-api-schema/releases/tag/v0.0.95
+
## 2.9.0
リリース日時 2022-06-23 10:23:36
対象差分
diff --git a/samples/basic-sample/pom.xml b/samples/basic-sample/pom.xml
index 18cabe8..86b24cc 100644
--- a/samples/basic-sample/pom.xml
+++ b/samples/basic-sample/pom.xml
@@ -16,7 +16,7 @@
jp.co.freee
freee-accounting-sdk
- 2.9.0
+ 2.10.0
diff --git a/samples/basic-websample-rx/pom.xml b/samples/basic-websample-rx/pom.xml
index 78a3371..6360c52 100644
--- a/samples/basic-websample-rx/pom.xml
+++ b/samples/basic-websample-rx/pom.xml
@@ -46,7 +46,7 @@
jp.co.freee
freee-accounting-sdk
- 2.9.0
+ 2.10.0
org.webjars
diff --git a/samples/basic-websample/pom.xml b/samples/basic-websample/pom.xml
index fbe3d79..5bce759 100644
--- a/samples/basic-websample/pom.xml
+++ b/samples/basic-websample/pom.xml
@@ -63,7 +63,7 @@
jp.co.freee
freee-accounting-sdk
- 2.9.0
+ 2.10.0
diff --git a/sdk/docs/PaymentRequestCreateParamsPaymentRequestLines.md b/sdk/docs/PaymentRequestCreateParamsPaymentRequestLines.md
index 2d2c5f5..6230882 100644
--- a/sdk/docs/PaymentRequestCreateParamsPaymentRequestLines.md
+++ b/sdk/docs/PaymentRequestCreateParamsPaymentRequestLines.md
@@ -8,7 +8,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accountItemId** | **Integer** | 勘定科目ID | [optional]
-**amount** | **Integer** | 金額 |
+**amount** | **Long** | 金額 |
**description** | **String** | 内容 | [optional]
**itemId** | **Integer** | 品目ID | [optional]
**lineType** | [**LineTypeEnum**](#LineTypeEnum) | '行の種類 (deal_line: 支払依頼, withholding_tax: 源泉徴収税)'<br> 'デフォルトは deal_line: 支払依頼 です' | [optional]
diff --git a/sdk/docs/PaymentRequestResponsePaymentRequest.md b/sdk/docs/PaymentRequestResponsePaymentRequest.md
index f77b6bf..534b826 100644
--- a/sdk/docs/PaymentRequestResponsePaymentRequest.md
+++ b/sdk/docs/PaymentRequestResponsePaymentRequest.md
@@ -41,7 +41,7 @@ Name | Type | Description | Notes
**receiptIds** | **List<Integer>** | 証憑ファイルID(ファイルボックスのファイルID) |
**status** | [**StatusEnum**](#StatusEnum) | 申請ステータス(draft:下書き, in_progress:申請中, approved:承認済, rejected:却下, feedback:差戻し) |
**title** | **String** | 申請タイトル |
-**totalAmount** | **Integer** | 合計金額 |
+**totalAmount** | **Long** | 合計金額 |
diff --git a/sdk/docs/PaymentRequestResponsePaymentRequestPaymentRequestLines.md b/sdk/docs/PaymentRequestResponsePaymentRequestPaymentRequestLines.md
index a92a0c8..a5da1c4 100644
--- a/sdk/docs/PaymentRequestResponsePaymentRequestPaymentRequestLines.md
+++ b/sdk/docs/PaymentRequestResponsePaymentRequestPaymentRequestLines.md
@@ -8,7 +8,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accountItemId** | **Integer** | 勘定科目ID |
-**amount** | **Integer** | 金額 |
+**amount** | **Long** | 金額 |
**description** | **String** | 内容 |
**id** | **Long** | 支払依頼の項目行ID |
**itemId** | **Integer** | 品目ID |
diff --git a/sdk/docs/PaymentRequestUpdateParamsPaymentRequestLines.md b/sdk/docs/PaymentRequestUpdateParamsPaymentRequestLines.md
index 7b45e6d..5bab04f 100644
--- a/sdk/docs/PaymentRequestUpdateParamsPaymentRequestLines.md
+++ b/sdk/docs/PaymentRequestUpdateParamsPaymentRequestLines.md
@@ -8,7 +8,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accountItemId** | **Integer** | 勘定科目ID | [optional]
-**amount** | **Integer** | 金額 |
+**amount** | **Long** | 金額 |
**description** | **String** | 内容 | [optional]
**id** | **Long** | 支払依頼の項目行ID: 既存項目行を更新する場合に指定します。IDを指定しない項目行は、新規行として扱われ追加されます。また、payment_request_linesに含まれない既存の項目行は削除されます。更新後も残したい行は、必ず支払依頼の項目行IDを指定してpayment_request_linesに含めてください。 | [optional]
**itemId** | **Integer** | 品目ID | [optional]
diff --git a/sdk/docs/PaymentRequestsIndexResponsePaymentRequests.md b/sdk/docs/PaymentRequestsIndexResponsePaymentRequests.md
index 8d3e3a8..8995b7e 100644
--- a/sdk/docs/PaymentRequestsIndexResponsePaymentRequests.md
+++ b/sdk/docs/PaymentRequestsIndexResponsePaymentRequests.md
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
**paymentMethod** | [**PaymentMethodEnum**](#PaymentMethodEnum) | 支払方法(none: 指定なし, domestic_bank_transfer: 国内振込, abroad_bank_transfer: 国外振込, account_transfer: 口座振替, credit_card: クレジットカード) |
**status** | [**StatusEnum**](#StatusEnum) | 申請ステータス(draft:下書き, in_progress:申請中, approved:承認済, rejected:却下, feedback:差戻し) |
**title** | **String** | 申請タイトル |
-**totalAmount** | **Integer** | 合計金額 |
+**totalAmount** | **Long** | 合計金額 |
diff --git a/sdk/docs/QuotationCreateParams.md b/sdk/docs/QuotationCreateParams.md
index ec1a38c..ef006fc 100644
--- a/sdk/docs/QuotationCreateParams.md
+++ b/sdk/docs/QuotationCreateParams.md
@@ -30,7 +30,7 @@ Name | Type | Description | Notes
**quotationContents** | [**List<InvoiceCreateParamsInvoiceContents>**](InvoiceCreateParamsInvoiceContents.md) | 見積内容 | [optional]
**quotationLayout** | [**QuotationLayoutEnum**](#QuotationLayoutEnum) | 見積書レイアウト * `default_classic` - レイアウト1/クラシック (デフォルト) * `standard_classic` - レイアウト2/クラシック * `envelope_classic` - 封筒1/クラシック * `default_modern` - レイアウト1/モダン * `standard_modern` - レイアウト2/モダン * `envelope_modern` - 封筒/モダン | [optional]
**quotationNumber** | **String** | 見積書番号 (デフォルト: 自動採番されます) | [optional]
-**quotationStatus** | [**QuotationStatusEnum**](#QuotationStatusEnum) | 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み) | [optional]
+**quotationStatus** | [**QuotationStatusEnum**](#QuotationStatusEnum) | 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み) (請求書承認ワークフローを利用している場合、unsubmitted を指定すると、下書きの見積書が作成されます) | [optional]
**taxEntryMethod** | [**TaxEntryMethodEnum**](#TaxEntryMethodEnum) | 見積書の消費税計算方法(inclusive: 内税表示, exclusive: 外税表示 (デフォルト)) | [optional]
**title** | **String** | タイトル (デフォルト: 見積書) | [optional]
diff --git a/sdk/docs/QuotationUpdateParams.md b/sdk/docs/QuotationUpdateParams.md
index d9918e1..f5da37f 100644
--- a/sdk/docs/QuotationUpdateParams.md
+++ b/sdk/docs/QuotationUpdateParams.md
@@ -30,7 +30,7 @@ Name | Type | Description | Notes
**quotationContents** | [**List<QuotationUpdateParamsQuotationContents>**](QuotationUpdateParamsQuotationContents.md) | 見積内容 | [optional]
**quotationLayout** | [**QuotationLayoutEnum**](#QuotationLayoutEnum) | 見積書レイアウト * `default_classic` - レイアウト1/クラシック (デフォルト) * `standard_classic` - レイアウト2/クラシック * `envelope_classic` - 封筒1/クラシック * `default_modern` - レイアウト1/モダン * `standard_modern` - レイアウト2/モダン * `envelope_modern` - 封筒/モダン | [optional]
**quotationNumber** | **String** | 見積書番号 (デフォルト: 自動採番されます) | [optional]
-**quotationStatus** | [**QuotationStatusEnum**](#QuotationStatusEnum) | 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み) | [optional]
+**quotationStatus** | [**QuotationStatusEnum**](#QuotationStatusEnum) | 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み) (請求書承認ワークフローを利用している場合、unsubmitted を指定すると、下書きの見積書が作成されます) | [optional]
**taxEntryMethod** | [**TaxEntryMethodEnum**](#TaxEntryMethodEnum) | 見積書の消費税計算方法(inclusive: 内税表示, exclusive: 外税表示 (デフォルト)) | [optional]
**title** | **String** | タイトル (デフォルト: 見積書) | [optional]
diff --git a/sdk/pom.xml b/sdk/pom.xml
index d431666..0195e8a 100644
--- a/sdk/pom.xml
+++ b/sdk/pom.xml
@@ -276,12 +276,12 @@
${jakarta-annotation-version}
provided
-
org.openapitools
jackson-databind-nullable
0.2.1
-
+
+
junit
junit
@@ -290,7 +290,7 @@
- 2.9.0
+ 2.10.0
-SNAPSHOT
UTF-8
1.8
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestCreateParamsPaymentRequestLines.java b/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestCreateParamsPaymentRequestLines.java
index d928750..150e750 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestCreateParamsPaymentRequestLines.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestCreateParamsPaymentRequestLines.java
@@ -38,7 +38,7 @@ public class PaymentRequestCreateParamsPaymentRequestLines {
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
- private Integer amount;
+ private Long amount;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
@@ -151,7 +151,7 @@ public void setAccountItemId(Integer accountItemId) {
}
- public PaymentRequestCreateParamsPaymentRequestLines amount(Integer amount) {
+ public PaymentRequestCreateParamsPaymentRequestLines amount(Long amount) {
this.amount = amount;
return this;
@@ -160,18 +160,18 @@ public PaymentRequestCreateParamsPaymentRequestLines amount(Integer amount) {
/**
* 金額
* minimum: 0
- * maximum: 2147483647
+ * maximum: 99999999999
* @return amount
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "30000", required = true, value = "金額")
- public Integer getAmount() {
+ public Long getAmount() {
return amount;
}
- public void setAmount(Integer amount) {
+ public void setAmount(Long amount) {
this.amount = amount;
}
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestResponsePaymentRequest.java b/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestResponsePaymentRequest.java
index 6b3413a..aed6c3d 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestResponsePaymentRequest.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestResponsePaymentRequest.java
@@ -380,7 +380,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException {
public static final String SERIALIZED_NAME_TOTAL_AMOUNT = "total_amount";
@SerializedName(SERIALIZED_NAME_TOTAL_AMOUNT)
- private Integer totalAmount;
+ private Long totalAmount;
public PaymentRequestResponsePaymentRequest() {
}
@@ -1208,7 +1208,7 @@ public void setTitle(String title) {
}
- public PaymentRequestResponsePaymentRequest totalAmount(Integer totalAmount) {
+ public PaymentRequestResponsePaymentRequest totalAmount(Long totalAmount) {
this.totalAmount = totalAmount;
return this;
@@ -1221,12 +1221,12 @@ public PaymentRequestResponsePaymentRequest totalAmount(Integer totalAmount) {
@javax.annotation.Nonnull
@ApiModelProperty(example = "30000", required = true, value = "合計金額")
- public Integer getTotalAmount() {
+ public Long getTotalAmount() {
return totalAmount;
}
- public void setTotalAmount(Integer totalAmount) {
+ public void setTotalAmount(Long totalAmount) {
this.totalAmount = totalAmount;
}
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestResponsePaymentRequestPaymentRequestLines.java b/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestResponsePaymentRequestPaymentRequestLines.java
index a9ee78a..e62f5c8 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestResponsePaymentRequestPaymentRequestLines.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestResponsePaymentRequestPaymentRequestLines.java
@@ -38,7 +38,7 @@ public class PaymentRequestResponsePaymentRequestPaymentRequestLines {
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
- private Integer amount;
+ private Long amount;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
@@ -155,7 +155,7 @@ public void setAccountItemId(Integer accountItemId) {
}
- public PaymentRequestResponsePaymentRequestPaymentRequestLines amount(Integer amount) {
+ public PaymentRequestResponsePaymentRequestPaymentRequestLines amount(Long amount) {
this.amount = amount;
return this;
@@ -164,18 +164,18 @@ public PaymentRequestResponsePaymentRequestPaymentRequestLines amount(Integer am
/**
* 金額
* minimum: 0
- * maximum: 2147483647
+ * maximum: 99999999999
* @return amount
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "30000", required = true, value = "金額")
- public Integer getAmount() {
+ public Long getAmount() {
return amount;
}
- public void setAmount(Integer amount) {
+ public void setAmount(Long amount) {
this.amount = amount;
}
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestUpdateParamsPaymentRequestLines.java b/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestUpdateParamsPaymentRequestLines.java
index 3f3c062..ec25034 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestUpdateParamsPaymentRequestLines.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestUpdateParamsPaymentRequestLines.java
@@ -38,7 +38,7 @@ public class PaymentRequestUpdateParamsPaymentRequestLines {
public static final String SERIALIZED_NAME_AMOUNT = "amount";
@SerializedName(SERIALIZED_NAME_AMOUNT)
- private Integer amount;
+ private Long amount;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
@@ -155,7 +155,7 @@ public void setAccountItemId(Integer accountItemId) {
}
- public PaymentRequestUpdateParamsPaymentRequestLines amount(Integer amount) {
+ public PaymentRequestUpdateParamsPaymentRequestLines amount(Long amount) {
this.amount = amount;
return this;
@@ -164,18 +164,18 @@ public PaymentRequestUpdateParamsPaymentRequestLines amount(Integer amount) {
/**
* 金額
* minimum: 0
- * maximum: 2147483647
+ * maximum: 99999999999
* @return amount
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "30000", required = true, value = "金額")
- public Integer getAmount() {
+ public Long getAmount() {
return amount;
}
- public void setAmount(Integer amount) {
+ public void setAmount(Long amount) {
this.amount = amount;
}
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestsIndexResponsePaymentRequests.java b/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestsIndexResponsePaymentRequests.java
index 93ca4bf..7087d57 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestsIndexResponsePaymentRequests.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/PaymentRequestsIndexResponsePaymentRequests.java
@@ -264,7 +264,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException {
public static final String SERIALIZED_NAME_TOTAL_AMOUNT = "total_amount";
@SerializedName(SERIALIZED_NAME_TOTAL_AMOUNT)
- private Integer totalAmount;
+ private Long totalAmount;
public PaymentRequestsIndexResponsePaymentRequests() {
}
@@ -725,7 +725,7 @@ public void setTitle(String title) {
}
- public PaymentRequestsIndexResponsePaymentRequests totalAmount(Integer totalAmount) {
+ public PaymentRequestsIndexResponsePaymentRequests totalAmount(Long totalAmount) {
this.totalAmount = totalAmount;
return this;
@@ -738,12 +738,12 @@ public PaymentRequestsIndexResponsePaymentRequests totalAmount(Integer totalAmou
@javax.annotation.Nonnull
@ApiModelProperty(example = "30000", required = true, value = "合計金額")
- public Integer getTotalAmount() {
+ public Long getTotalAmount() {
return totalAmount;
}
- public void setTotalAmount(Integer totalAmount) {
+ public void setTotalAmount(Long totalAmount) {
this.totalAmount = totalAmount;
}
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/QuotationCreateParams.java b/sdk/src/main/java/jp/co/freee/accounting/models/QuotationCreateParams.java
index 6b57b4b..330fbc0 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/QuotationCreateParams.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/QuotationCreateParams.java
@@ -181,7 +181,7 @@ public QuotationLayoutEnum read(final JsonReader jsonReader) throws IOException
private String quotationNumber;
/**
- * 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み)
+ * 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み) (請求書承認ワークフローを利用している場合、unsubmitted を指定すると、下書きの見積書が作成されます)
*/
@JsonAdapter(QuotationStatusEnum.Adapter.class)
public enum QuotationStatusEnum {
@@ -841,11 +841,11 @@ public QuotationCreateParams quotationStatus(QuotationStatusEnum quotationStatus
}
/**
- * 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み)
+ * 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み) (請求書承認ワークフローを利用している場合、unsubmitted を指定すると、下書きの見積書が作成されます)
* @return quotationStatus
**/
@javax.annotation.Nullable
- @ApiModelProperty(value = "見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み)")
+ @ApiModelProperty(value = "見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み) (請求書承認ワークフローを利用している場合、unsubmitted を指定すると、下書きの見積書が作成されます)")
public QuotationStatusEnum getQuotationStatus() {
return quotationStatus;
diff --git a/sdk/src/main/java/jp/co/freee/accounting/models/QuotationUpdateParams.java b/sdk/src/main/java/jp/co/freee/accounting/models/QuotationUpdateParams.java
index 77af674..4100abf 100644
--- a/sdk/src/main/java/jp/co/freee/accounting/models/QuotationUpdateParams.java
+++ b/sdk/src/main/java/jp/co/freee/accounting/models/QuotationUpdateParams.java
@@ -181,7 +181,7 @@ public QuotationLayoutEnum read(final JsonReader jsonReader) throws IOException
private String quotationNumber;
/**
- * 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み)
+ * 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み) (請求書承認ワークフローを利用している場合、unsubmitted を指定すると、下書きの見積書が作成されます)
*/
@JsonAdapter(QuotationStatusEnum.Adapter.class)
public enum QuotationStatusEnum {
@@ -841,11 +841,11 @@ public QuotationUpdateParams quotationStatus(QuotationStatusEnum quotationStatus
}
/**
- * 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み)
+ * 見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み) (請求書承認ワークフローを利用している場合、unsubmitted を指定すると、下書きの見積書が作成されます)
* @return quotationStatus
**/
@javax.annotation.Nullable
- @ApiModelProperty(value = "見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み)")
+ @ApiModelProperty(value = "見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み) (請求書承認ワークフローを利用している場合、unsubmitted を指定すると、下書きの見積書が作成されます)")
public QuotationStatusEnum getQuotationStatus() {
return quotationStatus;