diff --git a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0100.py b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0100.py index 2883b14b83..7ce7f6fa4b 100644 --- a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0100.py +++ b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0100.py @@ -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( diff --git a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0101.py b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0101.py index a8f58bc4fe..ddeb79f2c3 100644 --- a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0101.py +++ b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0101.py @@ -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 diff --git a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0102.py b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0102.py index 1d9b467cb9..3de6069aef 100644 --- a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0102.py +++ b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0102.py @@ -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() diff --git a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0103.py b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0103.py index 130701b9c6..565f1ea9b2 100644 --- a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0103.py +++ b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/models/group_0103.py @@ -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 diff --git a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0100.py b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0100.py index 3d73b9e70e..f6f0bc741d 100644 --- a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0100.py +++ b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0100.py @@ -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[ @@ -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[ diff --git a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0101.py b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0101.py index 635bcec903..8b299575dd 100644 --- a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0101.py +++ b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0101.py @@ -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] @@ -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 ] diff --git a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0102.py b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0102.py index 9b09b16fd3..12e77a9013 100644 --- a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0102.py +++ b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0102.py @@ -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 @@ -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 diff --git a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0103.py b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0103.py index adbc99bfe8..ba4d68b555 100644 --- a/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0103.py +++ b/packages/githubkit-schemas-2022-11-28/githubkit_schemas/v2022_11_28/types/group_0103.py @@ -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] @@ -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 ] diff --git a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0100.py b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0100.py index 2883b14b83..7ce7f6fa4b 100644 --- a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0100.py +++ b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0100.py @@ -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( diff --git a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0101.py b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0101.py index a8f58bc4fe..ddeb79f2c3 100644 --- a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0101.py +++ b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0101.py @@ -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 diff --git a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0102.py b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0102.py index 1d9b467cb9..3de6069aef 100644 --- a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0102.py +++ b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0102.py @@ -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() diff --git a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0103.py b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0103.py index 130701b9c6..565f1ea9b2 100644 --- a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0103.py +++ b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/models/group_0103.py @@ -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 diff --git a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0100.py b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0100.py index 3d73b9e70e..f6f0bc741d 100644 --- a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0100.py +++ b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0100.py @@ -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[ @@ -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[ diff --git a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0101.py b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0101.py index 635bcec903..8b299575dd 100644 --- a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0101.py +++ b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0101.py @@ -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] @@ -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 ] diff --git a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0102.py b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0102.py index 9b09b16fd3..12e77a9013 100644 --- a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0102.py +++ b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0102.py @@ -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 @@ -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 diff --git a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0103.py b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0103.py index adbc99bfe8..ba4d68b555 100644 --- a/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0103.py +++ b/packages/githubkit-schemas-2026-03-10/githubkit_schemas/v2026_03_10/types/group_0103.py @@ -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] @@ -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 ] diff --git a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0195.py b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0195.py index 2883b14b83..7ce7f6fa4b 100644 --- a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0195.py +++ b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0195.py @@ -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( diff --git a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0196.py b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0196.py index a8f58bc4fe..ddeb79f2c3 100644 --- a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0196.py +++ b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0196.py @@ -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 diff --git a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0197.py b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0197.py index 1d9b467cb9..3de6069aef 100644 --- a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0197.py +++ b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0197.py @@ -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() diff --git a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0198.py b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0198.py index 130701b9c6..565f1ea9b2 100644 --- a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0198.py +++ b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/models/group_0198.py @@ -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 diff --git a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0195.py b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0195.py index 3d73b9e70e..f6f0bc741d 100644 --- a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0195.py +++ b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0195.py @@ -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[ @@ -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[ diff --git a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0196.py b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0196.py index 635bcec903..8b299575dd 100644 --- a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0196.py +++ b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0196.py @@ -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] @@ -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 ] diff --git a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0197.py b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0197.py index 9b09b16fd3..12e77a9013 100644 --- a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0197.py +++ b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0197.py @@ -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 @@ -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 diff --git a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0198.py b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0198.py index adbc99bfe8..ba4d68b555 100644 --- a/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0198.py +++ b/packages/githubkit-schemas-ghec-2022-11-28/githubkit_schemas/ghec_v2022_11_28/types/group_0198.py @@ -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] @@ -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 ] diff --git a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0195.py b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0195.py index 2883b14b83..7ce7f6fa4b 100644 --- a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0195.py +++ b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0195.py @@ -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( diff --git a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0196.py b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0196.py index a8f58bc4fe..ddeb79f2c3 100644 --- a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0196.py +++ b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0196.py @@ -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 diff --git a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0197.py b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0197.py index 1d9b467cb9..3de6069aef 100644 --- a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0197.py +++ b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0197.py @@ -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() diff --git a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0198.py b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0198.py index 130701b9c6..565f1ea9b2 100644 --- a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0198.py +++ b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/models/group_0198.py @@ -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 diff --git a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0195.py b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0195.py index 3d73b9e70e..f6f0bc741d 100644 --- a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0195.py +++ b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0195.py @@ -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[ @@ -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[ diff --git a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0196.py b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0196.py index 635bcec903..8b299575dd 100644 --- a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0196.py +++ b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0196.py @@ -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] @@ -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 ] diff --git a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0197.py b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0197.py index 9b09b16fd3..12e77a9013 100644 --- a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0197.py +++ b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0197.py @@ -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 @@ -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 diff --git a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0198.py b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0198.py index adbc99bfe8..ba4d68b555 100644 --- a/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0198.py +++ b/packages/githubkit-schemas-ghec-2026-03-10/githubkit_schemas/ghec_v2026_03_10/types/group_0198.py @@ -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] @@ -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 ] diff --git a/packages/githubkit-schemas/githubkit_schemas/versions.lock b/packages/githubkit-schemas/githubkit_schemas/versions.lock index 389218b526..8f4308f9e9 100644 --- a/packages/githubkit-schemas/githubkit_schemas/versions.lock +++ b/packages/githubkit-schemas/githubkit_schemas/versions.lock @@ -110,6 +110,10 @@ target_descriptions = ["ghec-2022-11-28", "ghec-2026-03-10"] "/components/schemas/diff-entry/properties/raw_url" = {type = ["string", "null"]} "/components/schemas/diff-entry/properties/sha" = {type = ["string", "null"]} "/components/schemas/app-permissions/properties/organization_copilot_seat_management/enum" = {"" = ["read"]} +"/components/schemas/budget/properties/budget_type/oneOf" = {"" = [{type = "string", enum = ["BundlePricing"]}]} +"/components/schemas/create-budget/properties/budget/properties/budget_type/oneOf" = {"" = [{type = "string", enum = ["BundlePricing"]}]} +"/components/schemas/get-budget/properties/budget_type/oneOf" = {"" = [{type = "string", enum = ["BundlePricing"]}]} +"/components/schemas/update-budget/properties/budget/properties/budget_type/oneOf" = {"" = [{type = "string", enum = ["BundlePricing"]}]} "/components/parameters/created/schema" = {format = ""} "/components/schemas/simple-classroom-assignment/properties/editor" = {type = ["string", "null"]} "/components/schemas/simple-classroom-assignment/properties/language" = {type = ["string", "null"]} diff --git a/pyproject.toml b/pyproject.toml index 8263a10dab..4800fc5dac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -465,6 +465,29 @@ target_descriptions = ["ghec-2022-11-28", "ghec-2026-03-10"] "read", ] } +# https://github.com/yanyongyu/githubkit/issues/322 +# budget type can be "BundlePricing" +"/components/schemas/budget/properties/budget_type/oneOf" = { "" = [ + { "type" = "string", "enum" = [ + "BundlePricing", + ] }, +] } +"/components/schemas/create-budget/properties/budget/properties/budget_type/oneOf" = { "" = [ + { "type" = "string", "enum" = [ + "BundlePricing", + ] }, +] } +"/components/schemas/get-budget/properties/budget_type/oneOf" = { "" = [ + { "type" = "string", "enum" = [ + "BundlePricing", + ] }, +] } +"/components/schemas/update-budget/properties/budget/properties/budget_type/oneOf" = { "" = [ + { "type" = "string", "enum" = [ + "BundlePricing", + ] }, +] } + # date-time search syntax should be string # https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates "/components/parameters/created/schema" = { format = "" } diff --git a/scripts/run-codegen.sh b/scripts/run-codegen.sh index c9af7f83c7..ff11f6a2b9 100755 --- a/scripts/run-codegen.sh +++ b/scripts/run-codegen.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -e +set -ex # cd to the root of the project cd "$(dirname "$0")/.."