Skip to content

Commit 65e486c

Browse files
chore: sync OpenAPI schemas and regenerate references (#465)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent a5dbb8d commit 65e486c

13 files changed

Lines changed: 4031 additions & 1250 deletions

.changeset/sync-openapi-schemas.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"freee-mcp": patch
3+
---
4+
5+
OpenAPIスキーマを最新版に同期 ( 5 files changed, 3753 insertions(+), 1249 deletions(-))

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Claude Code のプロンプト内からも実行できます:
159159
| 人事労務 | 従業員、勤怠、給与明細、年末調整など | 28 |
160160
| 請求書 | 請求書、見積書、納品書 | 4 |
161161
| 工数管理 | プロジェクト、チーム、パートナー、工数、ユーザーなど | 7 |
162-
| 販売 | 案件、受注、マスタ | 5 |
162+
| 販売 | 案件、受注、マスタ | 7 |
163163
| サイン | 文書、フォルダ、テンプレート、マイ印鑑など | 8 |
164164

165165
AI Agent との会話中に freee API の操作を依頼すると、これらのリファレンスやレシピを参照して正確に実行します。

openapi/invoice-api-schema.json

Lines changed: 138 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,16 @@
176176
"minimum": 0,
177177
"maximum": 2147483647
178178
}
179+
},
180+
{
181+
"name": "sales_management_origin",
182+
"in": "query",
183+
"required": false,
184+
"description": "freee販売から作成された帳票データを含める。trueを指定する場合はfreee販売から作成された帳票へのアクセス権限が必要です。",
185+
"schema": {
186+
"type": "boolean",
187+
"default": false
188+
}
179189
}
180190
],
181191
"responses": {
@@ -764,6 +774,16 @@
764774
"minimum": 0,
765775
"maximum": 2147483647
766776
}
777+
},
778+
{
779+
"name": "sales_management_origin",
780+
"in": "query",
781+
"required": false,
782+
"description": "freee販売から作成された帳票データを含める。trueを指定する場合はfreee販売から作成された帳票へのアクセス権限が必要です。",
783+
"schema": {
784+
"type": "boolean",
785+
"default": false
786+
}
767787
}
768788
],
769789
"responses": {
@@ -1325,6 +1345,16 @@
13251345
"minimum": 0,
13261346
"maximum": 2147483647
13271347
}
1348+
},
1349+
{
1350+
"name": "sales_management_origin",
1351+
"in": "query",
1352+
"required": false,
1353+
"description": "freee販売から作成された帳票データを含める。trueを指定する場合はfreee販売から作成された帳票へのアクセス権限が必要です。",
1354+
"schema": {
1355+
"type": "boolean",
1356+
"default": false
1357+
}
13281358
}
13291359
],
13301360
"responses": {
@@ -2354,7 +2384,8 @@
23542384
"amount_including_tax",
23552385
"amount_excluding_tax",
23562386
"amount_tax",
2357-
"partner_id"
2387+
"partner_id",
2388+
"report_url"
23582389
],
23592390
"properties": {
23602391
"id": {
@@ -2511,6 +2542,15 @@
25112542
],
25122543
"nullable": true,
25132544
"description": "URL共有で送付された送付先のメールのダウンロードステータス"
2545+
},
2546+
"report_url": {
2547+
"type": "string",
2548+
"format": "uri",
2549+
"description": "帳票詳細ページのURL"
2550+
},
2551+
"sales_management_origin": {
2552+
"type": "boolean",
2553+
"description": "freee販売から作成された帳票かどうか"
25142554
}
25152555
}
25162556
},
@@ -2861,7 +2901,8 @@
28612901
"amount_excluding_tax",
28622902
"amount_tax",
28632903
"partner_id",
2864-
"lines"
2904+
"lines",
2905+
"report_url"
28652906
],
28662907
"properties": {
28672908
"id": {
@@ -3233,6 +3274,11 @@
32333274
"$ref": "#/components/schemas/DeliverySlipResponse_delivery_slip_lines"
32343275
},
32353276
"description": "納品書の明細行"
3277+
},
3278+
"report_url": {
3279+
"type": "string",
3280+
"format": "uri",
3281+
"description": "帳票詳細ページのURL"
32363282
}
32373283
}
32383284
},
@@ -3423,7 +3469,8 @@
34233469
"amount_excluding_tax",
34243470
"amount_tax",
34253471
"partner_id",
3426-
"lines"
3472+
"lines",
3473+
"report_url"
34273474
],
34283475
"properties": {
34293476
"id": {
@@ -3772,6 +3819,15 @@
37723819
],
37733820
"nullable": true,
37743821
"description": "URL共有で送付された送付先のメールのダウンロードステータス"
3822+
},
3823+
"report_url": {
3824+
"type": "string",
3825+
"format": "uri",
3826+
"description": "帳票詳細ページのURL"
3827+
},
3828+
"sales_management_origin": {
3829+
"type": "boolean",
3830+
"description": "freee販売から作成された帳票かどうか"
37753831
}
37763832
}
37773833
},
@@ -3879,7 +3935,8 @@
38793935
"amount_excluding_tax",
38803936
"amount_tax",
38813937
"amount_brought_forward",
3882-
"partner_id"
3938+
"partner_id",
3939+
"report_url"
38833940
],
38843941
"properties": {
38853942
"id": {
@@ -4061,6 +4118,15 @@
40614118
],
40624119
"nullable": true,
40634120
"description": "URL共有で送付された送付先のメールのダウンロードステータス"
4121+
},
4122+
"report_url": {
4123+
"type": "string",
4124+
"format": "uri",
4125+
"description": "帳票詳細ページのURL"
4126+
},
4127+
"sales_management_origin": {
4128+
"type": "boolean",
4129+
"description": "freee販売から作成された帳票かどうか"
40644130
}
40654131
}
40664132
},
@@ -4454,7 +4520,8 @@
44544520
"amount_tax",
44554521
"amount_brought_forward",
44564522
"partner_id",
4457-
"lines"
4523+
"lines",
4524+
"report_url"
44584525
],
44594526
"properties": {
44604527
"id": {
@@ -4839,6 +4906,11 @@
48394906
"$ref": "#/components/schemas/InvoiceResponse_invoice_lines"
48404907
},
48414908
"description": "請求書の明細行"
4909+
},
4910+
"report_url": {
4911+
"type": "string",
4912+
"format": "uri",
4913+
"description": "帳票詳細ページのURL"
48424914
}
48434915
}
48444916
},
@@ -5041,7 +5113,8 @@
50415113
"amount_tax",
50425114
"amount_brought_forward",
50435115
"partner_id",
5044-
"lines"
5116+
"lines",
5117+
"report_url"
50455118
],
50465119
"properties": {
50475120
"id": {
@@ -5423,6 +5496,15 @@
54235496
],
54245497
"nullable": true,
54255498
"description": "URL共有で送付された送付先のメールのダウンロードステータス"
5499+
},
5500+
"report_url": {
5501+
"type": "string",
5502+
"format": "uri",
5503+
"description": "帳票詳細ページのURL"
5504+
},
5505+
"sales_management_origin": {
5506+
"type": "boolean",
5507+
"description": "freee販売から作成された帳票かどうか"
54265508
}
54275509
}
54285510
},
@@ -5534,7 +5616,8 @@
55345616
"amount_including_tax",
55355617
"amount_excluding_tax",
55365618
"amount_tax",
5537-
"partner_id"
5619+
"partner_id",
5620+
"report_url"
55385621
],
55395622
"properties": {
55405623
"id": {
@@ -5667,6 +5750,15 @@
56675750
],
56685751
"nullable": true,
56695752
"description": "URL共有で送付された送付先のメールのダウンロードステータス"
5753+
},
5754+
"report_url": {
5755+
"type": "string",
5756+
"format": "uri",
5757+
"description": "帳票詳細ページのURL"
5758+
},
5759+
"sales_management_origin": {
5760+
"type": "boolean",
5761+
"description": "freee販売から作成された帳票かどうか"
56705762
}
56715763
}
56725764
},
@@ -5978,7 +6070,8 @@
59786070
"amount_excluding_tax",
59796071
"amount_tax",
59806072
"partner_id",
5981-
"lines"
6073+
"lines",
6074+
"report_url"
59826075
],
59836076
"properties": {
59846077
"id": {
@@ -6317,6 +6410,11 @@
63176410
"$ref": "#/components/schemas/QuotationResponse_quotation_lines"
63186411
},
63196412
"description": "見積書の明細行"
6413+
},
6414+
"report_url": {
6415+
"type": "string",
6416+
"format": "uri",
6417+
"description": "帳票詳細ページのURL"
63206418
}
63216419
}
63226420
},
@@ -6445,7 +6543,8 @@
64456543
"amount_excluding_tax",
64466544
"amount_tax",
64476545
"partner_id",
6448-
"lines"
6546+
"lines",
6547+
"report_url"
64496548
],
64506549
"properties": {
64516550
"id": {
@@ -6780,6 +6879,15 @@
67806879
],
67816880
"nullable": true,
67826881
"description": "URL共有で送付された送付先のメールのダウンロードステータス"
6882+
},
6883+
"report_url": {
6884+
"type": "string",
6885+
"format": "uri",
6886+
"description": "帳票詳細ページのURL"
6887+
},
6888+
"sales_management_origin": {
6889+
"type": "boolean",
6890+
"description": "freee販売から作成された帳票かどうか"
67836891
}
67846892
}
67856893
},
@@ -6886,7 +6994,8 @@
68866994
"amount_including_tax",
68876995
"amount_excluding_tax",
68886996
"amount_tax",
6889-
"partner_id"
6997+
"partner_id",
6998+
"report_url"
68906999
],
68917000
"properties": {
68927001
"id": {
@@ -7043,6 +7152,11 @@
70437152
],
70447153
"nullable": true,
70457154
"description": "URL共有で送付された送付先のメールのダウンロードステータス"
7155+
},
7156+
"report_url": {
7157+
"type": "string",
7158+
"format": "uri",
7159+
"description": "帳票詳細ページのURL"
70467160
}
70477161
}
70487162
},
@@ -7371,7 +7485,8 @@
73717485
"amount_excluding_tax",
73727486
"amount_tax",
73737487
"partner_id",
7374-
"lines"
7488+
"lines",
7489+
"report_url"
73757490
],
73767491
"properties": {
73777492
"id": {
@@ -7703,6 +7818,11 @@
77037818
"$ref": "#/components/schemas/ReceiptResponse_receipt_lines"
77047819
},
77057820
"description": "領収書の明細行"
7821+
},
7822+
"report_url": {
7823+
"type": "string",
7824+
"format": "uri",
7825+
"description": "帳票詳細ページのURL"
77067826
}
77077827
}
77087828
},
@@ -7893,7 +8013,8 @@
78938013
"amount_excluding_tax",
78948014
"amount_tax",
78958015
"partner_id",
7896-
"lines"
8016+
"lines",
8017+
"report_url"
78978018
],
78988019
"properties": {
78998020
"id": {
@@ -8242,6 +8363,11 @@
82428363
],
82438364
"nullable": true,
82448365
"description": "URL共有で送付された送付先のメールのダウンロードステータス"
8366+
},
8367+
"report_url": {
8368+
"type": "string",
8369+
"format": "uri",
8370+
"description": "帳票詳細ページのURL"
82458371
}
82468372
}
82478373
},

