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 #94 from freee/auto-generated
Browse files Browse the repository at this point in the history
2.28.0
  • Loading branch information
soga-yuichi authored Mar 22, 2023
2 parents 1edeea2 + 0cbf8f4 commit e45a35b
Show file tree
Hide file tree
Showing 40 changed files with 3,605 additions and 42 deletions.
18 changes: 18 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,20 @@ docs/Model/DealUser.md
docs/Model/ExpenseApplicationActionCreateParams.md
docs/Model/ExpenseApplicationCreateParams.md
docs/Model/ExpenseApplicationCreateParamsExpenseApplicationLines.md
docs/Model/ExpenseApplicationCreateParamsExpenseApplicationLines1.md
docs/Model/ExpenseApplicationCreateParamsPurchaseLines.md
docs/Model/ExpenseApplicationLineTemplate.md
docs/Model/ExpenseApplicationLineTemplateParams.md
docs/Model/ExpenseApplicationLineTemplateResponse.md
docs/Model/ExpenseApplicationResponse.md
docs/Model/ExpenseApplicationResponseExpenseApplication.md
docs/Model/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines.md
docs/Model/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.md
docs/Model/ExpenseApplicationResponseExpenseApplicationPurchaseLines.md
docs/Model/ExpenseApplicationUpdateParams.md
docs/Model/ExpenseApplicationUpdateParamsExpenseApplicationLines.md
docs/Model/ExpenseApplicationUpdateParamsExpenseApplicationLines1.md
docs/Model/ExpenseApplicationUpdateParamsPurchaseLines.md
docs/Model/ExpenseApplicationsIndexResponse.md
docs/Model/ExpenseApplicationsIndexResponseExpenseApplicationLines.md
docs/Model/ExpenseApplicationsIndexResponseExpenseApplications.md
Expand Down Expand Up @@ -437,14 +443,20 @@ lib/Model/DealUser.php
lib/Model/ExpenseApplicationActionCreateParams.php
lib/Model/ExpenseApplicationCreateParams.php
lib/Model/ExpenseApplicationCreateParamsExpenseApplicationLines.php
lib/Model/ExpenseApplicationCreateParamsExpenseApplicationLines1.php
lib/Model/ExpenseApplicationCreateParamsPurchaseLines.php
lib/Model/ExpenseApplicationLineTemplate.php
lib/Model/ExpenseApplicationLineTemplateParams.php
lib/Model/ExpenseApplicationLineTemplateResponse.php
lib/Model/ExpenseApplicationResponse.php
lib/Model/ExpenseApplicationResponseExpenseApplication.php
lib/Model/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines.php
lib/Model/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.php
lib/Model/ExpenseApplicationResponseExpenseApplicationPurchaseLines.php
lib/Model/ExpenseApplicationUpdateParams.php
lib/Model/ExpenseApplicationUpdateParamsExpenseApplicationLines.php
lib/Model/ExpenseApplicationUpdateParamsExpenseApplicationLines1.php
lib/Model/ExpenseApplicationUpdateParamsPurchaseLines.php
lib/Model/ExpenseApplicationsIndexResponse.php
lib/Model/ExpenseApplicationsIndexResponseExpenseApplicationLines.php
lib/Model/ExpenseApplicationsIndexResponseExpenseApplications.php
Expand Down Expand Up @@ -767,15 +779,21 @@ test/Model/DealUpdateParamsDetailsTest.php
test/Model/DealUpdateParamsTest.php
test/Model/DealUserTest.php
test/Model/ExpenseApplicationActionCreateParamsTest.php
test/Model/ExpenseApplicationCreateParamsExpenseApplicationLines1Test.php
test/Model/ExpenseApplicationCreateParamsExpenseApplicationLinesTest.php
test/Model/ExpenseApplicationCreateParamsPurchaseLinesTest.php
test/Model/ExpenseApplicationCreateParamsTest.php
test/Model/ExpenseApplicationLineTemplateParamsTest.php
test/Model/ExpenseApplicationLineTemplateResponseTest.php
test/Model/ExpenseApplicationLineTemplateTest.php
test/Model/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1Test.php
test/Model/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLinesTest.php
test/Model/ExpenseApplicationResponseExpenseApplicationPurchaseLinesTest.php
test/Model/ExpenseApplicationResponseExpenseApplicationTest.php
test/Model/ExpenseApplicationResponseTest.php
test/Model/ExpenseApplicationUpdateParamsExpenseApplicationLines1Test.php
test/Model/ExpenseApplicationUpdateParamsExpenseApplicationLinesTest.php
test/Model/ExpenseApplicationUpdateParamsPurchaseLinesTest.php
test/Model/ExpenseApplicationUpdateParamsTest.php
test/Model/ExpenseApplicationsIndexResponseExpenseApplicationLinesTest.php
test/Model/ExpenseApplicationsIndexResponseExpenseApplicationsTest.php
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
invokerPackage: Freee\Accounting
gitUserId: freee
gitRepoId: freee-accounting-sdk-php
artifactVersion: v2.27.0
artifactVersion: v2.28.0
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.28.0
リリース日時 2023-03-23 07:39:09
対象差分
https://github.com/freee/freee-api-schema/releases/tag/v0.0.114

