Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

feat: Match items #49

Merged
merged 3 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v0.14.0

- Added new schema `#/components/schemas/MatchItem`.
- Added `poItemsMatched` to `#/components/schemas/` which is an array of `MatchItem`s.
- Added `invoiceItemsMatched` to `#/components/schemas/PurchaseOrderLineItem` which is an array of `MatchItem`s.

## v0.13.0

For managing tags:
Expand Down
27 changes: 26 additions & 1 deletion vic.api.v0.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.3
info:
version: 0.13.0
version: 0.14.0
contact: {}
title: Vic.Api
description: |
Expand Down Expand Up @@ -2798,6 +2798,11 @@ components:
type: array
items:
$ref: "#/components/schemas/DimensionRef"
invoiceItemsMatched:
type: array
uniqueItems: true
items:
$ref: '#/components/schemas/MatchItem'
PurchaseOrder:
type: object
required:
Expand Down Expand Up @@ -3091,6 +3096,11 @@ components:
type: string
maxLength: 255
nullable: true
poItemsMatched:
type: array
uniqueItems: true
items:
$ref: '#/components/schemas/MatchItem'
TrainingInvoiceLineItemUpsert:
type: object
required:
Expand Down Expand Up @@ -3847,6 +3857,21 @@ components:
type: string
tagId:
type: string
MatchItem:
type: object
required:
- invoiceItemId
- purchaseOrderItemId
- quantityMatched
properties:
invoiceItemId:
type: string
gunnar2k marked this conversation as resolved.
Show resolved Hide resolved
description: The invoice item's internal id.
purchaseOrderItemId:
type: string
gunnar2k marked this conversation as resolved.
Show resolved Hide resolved
description: The purchase order item's internal id.
quantityMatched:
type: string
requestBodies:
CreatePurchaseOrderRequest:
description: Create a purchase order.
Expand Down