paid-python 1.8.0__tar.gz → 1.9.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.
- {paid_python-1.8.0 → paid_python-1.9.0}/PKG-INFO +1 -1
- {paid_python-1.8.0 → paid_python-1.9.0}/pyproject.toml +1 -1
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/__init__.py +11 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/client_wrapper.py +2 -2
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/__init__.py +6 -0
- paid_python-1.9.0/src/paid/types/success_response.py +19 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/value_receipt_detail.py +6 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/value_receipt_summary.py +6 -0
- paid_python-1.9.0/src/paid/types/value_receipt_sync_response.py +26 -0
- paid_python-1.9.0/src/paid/value_receipts/__init__.py +37 -0
- paid_python-1.9.0/src/paid/value_receipts/client.py +848 -0
- paid_python-1.9.0/src/paid/value_receipts/raw_client.py +1397 -0
- paid_python-1.9.0/src/paid/value_receipts/types/__init__.py +38 -0
- paid_python-1.9.0/src/paid/value_receipts/types/list_value_receipts_request_archived.py +5 -0
- paid_python-1.9.0/src/paid/value_receipts/types/sync_value_receipt_request_product.py +26 -0
- paid_python-1.8.0/src/paid/value_receipts/__init__.py +0 -4
- paid_python-1.8.0/src/paid/value_receipts/client.py +0 -373
- paid_python-1.8.0/src/paid/value_receipts/raw_client.py +0 -560
- {paid_python-1.8.0 → paid_python-1.9.0}/LICENSE +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/README.md +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/checkouts/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/checkouts/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/checkouts/raw_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/checkouts/types/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/checkouts/types/list_checkouts_request_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/contacts/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/contacts/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/contacts/raw_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/contacts/types/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/contacts/types/create_contact_request_roles_item.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/api_error.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/datetime_utils.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/file.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/force_multipart.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_sse/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_sse/_api.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_sse/_decoders.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_sse/_exceptions.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/http_sse/_models.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/jsonable_encoder.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/pydantic_utilities.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/query_encoder.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/remove_none_from_dict.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/request_options.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/core/serialization.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/credits/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/credits/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/credits/raw_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customer_portals/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customer_portals/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customer_portals/raw_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customers/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customers/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/customers/raw_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/environment.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/bad_request_error.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/conflict_error.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/forbidden_error.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/internal_server_error.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/errors/not_found_error.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/invoices/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/invoices/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/invoices/raw_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/logger.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/raw_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/types/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/types/batch_seat_assignments_request_assignments_item.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/orders/types/list_order_seats_request_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/products/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/products/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/products/raw_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/py.typed +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/signals/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/signals/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/signals/raw_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/anthropic_patches/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/anthropic_patches/patches.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/autoinstrumentation.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/context_data.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/context_manager.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/distributed_tracing.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/gemini_patches/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/gemini_patches/patches.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/openai_agents_patches/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/openai_agents_patches/patches.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/openai_patches/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/openai_patches/patches.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/signal.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/tracing.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/anthropic/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/anthropic/anthropicWrapper.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/bedrock/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/bedrock/bedrockWrapper.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/gemini/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/gemini/geminiWrapper.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/langchain/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/langchain/paidLangChainCallback.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/mistral/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/mistral/mistralWrapper.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/openai/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/openai/openAiWrapper.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/openai_agents/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/openai_agents/openaiAgentsHook.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/tracing/wrappers/utils.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/attribution.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/batch_seat_assignments_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/bulk_signals_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout_details.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout_product.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout_product_input.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/checkout_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/contact.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/contact_billing_address.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/contact_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/contact_roles_item.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_billing_frequency.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_billing_type.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_charge_type.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_credit_benefits_item.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_credit_benefits_item_allocation_cadence.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_credit_benefits_item_credit_grant_timing.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_credit_benefits_item_recipient.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_credit_benefits_item_rollover_duration_unit.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_price_points.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_price_points_tiers_item.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_price_points_tiers_item_tier_billing_type.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_pricing_model.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_attribute_request_pricing_signal_type.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/create_order_line_request.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/credit_balance.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/credit_balance_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/credit_balance_recipient.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/credit_currency.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/credit_currency_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_attribution.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_billing_address.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_by_external_id.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_by_id.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_creation_state.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_portal.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_portal_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_user.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/customer_user_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/empty_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/error_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_line.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_line_payment_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_lines_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_payment_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_source.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/invoice_tax_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_creation_state.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_line.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_lines_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_seat.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/order_seat_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/pagination.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/product.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/product_by_external_id.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/product_by_id.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/product_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/seat_assignee.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/seat_assignment_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/signal.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/update_contact_request.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/update_contact_request_roles_item.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/update_customer_request.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/update_product_request.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/value_receipt_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/webhook.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/webhook_delivery_status.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/webhook_list_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/webhook_name.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/types/webhook_test_response.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/version.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/raw_client.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/types/__init__.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/types/test_webhook_request_webhook_name.py +0 -0
- {paid_python-1.8.0 → paid_python-1.9.0}/src/paid/webhooks/types/update_webhook_request_webhook_name.py +0 -0
|
@@ -78,6 +78,7 @@ if typing.TYPE_CHECKING:
|
|
|
78
78
|
SeatAssignee,
|
|
79
79
|
SeatAssignmentStatus,
|
|
80
80
|
Signal,
|
|
81
|
+
SuccessResponse,
|
|
81
82
|
UpdateContactRequest,
|
|
82
83
|
UpdateContactRequestRolesItem,
|
|
83
84
|
UpdateCustomerRequest,
|
|
@@ -85,6 +86,7 @@ if typing.TYPE_CHECKING:
|
|
|
85
86
|
ValueReceiptDetail,
|
|
86
87
|
ValueReceiptListResponse,
|
|
87
88
|
ValueReceiptSummary,
|
|
89
|
+
ValueReceiptSyncResponse,
|
|
88
90
|
Webhook,
|
|
89
91
|
WebhookDeliveryStatus,
|
|
90
92
|
WebhookListResponse,
|
|
@@ -110,6 +112,7 @@ if typing.TYPE_CHECKING:
|
|
|
110
112
|
from .contacts import CreateContactRequestRolesItem
|
|
111
113
|
from .environment import PaidEnvironment
|
|
112
114
|
from .orders import BatchSeatAssignmentsRequestAssignmentsItem, ListOrderSeatsRequestStatus
|
|
115
|
+
from .value_receipts import ListValueReceiptsRequestArchived, SyncValueReceiptRequestProduct
|
|
113
116
|
from .version import __version__
|
|
114
117
|
from .webhooks import TestWebhookRequestWebhookName, UpdateWebhookRequestWebhookName
|
|
115
118
|
_dynamic_imports: typing.Dict[str, str] = {
|
|
@@ -178,6 +181,7 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
178
181
|
"InvoiceTaxStatus": ".types",
|
|
179
182
|
"ListCheckoutsRequestStatus": ".checkouts",
|
|
180
183
|
"ListOrderSeatsRequestStatus": ".orders",
|
|
184
|
+
"ListValueReceiptsRequestArchived": ".value_receipts",
|
|
181
185
|
"NotFoundError": ".errors",
|
|
182
186
|
"Order": ".types",
|
|
183
187
|
"OrderCreationState": ".types",
|
|
@@ -196,6 +200,8 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
196
200
|
"SeatAssignee": ".types",
|
|
197
201
|
"SeatAssignmentStatus": ".types",
|
|
198
202
|
"Signal": ".types",
|
|
203
|
+
"SuccessResponse": ".types",
|
|
204
|
+
"SyncValueReceiptRequestProduct": ".value_receipts",
|
|
199
205
|
"TestWebhookRequestWebhookName": ".webhooks",
|
|
200
206
|
"UpdateContactRequest": ".types",
|
|
201
207
|
"UpdateContactRequestRolesItem": ".types",
|
|
@@ -205,6 +211,7 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
205
211
|
"ValueReceiptDetail": ".types",
|
|
206
212
|
"ValueReceiptListResponse": ".types",
|
|
207
213
|
"ValueReceiptSummary": ".types",
|
|
214
|
+
"ValueReceiptSyncResponse": ".types",
|
|
208
215
|
"Webhook": ".types",
|
|
209
216
|
"WebhookDeliveryStatus": ".types",
|
|
210
217
|
"WebhookListResponse": ".types",
|
|
@@ -312,6 +319,7 @@ __all__ = [
|
|
|
312
319
|
"InvoiceTaxStatus",
|
|
313
320
|
"ListCheckoutsRequestStatus",
|
|
314
321
|
"ListOrderSeatsRequestStatus",
|
|
322
|
+
"ListValueReceiptsRequestArchived",
|
|
315
323
|
"NotFoundError",
|
|
316
324
|
"Order",
|
|
317
325
|
"OrderCreationState",
|
|
@@ -330,6 +338,8 @@ __all__ = [
|
|
|
330
338
|
"SeatAssignee",
|
|
331
339
|
"SeatAssignmentStatus",
|
|
332
340
|
"Signal",
|
|
341
|
+
"SuccessResponse",
|
|
342
|
+
"SyncValueReceiptRequestProduct",
|
|
333
343
|
"TestWebhookRequestWebhookName",
|
|
334
344
|
"UpdateContactRequest",
|
|
335
345
|
"UpdateContactRequestRolesItem",
|
|
@@ -339,6 +349,7 @@ __all__ = [
|
|
|
339
349
|
"ValueReceiptDetail",
|
|
340
350
|
"ValueReceiptListResponse",
|
|
341
351
|
"ValueReceiptSummary",
|
|
352
|
+
"ValueReceiptSyncResponse",
|
|
342
353
|
"Webhook",
|
|
343
354
|
"WebhookDeliveryStatus",
|
|
344
355
|
"WebhookListResponse",
|
|
@@ -24,12 +24,12 @@ class BaseClientWrapper:
|
|
|
24
24
|
import platform
|
|
25
25
|
|
|
26
26
|
headers: typing.Dict[str, str] = {
|
|
27
|
-
"User-Agent": "paid-python/1.
|
|
27
|
+
"User-Agent": "paid-python/1.9.0",
|
|
28
28
|
"X-Fern-Language": "Python",
|
|
29
29
|
"X-Fern-Runtime": f"python/{platform.python_version()}",
|
|
30
30
|
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
|
|
31
31
|
"X-Fern-SDK-Name": "paid-python",
|
|
32
|
-
"X-Fern-SDK-Version": "1.
|
|
32
|
+
"X-Fern-SDK-Version": "1.9.0",
|
|
33
33
|
**(self.get_custom_headers() or {}),
|
|
34
34
|
}
|
|
35
35
|
headers["Authorization"] = f"Bearer {self._get_token()}"
|
|
@@ -103,6 +103,7 @@ if typing.TYPE_CHECKING:
|
|
|
103
103
|
from .seat_assignee import SeatAssignee
|
|
104
104
|
from .seat_assignment_status import SeatAssignmentStatus
|
|
105
105
|
from .signal import Signal
|
|
106
|
+
from .success_response import SuccessResponse
|
|
106
107
|
from .update_contact_request import UpdateContactRequest
|
|
107
108
|
from .update_contact_request_roles_item import UpdateContactRequestRolesItem
|
|
108
109
|
from .update_customer_request import UpdateCustomerRequest
|
|
@@ -110,6 +111,7 @@ if typing.TYPE_CHECKING:
|
|
|
110
111
|
from .value_receipt_detail import ValueReceiptDetail
|
|
111
112
|
from .value_receipt_list_response import ValueReceiptListResponse
|
|
112
113
|
from .value_receipt_summary import ValueReceiptSummary
|
|
114
|
+
from .value_receipt_sync_response import ValueReceiptSyncResponse
|
|
113
115
|
from .webhook import Webhook
|
|
114
116
|
from .webhook_delivery_status import WebhookDeliveryStatus
|
|
115
117
|
from .webhook_list_response import WebhookListResponse
|
|
@@ -187,6 +189,7 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
187
189
|
"SeatAssignee": ".seat_assignee",
|
|
188
190
|
"SeatAssignmentStatus": ".seat_assignment_status",
|
|
189
191
|
"Signal": ".signal",
|
|
192
|
+
"SuccessResponse": ".success_response",
|
|
190
193
|
"UpdateContactRequest": ".update_contact_request",
|
|
191
194
|
"UpdateContactRequestRolesItem": ".update_contact_request_roles_item",
|
|
192
195
|
"UpdateCustomerRequest": ".update_customer_request",
|
|
@@ -194,6 +197,7 @@ _dynamic_imports: typing.Dict[str, str] = {
|
|
|
194
197
|
"ValueReceiptDetail": ".value_receipt_detail",
|
|
195
198
|
"ValueReceiptListResponse": ".value_receipt_list_response",
|
|
196
199
|
"ValueReceiptSummary": ".value_receipt_summary",
|
|
200
|
+
"ValueReceiptSyncResponse": ".value_receipt_sync_response",
|
|
197
201
|
"Webhook": ".webhook",
|
|
198
202
|
"WebhookDeliveryStatus": ".webhook_delivery_status",
|
|
199
203
|
"WebhookListResponse": ".webhook_list_response",
|
|
@@ -295,6 +299,7 @@ __all__ = [
|
|
|
295
299
|
"SeatAssignee",
|
|
296
300
|
"SeatAssignmentStatus",
|
|
297
301
|
"Signal",
|
|
302
|
+
"SuccessResponse",
|
|
298
303
|
"UpdateContactRequest",
|
|
299
304
|
"UpdateContactRequestRolesItem",
|
|
300
305
|
"UpdateCustomerRequest",
|
|
@@ -302,6 +307,7 @@ __all__ = [
|
|
|
302
307
|
"ValueReceiptDetail",
|
|
303
308
|
"ValueReceiptListResponse",
|
|
304
309
|
"ValueReceiptSummary",
|
|
310
|
+
"ValueReceiptSyncResponse",
|
|
305
311
|
"Webhook",
|
|
306
312
|
"WebhookDeliveryStatus",
|
|
307
313
|
"WebhookListResponse",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class SuccessResponse(UniversalBaseModel):
|
|
10
|
+
success: bool
|
|
11
|
+
|
|
12
|
+
if IS_PYDANTIC_V2:
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
14
|
+
else:
|
|
15
|
+
|
|
16
|
+
class Config:
|
|
17
|
+
frozen = True
|
|
18
|
+
smart_union = True
|
|
19
|
+
extra = pydantic.Extra.allow
|
|
@@ -31,6 +31,9 @@ class ValueReceiptDetail(UniversalBaseModel):
|
|
|
31
31
|
order_id: typing_extensions.Annotated[
|
|
32
32
|
typing.Optional[str], FieldMetadata(alias="orderId"), pydantic.Field(alias="orderId")
|
|
33
33
|
] = None
|
|
34
|
+
product_id: typing_extensions.Annotated[
|
|
35
|
+
typing.Optional[str], FieldMetadata(alias="productId"), pydantic.Field(alias="productId")
|
|
36
|
+
] = None
|
|
34
37
|
currency: str
|
|
35
38
|
start_date: typing_extensions.Annotated[
|
|
36
39
|
typing.Optional[dt.datetime], FieldMetadata(alias="startDate"), pydantic.Field(alias="startDate")
|
|
@@ -41,6 +44,9 @@ class ValueReceiptDetail(UniversalBaseModel):
|
|
|
41
44
|
total_delivered_value: typing_extensions.Annotated[
|
|
42
45
|
typing.Optional[float], FieldMetadata(alias="totalDeliveredValue"), pydantic.Field(alias="totalDeliveredValue")
|
|
43
46
|
] = None
|
|
47
|
+
archived_at: typing_extensions.Annotated[
|
|
48
|
+
typing.Optional[dt.datetime], FieldMetadata(alias="archivedAt"), pydantic.Field(alias="archivedAt")
|
|
49
|
+
] = None
|
|
44
50
|
created_at: typing_extensions.Annotated[
|
|
45
51
|
dt.datetime, FieldMetadata(alias="createdAt"), pydantic.Field(alias="createdAt")
|
|
46
52
|
]
|
|
@@ -31,6 +31,9 @@ class ValueReceiptSummary(UniversalBaseModel):
|
|
|
31
31
|
order_id: typing_extensions.Annotated[
|
|
32
32
|
typing.Optional[str], FieldMetadata(alias="orderId"), pydantic.Field(alias="orderId")
|
|
33
33
|
] = None
|
|
34
|
+
product_id: typing_extensions.Annotated[
|
|
35
|
+
typing.Optional[str], FieldMetadata(alias="productId"), pydantic.Field(alias="productId")
|
|
36
|
+
] = None
|
|
34
37
|
currency: str
|
|
35
38
|
start_date: typing_extensions.Annotated[
|
|
36
39
|
typing.Optional[dt.datetime], FieldMetadata(alias="startDate"), pydantic.Field(alias="startDate")
|
|
@@ -41,6 +44,9 @@ class ValueReceiptSummary(UniversalBaseModel):
|
|
|
41
44
|
total_delivered_value: typing_extensions.Annotated[
|
|
42
45
|
typing.Optional[float], FieldMetadata(alias="totalDeliveredValue"), pydantic.Field(alias="totalDeliveredValue")
|
|
43
46
|
] = None
|
|
47
|
+
archived_at: typing_extensions.Annotated[
|
|
48
|
+
typing.Optional[dt.datetime], FieldMetadata(alias="archivedAt"), pydantic.Field(alias="archivedAt")
|
|
49
|
+
] = None
|
|
44
50
|
created_at: typing_extensions.Annotated[
|
|
45
51
|
dt.datetime, FieldMetadata(alias="createdAt"), pydantic.Field(alias="createdAt")
|
|
46
52
|
]
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
import typing_extensions
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
8
|
+
from ..core.serialization import FieldMetadata
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ValueReceiptSyncResponse(UniversalBaseModel):
|
|
12
|
+
id: str
|
|
13
|
+
status: str
|
|
14
|
+
public_url_token: typing_extensions.Annotated[
|
|
15
|
+
str, FieldMetadata(alias="publicUrlToken"), pydantic.Field(alias="publicUrlToken")
|
|
16
|
+
]
|
|
17
|
+
public_url: typing_extensions.Annotated[str, FieldMetadata(alias="publicUrl"), pydantic.Field(alias="publicUrl")]
|
|
18
|
+
|
|
19
|
+
if IS_PYDANTIC_V2:
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
21
|
+
else:
|
|
22
|
+
|
|
23
|
+
class Config:
|
|
24
|
+
frozen = True
|
|
25
|
+
smart_union = True
|
|
26
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .types import ListValueReceiptsRequestArchived, SyncValueReceiptRequestProduct
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
11
|
+
"ListValueReceiptsRequestArchived": ".types",
|
|
12
|
+
"SyncValueReceiptRequestProduct": ".types",
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
17
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
18
|
+
if module_name is None:
|
|
19
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
20
|
+
try:
|
|
21
|
+
module = import_module(module_name, __package__)
|
|
22
|
+
if module_name == f".{attr_name}":
|
|
23
|
+
return module
|
|
24
|
+
else:
|
|
25
|
+
return getattr(module, attr_name)
|
|
26
|
+
except ImportError as e:
|
|
27
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
28
|
+
except AttributeError as e:
|
|
29
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def __dir__():
|
|
33
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
34
|
+
return sorted(lazy_attrs)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
__all__ = ["ListValueReceiptsRequestArchived", "SyncValueReceiptRequestProduct"]
|