Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #68 from freee/auto-generated
Browse files Browse the repository at this point in the history
2.10.0
  • Loading branch information
soga-yuichi authored Jul 7, 2022
2 parents 331f3ca + 11a4c86 commit da1caaa
Show file tree
Hide file tree
Showing 20 changed files with 48 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/config.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
対象差分
Expand Down
2 changes: 1 addition & 1 deletion samples/basic-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>jp.co.freee</groupId>
<artifactId>freee-accounting-sdk</artifactId>
<version>2.9.0</version>
<version>2.10.0</version>
</dependency>
</dependencies>
<build>
Expand Down
2 changes: 1 addition & 1 deletion samples/basic-websample-rx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<dependency>
<groupId>jp.co.freee</groupId>
<artifactId>freee-accounting-sdk</artifactId>
<version>2.9.0</version>
<version>2.10.0</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
Expand Down
2 changes: 1 addition & 1 deletion samples/basic-websample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<dependency>
<groupId>jp.co.freee</groupId>
<artifactId>freee-accounting-sdk</artifactId>
<version>2.9.0</version>
<version>2.10.0</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/PaymentRequestCreateParamsPaymentRequestLines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) | &#39;行の種類 (deal_line: 支払依頼, withholding_tax: 源泉徴収税)&#39;&lt;br&gt; &#39;デフォルトは deal_line: 支払依頼 です&#39; | [optional]
Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/PaymentRequestResponsePaymentRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Name | Type | Description | Notes
**receiptIds** | **List&lt;Integer&gt;** | 証憑ファイルID(ファイルボックスのファイルID) |
**status** | [**StatusEnum**](#StatusEnum) | 申請ステータス(draft:下書き, in_progress:申請中, approved:承認済, rejected:却下, feedback:差戻し) |
**title** | **String** | 申請タイトル |
**totalAmount** | **Integer** | 合計金額 |
**totalAmount** | **Long** | 合計金額 |



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accountItemId** | **Integer** | 勘定科目ID |
**amount** | **Integer** | 金額 |
**amount** | **Long** | 金額 |
**description** | **String** | 内容 |
**id** | **Long** | 支払依頼の項目行ID |
**itemId** | **Integer** | 品目ID |
Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/PaymentRequestUpdateParamsPaymentRequestLines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/PaymentRequestsIndexResponsePaymentRequests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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** | 合計金額 |



Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/QuotationCreateParams.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Name | Type | Description | Notes
**quotationContents** | [**List&lt;InvoiceCreateParamsInvoiceContents&gt;**](InvoiceCreateParamsInvoiceContents.md) | 見積内容 | [optional]
**quotationLayout** | [**QuotationLayoutEnum**](#QuotationLayoutEnum) | 見積書レイアウト * &#x60;default_classic&#x60; - レイアウト1/クラシック (デフォルト) * &#x60;standard_classic&#x60; - レイアウト2/クラシック * &#x60;envelope_classic&#x60; - 封筒1/クラシック * &#x60;default_modern&#x60; - レイアウト1/モダン * &#x60;standard_modern&#x60; - レイアウト2/モダン * &#x60;envelope_modern&#x60; - 封筒/モダン | [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]

Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/QuotationUpdateParams.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Name | Type | Description | Notes
**quotationContents** | [**List&lt;QuotationUpdateParamsQuotationContents&gt;**](QuotationUpdateParamsQuotationContents.md) | 見積内容 | [optional]
**quotationLayout** | [**QuotationLayoutEnum**](#QuotationLayoutEnum) | 見積書レイアウト * &#x60;default_classic&#x60; - レイアウト1/クラシック (デフォルト) * &#x60;standard_classic&#x60; - レイアウト2/クラシック * &#x60;envelope_classic&#x60; - 封筒1/クラシック * &#x60;default_modern&#x60; - レイアウト1/モダン * &#x60;standard_modern&#x60; - レイアウト2/モダン * &#x60;envelope_modern&#x60; - 封筒/モダン | [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]

Expand Down
6 changes: 3 additions & 3 deletions sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,12 @@
<version>${jakarta-annotation-version}</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.openapitools/jackson-databind-nullable -->
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>jackson-databind-nullable</artifactId>
<version>0.2.1</version>
</dependency> <!-- test dependencies -->
</dependency>
<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -290,7 +290,7 @@
</dependency>
</dependencies>
<properties>
<revision>2.9.0</revision>
<revision>2.10.0</revision>
<changelist>-SNAPSHOT</changelist>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -151,7 +151,7 @@ public void setAccountItemId(Integer accountItemId) {
}


public PaymentRequestCreateParamsPaymentRequestLines amount(Integer amount) {
public PaymentRequestCreateParamsPaymentRequestLines amount(Long amount) {

this.amount = amount;
return this;
Expand All @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
}
Expand Down Expand Up @@ -1208,7 +1208,7 @@ public void setTitle(String title) {
}


public PaymentRequestResponsePaymentRequest totalAmount(Integer totalAmount) {
public PaymentRequestResponsePaymentRequest totalAmount(Long totalAmount) {

this.totalAmount = totalAmount;
return this;
Expand All @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -155,7 +155,7 @@ public void setAccountItemId(Integer accountItemId) {
}


public PaymentRequestResponsePaymentRequestPaymentRequestLines amount(Integer amount) {
public PaymentRequestResponsePaymentRequestPaymentRequestLines amount(Long amount) {

this.amount = amount;
return this;
Expand All @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -155,7 +155,7 @@ public void setAccountItemId(Integer accountItemId) {
}


public PaymentRequestUpdateParamsPaymentRequestLines amount(Integer amount) {
public PaymentRequestUpdateParamsPaymentRequestLines amount(Long amount) {

this.amount = amount;
return this;
Expand All @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
}
Expand Down Expand Up @@ -725,7 +725,7 @@ public void setTitle(String title) {
}


public PaymentRequestsIndexResponsePaymentRequests totalAmount(Integer totalAmount) {
public PaymentRequestsIndexResponsePaymentRequests totalAmount(Long totalAmount) {

this.totalAmount = totalAmount;
return this;
Expand All @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit da1caaa

Please sign in to comment.