openapi/minimal/invoice.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@
8888
"type": "integer",
8989
"required": false,
9090
"description": "取得レコードのオフセット (デフォルト: 0)"
91+
},
92+
{
93+
"name": "sales_management_origin",
94+
"in": "query",
95+
"type": "boolean",
96+
"required": false,
97+
"description": "freee販売から作成された帳票データを含める。trueを指定する場合はfreee販売から作成された帳票へのアクセス権限が必要です。"
9198
}
9299
]
93100
},
@@ -249,6 +256,13 @@
249256
"type": "integer",
250257
"required": false,
251258
"description": "取得レコードのオフセット (デフォルト: 0)"
259+
},
260+
{
261+
"name": "sales_management_origin",
262+
"in": "query",
263+
"type": "boolean",
264+
"required": false,
265+
"description": "freee販売から作成された帳票データを含める。trueを指定する場合はfreee販売から作成された帳票へのアクセス権限が必要です。"
252266
}
253267
]
254268
},
@@ -396,6 +410,13 @@
396410
"type": "integer",
397411
"required": false,
398412
"description": "取得レコードのオフセット (デフォルト: 0)"
413+
},
414+
{
415+
"name": "sales_management_origin",
416+
"in": "query",
417+
"type": "boolean",
418+
"required": false,
419+
"description": "freee販売から作成された帳票データを含める。trueを指定する場合はfreee販売から作成された帳票へのアクセス権限が必要です。"
399420
}
400421
]
401422
},

0 commit comments

Comments
 (0)