Skip to content
Closed
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
50 changes: 29 additions & 21 deletions xero-app-store.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
openapi: 3.0.0
info:
version: 9.1.1
Expand Down Expand Up @@ -302,11 +302,13 @@
x-is-datetime: true
status:
description: Status of the subscription. Available statuses are ACTIVE, CANCELED, and PAST_DUE.
type: string
enum:
- ACTIVE
- CANCELED
- PAST_DUE
anyOf:
- type: string
enum:
- ACTIVE
- CANCELED
- PAST_DUE
- type: string
testMode:
description: Boolean used to indicate if the subscription is in test mode
type: boolean
Expand All @@ -333,11 +335,13 @@
description: |
Status of the plan. Available statuses are ACTIVE, CANCELED, and
PENDING_ACTIVATION.
type: string
enum:
- ACTIVE
- CANCELED
- PENDING_ACTIVATION
anyOf:
- type: string
enum:
- ACTIVE
- CANCELED
- PENDING_ACTIVATION
- type: string
subscriptionItems:
description: |
List of the subscription items belonging to the plan. It does not
Expand Down Expand Up @@ -416,11 +420,13 @@
description: |
Status of the subscription item. Available statuses are ACTIVE, CANCELED, and
PENDING_ACTIVATION.
type: string
enum:
- ACTIVE
- CANCELED
- PENDING_ACTIVATION
anyOf:
- type: string
enum:
- ACTIVE
- CANCELED
- PENDING_ACTIVATION
- type: string
testMode:
description: If the subscription is a test subscription
type: boolean
Expand Down Expand Up @@ -449,12 +455,14 @@
* PER_SEAT: Customers are charged based on the number of units they purchase
* METERED: Customers are charged per use of this product
* SIMPLE: Customers are charged on a fixed amount for each billing period with an optional add-on feature
type: string
enum:
- FIXED
- PER_SEAT
- METERED
- SIMPLE
anyOf:
- type: string
enum:
- FIXED
- PER_SEAT
- METERED
- SIMPLE
- type: string
usageUnit:
description: The unit of the usage product. e.g. "user", "minutes", "SMS", etc
type: string
Expand Down
20 changes: 18 additions & 2 deletions xero-finance.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
openapi: 3.0.0
info:
version: 9.1.1
Expand Down Expand Up @@ -1358,7 +1358,20 @@
detail:
type: string
additionalProperties: false
ProblemType:
ProblemTypeClosed:
type: string
x-enum-varnames:
- Notset
- BankAccountNotFound
- InternalError
- InvalidApplication
- InvalidRequest
- OrganisationNotFound
- OrganisationOffline
- RequestTimeout
- ServiceUnavailable
- Unauthorized
- RateLimitError
enum:
- NotSet
- bank-account-not-found
Expand All @@ -1371,7 +1384,10 @@
- service-unavailable
- unauthorized
- rate-limit-error
type: string
ProblemType:
anyOf:
- $ref: '#/components/schemas/ProblemTypeClosed'
- type: string
ReportHistoryModel:
type: object
properties:
Expand Down
Loading
Loading