Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const unmarshalDiscountFilter = (data: unknown): DiscountFilter => {
}

return {
exclude: data.exclude,
type: data.type,
value: data.value,
} as DiscountFilter
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/src/api/billing/v2alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export interface DiscountFilter {
type: DiscountFilterType
/** Value of filter, it can be a product/range/region/zone value. */
value: string
/** Boolean to describe if filter is an excluding filter. */
exclude: boolean
}

export interface GetConsumptionResponseConsumption {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ const unmarshalDiscountFilter = (data: unknown): DiscountFilter => {
}

return {
exclude: data.exclude,
type: data.type,
value: data.value,
} as DiscountFilter
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/src/api/billing/v2beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ export interface DiscountFilter {
type: DiscountFilterType
/** Value of filter. */
value: string
/** Boolean to describe if filter is an excluding filter. */
exclude: boolean
}

export interface ListConsumptionsResponseConsumption {
Expand Down