tremendous-python 5.10.1__tar.gz → 5.12.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.10.1/tremendous_python.egg-info → tremendous_python-5.12.0}/PKG-INFO +1 -1
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/pyproject.toml +1 -1
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/api/tremendous_api.py +552 -3
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_invoice_request.py +15 -3
- tremendous_python-5.12.0/tremendous/version.py +1 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0/tremendous_python.egg-info}/PKG-INFO +1 -1
- tremendous_python-5.10.1/tremendous/version.py +0 -1
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/LICENSE +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/README.md +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/setup.cfg +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/setup.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/test/test_campaigns.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/test/test_funding_sources.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/test/test_invoices.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/test/test_members.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/test/test_orders.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/test/test_products.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/__init__.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/api/__init__.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/api_client.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/api_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/configuration.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/exceptions.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/__init__.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/allow_email.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/allow_email1.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/allow_ip.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/allow_ip1.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/balance_transaction.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/balance_transaction_order.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/balance_transaction_order_payment.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/base_order_for_create.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/campaign.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/campaign_base.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/channel.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/connected_organization.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/connected_organization_member.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/connected_organization_member_member.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/connected_organization_member_session.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/connected_organization_organization.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_api_key200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_campaign200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_campaign201_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_campaign_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_connected_organization200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_connected_organization_member200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_connected_organization_member_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_connected_organization_member_session200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_connected_organization_member_session200_response_connected_organization_member_session.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_connected_organization_member_session_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_connected_organization_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_field.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_field200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_field_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_field_request_data.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_invoice200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_member.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_member200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_member_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_order200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_order200_response_order.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_order200_response_order_rewards_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_order200_response_order_rewards_inner_delivery.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_order201_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_order_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_organization.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_organization200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_organization200_response_organization.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_organization_for_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_organization_properties.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_organization_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_organization_request_copy_settings.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_report200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_report200_response_report.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_report201_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_report201_response_report.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_report_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_report_request_filters.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_report_request_filters_digital_rewards.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_report_request_filters_digital_rewards_amount.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_report_request_filters_digital_rewards_created_at.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_topup200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_topup_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_webhook200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_webhook_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/currency_codes.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/custom_field.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/delete_fraud_rule200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/delivery_details.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/delivery_details_with_link.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/delivery_metadata.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/delivery_method.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/delivery_status.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/error_model.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_config_allow_email.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_config_country.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_config_country_update_list.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_config_ip.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_config_redeemed_rewards_amount.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_config_redeemed_rewards_count.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_config_review_email.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_generic_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_review.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_review_base.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_review_geo.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_review_list_item.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_review_reason.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_review_redemption_method.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_review_related_rewards.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_review_risk.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_review_status.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_rule200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_rule400_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_rule422_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_rule_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_rule_request_config.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_rule_type.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/fraud_rules_list_item.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/funding_source.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/generate_reward_link200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/generate_reward_link200_response_reward.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/generate_reward_link403_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/generate_reward_token200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/generate_reward_token200_response_reward.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_fraud_review200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_fraud_review200_response_fraud_review.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_fraud_review200_response_fraud_review_geo.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_fraud_review200_response_fraud_review_related_rewards.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_funding_source200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_member200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_member200_response_member.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_member200_response_member_events_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_order200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_organization200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_product_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/get_reward200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/inline_object.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/inline_object1.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/inline_object1_reward.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/invoice.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_balance_transactions200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_balance_transactions200_response_transactions_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_balance_transactions200_response_transactions_inner_order.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_balance_transactions200_response_transactions_inner_order_payment.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_campaigns200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_campaigns200_response_campaigns_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_campaigns200_response_campaigns_inner_email_style.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_campaigns200_response_campaigns_inner_webpage_style.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_connected_organization_members200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_connected_organization_members200_response_connected_organization_members_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_connected_organization_members200_response_connected_organization_members_inner_member.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_connected_organizations200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_connected_organizations200_response_connected_organizations_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_connected_organizations200_response_connected_organizations_inner_organization.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_fields200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_fields200_response_fields_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_fields200_response_fields_inner_data.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_forex_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_fraud_reviews200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_fraud_reviews200_response_fraud_reviews_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_fraud_reviews200_response_fraud_reviews_inner_geo.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_fraud_rules200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_fraud_rules200_response_fraud_rules_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_funding_sources200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_funding_sources200_response_funding_sources_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_funding_sources200_response_funding_sources_inner_meta.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_funding_sources200_response_funding_sources_inner_meta_failure_details.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_invoices200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_invoices200_response_invoices_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_members200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_members200_response_members_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_orders200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_orders200_response_orders_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_orders200_response_orders_inner_payment.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_orders200_response_orders_inner_payment_refund.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_organizations200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_organizations200_response_organizations_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_products_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_products_response_products_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_products_response_products_inner_countries_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_products_response_products_inner_documents.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_products_response_products_inner_images_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_products_response_products_inner_skus_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_rewards200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_rewards200_response_rewards_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_rewards200_response_rewards_inner_custom_fields_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_rewards200_response_rewards_inner_delivery.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_rewards200_response_rewards_inner_recipient.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_rewards200_response_rewards_inner_value.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_rewards401_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_rewards401_response_errors.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_rewards429_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_roles200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_roles200_response_roles_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_topups200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_topups200_response_topups_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_webhook_events200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_webhooks200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/list_webhooks200_response_webhooks_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/member.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/member_base.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/member_with_events.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/member_without_events.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/model_field.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/order.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/order_base.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/order_base_payment.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/order_status.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/order_with_link.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/order_with_link_rewards_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/order_without_link.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/order_without_link_rewards_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/organization.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/payment_details.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/payment_details_refund.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/payout.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/product.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/product_documents.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/recipient.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/refund_details.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/report.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/resend_reward422_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/resend_reward_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/review_country.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/review_country1.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/review_email.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/review_email1.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/review_ip.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/review_ip1.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/review_redeemed_rewards_amount.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/review_redeemed_rewards_count.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward_base.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward_base_custom_fields_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward_for_order_create.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward_link.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward_token.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward_value.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward_with_link.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward_with_link_delivery.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward_without_link.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/reward_without_link_delivery.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/role.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/simulate_webhook_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/single_reward_order.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/single_reward_order_payment.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/single_reward_order_reward.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/single_reward_order_reward_custom_fields_inner.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/single_reward_order_reward_delivery.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/single_reward_order_reward_delivery_meta.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/single_reward_order_with_link.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/single_reward_order_with_link_order.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/single_reward_order_without_link.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/single_reward_order_without_link_order.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/topup.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/topup_create_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/update_campaign.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/update_campaign_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/update_fraud_rule_list200_response.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/update_fraud_rule_list_request.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/update_fraud_rule_list_request_config.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/webhook.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/webhook_post.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/py.typed +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/rest.py +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous_python.egg-info/SOURCES.txt +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous_python.egg-info/dependency_links.txt +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous_python.egg-info/requires.txt +0 -0
- {tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous_python.egg-info/top_level.txt +0 -0
|
@@ -2649,7 +2649,7 @@ class TremendousApi:
|
|
|
2649
2649
|
) -> CreateInvoice200Response:
|
|
2650
2650
|
"""Create invoice
|
|
2651
2651
|
|
|
2652
|
-
Creating an invoice is the way for your organization to fund your account's balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account's balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
2652
|
+
Creating an invoice is the way for your organization to fund your account's balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account's balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
2653
2653
|
|
|
2654
2654
|
:param create_invoice_request: Invoice details (required)
|
|
2655
2655
|
:type create_invoice_request: CreateInvoiceRequest
|
|
@@ -2720,7 +2720,7 @@ class TremendousApi:
|
|
|
2720
2720
|
) -> ApiResponse[CreateInvoice200Response]:
|
|
2721
2721
|
"""Create invoice
|
|
2722
2722
|
|
|
2723
|
-
Creating an invoice is the way for your organization to fund your account's balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account's balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
2723
|
+
Creating an invoice is the way for your organization to fund your account's balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account's balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
2724
2724
|
|
|
2725
2725
|
:param create_invoice_request: Invoice details (required)
|
|
2726
2726
|
:type create_invoice_request: CreateInvoiceRequest
|
|
@@ -2791,7 +2791,7 @@ class TremendousApi:
|
|
|
2791
2791
|
) -> RESTResponseType:
|
|
2792
2792
|
"""Create invoice
|
|
2793
2793
|
|
|
2794
|
-
Creating an invoice is the way for your organization to fund your account's balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account's balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">
|
|
2794
|
+
Creating an invoice is the way for your organization to fund your account's balance. 1. Create an invoice 2. Pay the invoice 3. Funds get added to your account's balance ## Request body <div class=\"object-schema-request-schema\"> <table> <thead> <tr> <th>Property</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class=\"object-schema-table-body\"> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">po_number</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Reference to the purchase order number within your organization</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">amount</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Amount of the invoice</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency_code</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Currency of the invoice. Defaults to the organization's currency if not provided.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">currency</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Deprecated: Use <code>currency_code</code> instead.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">memo</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>A note to be included in the invoice. This is for your internal use and will not be visible to the recipient.</p> </td></tr> </tbody> </table> </div>
|
|
2795
2795
|
|
|
2796
2796
|
:param create_invoice_request: Invoice details (required)
|
|
2797
2797
|
:type create_invoice_request: CreateInvoiceRequest
|
|
@@ -4650,6 +4650,555 @@ class TremendousApi:
|
|
|
4650
4650
|
|
|
4651
4651
|
|
|
4652
4652
|
|
|
4653
|
+
@validate_call
|
|
4654
|
+
def delete_connected_organization(
|
|
4655
|
+
self,
|
|
4656
|
+
id: Annotated[StrictStr, Field(description="ID of the connected organization to delete. ")],
|
|
4657
|
+
_request_timeout: Union[
|
|
4658
|
+
None,
|
|
4659
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4660
|
+
Tuple[
|
|
4661
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4662
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4663
|
+
]
|
|
4664
|
+
] = None,
|
|
4665
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4666
|
+
_content_type: Optional[StrictStr] = None,
|
|
4667
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4668
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4669
|
+
) -> CreateConnectedOrganization200Response:
|
|
4670
|
+
"""Delete a connected organization
|
|
4671
|
+
|
|
4672
|
+
Deletes a connected organization and revokes the associated OAuth connection. The underlying Tremendous organization is not affected and remains accessible.
|
|
4673
|
+
|
|
4674
|
+
:param id: ID of the connected organization to delete. (required)
|
|
4675
|
+
:type id: str
|
|
4676
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4677
|
+
number provided, it will be total request
|
|
4678
|
+
timeout. It can also be a pair (tuple) of
|
|
4679
|
+
(connection, read) timeouts.
|
|
4680
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4681
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4682
|
+
request; this effectively ignores the
|
|
4683
|
+
authentication in the spec for a single request.
|
|
4684
|
+
:type _request_auth: dict, optional
|
|
4685
|
+
:param _content_type: force content-type for the request.
|
|
4686
|
+
:type _content_type: str, Optional
|
|
4687
|
+
:param _headers: set to override the headers for a single
|
|
4688
|
+
request; this effectively ignores the headers
|
|
4689
|
+
in the spec for a single request.
|
|
4690
|
+
:type _headers: dict, optional
|
|
4691
|
+
:param _host_index: set to override the host_index for a single
|
|
4692
|
+
request; this effectively ignores the host_index
|
|
4693
|
+
in the spec for a single request.
|
|
4694
|
+
:type _host_index: int, optional
|
|
4695
|
+
:return: Returns the result object.
|
|
4696
|
+
""" # noqa: E501
|
|
4697
|
+
|
|
4698
|
+
_param = self._delete_connected_organization_serialize(
|
|
4699
|
+
id=id,
|
|
4700
|
+
_request_auth=_request_auth,
|
|
4701
|
+
_content_type=_content_type,
|
|
4702
|
+
_headers=_headers,
|
|
4703
|
+
_host_index=_host_index
|
|
4704
|
+
)
|
|
4705
|
+
|
|
4706
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4707
|
+
'200': "CreateConnectedOrganization200Response",
|
|
4708
|
+
'401': "ListRewards401Response",
|
|
4709
|
+
'404': "ListRewards401Response",
|
|
4710
|
+
'429': "ListRewards429Response",
|
|
4711
|
+
'500': "ListRewards401Response",
|
|
4712
|
+
}
|
|
4713
|
+
response_data = self.api_client.call_api(
|
|
4714
|
+
*_param,
|
|
4715
|
+
_request_timeout=_request_timeout
|
|
4716
|
+
)
|
|
4717
|
+
response_data.read()
|
|
4718
|
+
return self.api_client.response_deserialize(
|
|
4719
|
+
response_data=response_data,
|
|
4720
|
+
response_types_map=_response_types_map,
|
|
4721
|
+
).data
|
|
4722
|
+
|
|
4723
|
+
|
|
4724
|
+
@validate_call
|
|
4725
|
+
def delete_connected_organization_with_http_info(
|
|
4726
|
+
self,
|
|
4727
|
+
id: Annotated[StrictStr, Field(description="ID of the connected organization to delete. ")],
|
|
4728
|
+
_request_timeout: Union[
|
|
4729
|
+
None,
|
|
4730
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4731
|
+
Tuple[
|
|
4732
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4733
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4734
|
+
]
|
|
4735
|
+
] = None,
|
|
4736
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4737
|
+
_content_type: Optional[StrictStr] = None,
|
|
4738
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4739
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4740
|
+
) -> ApiResponse[CreateConnectedOrganization200Response]:
|
|
4741
|
+
"""Delete a connected organization
|
|
4742
|
+
|
|
4743
|
+
Deletes a connected organization and revokes the associated OAuth connection. The underlying Tremendous organization is not affected and remains accessible.
|
|
4744
|
+
|
|
4745
|
+
:param id: ID of the connected organization to delete. (required)
|
|
4746
|
+
:type id: str
|
|
4747
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4748
|
+
number provided, it will be total request
|
|
4749
|
+
timeout. It can also be a pair (tuple) of
|
|
4750
|
+
(connection, read) timeouts.
|
|
4751
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4752
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4753
|
+
request; this effectively ignores the
|
|
4754
|
+
authentication in the spec for a single request.
|
|
4755
|
+
:type _request_auth: dict, optional
|
|
4756
|
+
:param _content_type: force content-type for the request.
|
|
4757
|
+
:type _content_type: str, Optional
|
|
4758
|
+
:param _headers: set to override the headers for a single
|
|
4759
|
+
request; this effectively ignores the headers
|
|
4760
|
+
in the spec for a single request.
|
|
4761
|
+
:type _headers: dict, optional
|
|
4762
|
+
:param _host_index: set to override the host_index for a single
|
|
4763
|
+
request; this effectively ignores the host_index
|
|
4764
|
+
in the spec for a single request.
|
|
4765
|
+
:type _host_index: int, optional
|
|
4766
|
+
:return: Returns the result object.
|
|
4767
|
+
""" # noqa: E501
|
|
4768
|
+
|
|
4769
|
+
_param = self._delete_connected_organization_serialize(
|
|
4770
|
+
id=id,
|
|
4771
|
+
_request_auth=_request_auth,
|
|
4772
|
+
_content_type=_content_type,
|
|
4773
|
+
_headers=_headers,
|
|
4774
|
+
_host_index=_host_index
|
|
4775
|
+
)
|
|
4776
|
+
|
|
4777
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4778
|
+
'200': "CreateConnectedOrganization200Response",
|
|
4779
|
+
'401': "ListRewards401Response",
|
|
4780
|
+
'404': "ListRewards401Response",
|
|
4781
|
+
'429': "ListRewards429Response",
|
|
4782
|
+
'500': "ListRewards401Response",
|
|
4783
|
+
}
|
|
4784
|
+
response_data = self.api_client.call_api(
|
|
4785
|
+
*_param,
|
|
4786
|
+
_request_timeout=_request_timeout
|
|
4787
|
+
)
|
|
4788
|
+
response_data.read()
|
|
4789
|
+
return self.api_client.response_deserialize(
|
|
4790
|
+
response_data=response_data,
|
|
4791
|
+
response_types_map=_response_types_map,
|
|
4792
|
+
)
|
|
4793
|
+
|
|
4794
|
+
|
|
4795
|
+
@validate_call
|
|
4796
|
+
def delete_connected_organization_without_preload_content(
|
|
4797
|
+
self,
|
|
4798
|
+
id: Annotated[StrictStr, Field(description="ID of the connected organization to delete. ")],
|
|
4799
|
+
_request_timeout: Union[
|
|
4800
|
+
None,
|
|
4801
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4802
|
+
Tuple[
|
|
4803
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4804
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4805
|
+
]
|
|
4806
|
+
] = None,
|
|
4807
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4808
|
+
_content_type: Optional[StrictStr] = None,
|
|
4809
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4810
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4811
|
+
) -> RESTResponseType:
|
|
4812
|
+
"""Delete a connected organization
|
|
4813
|
+
|
|
4814
|
+
Deletes a connected organization and revokes the associated OAuth connection. The underlying Tremendous organization is not affected and remains accessible.
|
|
4815
|
+
|
|
4816
|
+
:param id: ID of the connected organization to delete. (required)
|
|
4817
|
+
:type id: str
|
|
4818
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4819
|
+
number provided, it will be total request
|
|
4820
|
+
timeout. It can also be a pair (tuple) of
|
|
4821
|
+
(connection, read) timeouts.
|
|
4822
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4823
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4824
|
+
request; this effectively ignores the
|
|
4825
|
+
authentication in the spec for a single request.
|
|
4826
|
+
:type _request_auth: dict, optional
|
|
4827
|
+
:param _content_type: force content-type for the request.
|
|
4828
|
+
:type _content_type: str, Optional
|
|
4829
|
+
:param _headers: set to override the headers for a single
|
|
4830
|
+
request; this effectively ignores the headers
|
|
4831
|
+
in the spec for a single request.
|
|
4832
|
+
:type _headers: dict, optional
|
|
4833
|
+
:param _host_index: set to override the host_index for a single
|
|
4834
|
+
request; this effectively ignores the host_index
|
|
4835
|
+
in the spec for a single request.
|
|
4836
|
+
:type _host_index: int, optional
|
|
4837
|
+
:return: Returns the result object.
|
|
4838
|
+
""" # noqa: E501
|
|
4839
|
+
|
|
4840
|
+
_param = self._delete_connected_organization_serialize(
|
|
4841
|
+
id=id,
|
|
4842
|
+
_request_auth=_request_auth,
|
|
4843
|
+
_content_type=_content_type,
|
|
4844
|
+
_headers=_headers,
|
|
4845
|
+
_host_index=_host_index
|
|
4846
|
+
)
|
|
4847
|
+
|
|
4848
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4849
|
+
'200': "CreateConnectedOrganization200Response",
|
|
4850
|
+
'401': "ListRewards401Response",
|
|
4851
|
+
'404': "ListRewards401Response",
|
|
4852
|
+
'429': "ListRewards429Response",
|
|
4853
|
+
'500': "ListRewards401Response",
|
|
4854
|
+
}
|
|
4855
|
+
response_data = self.api_client.call_api(
|
|
4856
|
+
*_param,
|
|
4857
|
+
_request_timeout=_request_timeout
|
|
4858
|
+
)
|
|
4859
|
+
return response_data.response
|
|
4860
|
+
|
|
4861
|
+
|
|
4862
|
+
def _delete_connected_organization_serialize(
|
|
4863
|
+
self,
|
|
4864
|
+
id,
|
|
4865
|
+
_request_auth,
|
|
4866
|
+
_content_type,
|
|
4867
|
+
_headers,
|
|
4868
|
+
_host_index,
|
|
4869
|
+
) -> RequestSerialized:
|
|
4870
|
+
|
|
4871
|
+
_host = None
|
|
4872
|
+
|
|
4873
|
+
_collection_formats: Dict[str, str] = {
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
_path_params: Dict[str, str] = {}
|
|
4877
|
+
_query_params: List[Tuple[str, str]] = []
|
|
4878
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4879
|
+
_form_params: List[Tuple[str, str]] = []
|
|
4880
|
+
_files: Dict[
|
|
4881
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
4882
|
+
] = {}
|
|
4883
|
+
_body_params: Optional[bytes] = None
|
|
4884
|
+
|
|
4885
|
+
# process the path parameters
|
|
4886
|
+
if id is not None:
|
|
4887
|
+
_path_params['id'] = id
|
|
4888
|
+
# process the query parameters
|
|
4889
|
+
# process the header parameters
|
|
4890
|
+
# process the form parameters
|
|
4891
|
+
# process the body parameter
|
|
4892
|
+
|
|
4893
|
+
|
|
4894
|
+
# set the HTTP header `Accept`
|
|
4895
|
+
if 'Accept' not in _header_params:
|
|
4896
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4897
|
+
[
|
|
4898
|
+
'application/json'
|
|
4899
|
+
]
|
|
4900
|
+
)
|
|
4901
|
+
|
|
4902
|
+
|
|
4903
|
+
# authentication setting
|
|
4904
|
+
_auth_settings: List[str] = [
|
|
4905
|
+
'BearerApiKey'
|
|
4906
|
+
]
|
|
4907
|
+
|
|
4908
|
+
return self.api_client.param_serialize(
|
|
4909
|
+
method='DELETE',
|
|
4910
|
+
resource_path='/connected_organizations/{id}',
|
|
4911
|
+
path_params=_path_params,
|
|
4912
|
+
query_params=_query_params,
|
|
4913
|
+
header_params=_header_params,
|
|
4914
|
+
body=_body_params,
|
|
4915
|
+
post_params=_form_params,
|
|
4916
|
+
files=_files,
|
|
4917
|
+
auth_settings=_auth_settings,
|
|
4918
|
+
collection_formats=_collection_formats,
|
|
4919
|
+
_host=_host,
|
|
4920
|
+
_request_auth=_request_auth
|
|
4921
|
+
)
|
|
4922
|
+
|
|
4923
|
+
|
|
4924
|
+
|
|
4925
|
+
|
|
4926
|
+
@validate_call
|
|
4927
|
+
def delete_connected_organization_member(
|
|
4928
|
+
self,
|
|
4929
|
+
id: Annotated[StrictStr, Field(description="ID of the connected organization member to remove. ")],
|
|
4930
|
+
_request_timeout: Union[
|
|
4931
|
+
None,
|
|
4932
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4933
|
+
Tuple[
|
|
4934
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4935
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4936
|
+
]
|
|
4937
|
+
] = None,
|
|
4938
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4939
|
+
_content_type: Optional[StrictStr] = None,
|
|
4940
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4941
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4942
|
+
) -> CreateConnectedOrganizationMember200Response:
|
|
4943
|
+
"""Remove a connected organization member
|
|
4944
|
+
|
|
4945
|
+
Removes a connected organization member. If the member has completed registration and has an associated Tremendous member, that membership is also revoked. The connected organization itself is not affected.
|
|
4946
|
+
|
|
4947
|
+
:param id: ID of the connected organization member to remove. (required)
|
|
4948
|
+
:type id: str
|
|
4949
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4950
|
+
number provided, it will be total request
|
|
4951
|
+
timeout. It can also be a pair (tuple) of
|
|
4952
|
+
(connection, read) timeouts.
|
|
4953
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4954
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4955
|
+
request; this effectively ignores the
|
|
4956
|
+
authentication in the spec for a single request.
|
|
4957
|
+
:type _request_auth: dict, optional
|
|
4958
|
+
:param _content_type: force content-type for the request.
|
|
4959
|
+
:type _content_type: str, Optional
|
|
4960
|
+
:param _headers: set to override the headers for a single
|
|
4961
|
+
request; this effectively ignores the headers
|
|
4962
|
+
in the spec for a single request.
|
|
4963
|
+
:type _headers: dict, optional
|
|
4964
|
+
:param _host_index: set to override the host_index for a single
|
|
4965
|
+
request; this effectively ignores the host_index
|
|
4966
|
+
in the spec for a single request.
|
|
4967
|
+
:type _host_index: int, optional
|
|
4968
|
+
:return: Returns the result object.
|
|
4969
|
+
""" # noqa: E501
|
|
4970
|
+
|
|
4971
|
+
_param = self._delete_connected_organization_member_serialize(
|
|
4972
|
+
id=id,
|
|
4973
|
+
_request_auth=_request_auth,
|
|
4974
|
+
_content_type=_content_type,
|
|
4975
|
+
_headers=_headers,
|
|
4976
|
+
_host_index=_host_index
|
|
4977
|
+
)
|
|
4978
|
+
|
|
4979
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4980
|
+
'200': "CreateConnectedOrganizationMember200Response",
|
|
4981
|
+
'401': "ListRewards401Response",
|
|
4982
|
+
'404': "ListRewards401Response",
|
|
4983
|
+
'422': "ListRewards401Response",
|
|
4984
|
+
'429': "ListRewards429Response",
|
|
4985
|
+
'500': "ListRewards401Response",
|
|
4986
|
+
}
|
|
4987
|
+
response_data = self.api_client.call_api(
|
|
4988
|
+
*_param,
|
|
4989
|
+
_request_timeout=_request_timeout
|
|
4990
|
+
)
|
|
4991
|
+
response_data.read()
|
|
4992
|
+
return self.api_client.response_deserialize(
|
|
4993
|
+
response_data=response_data,
|
|
4994
|
+
response_types_map=_response_types_map,
|
|
4995
|
+
).data
|
|
4996
|
+
|
|
4997
|
+
|
|
4998
|
+
@validate_call
|
|
4999
|
+
def delete_connected_organization_member_with_http_info(
|
|
5000
|
+
self,
|
|
5001
|
+
id: Annotated[StrictStr, Field(description="ID of the connected organization member to remove. ")],
|
|
5002
|
+
_request_timeout: Union[
|
|
5003
|
+
None,
|
|
5004
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5005
|
+
Tuple[
|
|
5006
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5007
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
5008
|
+
]
|
|
5009
|
+
] = None,
|
|
5010
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
5011
|
+
_content_type: Optional[StrictStr] = None,
|
|
5012
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5013
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5014
|
+
) -> ApiResponse[CreateConnectedOrganizationMember200Response]:
|
|
5015
|
+
"""Remove a connected organization member
|
|
5016
|
+
|
|
5017
|
+
Removes a connected organization member. If the member has completed registration and has an associated Tremendous member, that membership is also revoked. The connected organization itself is not affected.
|
|
5018
|
+
|
|
5019
|
+
:param id: ID of the connected organization member to remove. (required)
|
|
5020
|
+
:type id: str
|
|
5021
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
5022
|
+
number provided, it will be total request
|
|
5023
|
+
timeout. It can also be a pair (tuple) of
|
|
5024
|
+
(connection, read) timeouts.
|
|
5025
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
5026
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
5027
|
+
request; this effectively ignores the
|
|
5028
|
+
authentication in the spec for a single request.
|
|
5029
|
+
:type _request_auth: dict, optional
|
|
5030
|
+
:param _content_type: force content-type for the request.
|
|
5031
|
+
:type _content_type: str, Optional
|
|
5032
|
+
:param _headers: set to override the headers for a single
|
|
5033
|
+
request; this effectively ignores the headers
|
|
5034
|
+
in the spec for a single request.
|
|
5035
|
+
:type _headers: dict, optional
|
|
5036
|
+
:param _host_index: set to override the host_index for a single
|
|
5037
|
+
request; this effectively ignores the host_index
|
|
5038
|
+
in the spec for a single request.
|
|
5039
|
+
:type _host_index: int, optional
|
|
5040
|
+
:return: Returns the result object.
|
|
5041
|
+
""" # noqa: E501
|
|
5042
|
+
|
|
5043
|
+
_param = self._delete_connected_organization_member_serialize(
|
|
5044
|
+
id=id,
|
|
5045
|
+
_request_auth=_request_auth,
|
|
5046
|
+
_content_type=_content_type,
|
|
5047
|
+
_headers=_headers,
|
|
5048
|
+
_host_index=_host_index
|
|
5049
|
+
)
|
|
5050
|
+
|
|
5051
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
5052
|
+
'200': "CreateConnectedOrganizationMember200Response",
|
|
5053
|
+
'401': "ListRewards401Response",
|
|
5054
|
+
'404': "ListRewards401Response",
|
|
5055
|
+
'422': "ListRewards401Response",
|
|
5056
|
+
'429': "ListRewards429Response",
|
|
5057
|
+
'500': "ListRewards401Response",
|
|
5058
|
+
}
|
|
5059
|
+
response_data = self.api_client.call_api(
|
|
5060
|
+
*_param,
|
|
5061
|
+
_request_timeout=_request_timeout
|
|
5062
|
+
)
|
|
5063
|
+
response_data.read()
|
|
5064
|
+
return self.api_client.response_deserialize(
|
|
5065
|
+
response_data=response_data,
|
|
5066
|
+
response_types_map=_response_types_map,
|
|
5067
|
+
)
|
|
5068
|
+
|
|
5069
|
+
|
|
5070
|
+
@validate_call
|
|
5071
|
+
def delete_connected_organization_member_without_preload_content(
|
|
5072
|
+
self,
|
|
5073
|
+
id: Annotated[StrictStr, Field(description="ID of the connected organization member to remove. ")],
|
|
5074
|
+
_request_timeout: Union[
|
|
5075
|
+
None,
|
|
5076
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5077
|
+
Tuple[
|
|
5078
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5079
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
5080
|
+
]
|
|
5081
|
+
] = None,
|
|
5082
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
5083
|
+
_content_type: Optional[StrictStr] = None,
|
|
5084
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5085
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5086
|
+
) -> RESTResponseType:
|
|
5087
|
+
"""Remove a connected organization member
|
|
5088
|
+
|
|
5089
|
+
Removes a connected organization member. If the member has completed registration and has an associated Tremendous member, that membership is also revoked. The connected organization itself is not affected.
|
|
5090
|
+
|
|
5091
|
+
:param id: ID of the connected organization member to remove. (required)
|
|
5092
|
+
:type id: str
|
|
5093
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
5094
|
+
number provided, it will be total request
|
|
5095
|
+
timeout. It can also be a pair (tuple) of
|
|
5096
|
+
(connection, read) timeouts.
|
|
5097
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
5098
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
5099
|
+
request; this effectively ignores the
|
|
5100
|
+
authentication in the spec for a single request.
|
|
5101
|
+
:type _request_auth: dict, optional
|
|
5102
|
+
:param _content_type: force content-type for the request.
|
|
5103
|
+
:type _content_type: str, Optional
|
|
5104
|
+
:param _headers: set to override the headers for a single
|
|
5105
|
+
request; this effectively ignores the headers
|
|
5106
|
+
in the spec for a single request.
|
|
5107
|
+
:type _headers: dict, optional
|
|
5108
|
+
:param _host_index: set to override the host_index for a single
|
|
5109
|
+
request; this effectively ignores the host_index
|
|
5110
|
+
in the spec for a single request.
|
|
5111
|
+
:type _host_index: int, optional
|
|
5112
|
+
:return: Returns the result object.
|
|
5113
|
+
""" # noqa: E501
|
|
5114
|
+
|
|
5115
|
+
_param = self._delete_connected_organization_member_serialize(
|
|
5116
|
+
id=id,
|
|
5117
|
+
_request_auth=_request_auth,
|
|
5118
|
+
_content_type=_content_type,
|
|
5119
|
+
_headers=_headers,
|
|
5120
|
+
_host_index=_host_index
|
|
5121
|
+
)
|
|
5122
|
+
|
|
5123
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
5124
|
+
'200': "CreateConnectedOrganizationMember200Response",
|
|
5125
|
+
'401': "ListRewards401Response",
|
|
5126
|
+
'404': "ListRewards401Response",
|
|
5127
|
+
'422': "ListRewards401Response",
|
|
5128
|
+
'429': "ListRewards429Response",
|
|
5129
|
+
'500': "ListRewards401Response",
|
|
5130
|
+
}
|
|
5131
|
+
response_data = self.api_client.call_api(
|
|
5132
|
+
*_param,
|
|
5133
|
+
_request_timeout=_request_timeout
|
|
5134
|
+
)
|
|
5135
|
+
return response_data.response
|
|
5136
|
+
|
|
5137
|
+
|
|
5138
|
+
def _delete_connected_organization_member_serialize(
|
|
5139
|
+
self,
|
|
5140
|
+
id,
|
|
5141
|
+
_request_auth,
|
|
5142
|
+
_content_type,
|
|
5143
|
+
_headers,
|
|
5144
|
+
_host_index,
|
|
5145
|
+
) -> RequestSerialized:
|
|
5146
|
+
|
|
5147
|
+
_host = None
|
|
5148
|
+
|
|
5149
|
+
_collection_formats: Dict[str, str] = {
|
|
5150
|
+
}
|
|
5151
|
+
|
|
5152
|
+
_path_params: Dict[str, str] = {}
|
|
5153
|
+
_query_params: List[Tuple[str, str]] = []
|
|
5154
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
5155
|
+
_form_params: List[Tuple[str, str]] = []
|
|
5156
|
+
_files: Dict[
|
|
5157
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
5158
|
+
] = {}
|
|
5159
|
+
_body_params: Optional[bytes] = None
|
|
5160
|
+
|
|
5161
|
+
# process the path parameters
|
|
5162
|
+
if id is not None:
|
|
5163
|
+
_path_params['id'] = id
|
|
5164
|
+
# process the query parameters
|
|
5165
|
+
# process the header parameters
|
|
5166
|
+
# process the form parameters
|
|
5167
|
+
# process the body parameter
|
|
5168
|
+
|
|
5169
|
+
|
|
5170
|
+
# set the HTTP header `Accept`
|
|
5171
|
+
if 'Accept' not in _header_params:
|
|
5172
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5173
|
+
[
|
|
5174
|
+
'application/json'
|
|
5175
|
+
]
|
|
5176
|
+
)
|
|
5177
|
+
|
|
5178
|
+
|
|
5179
|
+
# authentication setting
|
|
5180
|
+
_auth_settings: List[str] = [
|
|
5181
|
+
'BearerApiKey'
|
|
5182
|
+
]
|
|
5183
|
+
|
|
5184
|
+
return self.api_client.param_serialize(
|
|
5185
|
+
method='DELETE',
|
|
5186
|
+
resource_path='/connected_organization_members/{id}',
|
|
5187
|
+
path_params=_path_params,
|
|
5188
|
+
query_params=_query_params,
|
|
5189
|
+
header_params=_header_params,
|
|
5190
|
+
body=_body_params,
|
|
5191
|
+
post_params=_form_params,
|
|
5192
|
+
files=_files,
|
|
5193
|
+
auth_settings=_auth_settings,
|
|
5194
|
+
collection_formats=_collection_formats,
|
|
5195
|
+
_host=_host,
|
|
5196
|
+
_request_auth=_request_auth
|
|
5197
|
+
)
|
|
5198
|
+
|
|
5199
|
+
|
|
5200
|
+
|
|
5201
|
+
|
|
4653
5202
|
@validate_call
|
|
4654
5203
|
def delete_fraud_rule(
|
|
4655
5204
|
self,
|
{tremendous_python-5.10.1 → tremendous_python-5.12.0}/tremendous/models/create_invoice_request.py
RENAMED
|
@@ -29,9 +29,20 @@ class CreateInvoiceRequest(BaseModel):
|
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
po_number: Optional[StrictStr] = Field(default=None, description="Reference to the purchase order number within your organization")
|
|
31
31
|
amount: Union[StrictFloat, StrictInt] = Field(description="Amount of the invoice")
|
|
32
|
-
|
|
32
|
+
currency_code: Optional[StrictStr] = Field(default=None, description="Currency of the invoice. Defaults to the organization's currency if not provided.")
|
|
33
|
+
currency: Optional[StrictStr] = Field(default=None, description="Deprecated: Use `currency_code` instead.")
|
|
33
34
|
memo: Optional[StrictStr] = Field(default=None, description="A note to be included in the invoice. This is for your internal use and will not be visible to the recipient. ")
|
|
34
|
-
__properties: ClassVar[List[str]] = ["po_number", "amount", "currency", "memo"]
|
|
35
|
+
__properties: ClassVar[List[str]] = ["po_number", "amount", "currency_code", "currency", "memo"]
|
|
36
|
+
|
|
37
|
+
@field_validator('currency_code')
|
|
38
|
+
def currency_code_validate_enum(cls, value):
|
|
39
|
+
"""Validates the enum"""
|
|
40
|
+
if value is None:
|
|
41
|
+
return value
|
|
42
|
+
|
|
43
|
+
if value not in set(['USD', 'EUR', 'GBP']):
|
|
44
|
+
raise ValueError("must be one of enum values ('USD', 'EUR', 'GBP')")
|
|
45
|
+
return value
|
|
35
46
|
|
|
36
47
|
@field_validator('currency')
|
|
37
48
|
def currency_validate_enum(cls, value):
|
|
@@ -106,7 +117,8 @@ class CreateInvoiceRequest(BaseModel):
|
|
|
106
117
|
_obj = cls.model_validate({
|
|
107
118
|
"po_number": obj.get("po_number"),
|
|
108
119
|
"amount": obj.get("amount"),
|
|
109
|
-
"
|
|
120
|
+
"currency_code": obj.get("currency_code"),
|
|
121
|
+
"currency": obj.get("currency"),
|
|
110
122
|
"memo": obj.get("memo")
|
|
111
123
|
})
|
|
112
124
|
return _obj
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '5.12.0'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '5.10.1'
|