diff --git a/robosystems_client/api/billing/create_checkout_session.py b/robosystems_client/api/billing/create_checkout_session.py index 93a5152a..f0b5cdfe 100644 --- a/robosystems_client/api/billing/create_checkout_session.py +++ b/robosystems_client/api/billing/create_checkout_session.py @@ -99,7 +99,8 @@ def sync_detailed( Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns - billing_disabled=true with no URL when billing is off. Requires org owner role. + billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free + trial asks for no card but needs a verified email: an unverified account starting one gets 403. Args: body (CreateCheckoutRequest): Request to create a checkout session for payment collection. @@ -132,7 +133,8 @@ def sync( Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns - billing_disabled=true with no URL when billing is off. Requires org owner role. + billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free + trial asks for no card but needs a verified email: an unverified account starting one gets 403. Args: body (CreateCheckoutRequest): Request to create a checkout session for payment collection. @@ -160,7 +162,8 @@ async def asyncio_detailed( Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns - billing_disabled=true with no URL when billing is off. Requires org owner role. + billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free + trial asks for no card but needs a verified email: an unverified account starting one gets 403. Args: body (CreateCheckoutRequest): Request to create a checkout session for payment collection. @@ -191,7 +194,8 @@ async def asyncio( Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns - billing_disabled=true with no URL when billing is off. Requires org owner role. + billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free + trial asks for no card but needs a verified email: an unverified account starting one gets 403. Args: body (CreateCheckoutRequest): Request to create a checkout session for payment collection. diff --git a/robosystems_client/api/subscriptions/end_repository_subscription_trial.py b/robosystems_client/api/subscriptions/end_repository_subscription_trial.py index fa420d22..f4e397f0 100644 --- a/robosystems_client/api/subscriptions/end_repository_subscription_trial.py +++ b/robosystems_client/api/subscriptions/end_repository_subscription_trial.py @@ -95,7 +95,8 @@ def sync_detailed( End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the - payment clears, usually within a minute. Returns 400 when the subscription is not on a trial. + payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or + when no payment method is on file yet. Args: graph_id (str): Repository name (e.g., 'sec') @@ -128,7 +129,8 @@ def sync( End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the - payment clears, usually within a minute. Returns 400 when the subscription is not on a trial. + payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or + when no payment method is on file yet. Args: graph_id (str): Repository name (e.g., 'sec') @@ -156,7 +158,8 @@ async def asyncio_detailed( End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the - payment clears, usually within a minute. Returns 400 when the subscription is not on a trial. + payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or + when no payment method is on file yet. Args: graph_id (str): Repository name (e.g., 'sec') @@ -187,7 +190,8 @@ async def asyncio( End your free trial of a shared repository now and start the paid plan. The first period is charged to the payment method on file; raw queries, the AI analyst and the plan's credits open once the - payment clears, usually within a minute. Returns 400 when the subscription is not on a trial. + payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or + when no payment method is on file yet. Args: graph_id (str): Repository name (e.g., 'sec') diff --git a/robosystems_client/models/graph_subscription_response.py b/robosystems_client/models/graph_subscription_response.py index 8ccae461..26504a4e 100644 --- a/robosystems_client/models/graph_subscription_response.py +++ b/robosystems_client/models/graph_subscription_response.py @@ -31,8 +31,9 @@ class GraphSubscriptionResponse: current_period_end (None | str | Unset): Current billing period end started_at (None | str | Unset): Subscription start date canceled_at (None | str | Unset): Cancellation date - trial_ends_at (None | str | Unset): When the free trial ends and the first charge is made. Null for a - subscription that opened without a trial; kept after the trial is over. + trial_ends_at (None | str | Unset): When the free trial ends: the first charge is made then to a card on file, + and with none the subscription ends. Null for a subscription that opened without a trial; kept after the trial + is over. ends_at (None | str | Unset): Subscription end date (when access will be revoked, especially relevant for cancelled subscriptions) operation_id (None | str | Unset): Operation ID for tracking async tier changes via SSE