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

Commit

Permalink
feat: Add siteOwner to Purchase Order (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
marinakr authored Jun 10, 2024
1 parent 5b23317 commit d7a60aa
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add `number` to `#/components/schemas/TrainingInvoiceLineItemUpsert`
- Add `unitPrice` to `#/components/schemas/CreateInvoiceLineItem`
- Add `unitPrice` to `#/components/schemas/TrainingInvoiceLineItemUpsert`
- Add `siteOwner` to `#/components/schemas/CreatePurchaseOrder`
- Add `siteOwner` to `#/components/schemas/UpdatePurchaseOrder`


## v0.20.0

Expand Down
3 changes: 3 additions & 0 deletions docs/create_purchase_order.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ must call the `processPurchaseOrder` operation.

Optionally, to set a requestor, you can pass a `requestor` object with `email`
or `name`.

Optionally, to set a site owner, you can pass a `siteOwner` object with `email`
or `name`.
21 changes: 21 additions & 0 deletions vic.api.v0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3066,6 +3066,10 @@ components:
oneOf:
- $ref: '#/components/schemas/PurchaseOrderRequestor'
- type: 'null'
siteOwner:
oneOf:
- $ref: '#/components/schemas/PurchaseOrderSiteOwner'
- type: 'null'
createdOn:
oneOf:
- type: string
Expand Down Expand Up @@ -3120,6 +3124,10 @@ components:
oneOf:
- $ref: '#/components/schemas/PurchaseOrderRequestor'
- type: 'null'
siteOwner:
oneOf:
- $ref: '#/components/schemas/PurchaseOrderSiteOwner'
- type: 'null'
createdOn:
oneOf:
- type: string
Expand Down Expand Up @@ -3613,6 +3621,19 @@ components:
- type: string
maxLength: 255
- type: 'null'
PurchaseOrderSiteOwner:
type: object
description: The person or entity who is in charge of the purchase order site.
properties:
email:
oneOf:
- $ref: '#/components/schemas/Email'
- type: 'null'
name:
oneOf:
- type: string
maxLength: 255
- type: 'null'
TrainingInvoice:
type: object
required:
Expand Down

0 comments on commit d7a60aa

Please sign in to comment.