Skip to content

Commit

Permalink
Update custom_data
Browse files Browse the repository at this point in the history
  • Loading branch information
bgervan committed Jul 1, 2024
1 parent 4876948 commit ec8de33
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion paddle_billing_client/models/address.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AddressBase(BaseModel):
region: str | None = None
country_code: str | None = None
status: Literal["active", "archived"] | None = None
custom_data: dict[str, int | str] | None = None
custom_data: dict[str, int | str | None] | None = None


class Address(AddressBase):
Expand Down
2 changes: 1 addition & 1 deletion paddle_billing_client/models/business.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class BusinessBase(BaseModel):
tax_identifier: str | None = None
contacts: list[Contact]
status: Literal["active", "archived"] | None = None
custom_data: dict[str, int | str] | None = None
custom_data: dict[str, int | str | None] | None = None


class Business(BusinessBase):
Expand Down
2 changes: 1 addition & 1 deletion paddle_billing_client/models/customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CustomerBase(BaseModel):
email: str
name: str | None = None
locale: str | None = None
custom_data: dict[str, int | str] | None = None
custom_data: dict[str, int | str | None] | None = None


class Customer(CustomerBase):
Expand Down
2 changes: 1 addition & 1 deletion paddle_billing_client/models/discount.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class DiscountBase(BaseModel):
restrict_to: list[str] | None = None
expires_at: datetime | None = None
status: Literal["active", "archived", "expired", "used"] | None = None
custom_data: dict[str, int | str] | None = None
custom_data: dict[str, int | str | None] | None = None


class Discount(DiscountBase):
Expand Down
2 changes: 1 addition & 1 deletion paddle_billing_client/models/price.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class PriceBase(BaseModel):
tax_mode: str
unit_price_overrides: list[UnitPriceOverride] | None = None
quantity: Quantity | None = None
custom_data: dict[str, int | str] | None = None
custom_data: dict[str, int | str | None] | None = None
type: Literal["custom", "standard"] | None = None
name: str | None = None

Expand Down
2 changes: 1 addition & 1 deletion paddle_billing_client/models/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ProductBase(BaseModel):
]
description: str | None = None
image_url: str | None = None
custom_data: dict[str, int | str] | None = None
custom_data: dict[str, int | str | None] | None = None
status: Literal["active", "archived"] | None = None
type: Literal["custom", "standard"] | None = None

Expand Down
2 changes: 1 addition & 1 deletion paddle_billing_client/models/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class SubscriptionBase(BaseModel):
recurring_transaction_details: dict | None = None
scheduled_change: ScheduledChange | None = None
items: list[Item] | None = None
custom_data: dict[str, int | str] | None = None
custom_data: dict[str, int | str | None] | None = None
management_urls: dict | None = None
discount: SubscriptionDiscount | None = None

Expand Down
2 changes: 1 addition & 1 deletion paddle_billing_client/models/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class TransactionBase(BaseModel):
address_id: str | None = None
business_id: str | None = None
discount_id: str | None = None
custom_data: dict[str, int | str] | None = None
custom_data: dict[str, int | str | None] | None = None
collection_mode: Literal["automatic", "manual"] | None = None
billing_details: BillingDetails | None = None
billing_period: BillingPeriod | None = None
Expand Down

0 comments on commit ec8de33

Please sign in to comment.