Skip to content

Commit

Permalink
Merge pull request #198 from freee/feature/update_schema_files_2022-0…
Browse files Browse the repository at this point in the history
…9-14-06-18

Update schema files
  • Loading branch information
soga-yuichi authored Sep 15, 2022
2 parents ea7a5af + f5977f4 commit 309ae41
Show file tree
Hide file tree
Showing 4 changed files with 474 additions and 4 deletions.
131 changes: 130 additions & 1 deletion _sdk_compatible/open-api-3/api-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13015,7 +13015,6 @@
}
],
"requestBody": {
"description": "経費申請の更新",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -19073,6 +19072,28 @@
"type": "string",
"description": "証憑ファイル",
"format": "binary"
},
"receipt_metadatum_partner_name": {
"type": "string",
"maxLength": 255,
"nullable": true,
"description": "発行元",
"example": "freeeパートナー"
},
"receipt_metadatum_issue_date": {
"type": "string",
"nullable": true,
"description": "発行日 (yyyy-mm-dd)",
"example": "2019-12-17"
},
"receipt_metadatum_amount": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854775808,
"maximum": 9223372036854775807,
"nullable": true,
"description": "金額",
"example": 5250
}
}
},
Expand Down Expand Up @@ -19100,6 +19121,33 @@
"type": "string",
"description": "取引日 (yyyy-mm-dd)",
"example": "2019-12-17"
},
"receipt_metadatum": {
"type": "object",
"properties": {
"partner_name": {
"type": "string",
"maxLength": 255,
"nullable": true,
"description": "発行元",
"example": "freeeパートナー"
},
"issue_date": {
"type": "string",
"nullable": true,
"description": "発行日 (yyyy-mm-dd)",
"example": "2019-12-17"
},
"amount": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854775808,
"maximum": 9223372036854775807,
"nullable": true,
"description": "金額",
"example": 5250
}
}
}
}
},
Expand Down Expand Up @@ -27506,6 +27554,33 @@
"nullable": true
}
}
},
"receipt_metadatum": {
"type": "object",
"properties": {
"partner_name": {
"type": "string",
"maxLength": 255,
"nullable": true,
"description": "発行元",
"example": "freeeパートナー"
},
"issue_date": {
"type": "string",
"nullable": true,
"description": "発行日 (yyyy-mm-dd)",
"example": "2019-12-17"
},
"amount": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854775808,
"maximum": 9223372036854775807,
"nullable": true,
"description": "金額",
"example": 5250
}
}
}
}
}
Expand Down Expand Up @@ -28043,6 +28118,33 @@
"nullable": true
}
}
},
"receipt_metadatum": {
"type": "object",
"properties": {
"partner_name": {
"type": "string",
"maxLength": 255,
"nullable": true,
"description": "発行元",
"example": "freeeパートナー"
},
"issue_date": {
"type": "string",
"nullable": true,
"description": "発行日 (yyyy-mm-dd)",
"example": "2019-12-17"
},
"amount": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854775808,
"maximum": 9223372036854775807,
"nullable": true,
"description": "金額",
"example": 5250
}
}
}
}
}
Expand Down Expand Up @@ -30867,6 +30969,33 @@
"nullable": true
}
}
},
"receipt_metadatum": {
"type": "object",
"properties": {
"partner_name": {
"type": "string",
"maxLength": 255,
"nullable": true,
"description": "発行元",
"example": "freeeパートナー"
},
"issue_date": {
"type": "string",
"nullable": true,
"description": "発行日 (yyyy-mm-dd)",
"example": "2019-12-17"
},
"amount": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854775808,
"maximum": 9223372036854775807,
"nullable": true,
"description": "金額",
"example": 5250
}
}
}
}
},
Expand Down
108 changes: 107 additions & 1 deletion _sdk_compatible/open-api-3/api-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5656,7 +5656,6 @@ paths:
application/x-www-form-urlencoded:
schema:
"$ref": "#/components/schemas/receiptUpdateParams"
description: 経費申請の更新
required: true
summary: ファイルボックス 証憑ファイル情報更新
"/api/1/receipts/{id}/download":
Expand Down Expand Up @@ -13577,6 +13576,28 @@ components:
- public_api
example: public_api
type: string
receipt_metadatum:
properties:
amount:
description: 金額
example: 5250
format: int64
maximum: 9223372036854775807
minimum: -9223372036854775808
nullable: true
type: integer
issue_date:
description: 発行日 (yyyy-mm-dd)
example: '2019-12-17'
nullable: true
type: string
partner_name:
description: 発行元
example: freeeパートナー
maxLength: 255
nullable: true
type: string
type: object
status:
description: ステータス(confirmed:確認済み、deleted:削除済み、ignored:無視)
enum:
Expand Down Expand Up @@ -14183,6 +14204,28 @@ components:
- public_api
example: public_api
type: string
receipt_metadatum:
properties:
amount:
description: 金額
example: 5250
format: int64
maximum: 9223372036854775807
minimum: -9223372036854775808
nullable: true
type: integer
issue_date:
description: 発行日 (yyyy-mm-dd)
example: '2019-12-17'
nullable: true
type: string
partner_name:
description: 発行元
example: freeeパートナー
maxLength: 255
nullable: true
type: string
type: object
status:
description: ステータス(confirmed:確認済み、deleted:削除済み、ignored:無視)
enum:
Expand Down Expand Up @@ -21627,6 +21670,28 @@ components:
- public_api
example: public_api
type: string
receipt_metadatum:
properties:
amount:
description: 金額
example: 5250
format: int64
maximum: 9223372036854775807
minimum: -9223372036854775808
nullable: true
type: integer
issue_date:
description: 発行日 (yyyy-mm-dd)
example: '2019-12-17'
nullable: true
type: string
partner_name:
description: 発行元
example: freeeパートナー
maxLength: 255
nullable: true
type: string
type: object
status:
description: ステータス(confirmed:確認済み、deleted:削除済み、ignored:無視)
enum:
Expand Down Expand Up @@ -21684,6 +21749,25 @@ components:
description: 証憑ファイル
format: binary
type: string
receipt_metadatum_amount:
description: 金額
example: 5250
format: int64
maximum: 9223372036854775807
minimum: -9223372036854775808
nullable: true
type: integer
receipt_metadatum_issue_date:
description: 発行日 (yyyy-mm-dd)
example: '2019-12-17'
nullable: true
type: string
receipt_metadatum_partner_name:
description: 発行元
example: freeeパートナー
maxLength: 255
nullable: true
type: string
required:
- company_id
- receipt
Expand Down Expand Up @@ -21712,6 +21796,28 @@ components:
description: 取引日 (yyyy-mm-dd)
example: '2019-12-17'
type: string
receipt_metadatum:
properties:
amount:
description: 金額
example: 5250
format: int64
maximum: 9223372036854775807
minimum: -9223372036854775808
nullable: true
type: integer
issue_date:
description: 発行日 (yyyy-mm-dd)
example: '2019-12-17'
nullable: true
type: string
partner_name:
description: 発行元
example: freeeパートナー
maxLength: 255
nullable: true
type: string
type: object
required:
- company_id
- issue_date
Expand Down
Loading

0 comments on commit 309ae41

Please sign in to comment.