Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add status to cct in expenses rot #372

Merged
merged 4 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
8 changes: 8 additions & 0 deletions reference/admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2982,6 +2982,14 @@ components:
description: |
Signifies post date of a card transaction.
This date cannot be in future.
status:
type: string
enum:
- PENDING
- POSTED
example: PENDING
description: |
Signifies status of a card transaction.
description:
type: string
nullable: true
Expand Down
8 changes: 8 additions & 0 deletions reference/approver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,14 @@ components:
description: |
Signifies post date of a card transaction.
This date cannot be in future.
status:
type: string
enum:
- PENDING
- POSTED
example: PENDING
description: |
Signifies status of a card transaction.
description:
type: string
nullable: true
Expand Down
8 changes: 8 additions & 0 deletions reference/spender.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,14 @@ components:
description: |
Signifies post date of a card transaction.
This date cannot be in future.
status:
type: string
enum:
- PENDING
- POSTED
example: PENDING
description: |
Signifies status of a card transaction.
description:
type: string
nullable: true
Expand Down
8 changes: 8 additions & 0 deletions src/components/schemas/expense.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,14 @@ matched_corporate_card_transaction_out_embed:
description: |
Signifies post date of a card transaction.
This date cannot be in future.
status:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enum might not allow you null value, is that fine?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

type: string
enum:
- PENDING
- POSTED
example: PENDING
description: |
Signifies status of a card transaction.
description:
type: string
nullable: true
Expand Down