Skip to content

Conversation

ReneFromFactorialBiomechanics

Adds missing trial_period_days field to CommonSessionCreateParams in the client SDK.

This resolves a false-positive TypeScript error when using the createCheckoutSession function with a trial period, even though the backend supports it as of commit e9ee79e (January 2024).

This change improves developer experience by aligning the client-side types with the backend implementation and avoiding misleading IDE or build-time errors.

Adds missing `trial_period_days` field to `CommonSessionCreateParams` in the client SDK.

This resolves a false-positive TypeScript error when using the `createCheckoutSession` function with a trial period, even though the backend supports it as of commit e9ee79e (January 2024).

This change improves developer experience by aligning the client-side types with the backend implementation and avoiding misleading IDE or build-time errors.
@CLAassistant
Copy link

CLAassistant commented May 1, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants