Skip to content
Open
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
58 changes: 28 additions & 30 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/schemas/CustomerChargeFiltersUsageObject.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
type: array
description: Array of filter object, representing multiple dimensions for a charge item.
required:
- values
- units
- total_aggregated_units
- events_count
- amount_cents
items:
type: object
required:
- values
- units
- total_aggregated_units
- events_count
- amount_cents
properties:
units:
type: string
Expand Down
13 changes: 6 additions & 7 deletions src/schemas/CustomerChargeGroupedUsageObject.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
type: array
description: Array of aggregated fees, grouped by the event properties defined in a `standard` charge model.
required:
- amount_cents
- events_count
- units
- total_aggregated_units
- grouped_by
- groups
items:
type: object
required:
- amount_cents
- events_count
- units
- total_aggregated_units
- grouped_by
properties:
amount_cents:
type: integer
Expand Down
14 changes: 7 additions & 7 deletions src/schemas/CustomerProjectedChargeFiltersUsageObject.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
type: array
description: Array of filter object, representing multiple dimensions for a charge item.
required:
- values
- units
- projected_units
- events_count
- amount_cents
- projected_amount_cents
items:
type: object
required:
- values
- units
- projected_units
- events_count
- amount_cents
- projected_amount_cents
properties:
units:
type: string
Expand Down
15 changes: 7 additions & 8 deletions src/schemas/CustomerProjectedChargeGroupedUsageObject.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
type: array
description: Array of aggregated fees, grouped by the event properties defined in a `standard` charge model.
required:
- amount_cents
- projected_amount_cents
- events_count
- units
- projected_units
- grouped_by
- groups
items:
type: object
required:
- amount_cents
- projected_amount_cents
- events_count
- units
- projected_units
- grouped_by
properties:
amount_cents:
type: integer
Expand Down
4 changes: 2 additions & 2 deletions src/schemas/WalletUpdateInput.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ properties:
recurring_transaction_rules:
type: array
description: List of recurring transaction rules. Currently, we only allow one recurring rule per wallet.
required:
- trigger
items:
type: object
description: Object that represents rule for wallet recurring transactions.
required:
- trigger
properties:
lago_id:
type: string
Expand Down