diff --git a/.fern/metadata.json b/.fern/metadata.json index 1ecbba597..7bdf8eb6e 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -15,7 +15,7 @@ "standardwebhooks": ">=1.0.1,<2" } }, - "originGitCommit": "0b195a3785a05d00e470384c3b8eb135aaacc7b6", + "originGitCommit": "7918c03edfdeb0ebe0da9fe420b82e7ff3341b73", "originGitCommitIsDirty": false, "invokedBy": "ci", "requestedVersion": "2.8.1", diff --git a/.fern/replay.lock b/.fern/replay.lock index 2465b90d2..c35178e8b 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -5988,5 +5988,11 @@ generations: cli_version: unknown generator_versions: fernapi/fern-python-sdk: 5.39.2 -current_generation: 8688870552fe441672b026d445a3d44274586e43 + - commit_sha: 1f4803b69c70ff39fb7fdc481751217c17cdb285 + tree_hash: 66b99eb4f08e0c10b82280f89d93972d3252cbbd + timestamp: 2026-11-21T09:07:35.180Z + cli_version: unknown + generator_versions: + fernapi/fern-python-sdk: 5.39.2 +current_generation: 1f4803b69c70ff39fb7fdc481751217c17cdb285 patches: [] diff --git a/src/whop_sdk/types/invoice.py b/src/whop_sdk/types/invoice.py index 93a2172ed..508a98674 100644 --- a/src/whop_sdk/types/invoice.py +++ b/src/whop_sdk/types/invoice.py @@ -72,11 +72,31 @@ class Invoice(UniversalBaseModel): """ payment_method_id: typing.Optional[str] = None + quote_accepted_at: typing.Optional[str] = pydantic.Field(default=None) + """ + When the customer accepted and signed the quote, as an ISO 8601 timestamp. An edit to the draft clears it, unless the edit changes only `recipient_emails`. `null` when the quote was not accepted. + """ + quote_sent_at: typing.Optional[str] = pydantic.Field(default=None) """ When the draft was last emailed to its recipients as a quote, as an ISO 8601 timestamp. A quote stays a draft and cannot be paid. It is not issued on its `due_at`. `null` when the invoice was never sent as a quote. """ + quote_signature_url: typing.Optional[str] = pydantic.Field(default=None) + """ + A link to the signature the customer drew, as a PNG image with a transparent background. The link expires after a short time. `null` when the quote was not accepted, and for a credential without the member:basic:read permission. + """ + + quote_signer_email: typing.Optional[str] = pydantic.Field(default=None) + """ + The email address of the Whop user who signed the quote. `null` when the quote was not accepted, when the signer was not signed in to Whop, and without the member:email:read permission. + """ + + quote_signer_name: typing.Optional[str] = pydantic.Field(default=None) + """ + The full name the customer typed to sign the quote. `null` when the quote was not accepted, and for a credential without the member:basic:read permission. + """ + recipient_emails: typing.List[str] scheduled_charge_at: typing.Optional[str] = pydantic.Field(default=None) """