tremendous-python 5.3.0__tar.gz → 5.4.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.
- {tremendous_python-5.3.0/tremendous_python.egg-info → tremendous_python-5.4.0}/PKG-INFO +1 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/pyproject.toml +1 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/api/tremendous_api.py +20 -3
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/allow_email.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/allow_email1.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/allow_ip.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/allow_ip1.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/custom_field.py +1 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_config_allow_email.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_config_ip.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_config_review_email.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/funding_source.py +3 -3
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_funding_sources200_response_funding_sources_inner.py +3 -3
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_funding_sources200_response_funding_sources_inner_meta.py +2 -2
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_products_response_products_inner.py +14 -2
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_rewards200_response_rewards_inner_custom_fields_inner.py +1 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/product.py +14 -2
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/review_email.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/review_email1.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/review_ip.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/review_ip1.py +2 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward_base_custom_fields_inner.py +1 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/single_reward_order_reward_custom_fields_inner.py +1 -1
- tremendous_python-5.4.0/tremendous/version.py +1 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0/tremendous_python.egg-info}/PKG-INFO +1 -1
- tremendous_python-5.3.0/tremendous/version.py +0 -1
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/LICENSE +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/README.md +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/setup.cfg +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/setup.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/test/test_campaigns.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/test/test_funding_sources.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/test/test_invoices.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/test/test_members.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/test/test_orders.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/test/test_products.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/__init__.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/api/__init__.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/api_client.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/api_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/configuration.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/exceptions.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/__init__.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/balance_transaction.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/balance_transaction_order.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/balance_transaction_order_payment.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/base_order_for_create.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/campaign.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/campaign_base.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/channel.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/connected_organization.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/connected_organization_member.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/connected_organization_member_member.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/connected_organization_member_session.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/connected_organization_organization.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_api_key200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_campaign200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_campaign201_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_campaign_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_connected_organization200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_connected_organization_member200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_connected_organization_member_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_connected_organization_member_session200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_connected_organization_member_session200_response_connected_organization_member_session.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_connected_organization_member_session_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_connected_organization_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_invoice200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_invoice_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_member.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_member200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_member_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_order200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_order200_response_order.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_order200_response_order_rewards_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_order200_response_order_rewards_inner_delivery.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_order201_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_order_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_organization.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_organization200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_organization200_response_organization.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_organization_for_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_organization_properties.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_organization_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_organization_request_copy_settings.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_report200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_report200_response_report.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_report201_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_report201_response_report.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_report_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_report_request_filters.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_report_request_filters_digital_rewards.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_report_request_filters_digital_rewards_amount.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_report_request_filters_digital_rewards_created_at.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_webhook200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/create_webhook_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/currency_codes.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/delete_fraud_rule200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/delivery_details.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/delivery_details_with_link.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/delivery_metadata.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/delivery_method.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/delivery_status.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/error_model.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_config_country.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_config_country_update_list.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_config_redeemed_rewards_amount.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_config_redeemed_rewards_count.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_generic_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_review.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_review_geo.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_review_list_item.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_review_reason.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_review_redemption_method.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_review_related_rewards.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_review_risk.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_review_status.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_rule200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_rule400_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_rule422_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_rule_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_rule_request_config.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_rule_type.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_rules_list_item.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/generate_reward_link200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/generate_reward_link200_response_reward.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/generate_reward_link403_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/generate_reward_token200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/generate_reward_token200_response_reward.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_fraud_review200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_fraud_review200_response_fraud_review.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_fraud_review200_response_fraud_review_geo.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_fraud_review200_response_fraud_review_related_rewards.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_funding_source200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_member200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_member200_response_member.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_member200_response_member_events_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_order200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_organization200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_product_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/get_reward200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/inline_object.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/inline_object1.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/inline_object1_reward.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/invoice.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_balance_transactions200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_balance_transactions200_response_transactions_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_balance_transactions200_response_transactions_inner_order.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_balance_transactions200_response_transactions_inner_order_payment.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_campaigns200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_campaigns200_response_campaigns_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_campaigns200_response_campaigns_inner_email_style.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_campaigns200_response_campaigns_inner_webpage_style.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_connected_organization_members200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_connected_organization_members200_response_connected_organization_members_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_connected_organization_members200_response_connected_organization_members_inner_member.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_connected_organizations200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_connected_organizations200_response_connected_organizations_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_connected_organizations200_response_connected_organizations_inner_organization.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_fields200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_fields200_response_fields_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_forex_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_fraud_reviews200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_fraud_reviews200_response_fraud_reviews_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_fraud_rules200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_fraud_rules200_response_fraud_rules_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_funding_sources200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_funding_sources200_response_funding_sources_inner_meta_failure_details.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_invoices200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_invoices200_response_invoices_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_members200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_members200_response_members_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_orders200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_orders200_response_orders_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_orders200_response_orders_inner_payment.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_orders200_response_orders_inner_payment_refund.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_organizations200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_organizations200_response_organizations_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_products_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_products_response_products_inner_countries_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_products_response_products_inner_documents.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_products_response_products_inner_images_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_products_response_products_inner_skus_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_rewards200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_rewards200_response_rewards_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_rewards200_response_rewards_inner_delivery.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_rewards200_response_rewards_inner_recipient.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_rewards200_response_rewards_inner_value.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_rewards401_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_rewards401_response_errors.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_rewards429_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_roles200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_roles200_response_roles_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_webhook_events200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_webhooks200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/list_webhooks200_response_webhooks_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/member.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/member_base.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/member_with_events.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/member_without_events.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/model_field.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/order.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/order_base.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/order_base_payment.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/order_status.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/order_with_link.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/order_with_link_rewards_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/order_without_link.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/order_without_link_rewards_inner.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/organization.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/payment_details.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/payment_details_refund.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/payout.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/product_documents.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/recipient.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/refund_details.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/report.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/resend_reward422_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/resend_reward_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/review_country.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/review_country1.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/review_redeemed_rewards_amount.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/review_redeemed_rewards_count.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward_base.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward_for_order_create.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward_link.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward_token.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward_value.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward_with_link.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward_with_link_delivery.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward_without_link.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/reward_without_link_delivery.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/role.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/simulate_webhook_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/single_reward_order.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/single_reward_order_payment.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/single_reward_order_reward.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/single_reward_order_reward_delivery.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/single_reward_order_reward_delivery_meta.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/single_reward_order_with_link.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/single_reward_order_with_link_order.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/single_reward_order_without_link.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/single_reward_order_without_link_order.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/update_campaign.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/update_campaign_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/update_fraud_rule_list200_response.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/update_fraud_rule_list_request.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/update_fraud_rule_list_request_config.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/webhook.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/webhook_post.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/py.typed +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/rest.py +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous_python.egg-info/SOURCES.txt +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous_python.egg-info/dependency_links.txt +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous_python.egg-info/requires.txt +0 -0
- {tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous_python.egg-info/top_level.txt +0 -0
|
@@ -13338,6 +13338,7 @@ class TremendousApi:
|
|
|
13338
13338
|
self,
|
|
13339
13339
|
country: Annotated[Optional[StrictStr], Field(description="Comma-separated list of [Alpha-2 country codes](https://www.iban.com/country-codes), used to only retrieve products available in the provided countries")] = None,
|
|
13340
13340
|
currency: Annotated[Optional[StrictStr], Field(description="Comma-separated list of [currency codes](https://www.iban.com/currency-codes), used to only retrieve products available in the provided currencies")] = None,
|
|
13341
|
+
subcategory: Annotated[Optional[StrictStr], Field(description="Comma-separated list of [subcategories](https://developers.tremendous.com/reference/obj-schema-products-1), used to only retrieve products with the provided subcategories")] = None,
|
|
13341
13342
|
_request_timeout: Union[
|
|
13342
13343
|
None,
|
|
13343
13344
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -13359,6 +13360,8 @@ class TremendousApi:
|
|
|
13359
13360
|
:type country: str
|
|
13360
13361
|
:param currency: Comma-separated list of [currency codes](https://www.iban.com/currency-codes), used to only retrieve products available in the provided currencies
|
|
13361
13362
|
:type currency: str
|
|
13363
|
+
:param subcategory: Comma-separated list of [subcategories](https://developers.tremendous.com/reference/obj-schema-products-1), used to only retrieve products with the provided subcategories
|
|
13364
|
+
:type subcategory: str
|
|
13362
13365
|
:param _request_timeout: timeout setting for this request. If one
|
|
13363
13366
|
number provided, it will be total request
|
|
13364
13367
|
timeout. It can also be a pair (tuple) of
|
|
@@ -13384,6 +13387,7 @@ class TremendousApi:
|
|
|
13384
13387
|
_param = self._list_products_serialize(
|
|
13385
13388
|
country=country,
|
|
13386
13389
|
currency=currency,
|
|
13390
|
+
subcategory=subcategory,
|
|
13387
13391
|
_request_auth=_request_auth,
|
|
13388
13392
|
_content_type=_content_type,
|
|
13389
13393
|
_headers=_headers,
|
|
@@ -13412,6 +13416,7 @@ class TremendousApi:
|
|
|
13412
13416
|
self,
|
|
13413
13417
|
country: Annotated[Optional[StrictStr], Field(description="Comma-separated list of [Alpha-2 country codes](https://www.iban.com/country-codes), used to only retrieve products available in the provided countries")] = None,
|
|
13414
13418
|
currency: Annotated[Optional[StrictStr], Field(description="Comma-separated list of [currency codes](https://www.iban.com/currency-codes), used to only retrieve products available in the provided currencies")] = None,
|
|
13419
|
+
subcategory: Annotated[Optional[StrictStr], Field(description="Comma-separated list of [subcategories](https://developers.tremendous.com/reference/obj-schema-products-1), used to only retrieve products with the provided subcategories")] = None,
|
|
13415
13420
|
_request_timeout: Union[
|
|
13416
13421
|
None,
|
|
13417
13422
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -13433,6 +13438,8 @@ class TremendousApi:
|
|
|
13433
13438
|
:type country: str
|
|
13434
13439
|
:param currency: Comma-separated list of [currency codes](https://www.iban.com/currency-codes), used to only retrieve products available in the provided currencies
|
|
13435
13440
|
:type currency: str
|
|
13441
|
+
:param subcategory: Comma-separated list of [subcategories](https://developers.tremendous.com/reference/obj-schema-products-1), used to only retrieve products with the provided subcategories
|
|
13442
|
+
:type subcategory: str
|
|
13436
13443
|
:param _request_timeout: timeout setting for this request. If one
|
|
13437
13444
|
number provided, it will be total request
|
|
13438
13445
|
timeout. It can also be a pair (tuple) of
|
|
@@ -13458,6 +13465,7 @@ class TremendousApi:
|
|
|
13458
13465
|
_param = self._list_products_serialize(
|
|
13459
13466
|
country=country,
|
|
13460
13467
|
currency=currency,
|
|
13468
|
+
subcategory=subcategory,
|
|
13461
13469
|
_request_auth=_request_auth,
|
|
13462
13470
|
_content_type=_content_type,
|
|
13463
13471
|
_headers=_headers,
|
|
@@ -13486,6 +13494,7 @@ class TremendousApi:
|
|
|
13486
13494
|
self,
|
|
13487
13495
|
country: Annotated[Optional[StrictStr], Field(description="Comma-separated list of [Alpha-2 country codes](https://www.iban.com/country-codes), used to only retrieve products available in the provided countries")] = None,
|
|
13488
13496
|
currency: Annotated[Optional[StrictStr], Field(description="Comma-separated list of [currency codes](https://www.iban.com/currency-codes), used to only retrieve products available in the provided currencies")] = None,
|
|
13497
|
+
subcategory: Annotated[Optional[StrictStr], Field(description="Comma-separated list of [subcategories](https://developers.tremendous.com/reference/obj-schema-products-1), used to only retrieve products with the provided subcategories")] = None,
|
|
13489
13498
|
_request_timeout: Union[
|
|
13490
13499
|
None,
|
|
13491
13500
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -13507,6 +13516,8 @@ class TremendousApi:
|
|
|
13507
13516
|
:type country: str
|
|
13508
13517
|
:param currency: Comma-separated list of [currency codes](https://www.iban.com/currency-codes), used to only retrieve products available in the provided currencies
|
|
13509
13518
|
:type currency: str
|
|
13519
|
+
:param subcategory: Comma-separated list of [subcategories](https://developers.tremendous.com/reference/obj-schema-products-1), used to only retrieve products with the provided subcategories
|
|
13520
|
+
:type subcategory: str
|
|
13510
13521
|
:param _request_timeout: timeout setting for this request. If one
|
|
13511
13522
|
number provided, it will be total request
|
|
13512
13523
|
timeout. It can also be a pair (tuple) of
|
|
@@ -13532,6 +13543,7 @@ class TremendousApi:
|
|
|
13532
13543
|
_param = self._list_products_serialize(
|
|
13533
13544
|
country=country,
|
|
13534
13545
|
currency=currency,
|
|
13546
|
+
subcategory=subcategory,
|
|
13535
13547
|
_request_auth=_request_auth,
|
|
13536
13548
|
_content_type=_content_type,
|
|
13537
13549
|
_headers=_headers,
|
|
@@ -13555,6 +13567,7 @@ class TremendousApi:
|
|
|
13555
13567
|
self,
|
|
13556
13568
|
country,
|
|
13557
13569
|
currency,
|
|
13570
|
+
subcategory,
|
|
13558
13571
|
_request_auth,
|
|
13559
13572
|
_content_type,
|
|
13560
13573
|
_headers,
|
|
@@ -13585,6 +13598,10 @@ class TremendousApi:
|
|
|
13585
13598
|
|
|
13586
13599
|
_query_params.append(('currency', currency))
|
|
13587
13600
|
|
|
13601
|
+
if subcategory is not None:
|
|
13602
|
+
|
|
13603
|
+
_query_params.append(('subcategory', subcategory))
|
|
13604
|
+
|
|
13588
13605
|
# process the header parameters
|
|
13589
13606
|
# process the form parameters
|
|
13590
13607
|
# process the body parameter
|
|
@@ -13642,7 +13659,7 @@ class TremendousApi:
|
|
|
13642
13659
|
) -> ListRewards200Response:
|
|
13643
13660
|
"""List rewards
|
|
13644
13661
|
|
|
13645
|
-
Retrieve a list of all created rewards
|
|
13662
|
+
Retrieve a list of all created rewards. You can query for rewards by custom field attributes using the field label and values as query params. [Learn more](https://developers.tremendous.com/docs/using-custom-fields-to-add-custom-data-to-rewards#querying-by-custom-fields)
|
|
13646
13663
|
|
|
13647
13664
|
:param offset: Offsets the returned list by the given number of rewards. The returned rewards are ordered (and offsetted) by their creation date (DESC).
|
|
13648
13665
|
:type offset: int
|
|
@@ -13716,7 +13733,7 @@ class TremendousApi:
|
|
|
13716
13733
|
) -> ApiResponse[ListRewards200Response]:
|
|
13717
13734
|
"""List rewards
|
|
13718
13735
|
|
|
13719
|
-
Retrieve a list of all created rewards
|
|
13736
|
+
Retrieve a list of all created rewards. You can query for rewards by custom field attributes using the field label and values as query params. [Learn more](https://developers.tremendous.com/docs/using-custom-fields-to-add-custom-data-to-rewards#querying-by-custom-fields)
|
|
13720
13737
|
|
|
13721
13738
|
:param offset: Offsets the returned list by the given number of rewards. The returned rewards are ordered (and offsetted) by their creation date (DESC).
|
|
13722
13739
|
:type offset: int
|
|
@@ -13790,7 +13807,7 @@ class TremendousApi:
|
|
|
13790
13807
|
) -> RESTResponseType:
|
|
13791
13808
|
"""List rewards
|
|
13792
13809
|
|
|
13793
|
-
Retrieve a list of all created rewards
|
|
13810
|
+
Retrieve a list of all created rewards. You can query for rewards by custom field attributes using the field label and values as query params. [Learn more](https://developers.tremendous.com/docs/using-custom-fields-to-add-custom-data-to-rewards#querying-by-custom-fields)
|
|
13794
13811
|
|
|
13795
13812
|
:param offset: Offsets the returned list by the given number of rewards. The returned rewards are ordered (and offsetted) by their creation date (DESC).
|
|
13796
13813
|
:type offset: int
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class AllowEmail(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
Ignore flagging rules for rewards redeemed by an email or domain matching this list.
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
emails: List[StrictStr] = Field(description="The list of emails.")
|
|
31
|
+
emails: Annotated[List[StrictStr], Field(max_length=50000)] = Field(description="The list of emails.")
|
|
31
32
|
__properties: ClassVar[List[str]] = ["emails"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class AllowEmail1(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
The list of emails and domains where a matching redemption will ignore other flagging rules and automatically go through.
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
emails: List[StrictStr] = Field(description="The list of emails.")
|
|
31
|
+
emails: Annotated[List[StrictStr], Field(max_length=50000)] = Field(description="The list of emails.")
|
|
31
32
|
__properties: ClassVar[List[str]] = ["emails"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class AllowIp(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
Ignore flagging rules for rewards redeemed by an IP matching this list.
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
ips: List[StrictStr] = Field(description="The list of IP addresses to flag or allow. Accepts both IPv4 and IPv6 addresses using CIDR notation. ")
|
|
31
|
+
ips: Annotated[List[StrictStr], Field(max_length=50000)] = Field(description="The list of IP addresses to flag or allow. Accepts both IPv4 and IPv6 addresses using CIDR notation. ")
|
|
31
32
|
__properties: ClassVar[List[str]] = ["ips"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class AllowIp1(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
The list of IP addresses and/or IP ranges where a matching redemption will ignore other flagging rules and automatically go through.
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
ips: List[StrictStr] = Field(description="The list of IP addresses to flag or allow. Accepts both IPv4 and IPv6 addresses using CIDR notation. ")
|
|
31
|
+
ips: Annotated[List[StrictStr], Field(max_length=50000)] = Field(description="The list of IP addresses to flag or allow. Accepts both IPv4 and IPv6 addresses using CIDR notation. ")
|
|
31
32
|
__properties: ClassVar[List[str]] = ["ips"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
@@ -26,7 +26,7 @@ from typing_extensions import Self
|
|
|
26
26
|
|
|
27
27
|
class CustomField(BaseModel):
|
|
28
28
|
"""
|
|
29
|
-
Reward custom data for searching, tracking or copy (see [Adding custom fields to orders](https://developers.tremendous.com/
|
|
29
|
+
Reward custom data for searching, tracking or copy (see [Adding custom fields to orders](https://developers.tremendous.com/docs/using-custom-fields-to-add-custom-data-to-rewards).)
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Tremendous ID of the custom field")
|
|
32
32
|
value: Optional[StrictStr] = Field(default=None, description="Value of the custom field")
|
{tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_config_allow_email.py
RENAMED
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class FraudConfigAllowEmail(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
FraudConfigAllowEmail
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
emails: List[StrictStr] = Field(description="The list of emails.")
|
|
31
|
+
emails: Annotated[List[StrictStr], Field(max_length=50000)] = Field(description="The list of emails.")
|
|
31
32
|
__properties: ClassVar[List[str]] = ["emails"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class FraudConfigIP(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
FraudConfigIP
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
ips: List[StrictStr] = Field(description="The list of IP addresses to flag or allow. Accepts both IPv4 and IPv6 addresses using CIDR notation. ")
|
|
31
|
+
ips: Annotated[List[StrictStr], Field(max_length=50000)] = Field(description="The list of IP addresses to flag or allow. Accepts both IPv4 and IPv6 addresses using CIDR notation. ")
|
|
31
32
|
__properties: ClassVar[List[str]] = ["ips"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
{tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/fraud_config_review_email.py
RENAMED
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class FraudConfigReviewEmail(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
FraudConfigReviewEmail
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
emails: Optional[List[StrictStr]] = Field(default=None, description="The list of emails.")
|
|
31
|
+
emails: Optional[Annotated[List[StrictStr], Field(max_length=50000)]] = Field(default=None, description="The list of emails.")
|
|
31
32
|
domains: Optional[List[StrictStr]] = Field(default=None, description="The list of domains. Any subdomains will also be matched against each entry in the list.")
|
|
32
33
|
__properties: ClassVar[List[str]] = ["emails", "domains"]
|
|
33
34
|
|
|
@@ -32,7 +32,7 @@ class FundingSource(BaseModel):
|
|
|
32
32
|
id: Annotated[str, Field(strict=True)]
|
|
33
33
|
method: StrictStr = Field(description="You can pay for rewards using different payment methods on Tremendous: <table> <thead> <tr> <th>Payment Method</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>balance</code></td> <td>Pre-funded balance in your Tremendous account to draw funds from to send rewards to recipients.</td> </tr> <tr> <td><code>bank_account</code></td> <td>Bank account to draw funds from to send rewards to recipients.</td> </tr> <tr> <td><code>credit_card</code></td> <td>Credit card to draw funds from to send rewards to recipients.</td> </tr> <tr> <td><code>invoice</code></td> <td>Send rewards to recipients and pay by invoice.</td> </tr> </tbody> </table> ")
|
|
34
34
|
usage_permissions: Optional[List[StrictStr]] = Field(default=None, description="Indicates which actions this funding source can perform. <table> <thead> <tr> <th>Permission</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>api_orders</code></td> <td>Usable for orders via API.</td> </tr> <tr> <td><code>dashboard_orders</code></td> <td>Usable for orders via Tremendous dashboard.</td> </tr> <tr> <td><code>balance_funding</code></td> <td>Usable to add funds to a balance (via dashboard or API).</td> </tr> </tbody> </table> ")
|
|
35
|
-
status: Optional[StrictStr] = Field(default=None, description="Status of the funding_source <table> <thead> <tr> <th>Status</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>active</code></td> <td>Ready for use.</td> </tr> <tr> <td><code>deleted</code></td> <td>Manually removed, and not usable.</td> </tr> <tr> <td><code>
|
|
35
|
+
status: Optional[StrictStr] = Field(default=None, description="Status of the funding_source <table> <thead> <tr> <th>Status</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>active</code></td> <td>Ready for use.</td> </tr> <tr> <td><code>deleted</code></td> <td>Manually removed, and not usable.</td> </tr> <tr> <td><code>failed</code></td> <td>Last payment attempt failed, and not usable (contact Tremendous support to reinstate).</td> </tr> </tbody> </table> ")
|
|
36
36
|
type: Optional[StrictStr] = Field(default=None, description="**Only available when `method` is set to `invoice`.** ")
|
|
37
37
|
meta: ListFundingSources200ResponseFundingSourcesInnerMeta
|
|
38
38
|
__properties: ClassVar[List[str]] = ["id", "method", "usage_permissions", "status", "type", "meta"]
|
|
@@ -68,8 +68,8 @@ class FundingSource(BaseModel):
|
|
|
68
68
|
if value is None:
|
|
69
69
|
return value
|
|
70
70
|
|
|
71
|
-
if value not in set(['active', 'deleted', '
|
|
72
|
-
raise ValueError("must be one of enum values ('active', 'deleted', '
|
|
71
|
+
if value not in set(['active', 'deleted', 'failed']):
|
|
72
|
+
raise ValueError("must be one of enum values ('active', 'deleted', 'failed')")
|
|
73
73
|
return value
|
|
74
74
|
|
|
75
75
|
@field_validator('type')
|
|
@@ -32,7 +32,7 @@ class ListFundingSources200ResponseFundingSourcesInner(BaseModel):
|
|
|
32
32
|
id: Annotated[str, Field(strict=True)]
|
|
33
33
|
method: StrictStr = Field(description="You can pay for rewards using different payment methods on Tremendous: <table> <thead> <tr> <th>Payment Method</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>balance</code></td> <td>Pre-funded balance in your Tremendous account to draw funds from to send rewards to recipients.</td> </tr> <tr> <td><code>bank_account</code></td> <td>Bank account to draw funds from to send rewards to recipients.</td> </tr> <tr> <td><code>credit_card</code></td> <td>Credit card to draw funds from to send rewards to recipients.</td> </tr> <tr> <td><code>invoice</code></td> <td>Send rewards to recipients and pay by invoice.</td> </tr> </tbody> </table> ")
|
|
34
34
|
usage_permissions: Optional[List[StrictStr]] = Field(default=None, description="Indicates which actions this funding source can perform. <table> <thead> <tr> <th>Permission</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>api_orders</code></td> <td>Usable for orders via API.</td> </tr> <tr> <td><code>dashboard_orders</code></td> <td>Usable for orders via Tremendous dashboard.</td> </tr> <tr> <td><code>balance_funding</code></td> <td>Usable to add funds to a balance (via dashboard or API).</td> </tr> </tbody> </table> ")
|
|
35
|
-
status: Optional[StrictStr] = Field(default=None, description="Status of the funding_source <table> <thead> <tr> <th>Status</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>active</code></td> <td>Ready for use.</td> </tr> <tr> <td><code>deleted</code></td> <td>Manually removed, and not usable.</td> </tr> <tr> <td><code>
|
|
35
|
+
status: Optional[StrictStr] = Field(default=None, description="Status of the funding_source <table> <thead> <tr> <th>Status</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>active</code></td> <td>Ready for use.</td> </tr> <tr> <td><code>deleted</code></td> <td>Manually removed, and not usable.</td> </tr> <tr> <td><code>failed</code></td> <td>Last payment attempt failed, and not usable (contact Tremendous support to reinstate).</td> </tr> </tbody> </table> ")
|
|
36
36
|
type: Optional[StrictStr] = Field(default=None, description="**Only available when `method` is set to `invoice`.** ")
|
|
37
37
|
meta: ListFundingSources200ResponseFundingSourcesInnerMeta
|
|
38
38
|
__properties: ClassVar[List[str]] = ["id", "method", "usage_permissions", "status", "type", "meta"]
|
|
@@ -68,8 +68,8 @@ class ListFundingSources200ResponseFundingSourcesInner(BaseModel):
|
|
|
68
68
|
if value is None:
|
|
69
69
|
return value
|
|
70
70
|
|
|
71
|
-
if value not in set(['active', 'deleted', '
|
|
72
|
-
raise ValueError("must be one of enum values ('active', 'deleted', '
|
|
71
|
+
if value not in set(['active', 'deleted', 'failed']):
|
|
72
|
+
raise ValueError("must be one of enum values ('active', 'deleted', 'failed')")
|
|
73
73
|
return value
|
|
74
74
|
|
|
75
75
|
@field_validator('type')
|
|
@@ -30,8 +30,8 @@ class ListFundingSources200ResponseFundingSourcesInnerMeta(BaseModel):
|
|
|
30
30
|
"""
|
|
31
31
|
ListFundingSources200ResponseFundingSourcesInnerMeta
|
|
32
32
|
""" # noqa: E501
|
|
33
|
-
available_cents: Optional[StrictInt] = Field(default=None, description="**Only exists for balance and commercial invoicing.** For balance: available amount (in cents USD) For commercial invoicing: available credit amount calculated as (credit limit - outstanding balance) (in cents USD) ")
|
|
34
|
-
pending_cents: Optional[StrictInt] = Field(default=None, description="**Only available when `method` is set to `balance`.** Funds that are already registered on your Tremendous account but which have not yet been deposited in your account (e.g.
|
|
33
|
+
available_cents: Optional[StrictInt] = Field(default=None, description="**Only exists for balance and commercial invoicing.** For balance: available amount (in cents USD) For commercial invoicing: available credit amount calculated as (credit limit - outstanding balance) (in cents USD) *Caution: In the \"list funding sources\" endpoint this value is cached and may not be up to date. Use the \"get funding source\" endpoint to get the most up to date value.* ")
|
|
34
|
+
pending_cents: Optional[StrictInt] = Field(default=None, description="**Only available when `method` is set to `balance`.** Funds that are already registered on your Tremendous account but which have not yet been deposited in your account (e.g. payments that need to be manually reviewed by our ops team) (in Cents USD). ")
|
|
35
35
|
credit_limit_cents: Optional[StrictInt] = Field(default=None, description="**Only exists for commercial invoicing.** Available credit limit (in cents USD) ")
|
|
36
36
|
accountholder_name: Optional[StrictStr] = Field(default=None, description="**Only available when `method` is set to `bank_account` or `credit_card`.** Name of the holder of the bank account or credit_card ")
|
|
37
37
|
account_type: Optional[StrictStr] = Field(default=None, description="**Only available when `method` is set to `bank_account`.** Is this a checking or savings account ")
|
|
@@ -35,7 +35,8 @@ class ListProductsResponseProductsInner(BaseModel):
|
|
|
35
35
|
id: Annotated[str, Field(strict=True)]
|
|
36
36
|
name: StrictStr = Field(description="Name of the product")
|
|
37
37
|
description: StrictStr = Field(description="Detailed description of the product. Mostly used for products with a `category` of `charities`.")
|
|
38
|
-
category: StrictStr = Field(description="The category of
|
|
38
|
+
category: StrictStr = Field(description="The category of the product <table> <thead> <tr> <th>Category</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>ach</code></td> <td>Bank transfer to the recipient</td> </tr> <tr> <td><code>charity</code></td> <td>Donations to a charity</td> </tr> <tr> <td><code>instant_debit_transfer</code></td> <td>Instant debit transfer to the recipient</td> </tr> <tr> <td><code>merchant_card</code></td> <td>A gift card for a certain merchant (e.g. Amazon)</td> </tr> <tr> <td><code>paypal</code></td> <td>Payout via PayPal</td> </tr> <tr> <td><code>venmo</code></td> <td>Payout via Venmo</td> </tr> <tr> <td><code>visa_card</code></td> <td>Payout in form of a Visa debit card</td> </tr> <tr> <td><code>cash_app</code></td> <td>Payout via Cash App</td> </tr> </tbody> </table> ")
|
|
39
|
+
subcategory: Optional[StrictStr] = Field(default=None, description="Additional classification for the product. Only applicable to products with a `category` of `merchant_card`. Possible subcategories: * `beauty_and_health` * `digital_financial_services` * `electronics` * `entertainment` * `fashion` * `food_and_drink` * `general_merchandise` * `grocery_and_supermarkets` * `home_and_living` * `mobility_and_fuel` * `sports_and_outdoor_gear` * `travel_and_hospitality` ")
|
|
39
40
|
disclosure: StrictStr = Field(description="Legal disclosures for this product. Can be in HTML format.")
|
|
40
41
|
skus: Optional[List[ListProductsResponseProductsInnerSkusInner]] = Field(default=None, description="Products are restricted in their usage based on the amount of the reward. The `skus` array defines bands of denominations in which this product may be used for payouts. ")
|
|
41
42
|
currency_codes: Annotated[List[StrictStr], Field(min_length=1)] = Field(description="Available currencies for this product")
|
|
@@ -43,7 +44,7 @@ class ListProductsResponseProductsInner(BaseModel):
|
|
|
43
44
|
images: Annotated[List[ListProductsResponseProductsInnerImagesInner], Field(min_length=0)] = Field(description="List of product images associated with this product (e.g. logos or images of the gift cards)")
|
|
44
45
|
usage_instructions: Optional[StrictStr] = Field(default=None, description="Instructions for how to use the product, if applicable. Mostly used for products with a `category` of `merchant_card`.")
|
|
45
46
|
documents: Optional[ListProductsResponseProductsInnerDocuments] = None
|
|
46
|
-
__properties: ClassVar[List[str]] = ["id", "name", "description", "category", "disclosure", "skus", "currency_codes", "countries", "images", "usage_instructions", "documents"]
|
|
47
|
+
__properties: ClassVar[List[str]] = ["id", "name", "description", "category", "subcategory", "disclosure", "skus", "currency_codes", "countries", "images", "usage_instructions", "documents"]
|
|
47
48
|
|
|
48
49
|
@field_validator('id')
|
|
49
50
|
def id_validate_regular_expression(cls, value):
|
|
@@ -59,6 +60,16 @@ class ListProductsResponseProductsInner(BaseModel):
|
|
|
59
60
|
raise ValueError("must be one of enum values ('ach', 'charity', 'instant_debit_transfer', 'merchant_card', 'paypal', 'venmo', 'visa_card', 'cash_app')")
|
|
60
61
|
return value
|
|
61
62
|
|
|
63
|
+
@field_validator('subcategory')
|
|
64
|
+
def subcategory_validate_enum(cls, value):
|
|
65
|
+
"""Validates the enum"""
|
|
66
|
+
if value is None:
|
|
67
|
+
return value
|
|
68
|
+
|
|
69
|
+
if value not in set(['beauty_and_health', 'digital_financial_services', 'electronics', 'entertainment', 'fashion', 'food_and_drink', 'general_merchandise', 'grocery_and_supermarkets', 'home_and_living', 'mobility_and_fuel', 'sports_and_outdoor_gear', 'travel_and_hospitality']):
|
|
70
|
+
raise ValueError("must be one of enum values ('beauty_and_health', 'digital_financial_services', 'electronics', 'entertainment', 'fashion', 'food_and_drink', 'general_merchandise', 'grocery_and_supermarkets', 'home_and_living', 'mobility_and_fuel', 'sports_and_outdoor_gear', 'travel_and_hospitality')")
|
|
71
|
+
return value
|
|
72
|
+
|
|
62
73
|
@field_validator('currency_codes')
|
|
63
74
|
def currency_codes_validate_enum(cls, value):
|
|
64
75
|
"""Validates the enum"""
|
|
@@ -151,6 +162,7 @@ class ListProductsResponseProductsInner(BaseModel):
|
|
|
151
162
|
"name": obj.get("name"),
|
|
152
163
|
"description": obj.get("description"),
|
|
153
164
|
"category": obj.get("category"),
|
|
165
|
+
"subcategory": obj.get("subcategory"),
|
|
154
166
|
"disclosure": obj.get("disclosure"),
|
|
155
167
|
"skus": [ListProductsResponseProductsInnerSkusInner.from_dict(_item) for _item in obj["skus"]] if obj.get("skus") is not None else None,
|
|
156
168
|
"currency_codes": obj.get("currency_codes"),
|
|
@@ -26,7 +26,7 @@ from typing_extensions import Self
|
|
|
26
26
|
|
|
27
27
|
class ListRewards200ResponseRewardsInnerCustomFieldsInner(BaseModel):
|
|
28
28
|
"""
|
|
29
|
-
Reward custom data for searching, tracking or copy (see [Adding custom fields to orders](https://developers.tremendous.com/
|
|
29
|
+
Reward custom data for searching, tracking or copy (see [Adding custom fields to orders](https://developers.tremendous.com/docs/using-custom-fields-to-add-custom-data-to-rewards).)
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Tremendous ID of the custom field")
|
|
32
32
|
value: Optional[StrictStr] = Field(default=None, description="Value of the custom field")
|
|
@@ -35,7 +35,8 @@ class Product(BaseModel):
|
|
|
35
35
|
id: Annotated[str, Field(strict=True)]
|
|
36
36
|
name: StrictStr = Field(description="Name of the product")
|
|
37
37
|
description: StrictStr = Field(description="Detailed description of the product. Mostly used for products with a `category` of `charities`.")
|
|
38
|
-
category: StrictStr = Field(description="The category of
|
|
38
|
+
category: StrictStr = Field(description="The category of the product <table> <thead> <tr> <th>Category</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>ach</code></td> <td>Bank transfer to the recipient</td> </tr> <tr> <td><code>charity</code></td> <td>Donations to a charity</td> </tr> <tr> <td><code>instant_debit_transfer</code></td> <td>Instant debit transfer to the recipient</td> </tr> <tr> <td><code>merchant_card</code></td> <td>A gift card for a certain merchant (e.g. Amazon)</td> </tr> <tr> <td><code>paypal</code></td> <td>Payout via PayPal</td> </tr> <tr> <td><code>venmo</code></td> <td>Payout via Venmo</td> </tr> <tr> <td><code>visa_card</code></td> <td>Payout in form of a Visa debit card</td> </tr> <tr> <td><code>cash_app</code></td> <td>Payout via Cash App</td> </tr> </tbody> </table> ")
|
|
39
|
+
subcategory: Optional[StrictStr] = Field(default=None, description="Additional classification for the product. Only applicable to products with a `category` of `merchant_card`. Possible subcategories: * `beauty_and_health` * `digital_financial_services` * `electronics` * `entertainment` * `fashion` * `food_and_drink` * `general_merchandise` * `grocery_and_supermarkets` * `home_and_living` * `mobility_and_fuel` * `sports_and_outdoor_gear` * `travel_and_hospitality` ")
|
|
39
40
|
disclosure: StrictStr = Field(description="Legal disclosures for this product. Can be in HTML format.")
|
|
40
41
|
skus: Optional[List[ListProductsResponseProductsInnerSkusInner]] = Field(default=None, description="Products are restricted in their usage based on the amount of the reward. The `skus` array defines bands of denominations in which this product may be used for payouts. ")
|
|
41
42
|
currency_codes: Annotated[List[StrictStr], Field(min_length=1)] = Field(description="Available currencies for this product")
|
|
@@ -43,7 +44,7 @@ class Product(BaseModel):
|
|
|
43
44
|
images: Annotated[List[ListProductsResponseProductsInnerImagesInner], Field(min_length=0)] = Field(description="List of product images associated with this product (e.g. logos or images of the gift cards)")
|
|
44
45
|
usage_instructions: Optional[StrictStr] = Field(default=None, description="Instructions for how to use the product, if applicable. Mostly used for products with a `category` of `merchant_card`.")
|
|
45
46
|
documents: Optional[ListProductsResponseProductsInnerDocuments] = None
|
|
46
|
-
__properties: ClassVar[List[str]] = ["id", "name", "description", "category", "disclosure", "skus", "currency_codes", "countries", "images", "usage_instructions", "documents"]
|
|
47
|
+
__properties: ClassVar[List[str]] = ["id", "name", "description", "category", "subcategory", "disclosure", "skus", "currency_codes", "countries", "images", "usage_instructions", "documents"]
|
|
47
48
|
|
|
48
49
|
@field_validator('id')
|
|
49
50
|
def id_validate_regular_expression(cls, value):
|
|
@@ -59,6 +60,16 @@ class Product(BaseModel):
|
|
|
59
60
|
raise ValueError("must be one of enum values ('ach', 'charity', 'instant_debit_transfer', 'merchant_card', 'paypal', 'venmo', 'visa_card', 'cash_app')")
|
|
60
61
|
return value
|
|
61
62
|
|
|
63
|
+
@field_validator('subcategory')
|
|
64
|
+
def subcategory_validate_enum(cls, value):
|
|
65
|
+
"""Validates the enum"""
|
|
66
|
+
if value is None:
|
|
67
|
+
return value
|
|
68
|
+
|
|
69
|
+
if value not in set(['beauty_and_health', 'digital_financial_services', 'electronics', 'entertainment', 'fashion', 'food_and_drink', 'general_merchandise', 'grocery_and_supermarkets', 'home_and_living', 'mobility_and_fuel', 'sports_and_outdoor_gear', 'travel_and_hospitality']):
|
|
70
|
+
raise ValueError("must be one of enum values ('beauty_and_health', 'digital_financial_services', 'electronics', 'entertainment', 'fashion', 'food_and_drink', 'general_merchandise', 'grocery_and_supermarkets', 'home_and_living', 'mobility_and_fuel', 'sports_and_outdoor_gear', 'travel_and_hospitality')")
|
|
71
|
+
return value
|
|
72
|
+
|
|
62
73
|
@field_validator('currency_codes')
|
|
63
74
|
def currency_codes_validate_enum(cls, value):
|
|
64
75
|
"""Validates the enum"""
|
|
@@ -153,6 +164,7 @@ class Product(BaseModel):
|
|
|
153
164
|
"name": obj.get("name"),
|
|
154
165
|
"description": obj.get("description"),
|
|
155
166
|
"category": obj.get("category"),
|
|
167
|
+
"subcategory": obj.get("subcategory"),
|
|
156
168
|
"disclosure": obj.get("disclosure"),
|
|
157
169
|
"skus": [ListProductsResponseProductsInnerSkusInner.from_dict(_item) for _item in obj["skus"]] if obj.get("skus") is not None else None,
|
|
158
170
|
"currency_codes": obj.get("currency_codes"),
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class ReviewEmail(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
Flag rewards with an email or domain matching this list.
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
emails: Optional[List[StrictStr]] = Field(default=None, description="The list of emails.")
|
|
31
|
+
emails: Optional[Annotated[List[StrictStr], Field(max_length=50000)]] = Field(default=None, description="The list of emails.")
|
|
31
32
|
domains: Optional[List[StrictStr]] = Field(default=None, description="The list of domains. Any subdomains will also be matched against each entry in the list.")
|
|
32
33
|
__properties: ClassVar[List[str]] = ["emails", "domains"]
|
|
33
34
|
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class ReviewEmail1(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
The list of emails and/or domains where a matching redemption will trigger a review. At least one email or domain is required.
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
emails: Optional[List[StrictStr]] = Field(default=None, description="The list of emails.")
|
|
31
|
+
emails: Optional[Annotated[List[StrictStr], Field(max_length=50000)]] = Field(default=None, description="The list of emails.")
|
|
31
32
|
domains: Optional[List[StrictStr]] = Field(default=None, description="The list of domains. Any subdomains will also be matched against each entry in the list.")
|
|
32
33
|
__properties: ClassVar[List[str]] = ["emails", "domains"]
|
|
33
34
|
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class ReviewIp(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
Flag rewards redeemed by an IP matching this list.
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
ips: List[StrictStr] = Field(description="The list of IP addresses to flag or allow. Accepts both IPv4 and IPv6 addresses using CIDR notation. ")
|
|
31
|
+
ips: Annotated[List[StrictStr], Field(max_length=50000)] = Field(description="The list of IP addresses to flag or allow. Accepts both IPv4 and IPv6 addresses using CIDR notation. ")
|
|
31
32
|
__properties: ClassVar[List[str]] = ["ips"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
@@ -20,6 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List
|
|
23
|
+
from typing_extensions import Annotated
|
|
23
24
|
from typing import Optional, Set
|
|
24
25
|
from typing_extensions import Self
|
|
25
26
|
|
|
@@ -27,7 +28,7 @@ class ReviewIp1(BaseModel):
|
|
|
27
28
|
"""
|
|
28
29
|
List of IP addresses and/or IP ranges where a matching redemption will trigger a review.
|
|
29
30
|
""" # noqa: E501
|
|
30
|
-
ips: List[StrictStr] = Field(description="The list of IP addresses to flag or allow. Accepts both IPv4 and IPv6 addresses using CIDR notation. ")
|
|
31
|
+
ips: Annotated[List[StrictStr], Field(max_length=50000)] = Field(description="The list of IP addresses to flag or allow. Accepts both IPv4 and IPv6 addresses using CIDR notation. ")
|
|
31
32
|
__properties: ClassVar[List[str]] = ["ips"]
|
|
32
33
|
|
|
33
34
|
model_config = ConfigDict(
|
|
@@ -26,7 +26,7 @@ from typing_extensions import Self
|
|
|
26
26
|
|
|
27
27
|
class RewardBaseCustomFieldsInner(BaseModel):
|
|
28
28
|
"""
|
|
29
|
-
Reward custom data for searching, tracking or copy (see [Adding custom fields to orders](https://developers.tremendous.com/
|
|
29
|
+
Reward custom data for searching, tracking or copy (see [Adding custom fields to orders](https://developers.tremendous.com/docs/using-custom-fields-to-add-custom-data-to-rewards).)
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Tremendous ID of the custom field")
|
|
32
32
|
value: Optional[StrictStr] = Field(default=None, description="Value of the custom field")
|
|
@@ -26,7 +26,7 @@ from typing_extensions import Self
|
|
|
26
26
|
|
|
27
27
|
class SingleRewardOrderRewardCustomFieldsInner(BaseModel):
|
|
28
28
|
"""
|
|
29
|
-
Reward custom data for searching, tracking or copy (see [Adding custom fields to orders](https://developers.tremendous.com/
|
|
29
|
+
Reward custom data for searching, tracking or copy (see [Adding custom fields to orders](https://developers.tremendous.com/docs/using-custom-fields-to-add-custom-data-to-rewards).)
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Tremendous ID of the custom field")
|
|
32
32
|
value: Optional[StrictStr] = Field(default=None, description="Value of the custom field")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '5.4.0'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '5.3.0'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tremendous_python-5.3.0 → tremendous_python-5.4.0}/tremendous/models/balance_transaction.py
RENAMED
|
File without changes
|