stigg-api-client-v2 3.66.0__tar.gz → 3.70.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/PKG-INFO +1 -1
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/pyproject.toml +1 -1
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/__init__.py +46 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/async_client.py +46 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/client.py +46 -0
- stigg_api_client_v2-3.70.0/stigg/generated/create_payment_session.py +20 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/enums.py +21 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/fragments.py +227 -194
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/input_types.py +152 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/LICENSE +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/README.md +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/__init__.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_edge_utils.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/__init__.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/__init__.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_config.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_core_metadata.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_core_utils.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_dataclasses.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_decorators.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_decorators_v1.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_discriminated_union.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_fields.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_forward_ref.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_generate_schema.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_generics.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_git.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_internal_dataclass.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_known_annotated_metadata.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_mock_val_ser.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_model_construction.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_repr.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_schema_generation_shared.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_signature.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_std_types_schema.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_typing_extra.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_utils.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_validate_call.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_internal/_validators.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/_migration.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/alias_generators.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/aliases.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/annotated_handlers.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/class_validators.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/color.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/config.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/dataclasses.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/datetime_parse.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/decorator.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/deprecated/__init__.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/deprecated/class_validators.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/deprecated/config.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/deprecated/copy_internals.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/deprecated/decorator.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/deprecated/json.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/deprecated/parse.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/deprecated/tools.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/env_settings.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/error_wrappers.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/errors.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/fields.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/functional_serializers.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/functional_validators.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/generics.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/json.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/json_schema.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/main.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/mypy.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/networks.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/parse.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/plugin/__init__.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/plugin/_loader.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/plugin/_schema_validator.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/py.typed +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/root_model.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/schema.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/tools.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/type_adapter.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/types.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/typing.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/utils.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/__init__.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/_hypothesis_plugin.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/annotated_types.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/class_validators.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/color.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/config.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/dataclasses.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/datetime_parse.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/decorator.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/env_settings.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/error_wrappers.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/errors.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/fields.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/generics.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/json.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/main.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/mypy.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/networks.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/parse.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/py.typed +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/schema.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/tools.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/types.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/typing.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/utils.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/validators.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/v1/version.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/validate_call_decorator.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/validators.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/version.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic/warnings.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic-2.6.4.dist-info/INSTALLER +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic-2.6.4.dist-info/METADATA +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic-2.6.4.dist-info/RECORD +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/client.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/apply_subscription.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/archive_customer.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/async_base_client.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/base_client.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/base_model.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/cancel_subscription.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/cancel_subscription_updates.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/create_subscription.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/delegate_subscription_to_customer.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/detach_customer_payment_method.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/estimate_subscription.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/estimate_subscription_update.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/exceptions.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_active_subscriptions.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_active_subscriptions_list.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_checkout_state.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_coupons.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_credit_balance.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_credit_grants.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_customer_by_id.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_customer_portal_by_ref_id.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_customer_statistics.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_entitlement.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_entitlements.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_mock_paywall.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_paywall.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_products.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_sdk_configuration.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_subscription.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_subscriptions.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_usage_history.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/get_usage_history_v_2.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/grant_credits.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/grant_promotional_entitlements.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/grant_promotional_entitlements_group.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/import_customer.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/import_customer_bulk.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/import_subscriptions_bulk.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/migrate_subscription_to_latest.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/preview_next_invoice.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/preview_subscription.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/provision_customer.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/provision_subscription.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/report_entitlement_check_requested.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/report_event.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/report_usage.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/report_usage_bulk.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/revoke_promotional_entitlement.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/revoke_promotional_entitlements_group.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/transfer_subscription.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/transfer_subscription_to_resource.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/unarchive_customer.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/unlink_promotional_entitlements_group.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/update_customer.py +0 -0
- {stigg_api_client_v2-3.66.0 → stigg_api_client_v2-3.70.0}/stigg/generated/update_subscription.py +0 -0
|
@@ -10,6 +10,10 @@ from .cancel_subscription import (
|
|
|
10
10
|
CancelSubscriptionCancelSubscription,
|
|
11
11
|
)
|
|
12
12
|
from .cancel_subscription_updates import CancelSubscriptionUpdates
|
|
13
|
+
from .create_payment_session import (
|
|
14
|
+
CreatePaymentSession,
|
|
15
|
+
CreatePaymentSessionCreatePaymentSession,
|
|
16
|
+
)
|
|
13
17
|
from .create_subscription import (
|
|
14
18
|
CreateSubscription,
|
|
15
19
|
CreateSubscriptionCreateSubscription,
|
|
@@ -82,6 +86,8 @@ from .enums import (
|
|
|
82
86
|
MemberStatus,
|
|
83
87
|
MeterType,
|
|
84
88
|
MonthlyAccordingTo,
|
|
89
|
+
OfferSortFields,
|
|
90
|
+
OfferStatus,
|
|
85
91
|
OverageBillingPeriod,
|
|
86
92
|
PackageDTOSortFields,
|
|
87
93
|
PackageEntitlementSortFields,
|
|
@@ -175,6 +181,8 @@ from .fragments import (
|
|
|
175
181
|
CheckoutStateFragment,
|
|
176
182
|
CheckoutStateFragmentActiveSubscription,
|
|
177
183
|
CheckoutStateFragmentBillingIntegration,
|
|
184
|
+
CheckoutStateFragmentBillingIntegrationBillingCredentialsStripeCheckoutCredentials,
|
|
185
|
+
CheckoutStateFragmentBillingIntegrationBillingCredentialsZuoraCheckoutCredentials,
|
|
178
186
|
CheckoutStateFragmentBillingIntegrationCredentials,
|
|
179
187
|
CheckoutStateFragmentConfiguration,
|
|
180
188
|
CheckoutStateFragmentCustomer,
|
|
@@ -315,6 +323,7 @@ from .fragments import (
|
|
|
315
323
|
PackageEntitlementFragmentFeature,
|
|
316
324
|
PackagePublishedPayload,
|
|
317
325
|
PageInfoFragment,
|
|
326
|
+
PaymentSessionFragment,
|
|
318
327
|
PaywallCalculatedPricePointsFragment,
|
|
319
328
|
PaywallCalculatedPricePointsFragmentFeature,
|
|
320
329
|
PaywallConfigurationFragment,
|
|
@@ -385,6 +394,7 @@ from .fragments import (
|
|
|
385
394
|
SlimSubscriptionFragmentV2Plan,
|
|
386
395
|
SlimSubscriptionFragmentV2Resource,
|
|
387
396
|
SlimSubscriptionFragmentV2TrialConfiguration,
|
|
397
|
+
StripeCheckoutCredentialsFragment,
|
|
388
398
|
SubscriptionFragment,
|
|
389
399
|
SubscriptionFragmentAddons,
|
|
390
400
|
SubscriptionFragmentAddonsAddon,
|
|
@@ -519,6 +529,7 @@ from .fragments import (
|
|
|
519
529
|
UsageHistoryV2FragmentSeriesPoints,
|
|
520
530
|
UsageHistoryV2FragmentSeriesTags,
|
|
521
531
|
UsageUpdatedFragment,
|
|
532
|
+
ZuoraCheckoutCredentialsFragment,
|
|
522
533
|
)
|
|
523
534
|
from .get_active_subscriptions import (
|
|
524
535
|
GetActiveSubscriptions,
|
|
@@ -593,6 +604,7 @@ from .input_types import (
|
|
|
593
604
|
AddonAssociatedEntitiesInput,
|
|
594
605
|
AddonCreateInput,
|
|
595
606
|
AddonFilter,
|
|
607
|
+
AddonFilterOfferFilter,
|
|
596
608
|
AddonSort,
|
|
597
609
|
AddonUnArchiveInput,
|
|
598
610
|
AddonUpdateInput,
|
|
@@ -643,6 +655,8 @@ from .input_types import (
|
|
|
643
655
|
CreateManyPackageEntitlementsInput,
|
|
644
656
|
CreateManyPromotionalEntitlementsInput,
|
|
645
657
|
CreateMeter,
|
|
658
|
+
CreateOfferDraftInput,
|
|
659
|
+
CreateOfferInput,
|
|
646
660
|
CreateOneEnvironmentInput,
|
|
647
661
|
CreateOneHookInput,
|
|
648
662
|
CreateOneIntegrationInput,
|
|
@@ -740,6 +754,7 @@ from .input_types import (
|
|
|
740
754
|
GetAuth0ApplicationsInput,
|
|
741
755
|
GetCreditGrantsInput,
|
|
742
756
|
GetCustomerByRefIdInput,
|
|
757
|
+
GetOfferInput,
|
|
743
758
|
GetPackageByRefIdInput,
|
|
744
759
|
GetPackageGroup,
|
|
745
760
|
GetPaywallInput,
|
|
@@ -786,10 +801,14 @@ from .input_types import (
|
|
|
786
801
|
MonthlyResetPeriodConfigInput,
|
|
787
802
|
NumberFieldComparison,
|
|
788
803
|
NumberFieldComparisonBetween,
|
|
804
|
+
OfferFilter,
|
|
805
|
+
OfferSort,
|
|
806
|
+
OfferStatusFilterComparison,
|
|
789
807
|
OpenFGACredentialsInput,
|
|
790
808
|
OverageEntitlementCreateInput,
|
|
791
809
|
OveragePricingModelCreateInput,
|
|
792
810
|
PackageDTOFilter,
|
|
811
|
+
PackageDTOFilterOfferFilter,
|
|
793
812
|
PackageDTOSort,
|
|
794
813
|
PackageEntitlementFilter,
|
|
795
814
|
PackageEntitlementFilterFeatureFilter,
|
|
@@ -812,6 +831,7 @@ from .input_types import (
|
|
|
812
831
|
PlanCreateInput,
|
|
813
832
|
PlanFilter,
|
|
814
833
|
PlanFilterAddonFilter,
|
|
834
|
+
PlanFilterOfferFilter,
|
|
815
835
|
PlanFilterProductFilter,
|
|
816
836
|
PlanSort,
|
|
817
837
|
PlanUpdateInput,
|
|
@@ -841,6 +861,7 @@ from .input_types import (
|
|
|
841
861
|
ProvisionSandboxInput,
|
|
842
862
|
ProvisionSubscription,
|
|
843
863
|
ProvisionSubscriptionInput,
|
|
864
|
+
PublishOfferInput,
|
|
844
865
|
RecalculateEntitlementsInput,
|
|
845
866
|
RecalculateEntitlementsSideEffectsOptionsInput,
|
|
846
867
|
RemoveBasePlanFromPlanInput,
|
|
@@ -849,6 +870,7 @@ from .input_types import (
|
|
|
849
870
|
RemoveExperimentFromCustomerInput,
|
|
850
871
|
RemoveExperimentFromCustomerSubscriptionInput,
|
|
851
872
|
RemoveFeatureGroupFromPackageInput,
|
|
873
|
+
RemoveOfferDraftInput,
|
|
852
874
|
ReportUsageBaseInput,
|
|
853
875
|
ReportUsageBulkInput,
|
|
854
876
|
ReportUsageInput,
|
|
@@ -860,6 +882,7 @@ from .input_types import (
|
|
|
860
882
|
SetBasePlanOnPlanInput,
|
|
861
883
|
SetCompatibleAddonsOnPlanInput,
|
|
862
884
|
SetCouponOnCustomerInput,
|
|
885
|
+
SetDefaultOfferInput,
|
|
863
886
|
SetExperimentOnCustomerInput,
|
|
864
887
|
SetExperimentOnCustomerSubscriptionInput,
|
|
865
888
|
SetPackageGroupAddons,
|
|
@@ -937,6 +960,7 @@ from .input_types import (
|
|
|
937
960
|
UpdateFeatureInput,
|
|
938
961
|
UpdateHook,
|
|
939
962
|
UpdateIntegrationInput,
|
|
963
|
+
UpdateOfferInput,
|
|
940
964
|
UpdateOneEnvironmentInput,
|
|
941
965
|
UpdateOneHookInput,
|
|
942
966
|
UpdateOneIntegrationInput,
|
|
@@ -1027,6 +1051,7 @@ __all__ = [
|
|
|
1027
1051
|
"AddonCreateInput",
|
|
1028
1052
|
"AddonDependencyFragment",
|
|
1029
1053
|
"AddonFilter",
|
|
1054
|
+
"AddonFilterOfferFilter",
|
|
1030
1055
|
"AddonFragment",
|
|
1031
1056
|
"AddonFragmentDependencies",
|
|
1032
1057
|
"AddonFragmentEntitlements",
|
|
@@ -1096,6 +1121,8 @@ __all__ = [
|
|
|
1096
1121
|
"CheckoutStateFragment",
|
|
1097
1122
|
"CheckoutStateFragmentActiveSubscription",
|
|
1098
1123
|
"CheckoutStateFragmentBillingIntegration",
|
|
1124
|
+
"CheckoutStateFragmentBillingIntegrationBillingCredentialsStripeCheckoutCredentials",
|
|
1125
|
+
"CheckoutStateFragmentBillingIntegrationBillingCredentialsZuoraCheckoutCredentials",
|
|
1099
1126
|
"CheckoutStateFragmentBillingIntegrationCredentials",
|
|
1100
1127
|
"CheckoutStateFragmentConfiguration",
|
|
1101
1128
|
"CheckoutStateFragmentCustomer",
|
|
@@ -1127,12 +1154,16 @@ __all__ = [
|
|
|
1127
1154
|
"CreateManyPackageEntitlementsInput",
|
|
1128
1155
|
"CreateManyPromotionalEntitlementsInput",
|
|
1129
1156
|
"CreateMeter",
|
|
1157
|
+
"CreateOfferDraftInput",
|
|
1158
|
+
"CreateOfferInput",
|
|
1130
1159
|
"CreateOneEnvironmentInput",
|
|
1131
1160
|
"CreateOneHookInput",
|
|
1132
1161
|
"CreateOneIntegrationInput",
|
|
1133
1162
|
"CreateOneProductInput",
|
|
1134
1163
|
"CreateOrUpdateAwsMarketplaceProductInput",
|
|
1135
1164
|
"CreatePackageGroup",
|
|
1165
|
+
"CreatePaymentSession",
|
|
1166
|
+
"CreatePaymentSessionCreatePaymentSession",
|
|
1136
1167
|
"CreateSubscription",
|
|
1137
1168
|
"CreateSubscriptionCreateSubscription",
|
|
1138
1169
|
"CreateWorkflowTriggerInput",
|
|
@@ -1373,6 +1404,7 @@ __all__ = [
|
|
|
1373
1404
|
"GetMockPaywallMockPaywall",
|
|
1374
1405
|
"GetMockPaywallMockPaywallConfiguration",
|
|
1375
1406
|
"GetMockPaywallMockPaywallPlans",
|
|
1407
|
+
"GetOfferInput",
|
|
1376
1408
|
"GetPackageByRefIdInput",
|
|
1377
1409
|
"GetPackageGroup",
|
|
1378
1410
|
"GetPaywall",
|
|
@@ -1506,6 +1538,11 @@ __all__ = [
|
|
|
1506
1538
|
"MonthlyResetPeriodConfigInput",
|
|
1507
1539
|
"NumberFieldComparison",
|
|
1508
1540
|
"NumberFieldComparisonBetween",
|
|
1541
|
+
"OfferFilter",
|
|
1542
|
+
"OfferSort",
|
|
1543
|
+
"OfferSortFields",
|
|
1544
|
+
"OfferStatus",
|
|
1545
|
+
"OfferStatusFilterComparison",
|
|
1509
1546
|
"OpenFGACredentialsInput",
|
|
1510
1547
|
"OverageBillingPeriod",
|
|
1511
1548
|
"OverageEntitlementCreateInput",
|
|
@@ -1515,6 +1552,7 @@ __all__ = [
|
|
|
1515
1552
|
"OveragePriceFragmentTiers",
|
|
1516
1553
|
"OveragePricingModelCreateInput",
|
|
1517
1554
|
"PackageDTOFilter",
|
|
1555
|
+
"PackageDTOFilterOfferFilter",
|
|
1518
1556
|
"PackageDTOSort",
|
|
1519
1557
|
"PackageDTOSortFields",
|
|
1520
1558
|
"PackageEntitlementFilter",
|
|
@@ -1542,6 +1580,7 @@ __all__ = [
|
|
|
1542
1580
|
"PaymentCollectionFilterComparison",
|
|
1543
1581
|
"PaymentCollectionMethod",
|
|
1544
1582
|
"PaymentMethodType",
|
|
1583
|
+
"PaymentSessionFragment",
|
|
1545
1584
|
"PaymentSessionInput",
|
|
1546
1585
|
"PaywallCalculatedPricePointsFragment",
|
|
1547
1586
|
"PaywallCalculatedPricePointsFragmentFeature",
|
|
@@ -1568,6 +1607,7 @@ __all__ = [
|
|
|
1568
1607
|
"PlanCreateInput",
|
|
1569
1608
|
"PlanFilter",
|
|
1570
1609
|
"PlanFilterAddonFilter",
|
|
1610
|
+
"PlanFilterOfferFilter",
|
|
1571
1611
|
"PlanFilterProductFilter",
|
|
1572
1612
|
"PlanFragment",
|
|
1573
1613
|
"PlanFragmentBasePlan",
|
|
@@ -1646,6 +1686,7 @@ __all__ = [
|
|
|
1646
1686
|
"ProvisionSubscriptionProvisionSubscription",
|
|
1647
1687
|
"ProvisionSubscriptionStatus",
|
|
1648
1688
|
"PublishMigrationType",
|
|
1689
|
+
"PublishOfferInput",
|
|
1649
1690
|
"RecalculateEntitlementsInput",
|
|
1650
1691
|
"RecalculateEntitlementsSideEffectsOptionsInput",
|
|
1651
1692
|
"RemoveBasePlanFromPlanInput",
|
|
@@ -1654,6 +1695,7 @@ __all__ = [
|
|
|
1654
1695
|
"RemoveExperimentFromCustomerInput",
|
|
1655
1696
|
"RemoveExperimentFromCustomerSubscriptionInput",
|
|
1656
1697
|
"RemoveFeatureGroupFromPackageInput",
|
|
1698
|
+
"RemoveOfferDraftInput",
|
|
1657
1699
|
"ReportEntitlementCheckRequested",
|
|
1658
1700
|
"ReportEvent",
|
|
1659
1701
|
"ReportUsage",
|
|
@@ -1677,6 +1719,7 @@ __all__ = [
|
|
|
1677
1719
|
"SetBasePlanOnPlanInput",
|
|
1678
1720
|
"SetCompatibleAddonsOnPlanInput",
|
|
1679
1721
|
"SetCouponOnCustomerInput",
|
|
1722
|
+
"SetDefaultOfferInput",
|
|
1680
1723
|
"SetExperimentOnCustomerInput",
|
|
1681
1724
|
"SetExperimentOnCustomerSubscriptionInput",
|
|
1682
1725
|
"SetPackageGroupAddons",
|
|
@@ -1710,6 +1753,7 @@ __all__ = [
|
|
|
1710
1753
|
"StartExperimentInput",
|
|
1711
1754
|
"StopExperimentInput",
|
|
1712
1755
|
"StringFieldComparison",
|
|
1756
|
+
"StripeCheckoutCredentialsFragment",
|
|
1713
1757
|
"StripeCredentialsInput",
|
|
1714
1758
|
"StripeCustomerSearchInput",
|
|
1715
1759
|
"StripeProductSearchInput",
|
|
@@ -1937,6 +1981,7 @@ __all__ = [
|
|
|
1937
1981
|
"UpdateFeatureInput",
|
|
1938
1982
|
"UpdateHook",
|
|
1939
1983
|
"UpdateIntegrationInput",
|
|
1984
|
+
"UpdateOfferInput",
|
|
1940
1985
|
"UpdateOneEnvironmentInput",
|
|
1941
1986
|
"UpdateOneHookInput",
|
|
1942
1987
|
"UpdateOneIntegrationInput",
|
|
@@ -1988,6 +2033,7 @@ __all__ = [
|
|
|
1988
2033
|
"WorkflowsLoginInput",
|
|
1989
2034
|
"YearlyAccordingTo",
|
|
1990
2035
|
"YearlyResetPeriodConfigInput",
|
|
2036
|
+
"ZuoraCheckoutCredentialsFragment",
|
|
1991
2037
|
"ZuoraCredentialsInput",
|
|
1992
2038
|
"experimentGroupType",
|
|
1993
2039
|
]
|
|
@@ -9,6 +9,7 @@ from .async_base_client import AsyncBaseClient
|
|
|
9
9
|
from .base_model import UNSET, UnsetType
|
|
10
10
|
from .cancel_subscription import CancelSubscription
|
|
11
11
|
from .cancel_subscription_updates import CancelSubscriptionUpdates
|
|
12
|
+
from .create_payment_session import CreatePaymentSession
|
|
12
13
|
from .create_subscription import CreateSubscription
|
|
13
14
|
from .delegate_subscription_to_customer import DelegateSubscriptionToCustomer
|
|
14
15
|
from .detach_customer_payment_method import DetachCustomerPaymentMethod
|
|
@@ -64,6 +65,7 @@ from .input_types import (
|
|
|
64
65
|
ImportCustomerBulkInput,
|
|
65
66
|
ImportCustomerInput,
|
|
66
67
|
ImportSubscriptionsBulkInput,
|
|
68
|
+
PaymentSessionInput,
|
|
67
69
|
PreviewNextInvoiceInput,
|
|
68
70
|
PreviewSubscriptionInput,
|
|
69
71
|
ProvisionCustomerInput,
|
|
@@ -3081,6 +3083,32 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3081
3083
|
data = self.get_data(response)
|
|
3082
3084
|
return UnlinkPromotionalEntitlementsGroup.model_validate(data)
|
|
3083
3085
|
|
|
3086
|
+
async def create_payment_session(
|
|
3087
|
+
self, input: PaymentSessionInput, **kwargs: Any
|
|
3088
|
+
) -> CreatePaymentSession:
|
|
3089
|
+
query = gql(
|
|
3090
|
+
"""
|
|
3091
|
+
mutation CreatePaymentSession($input: PaymentSessionInput!) {
|
|
3092
|
+
createPaymentSession(input: $input) {
|
|
3093
|
+
...PaymentSessionFragment
|
|
3094
|
+
}
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
fragment PaymentSessionFragment on PaymentSession {
|
|
3098
|
+
token
|
|
3099
|
+
}
|
|
3100
|
+
"""
|
|
3101
|
+
)
|
|
3102
|
+
variables: Dict[str, object] = {"input": input}
|
|
3103
|
+
response = await self.execute(
|
|
3104
|
+
query=query,
|
|
3105
|
+
operation_name="CreatePaymentSession",
|
|
3106
|
+
variables=variables,
|
|
3107
|
+
**kwargs
|
|
3108
|
+
)
|
|
3109
|
+
data = self.get_data(response)
|
|
3110
|
+
return CreatePaymentSession.model_validate(data)
|
|
3111
|
+
|
|
3084
3112
|
async def get_customer_by_id(
|
|
3085
3113
|
self, input: GetCustomerByRefIdInput, **kwargs: Any
|
|
3086
3114
|
) -> GetCustomerById:
|
|
@@ -5779,6 +5807,14 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5779
5807
|
}
|
|
5780
5808
|
billingIntegration {
|
|
5781
5809
|
billingIdentifier
|
|
5810
|
+
billingCredentials {
|
|
5811
|
+
... on StripeCheckoutCredentials {
|
|
5812
|
+
...StripeCheckoutCredentialsFragment
|
|
5813
|
+
}
|
|
5814
|
+
... on ZuoraCheckoutCredentials {
|
|
5815
|
+
...ZuoraCheckoutCredentialsFragment
|
|
5816
|
+
}
|
|
5817
|
+
}
|
|
5782
5818
|
credentials {
|
|
5783
5819
|
accountId
|
|
5784
5820
|
publicKey
|
|
@@ -6101,6 +6137,12 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6101
6137
|
awsMarketplaceCustomerId
|
|
6102
6138
|
}
|
|
6103
6139
|
|
|
6140
|
+
fragment StripeCheckoutCredentialsFragment on StripeCheckoutCredentials {
|
|
6141
|
+
accountId
|
|
6142
|
+
setupSecret
|
|
6143
|
+
publicKey
|
|
6144
|
+
}
|
|
6145
|
+
|
|
6104
6146
|
fragment SubscriptionFragment on CustomerSubscription {
|
|
6105
6147
|
id
|
|
6106
6148
|
subscriptionId
|
|
@@ -6244,6 +6286,10 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6244
6286
|
...FontVariantFragment
|
|
6245
6287
|
}
|
|
6246
6288
|
}
|
|
6289
|
+
|
|
6290
|
+
fragment ZuoraCheckoutCredentialsFragment on ZuoraCheckoutCredentials {
|
|
6291
|
+
publishableKey
|
|
6292
|
+
}
|
|
6247
6293
|
"""
|
|
6248
6294
|
)
|
|
6249
6295
|
variables: Dict[str, object] = {"input": input}
|
|
@@ -9,6 +9,7 @@ from .base_client import BaseClient
|
|
|
9
9
|
from .base_model import UNSET, UnsetType
|
|
10
10
|
from .cancel_subscription import CancelSubscription
|
|
11
11
|
from .cancel_subscription_updates import CancelSubscriptionUpdates
|
|
12
|
+
from .create_payment_session import CreatePaymentSession
|
|
12
13
|
from .create_subscription import CreateSubscription
|
|
13
14
|
from .delegate_subscription_to_customer import DelegateSubscriptionToCustomer
|
|
14
15
|
from .detach_customer_payment_method import DetachCustomerPaymentMethod
|
|
@@ -64,6 +65,7 @@ from .input_types import (
|
|
|
64
65
|
ImportCustomerBulkInput,
|
|
65
66
|
ImportCustomerInput,
|
|
66
67
|
ImportSubscriptionsBulkInput,
|
|
68
|
+
PaymentSessionInput,
|
|
67
69
|
PreviewNextInvoiceInput,
|
|
68
70
|
PreviewSubscriptionInput,
|
|
69
71
|
ProvisionCustomerInput,
|
|
@@ -3077,6 +3079,32 @@ class Client(BaseClient):
|
|
|
3077
3079
|
data = self.get_data(response)
|
|
3078
3080
|
return UnlinkPromotionalEntitlementsGroup.model_validate(data)
|
|
3079
3081
|
|
|
3082
|
+
def create_payment_session(
|
|
3083
|
+
self, input: PaymentSessionInput, **kwargs: Any
|
|
3084
|
+
) -> CreatePaymentSession:
|
|
3085
|
+
query = gql(
|
|
3086
|
+
"""
|
|
3087
|
+
mutation CreatePaymentSession($input: PaymentSessionInput!) {
|
|
3088
|
+
createPaymentSession(input: $input) {
|
|
3089
|
+
...PaymentSessionFragment
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
|
|
3093
|
+
fragment PaymentSessionFragment on PaymentSession {
|
|
3094
|
+
token
|
|
3095
|
+
}
|
|
3096
|
+
"""
|
|
3097
|
+
)
|
|
3098
|
+
variables: Dict[str, object] = {"input": input}
|
|
3099
|
+
response = self.execute(
|
|
3100
|
+
query=query,
|
|
3101
|
+
operation_name="CreatePaymentSession",
|
|
3102
|
+
variables=variables,
|
|
3103
|
+
**kwargs
|
|
3104
|
+
)
|
|
3105
|
+
data = self.get_data(response)
|
|
3106
|
+
return CreatePaymentSession.model_validate(data)
|
|
3107
|
+
|
|
3080
3108
|
def get_customer_by_id(
|
|
3081
3109
|
self, input: GetCustomerByRefIdInput, **kwargs: Any
|
|
3082
3110
|
) -> GetCustomerById:
|
|
@@ -5775,6 +5803,14 @@ class Client(BaseClient):
|
|
|
5775
5803
|
}
|
|
5776
5804
|
billingIntegration {
|
|
5777
5805
|
billingIdentifier
|
|
5806
|
+
billingCredentials {
|
|
5807
|
+
... on StripeCheckoutCredentials {
|
|
5808
|
+
...StripeCheckoutCredentialsFragment
|
|
5809
|
+
}
|
|
5810
|
+
... on ZuoraCheckoutCredentials {
|
|
5811
|
+
...ZuoraCheckoutCredentialsFragment
|
|
5812
|
+
}
|
|
5813
|
+
}
|
|
5778
5814
|
credentials {
|
|
5779
5815
|
accountId
|
|
5780
5816
|
publicKey
|
|
@@ -6097,6 +6133,12 @@ class Client(BaseClient):
|
|
|
6097
6133
|
awsMarketplaceCustomerId
|
|
6098
6134
|
}
|
|
6099
6135
|
|
|
6136
|
+
fragment StripeCheckoutCredentialsFragment on StripeCheckoutCredentials {
|
|
6137
|
+
accountId
|
|
6138
|
+
setupSecret
|
|
6139
|
+
publicKey
|
|
6140
|
+
}
|
|
6141
|
+
|
|
6100
6142
|
fragment SubscriptionFragment on CustomerSubscription {
|
|
6101
6143
|
id
|
|
6102
6144
|
subscriptionId
|
|
@@ -6240,6 +6282,10 @@ class Client(BaseClient):
|
|
|
6240
6282
|
...FontVariantFragment
|
|
6241
6283
|
}
|
|
6242
6284
|
}
|
|
6285
|
+
|
|
6286
|
+
fragment ZuoraCheckoutCredentialsFragment on ZuoraCheckoutCredentials {
|
|
6287
|
+
publishableKey
|
|
6288
|
+
}
|
|
6243
6289
|
"""
|
|
6244
6290
|
)
|
|
6245
6291
|
variables: Dict[str, object] = {"input": input}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from stigg._vendors.pydantic import Field
|
|
5
|
+
|
|
6
|
+
from .base_model import BaseModel
|
|
7
|
+
from .fragments import PaymentSessionFragment
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class CreatePaymentSession(BaseModel):
|
|
11
|
+
create_payment_session: "CreatePaymentSessionCreatePaymentSession" = Field(
|
|
12
|
+
alias="createPaymentSession"
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class CreatePaymentSessionCreatePaymentSession(PaymentSessionFragment):
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
CreatePaymentSession.model_rebuild()
|
|
@@ -470,6 +470,7 @@ class ErrorCode(str, Enum):
|
|
|
470
470
|
DeprecatedEstimateSubscriptionError = "DeprecatedEstimateSubscriptionError"
|
|
471
471
|
DowngradeBillingPeriodNotSupportedError = "DowngradeBillingPeriodNotSupportedError"
|
|
472
472
|
DraftAddonCantBeArchived = "DraftAddonCantBeArchived"
|
|
473
|
+
DraftAlreadyExists = "DraftAlreadyExists"
|
|
473
474
|
DraftPlanCantBeArchived = "DraftPlanCantBeArchived"
|
|
474
475
|
DuplicateAddonProvisionedError = "DuplicateAddonProvisionedError"
|
|
475
476
|
DuplicateIntegrationNotAllowed = "DuplicateIntegrationNotAllowed"
|
|
@@ -532,9 +533,12 @@ class ErrorCode(str, Enum):
|
|
|
532
533
|
MultiSubscriptionCantBeAutoCancellationSourceError = (
|
|
533
534
|
"MultiSubscriptionCantBeAutoCancellationSourceError"
|
|
534
535
|
)
|
|
536
|
+
NoDraftOfferFound = "NoDraftOfferFound"
|
|
535
537
|
NoFeatureEntitlementError = "NoFeatureEntitlementError"
|
|
536
538
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription"
|
|
537
539
|
NoProductsAvailable = "NoProductsAvailable"
|
|
540
|
+
OfferAlreadyExists = "OfferAlreadyExists"
|
|
541
|
+
OfferNotFound = "OfferNotFound"
|
|
538
542
|
OperationNotAllowedDuringInProgressExperiment = (
|
|
539
543
|
"OperationNotAllowedDuringInProgressExperiment"
|
|
540
544
|
)
|
|
@@ -845,6 +849,23 @@ class MonthlyAccordingTo(str, Enum):
|
|
|
845
849
|
SubscriptionStart = "SubscriptionStart"
|
|
846
850
|
|
|
847
851
|
|
|
852
|
+
class OfferSortFields(str, Enum):
|
|
853
|
+
createdAt = "createdAt"
|
|
854
|
+
environmentId = "environmentId"
|
|
855
|
+
id = "id"
|
|
856
|
+
isDefault = "isDefault"
|
|
857
|
+
isLatest = "isLatest"
|
|
858
|
+
offerId = "offerId"
|
|
859
|
+
status = "status"
|
|
860
|
+
version = "version"
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
class OfferStatus(str, Enum):
|
|
864
|
+
ARCHIVED = "ARCHIVED"
|
|
865
|
+
DRAFT = "DRAFT"
|
|
866
|
+
PUBLISHED = "PUBLISHED"
|
|
867
|
+
|
|
868
|
+
|
|
848
869
|
class OverageBillingPeriod(str, Enum):
|
|
849
870
|
MONTHLY = "MONTHLY"
|
|
850
871
|
ON_SUBSCRIPTION_RENEWAL = "ON_SUBSCRIPTION_RENEWAL"
|