## 2.27.0
リリース日時 2023-03-16 12:14:29
対象差分
Expand Down
8 changes: 7 additions & 1 deletion README_auto-generated.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,20 @@ Class | Method | HTTP request | Description
- [ExpenseApplicationActionCreateParams](docs/Model/ExpenseApplicationActionCreateParams.md)
- [ExpenseApplicationCreateParams](docs/Model/ExpenseApplicationCreateParams.md)
- [ExpenseApplicationCreateParamsExpenseApplicationLines](docs/Model/ExpenseApplicationCreateParamsExpenseApplicationLines.md)
- [ExpenseApplicationCreateParamsExpenseApplicationLines1](docs/Model/ExpenseApplicationCreateParamsExpenseApplicationLines1.md)
- [ExpenseApplicationCreateParamsPurchaseLines](docs/Model/ExpenseApplicationCreateParamsPurchaseLines.md)
- [ExpenseApplicationLineTemplate](docs/Model/ExpenseApplicationLineTemplate.md)
- [ExpenseApplicationLineTemplateParams](docs/Model/ExpenseApplicationLineTemplateParams.md)
- [ExpenseApplicationLineTemplateResponse](docs/Model/ExpenseApplicationLineTemplateResponse.md)
- [ExpenseApplicationResponse](docs/Model/ExpenseApplicationResponse.md)
- [ExpenseApplicationResponseExpenseApplication](docs/Model/ExpenseApplicationResponseExpenseApplication.md)
- [ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines](docs/Model/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines.md)
- [ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1](docs/Model/ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.md)
- [ExpenseApplicationResponseExpenseApplicationPurchaseLines](docs/Model/ExpenseApplicationResponseExpenseApplicationPurchaseLines.md)
- [ExpenseApplicationUpdateParams](docs/Model/ExpenseApplicationUpdateParams.md)
- [ExpenseApplicationUpdateParamsExpenseApplicationLines](docs/Model/ExpenseApplicationUpdateParamsExpenseApplicationLines.md)
- [ExpenseApplicationUpdateParamsExpenseApplicationLines1](docs/Model/ExpenseApplicationUpdateParamsExpenseApplicationLines1.md)
- [ExpenseApplicationUpdateParamsPurchaseLines](docs/Model/ExpenseApplicationUpdateParamsPurchaseLines.md)
- [ExpenseApplicationsIndexResponse](docs/Model/ExpenseApplicationsIndexResponse.md)
- [ExpenseApplicationsIndexResponseExpenseApplicationLines](docs/Model/ExpenseApplicationsIndexResponseExpenseApplicationLines.md)
- [ExpenseApplicationsIndexResponseExpenseApplications](docs/Model/ExpenseApplicationsIndexResponseExpenseApplications.md)
Expand Down Expand Up @@ -545,5 +551,5 @@ vendor/bin/phpunit
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: `v1.0`
- Package version: `v2.27.0`
- Package version: `v2.28.0`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "freee/freee-accounting-sdk",
"version": "v2.27.0",
"version": "v2.28.0",
"description": "Accounting freee PHP SDK",
"keywords": [
"openapitools",
Expand Down
4 changes: 2 additions & 2 deletions docs/Api/ReceiptsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $receipt = "/path/to/file.txt"; // \SplFileObject | 証憑ファイル
$description = 'description_example'; // string | メモ (255文字以内)
$document_type = 'document_type_example'; // string | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他)
$issue_date = 'issue_date_example'; // string | 取引日 (yyyy-mm-dd)
$qualified_invoice = 'qualified_invoice_example'; // string | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない)
$qualified_invoice = 'qualified_invoice_example'; // string | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択
$receipt_metadatum_amount = 56; // int | 金額
$receipt_metadatum_issue_date = 'receipt_metadatum_issue_date_example'; // string | 発行日 (yyyy-mm-dd)
$receipt_metadatum_partner_name = 'receipt_metadatum_partner_name_example'; // string | 発行元
Expand All @@ -64,7 +64,7 @@ Name | Type | Description | Notes
**description** | **string**| メモ (255文字以内) | [optional]
**document_type** | **string**| この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 書類の種類(receipt: 領収書、invoice: 請求書、other: その他) | [optional]
**issue_date** | **string**| 取引日 (yyyy-mm-dd) | [optional]
**qualified_invoice** | **string**| この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない) | [optional]
**qualified_invoice** | **string**| この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 適格請求書等(qualified: 該当する、not_qualified: 該当しない、unselected: 未選択) | [optional]
**receipt_metadatum_amount** | **int**| 金額 | [optional]
**receipt_metadatum_issue_date** | **string**| 発行日 (yyyy-mm-dd) | [optional]
**receipt_metadatum_partner_name** | **string**| 発行元 | [optional]
Expand Down
3 changes: 2 additions & 1 deletion docs/Model/ExpenseApplicationCreateParams.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ Name | Type | Description | Notes
**company_id** | **int** | 事業所ID |
**description** | **string** | 備考 (10000文字以内) | [optional]
**draft** | **bool** | 経費申請のステータス<br> falseを指定した時は申請中(in_progress)で経費申請を作成します。<br> trueを指定した時は下書き(draft)で経費申請を作成します。<br> 未指定の時は下書きとみなして経費申請を作成します。 | [optional]
**expense_application_lines** | [**\Freee\Accounting\Model\ExpenseApplicationCreateParamsExpenseApplicationLines[]**](ExpenseApplicationCreateParamsExpenseApplicationLines.md) | |
**expense_application_lines** | [**\Freee\Accounting\Model\ExpenseApplicationCreateParamsExpenseApplicationLines[]**](ExpenseApplicationCreateParamsExpenseApplicationLines.md) | 経費申請の項目行一覧(配列) | [optional]
**issue_date** | **string** | 申請日 (yyyy-mm-dd)<br> 指定しない場合は当日の日付が登録されます。 | [optional]
**parent_id** | **int** | 親申請ID(法人向けプロフェッショナル, 法人向け エンタープライズプラン)<br> <ul> <li>承認済みの既存各種申請IDのみ指定可能です。</li> <li>各種申請一覧APIを利用して取得してください。</li> </ul> | [optional]
**purchase_lines** | [**\Freee\Accounting\Model\ExpenseApplicationCreateParamsPurchaseLines[]**](ExpenseApplicationCreateParamsPurchaseLines.md) | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列) | [optional]
**section_id** | **int** | 部門ID | [optional]
**segment_1_tag_id** | **int** | セグメント1ID(法人向けプロフェッショナル, 法人向けエンタープライズプラン)<br> セグメントタグ一覧の取得APIを利用して取得してください。<br> <a href=\"https://support.freee.co.jp/hc/ja/articles/360020679611\" target=\"_blank\">セグメント(分析用タグ)の設定</a><br> | [optional]
**segment_2_tag_id** | **int** | セグメント2ID(法人向け エンタープライズプラン)<br> セグメントタグ一覧の取得APIを利用して取得してください。<br> <a href=\"https://support.freee.co.jp/hc/ja/articles/360020679611\" target=\"_blank\">セグメント(分析用タグ)の設定</a><br> | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# # ExpenseApplicationCreateParamsExpenseApplicationLines1

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**amount** | **int** | 金額 | [optional]
**description** | **string** | 内容 (250文字以内) | [optional]
**expense_application_line_template_id** | **int** | 経費科目ID | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11 changes: 11 additions & 0 deletions docs/Model/ExpenseApplicationCreateParamsPurchaseLines.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# # ExpenseApplicationCreateParamsPurchaseLines

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**expense_application_lines** | [**\Freee\Accounting\Model\ExpenseApplicationCreateParamsExpenseApplicationLines1[]**](ExpenseApplicationCreateParamsExpenseApplicationLines1.md) | 明細行一覧(配列) | [optional]
**receipt_id** | **int** | ファイルボックス(証憑ファイル)ID | [optional]
**transaction_date** | **string** | 日付 (yyyy-mm-dd) | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
3 changes: 2 additions & 1 deletion docs/Model/ExpenseApplicationResponseExpenseApplication.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ Name | Type | Description | Notes
**deal_id** | **int** | 取引ID (申請ステータス:statusがapprovedで、取引が存在する時のみdeal_idが表示されます) |
**deal_status** | **string** | 取引ステータス (申請ステータス:statusがapprovedで、取引が存在する時のみdeal_statusが表示されます settled:精算済み, unsettled:清算待ち) |
**description** | **string** | 備考 | [optional]
**expense_application_lines** | [**\Freee\Accounting\Model\ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines[]**](ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines.md) | 経費申請の項目行一覧(配列) |
**expense_application_lines** | [**\Freee\Accounting\Model\ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines[]**](ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines.md) | 経費申請の項目行一覧(配列) | [optional]
**id** | **int** | 経費申請ID |
**issue_date** | **string** | 申請日 (yyyy-mm-dd) |
**purchase_lines** | [**\Freee\Accounting\Model\ExpenseApplicationResponseExpenseApplicationPurchaseLines[]**](ExpenseApplicationResponseExpenseApplicationPurchaseLines.md) | この項目はインボイス制度で利用する項目です。2023年4月上旬から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列) | [optional]
**section_id** | **int** | 部門ID | [optional]
**segment_1_tag_id** | **int** | セグメント1ID。セグメント1が使用可能なプランの時のみレスポンスに含まれます。 | [optional]
**segment_2_tag_id** | **int** | セグメント2ID。セグメント2が使用可能なプランの時のみレスポンスに含まれます。 | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# # ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**amount** | **int** | 金額 | [optional]
**description** | **string** | 内容 | [optional]
**expense_application_line_template_id** | **int** | 経費科目ID | [optional]
**id** | **int** | 明細行ID |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# # ExpenseApplicationResponseExpenseApplicationPurchaseLines

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**expense_application_lines** | [**\Freee\Accounting\Model\ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1[]**](ExpenseApplicationResponseExpenseApplicationExpenseApplicationLines1.md) | 明細行一覧(配列) | [optional]
**id** | **int** | 経費申請の申請行ID |
**receipt_id** | **int** | ファイルボックス(証憑ファイル)ID | [optional]
**transaction_date** | **string** | 日付 (yyyy-mm-dd) | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
3 changes: 2 additions & 1 deletion docs/Model/ExpenseApplicationUpdateParams.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ Name | Type | Description | Notes
**company_id** | **int** | 事業所ID |
**description** | **string** | 備考 (10000文字以内) | [optional]
**draft** | **bool** | 経費申請のステータス<br> falseを指定した時は申請中(in_progress)で経費申請を更新します。<br> trueを指定した時は下書き(draft)で経費申請を更新します。<br> 未指定の時は下書きとみなして経費申請を更新します。 | [optional]
**expense_application_lines** | [**\Freee\Accounting\Model\ExpenseApplicationUpdateParamsExpenseApplicationLines[]**](ExpenseApplicationUpdateParamsExpenseApplicationLines.md) | |
**expense_application_lines** | [**\Freee\Accounting\Model\ExpenseApplicationUpdateParamsExpenseApplicationLines[]**](ExpenseApplicationUpdateParamsExpenseApplicationLines.md) | | [optional]
**issue_date** | **string** | 申請日 (yyyy-mm-dd)<br> 指定しない場合は当日の日付が登録されます。 | [optional]
**purchase_lines** | [**\Freee\Accounting\Model\ExpenseApplicationUpdateParamsPurchaseLines[]**](ExpenseApplicationUpdateParamsPurchaseLines.md) | この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。利用可能となる前に予告なく変更がある場合があります。<br> 経費申請の申請行一覧(配列) | [optional]
**section_id** | **int** | 部門ID | [optional]
**segment_1_tag_id** | **int** | セグメント1ID(法人向けプロフェッショナル, 法人向けエンタープライズプラン)<br> セグメントタグ一覧の取得APIを利用して取得してください。<br> <a href=\"https://support.freee.co.jp/hc/ja/articles/360020679611\" target=\"_blank\">セグメント(分析用タグ)の設定</a><br> | [optional]
**segment_2_tag_id** | **int** | セグメント2ID(法人向け エンタープライズプラン)<br> セグメントタグ一覧の取得APIを利用して取得してください。<br> <a href=\"https://support.freee.co.jp/hc/ja/articles/360020679611\" target=\"_blank\">セグメント(分析用タグ)の設定</a><br> | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# # ExpenseApplicationUpdateParamsExpenseApplicationLines1

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**amount** | **int** | 金額 | [optional]
**description** | **string** | 内容 (250文字以内) | [optional]
**expense_application_line_template_id** | **int** | 経費科目ID | [optional]
**id** | **int** | 経費申請の明細行ID: 既存明細行を更新する場合に指定します。IDを指定しない明細行は、新規行として扱われ追加されます。また、expense_application_linesに含まれない既存の明細行は削除されます。更新後も残したい行は、必ず経費申請の明細行IDを指定してexpense_application_linesに含めてください。 | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
Loading

0 comments on commit e45a35b

Please sign in to comment.