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 @@ -62,7 +62,7 @@ class Budget(GitHubModel):
"""Budget"""

id: str = Field(description="The unique identifier for the budget")
budget_type: Literal["SkuPricing", "ProductPricing"] = Field(
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"] = Field(
description="The type of pricing for the budget"
)
budget_amount: int = Field(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class CreateBudgetPropBudget(GitHubModel):
budget_product_sku: Missing[str] = Field(
default=UNSET, description="A single product or sku to apply the budget to."
)
budget_type: Missing[Literal["ProductPricing", "SkuPricing"]] = Field(
default=UNSET, description="The type of pricing for the budget"
budget_type: Missing[Literal["ProductPricing", "SkuPricing", "BundlePricing"]] = (
Field(default=UNSET, description="The type of pricing for the budget")
)
budget_alerting: Missing[CreateBudgetPropBudgetPropBudgetAlerting] = Field(
default=UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class GetBudget(GitHubModel):
budget_product_sku: str = Field(
description="A single product or sku to apply the budget to."
)
budget_type: Literal["ProductPricing", "SkuPricing"] = Field(
budget_type: Literal["ProductPricing", "SkuPricing", "BundlePricing"] = Field(
description="The type of pricing for the budget"
)
budget_alerting: GetBudgetPropBudgetAlerting = Field()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class UpdateBudgetPropBudget(GitHubModel):
budget_product_sku: Missing[str] = Field(
default=UNSET, description="A single product or sku to apply the budget to."
)
budget_type: Missing[Literal["ProductPricing", "SkuPricing"]] = Field(
default=UNSET, description="The type of pricing for the budget"
budget_type: Missing[Literal["ProductPricing", "SkuPricing", "BundlePricing"]] = (
Field(default=UNSET, description="The type of pricing for the budget")
)
budget_alerting: Missing[UpdateBudgetPropBudgetPropBudgetAlerting] = Field(
default=UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class BudgetType(TypedDict):
"""Budget"""

id: str
budget_type: Literal["SkuPricing", "ProductPricing"]
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"]
budget_amount: int
prevent_further_usage: bool
budget_scope: Literal[
Expand All @@ -86,7 +86,7 @@ class BudgetTypeForResponse(TypedDict):
"""Budget"""

id: str
budget_type: Literal["SkuPricing", "ProductPricing"]
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"]
budget_amount: int
prevent_further_usage: bool
budget_scope: Literal[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class CreateBudgetPropBudgetType(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[CreateBudgetPropBudgetPropBudgetAlertingType]
expires_at: NotRequired[_dt.date]

Expand All @@ -71,7 +71,7 @@ class CreateBudgetPropBudgetTypeForResponse(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[
CreateBudgetPropBudgetPropBudgetAlertingTypeForResponse
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class GetBudgetType(TypedDict):
budget_amount: int
prevent_further_usage: bool
budget_product_sku: str
budget_type: Literal["ProductPricing", "SkuPricing"]
budget_type: Literal["ProductPricing", "SkuPricing", "BundlePricing"]
budget_alerting: GetBudgetPropBudgetAlertingType


Expand All @@ -53,7 +53,7 @@ class GetBudgetTypeForResponse(TypedDict):
budget_amount: int
prevent_further_usage: bool
budget_product_sku: str
budget_type: Literal["ProductPricing", "SkuPricing"]
budget_type: Literal["ProductPricing", "SkuPricing", "BundlePricing"]
budget_alerting: GetBudgetPropBudgetAlertingTypeForResponse


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class UpdateBudgetPropBudgetType(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[UpdateBudgetPropBudgetPropBudgetAlertingType]
expires_at: NotRequired[_dt.date]

Expand All @@ -75,7 +75,7 @@ class UpdateBudgetPropBudgetTypeForResponse(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[
UpdateBudgetPropBudgetPropBudgetAlertingTypeForResponse
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Budget(GitHubModel):
"""Budget"""

id: str = Field(description="The unique identifier for the budget")
budget_type: Literal["SkuPricing", "ProductPricing"] = Field(
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"] = Field(
description="The type of pricing for the budget"
)
budget_amount: int = Field(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class CreateBudgetPropBudget(GitHubModel):
budget_product_sku: Missing[str] = Field(
default=UNSET, description="A single product or sku to apply the budget to."
)
budget_type: Missing[Literal["ProductPricing", "SkuPricing"]] = Field(
default=UNSET, description="The type of pricing for the budget"
budget_type: Missing[Literal["ProductPricing", "SkuPricing", "BundlePricing"]] = (
Field(default=UNSET, description="The type of pricing for the budget")
)
budget_alerting: Missing[CreateBudgetPropBudgetPropBudgetAlerting] = Field(
default=UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class GetBudget(GitHubModel):
budget_product_sku: str = Field(
description="A single product or sku to apply the budget to."
)
budget_type: Literal["ProductPricing", "SkuPricing"] = Field(
budget_type: Literal["ProductPricing", "SkuPricing", "BundlePricing"] = Field(
description="The type of pricing for the budget"
)
budget_alerting: GetBudgetPropBudgetAlerting = Field()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class UpdateBudgetPropBudget(GitHubModel):
budget_product_sku: Missing[str] = Field(
default=UNSET, description="A single product or sku to apply the budget to."
)
budget_type: Missing[Literal["ProductPricing", "SkuPricing"]] = Field(
default=UNSET, description="The type of pricing for the budget"
budget_type: Missing[Literal["ProductPricing", "SkuPricing", "BundlePricing"]] = (
Field(default=UNSET, description="The type of pricing for the budget")
)
budget_alerting: Missing[UpdateBudgetPropBudgetPropBudgetAlerting] = Field(
default=UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class BudgetType(TypedDict):
"""Budget"""

id: str
budget_type: Literal["SkuPricing", "ProductPricing"]
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"]
budget_amount: int
prevent_further_usage: bool
budget_scope: Literal[
Expand All @@ -86,7 +86,7 @@ class BudgetTypeForResponse(TypedDict):
"""Budget"""

id: str
budget_type: Literal["SkuPricing", "ProductPricing"]
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"]
budget_amount: int
prevent_further_usage: bool
budget_scope: Literal[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class CreateBudgetPropBudgetType(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[CreateBudgetPropBudgetPropBudgetAlertingType]
expires_at: NotRequired[_dt.date]

Expand All @@ -71,7 +71,7 @@ class CreateBudgetPropBudgetTypeForResponse(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[
CreateBudgetPropBudgetPropBudgetAlertingTypeForResponse
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class GetBudgetType(TypedDict):
budget_amount: int
prevent_further_usage: bool
budget_product_sku: str
budget_type: Literal["ProductPricing", "SkuPricing"]
budget_type: Literal["ProductPricing", "SkuPricing", "BundlePricing"]
budget_alerting: GetBudgetPropBudgetAlertingType


Expand All @@ -53,7 +53,7 @@ class GetBudgetTypeForResponse(TypedDict):
budget_amount: int
prevent_further_usage: bool
budget_product_sku: str
budget_type: Literal["ProductPricing", "SkuPricing"]
budget_type: Literal["ProductPricing", "SkuPricing", "BundlePricing"]
budget_alerting: GetBudgetPropBudgetAlertingTypeForResponse


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class UpdateBudgetPropBudgetType(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[UpdateBudgetPropBudgetPropBudgetAlertingType]
expires_at: NotRequired[_dt.date]

Expand All @@ -75,7 +75,7 @@ class UpdateBudgetPropBudgetTypeForResponse(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[
UpdateBudgetPropBudgetPropBudgetAlertingTypeForResponse
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Budget(GitHubModel):
"""Budget"""

id: str = Field(description="The unique identifier for the budget")
budget_type: Literal["SkuPricing", "ProductPricing"] = Field(
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"] = Field(
description="The type of pricing for the budget"
)
budget_amount: int = Field(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class CreateBudgetPropBudget(GitHubModel):
budget_product_sku: Missing[str] = Field(
default=UNSET, description="A single product or sku to apply the budget to."
)
budget_type: Missing[Literal["ProductPricing", "SkuPricing"]] = Field(
default=UNSET, description="The type of pricing for the budget"
budget_type: Missing[Literal["ProductPricing", "SkuPricing", "BundlePricing"]] = (
Field(default=UNSET, description="The type of pricing for the budget")
)
budget_alerting: Missing[CreateBudgetPropBudgetPropBudgetAlerting] = Field(
default=UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class GetBudget(GitHubModel):
budget_product_sku: str = Field(
description="A single product or sku to apply the budget to."
)
budget_type: Literal["ProductPricing", "SkuPricing"] = Field(
budget_type: Literal["ProductPricing", "SkuPricing", "BundlePricing"] = Field(
description="The type of pricing for the budget"
)
budget_alerting: GetBudgetPropBudgetAlerting = Field()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class UpdateBudgetPropBudget(GitHubModel):
budget_product_sku: Missing[str] = Field(
default=UNSET, description="A single product or sku to apply the budget to."
)
budget_type: Missing[Literal["ProductPricing", "SkuPricing"]] = Field(
default=UNSET, description="The type of pricing for the budget"
budget_type: Missing[Literal["ProductPricing", "SkuPricing", "BundlePricing"]] = (
Field(default=UNSET, description="The type of pricing for the budget")
)
budget_alerting: Missing[UpdateBudgetPropBudgetPropBudgetAlerting] = Field(
default=UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class BudgetType(TypedDict):
"""Budget"""

id: str
budget_type: Literal["SkuPricing", "ProductPricing"]
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"]
budget_amount: int
prevent_further_usage: bool
budget_scope: Literal[
Expand All @@ -86,7 +86,7 @@ class BudgetTypeForResponse(TypedDict):
"""Budget"""

id: str
budget_type: Literal["SkuPricing", "ProductPricing"]
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"]
budget_amount: int
prevent_further_usage: bool
budget_scope: Literal[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class CreateBudgetPropBudgetType(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[CreateBudgetPropBudgetPropBudgetAlertingType]
expires_at: NotRequired[_dt.date]

Expand All @@ -71,7 +71,7 @@ class CreateBudgetPropBudgetTypeForResponse(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[
CreateBudgetPropBudgetPropBudgetAlertingTypeForResponse
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class GetBudgetType(TypedDict):
budget_amount: int
prevent_further_usage: bool
budget_product_sku: str
budget_type: Literal["ProductPricing", "SkuPricing"]
budget_type: Literal["ProductPricing", "SkuPricing", "BundlePricing"]
budget_alerting: GetBudgetPropBudgetAlertingType


Expand All @@ -53,7 +53,7 @@ class GetBudgetTypeForResponse(TypedDict):
budget_amount: int
prevent_further_usage: bool
budget_product_sku: str
budget_type: Literal["ProductPricing", "SkuPricing"]
budget_type: Literal["ProductPricing", "SkuPricing", "BundlePricing"]
budget_alerting: GetBudgetPropBudgetAlertingTypeForResponse


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class UpdateBudgetPropBudgetType(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[UpdateBudgetPropBudgetPropBudgetAlertingType]
expires_at: NotRequired[_dt.date]

Expand All @@ -75,7 +75,7 @@ class UpdateBudgetPropBudgetTypeForResponse(TypedDict):
budget_amount: NotRequired[int]
prevent_further_usage: NotRequired[bool]
budget_product_sku: NotRequired[str]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing"]]
budget_type: NotRequired[Literal["ProductPricing", "SkuPricing", "BundlePricing"]]
budget_alerting: NotRequired[
UpdateBudgetPropBudgetPropBudgetAlertingTypeForResponse
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Budget(GitHubModel):
"""Budget"""

id: str = Field(description="The unique identifier for the budget")
budget_type: Literal["SkuPricing", "ProductPricing"] = Field(
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"] = Field(
description="The type of pricing for the budget"
)
budget_amount: int = Field(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class CreateBudgetPropBudget(GitHubModel):
budget_product_sku: Missing[str] = Field(
default=UNSET, description="A single product or sku to apply the budget to."
)
budget_type: Missing[Literal["ProductPricing", "SkuPricing"]] = Field(
default=UNSET, description="The type of pricing for the budget"
budget_type: Missing[Literal["ProductPricing", "SkuPricing", "BundlePricing"]] = (
Field(default=UNSET, description="The type of pricing for the budget")
)
budget_alerting: Missing[CreateBudgetPropBudgetPropBudgetAlerting] = Field(
default=UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class GetBudget(GitHubModel):
budget_product_sku: str = Field(
description="A single product or sku to apply the budget to."
)
budget_type: Literal["ProductPricing", "SkuPricing"] = Field(
budget_type: Literal["ProductPricing", "SkuPricing", "BundlePricing"] = Field(
description="The type of pricing for the budget"
)
budget_alerting: GetBudgetPropBudgetAlerting = Field()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class UpdateBudgetPropBudget(GitHubModel):
budget_product_sku: Missing[str] = Field(
default=UNSET, description="A single product or sku to apply the budget to."
)
budget_type: Missing[Literal["ProductPricing", "SkuPricing"]] = Field(
default=UNSET, description="The type of pricing for the budget"
budget_type: Missing[Literal["ProductPricing", "SkuPricing", "BundlePricing"]] = (
Field(default=UNSET, description="The type of pricing for the budget")
)
budget_alerting: Missing[UpdateBudgetPropBudgetPropBudgetAlerting] = Field(
default=UNSET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class BudgetType(TypedDict):
"""Budget"""

id: str
budget_type: Literal["SkuPricing", "ProductPricing"]
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"]
budget_amount: int
prevent_further_usage: bool
budget_scope: Literal[
Expand All @@ -86,7 +86,7 @@ class BudgetTypeForResponse(TypedDict):
"""Budget"""

id: str
budget_type: Literal["SkuPricing", "ProductPricing"]
budget_type: Literal["SkuPricing", "ProductPricing", "BundlePricing"]
budget_amount: int
prevent_further_usage: bool
budget_scope: Literal[
Expand Down
Loading
Loading