tremendous-python 7.0.0__tar.gz → 8.0.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-7.0.0 → tremendous_python-8.0.0}/PKG-INFO +1 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/pyproject.toml +1 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/__init__.py +0 -4
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/api/tremendous_api.py +9 -297
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/__init__.py +0 -2
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization_organization.py +8 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_organization.py +3 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_organization200_response_organization.py +8 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_organization_for_response.py +8 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_organization_properties.py +3 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_organization_request.py +4 -2
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_organization_response_organization.py +8 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_report_request.py +8 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_connected_organizations200_response_connected_organizations_inner_organization.py +8 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_organizations200_response_organizations_inner.py +8 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_products_response_products_inner.py +1 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/organization.py +8 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/organization_response_organization.py +8 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/product.py +1 -1
- tremendous_python-8.0.0/tremendous/version.py +1 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous_python.egg-info/PKG-INFO +1 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous_python.egg-info/SOURCES.txt +0 -2
- tremendous_python-7.0.0/tremendous/models/create_api_key200_response.py +0 -89
- tremendous_python-7.0.0/tremendous/models/create_api_key_request.py +0 -89
- tremendous_python-7.0.0/tremendous/version.py +0 -1
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/LICENSE +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/README.md +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/setup.cfg +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/setup.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/test/test_campaigns.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/test/test_enum_tolerance.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/test/test_funding_sources.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/test/test_invoices.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/test/test_members.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/test/test_orders.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/test/test_products.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/api/__init__.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/api_client.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/api_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/configuration.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/exceptions.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/allow_email.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/allow_ip.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/balance_transaction.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/balance_transaction_order.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/balance_transaction_order_payment.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/base_order_for_create.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/campaign.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/campaign_base.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/campaign_base_products_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/channel.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization_member.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization_member_member.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization_member_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization_member_response_connected_organization_member.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization_member_session.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization_member_session_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization_member_session_response_connected_organization_member_session.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/connected_organization_response_connected_organization.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_campaign200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_campaign_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_connected_organization200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_connected_organization_member200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_connected_organization_member_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_connected_organization_member_session200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_connected_organization_member_session200_response_connected_organization_member_session.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_connected_organization_member_session_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_connected_organization_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_connected_organization_request_kyb_prefill.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_field.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_field200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_field_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_field_request_data.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_invoice200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_invoice_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_member.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_member200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_member_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_order200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_order200_response_order.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_order200_response_order_rewards_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_order200_response_order_rewards_inner_delivery.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_order_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_organization200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_organization_request_copy_settings.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_organization_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_report200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_report200_response_report.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_report_request_filters.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_report_request_filters_digital_rewards.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_report_request_filters_digital_rewards_amount.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_report_request_filters_digital_rewards_created_at.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_topup200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_topup_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_webhook200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_webhook_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/currency_codes.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/custom_field.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/delivery_details.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/delivery_details_with_link.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/delivery_metadata.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/delivery_method.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/delivery_status.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/error_model.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_config_allow_email.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_config_country.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_config_country_update_list.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_config_ip.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_config_redeemed_rewards_amount.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_config_redeemed_rewards_count.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_config_review_email.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_config_review_vpn.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_generic_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_review.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_review_base.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_review_geo.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_review_list_item.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_review_reason.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_review_redemption_method.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_review_related_rewards.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_review_risk.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_review_status.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_rule200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_rule_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_rule_request_config.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_rule_type.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/fraud_rules_list_item.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/funding_source.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/generate_reward_link200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/generate_reward_link200_response_reward.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_fraud_review200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_fraud_review200_response_fraud_review.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_fraud_review200_response_fraud_review_related_rewards.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_funding_source200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_member200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_member200_response_member.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_member200_response_member_events_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_order200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_organization200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_product_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/get_reward200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/inline_object.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/invoice.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/invoice_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/invoice_response_invoice.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_balance_transactions200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_balance_transactions200_response_transactions_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_balance_transactions200_response_transactions_inner_order.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_balance_transactions200_response_transactions_inner_order_payment.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_campaigns200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_campaigns200_response_campaigns_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_campaigns200_response_campaigns_inner_auto_add_product_rule.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_campaigns200_response_campaigns_inner_email_style.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_campaigns200_response_campaigns_inner_products_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_campaigns200_response_campaigns_inner_webpage_style.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_connected_organization_members200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_connected_organization_members200_response_connected_organization_members_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_connected_organization_members200_response_connected_organization_members_inner_member.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_connected_organizations200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_connected_organizations200_response_connected_organizations_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_fields200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_fields200_response_fields_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_fields200_response_fields_inner_data.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_forex_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_fraud_reviews200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_fraud_reviews200_response_fraud_reviews_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_fraud_reviews200_response_fraud_reviews_inner_geo.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_fraud_rules200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_fraud_rules200_response_fraud_rules_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_funding_sources200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_funding_sources200_response_funding_sources_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_funding_sources200_response_funding_sources_inner_meta.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_funding_sources200_response_funding_sources_inner_meta_failure_details.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_invoices200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_invoices200_response_invoices_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_members200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_members200_response_members_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_orders200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_orders200_response_orders_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_orders200_response_orders_inner_payment.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_orders200_response_orders_inner_payment_refund.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_organizations200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_products_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_products_response_products_inner_countries_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_products_response_products_inner_documents.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_products_response_products_inner_images_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_products_response_products_inner_skus_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_rewards200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_rewards200_response_rewards_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_rewards200_response_rewards_inner_custom_fields_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_rewards200_response_rewards_inner_delivery.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_rewards200_response_rewards_inner_recipient.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_rewards200_response_rewards_inner_value.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_rewards401_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_rewards401_response_errors.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_roles200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_roles200_response_roles_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_topups200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_topups200_response_topups_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_webhook_events200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_webhooks200_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/list_webhooks200_response_webhooks_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/member.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/member_base.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/member_with_events.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/member_without_events.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/member_without_events_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/member_without_events_response_member.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/model_field.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/order.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/order_base.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/order_base_payment.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/order_status.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/order_with_link.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/order_with_link_rewards_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/order_without_link.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/organization_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/payment_details.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/payment_details_refund.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/payout.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/product_documents.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/recipient.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/refund_details.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/report.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/report_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/resend_reward_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/review_country.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/review_country1.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/review_email.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/review_ip.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/review_redeemed_rewards_amount.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/review_redeemed_rewards_count.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/review_vpn.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_base.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_base_custom_fields_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_for_order_create.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_link.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_link_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_link_response_reward.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_response_reward.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_token.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_token_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_token_response_reward.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_value.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_with_link.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_with_link_delivery.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_without_link.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/reward_without_link_delivery.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/role.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/simulate_webhook_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/single_reward_order.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/single_reward_order_payment.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/single_reward_order_reward.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/single_reward_order_reward_custom_fields_inner.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/single_reward_order_reward_delivery.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/single_reward_order_reward_delivery_meta.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/single_reward_order_with_link.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/single_reward_order_with_link_order.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/single_reward_order_without_link.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/single_reward_order_without_link_order.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/topup.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/topup_create_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/topup_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/update_campaign.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/update_campaign_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/update_fraud_rule_list_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/update_fraud_rule_list_request_config.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/update_member.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/update_member_request.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/webhook.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/webhook_post.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/webhook_response.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/webhook_response_webhook.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/py.typed +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/rest.py +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous_python.egg-info/dependency_links.txt +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous_python.egg-info/requires.txt +0 -0
- {tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous_python.egg-info/top_level.txt +0 -0
|
@@ -50,8 +50,6 @@ __all__ = [
|
|
|
50
50
|
"ConnectedOrganizationOrganization",
|
|
51
51
|
"ConnectedOrganizationResponse",
|
|
52
52
|
"ConnectedOrganizationResponseConnectedOrganization",
|
|
53
|
-
"CreateApiKey200Response",
|
|
54
|
-
"CreateApiKeyRequest",
|
|
55
53
|
"CreateCampaign200Response",
|
|
56
54
|
"CreateCampaignRequest",
|
|
57
55
|
"CreateConnectedOrganization200Response",
|
|
@@ -319,8 +317,6 @@ from tremendous.models.connected_organization_member_session_response_connected_
|
|
|
319
317
|
from tremendous.models.connected_organization_organization import ConnectedOrganizationOrganization as ConnectedOrganizationOrganization
|
|
320
318
|
from tremendous.models.connected_organization_response import ConnectedOrganizationResponse as ConnectedOrganizationResponse
|
|
321
319
|
from tremendous.models.connected_organization_response_connected_organization import ConnectedOrganizationResponseConnectedOrganization as ConnectedOrganizationResponseConnectedOrganization
|
|
322
|
-
from tremendous.models.create_api_key200_response import CreateApiKey200Response as CreateApiKey200Response
|
|
323
|
-
from tremendous.models.create_api_key_request import CreateApiKeyRequest as CreateApiKeyRequest
|
|
324
320
|
from tremendous.models.create_campaign200_response import CreateCampaign200Response as CreateCampaign200Response
|
|
325
321
|
from tremendous.models.create_campaign_request import CreateCampaignRequest as CreateCampaignRequest
|
|
326
322
|
from tremendous.models.create_connected_organization200_response import CreateConnectedOrganization200Response as CreateConnectedOrganization200Response
|
|
@@ -19,8 +19,6 @@ from typing_extensions import Annotated
|
|
|
19
19
|
from pydantic import Field, StrictBytes, StrictInt, StrictStr, field_validator
|
|
20
20
|
from typing import Any, Dict, Optional, Tuple, Union
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
|
-
from tremendous.models.create_api_key200_response import CreateApiKey200Response
|
|
23
|
-
from tremendous.models.create_api_key_request import CreateApiKeyRequest
|
|
24
22
|
from tremendous.models.create_campaign200_response import CreateCampaign200Response
|
|
25
23
|
from tremendous.models.create_campaign_request import CreateCampaignRequest
|
|
26
24
|
from tremendous.models.create_connected_organization200_response import CreateConnectedOrganization200Response
|
|
@@ -932,292 +930,6 @@ class TremendousApi:
|
|
|
932
930
|
|
|
933
931
|
|
|
934
932
|
|
|
935
|
-
@validate_call
|
|
936
|
-
def create_api_key(
|
|
937
|
-
self,
|
|
938
|
-
create_api_key_request: Annotated[Optional[CreateApiKeyRequest], Field(description="Optional settings for the new API key")] = None,
|
|
939
|
-
_request_timeout: Union[
|
|
940
|
-
None,
|
|
941
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
942
|
-
Tuple[
|
|
943
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
944
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
945
|
-
]
|
|
946
|
-
] = None,
|
|
947
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
948
|
-
_content_type: Optional[StrictStr] = None,
|
|
949
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
950
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
951
|
-
) -> CreateApiKey200Response:
|
|
952
|
-
"""Create API key
|
|
953
|
-
|
|
954
|
-
Creates a new API key. The API key used to make the request will remain active. Created API keys are generated randomly and returned in the response. **You cannot retrieve them again.**
|
|
955
|
-
|
|
956
|
-
:param create_api_key_request: Optional settings for the new API key
|
|
957
|
-
:type create_api_key_request: CreateApiKeyRequest
|
|
958
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
959
|
-
number provided, it will be total request
|
|
960
|
-
timeout. It can also be a pair (tuple) of
|
|
961
|
-
(connection, read) timeouts.
|
|
962
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
963
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
964
|
-
request; this effectively ignores the
|
|
965
|
-
authentication in the spec for a single request.
|
|
966
|
-
:type _request_auth: dict, optional
|
|
967
|
-
:param _content_type: force content-type for the request.
|
|
968
|
-
:type _content_type: str, Optional
|
|
969
|
-
:param _headers: set to override the headers for a single
|
|
970
|
-
request; this effectively ignores the headers
|
|
971
|
-
in the spec for a single request.
|
|
972
|
-
:type _headers: dict, optional
|
|
973
|
-
:param _host_index: set to override the host_index for a single
|
|
974
|
-
request; this effectively ignores the host_index
|
|
975
|
-
in the spec for a single request.
|
|
976
|
-
:type _host_index: int, optional
|
|
977
|
-
:return: Returns the result object.
|
|
978
|
-
""" # noqa: E501
|
|
979
|
-
|
|
980
|
-
_param = self._create_api_key_serialize(
|
|
981
|
-
create_api_key_request=create_api_key_request,
|
|
982
|
-
_request_auth=_request_auth,
|
|
983
|
-
_content_type=_content_type,
|
|
984
|
-
_headers=_headers,
|
|
985
|
-
_host_index=_host_index
|
|
986
|
-
)
|
|
987
|
-
|
|
988
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
989
|
-
'200': "CreateApiKey200Response",
|
|
990
|
-
'401': "ListRewards401Response",
|
|
991
|
-
'404': "ListRewards401Response",
|
|
992
|
-
'429': "ListRewards401Response",
|
|
993
|
-
'500': "ListRewards401Response",
|
|
994
|
-
}
|
|
995
|
-
response_data = self.api_client.call_api(
|
|
996
|
-
*_param,
|
|
997
|
-
_request_timeout=_request_timeout
|
|
998
|
-
)
|
|
999
|
-
response_data.read()
|
|
1000
|
-
return self.api_client.response_deserialize(
|
|
1001
|
-
response_data=response_data,
|
|
1002
|
-
response_types_map=_response_types_map,
|
|
1003
|
-
).data
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
@validate_call
|
|
1007
|
-
def create_api_key_with_http_info(
|
|
1008
|
-
self,
|
|
1009
|
-
create_api_key_request: Annotated[Optional[CreateApiKeyRequest], Field(description="Optional settings for the new API key")] = None,
|
|
1010
|
-
_request_timeout: Union[
|
|
1011
|
-
None,
|
|
1012
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1013
|
-
Tuple[
|
|
1014
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1015
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1016
|
-
]
|
|
1017
|
-
] = None,
|
|
1018
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1019
|
-
_content_type: Optional[StrictStr] = None,
|
|
1020
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1021
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1022
|
-
) -> ApiResponse[CreateApiKey200Response]:
|
|
1023
|
-
"""Create API key
|
|
1024
|
-
|
|
1025
|
-
Creates a new API key. The API key used to make the request will remain active. Created API keys are generated randomly and returned in the response. **You cannot retrieve them again.**
|
|
1026
|
-
|
|
1027
|
-
:param create_api_key_request: Optional settings for the new API key
|
|
1028
|
-
:type create_api_key_request: CreateApiKeyRequest
|
|
1029
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1030
|
-
number provided, it will be total request
|
|
1031
|
-
timeout. It can also be a pair (tuple) of
|
|
1032
|
-
(connection, read) timeouts.
|
|
1033
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1034
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1035
|
-
request; this effectively ignores the
|
|
1036
|
-
authentication in the spec for a single request.
|
|
1037
|
-
:type _request_auth: dict, optional
|
|
1038
|
-
:param _content_type: force content-type for the request.
|
|
1039
|
-
:type _content_type: str, Optional
|
|
1040
|
-
:param _headers: set to override the headers for a single
|
|
1041
|
-
request; this effectively ignores the headers
|
|
1042
|
-
in the spec for a single request.
|
|
1043
|
-
:type _headers: dict, optional
|
|
1044
|
-
:param _host_index: set to override the host_index for a single
|
|
1045
|
-
request; this effectively ignores the host_index
|
|
1046
|
-
in the spec for a single request.
|
|
1047
|
-
:type _host_index: int, optional
|
|
1048
|
-
:return: Returns the result object.
|
|
1049
|
-
""" # noqa: E501
|
|
1050
|
-
|
|
1051
|
-
_param = self._create_api_key_serialize(
|
|
1052
|
-
create_api_key_request=create_api_key_request,
|
|
1053
|
-
_request_auth=_request_auth,
|
|
1054
|
-
_content_type=_content_type,
|
|
1055
|
-
_headers=_headers,
|
|
1056
|
-
_host_index=_host_index
|
|
1057
|
-
)
|
|
1058
|
-
|
|
1059
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1060
|
-
'200': "CreateApiKey200Response",
|
|
1061
|
-
'401': "ListRewards401Response",
|
|
1062
|
-
'404': "ListRewards401Response",
|
|
1063
|
-
'429': "ListRewards401Response",
|
|
1064
|
-
'500': "ListRewards401Response",
|
|
1065
|
-
}
|
|
1066
|
-
response_data = self.api_client.call_api(
|
|
1067
|
-
*_param,
|
|
1068
|
-
_request_timeout=_request_timeout
|
|
1069
|
-
)
|
|
1070
|
-
response_data.read()
|
|
1071
|
-
return self.api_client.response_deserialize(
|
|
1072
|
-
response_data=response_data,
|
|
1073
|
-
response_types_map=_response_types_map,
|
|
1074
|
-
)
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
@validate_call
|
|
1078
|
-
def create_api_key_without_preload_content(
|
|
1079
|
-
self,
|
|
1080
|
-
create_api_key_request: Annotated[Optional[CreateApiKeyRequest], Field(description="Optional settings for the new API key")] = None,
|
|
1081
|
-
_request_timeout: Union[
|
|
1082
|
-
None,
|
|
1083
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1084
|
-
Tuple[
|
|
1085
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1086
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1087
|
-
]
|
|
1088
|
-
] = None,
|
|
1089
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1090
|
-
_content_type: Optional[StrictStr] = None,
|
|
1091
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1092
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1093
|
-
) -> RESTResponseType:
|
|
1094
|
-
"""Create API key
|
|
1095
|
-
|
|
1096
|
-
Creates a new API key. The API key used to make the request will remain active. Created API keys are generated randomly and returned in the response. **You cannot retrieve them again.**
|
|
1097
|
-
|
|
1098
|
-
:param create_api_key_request: Optional settings for the new API key
|
|
1099
|
-
:type create_api_key_request: CreateApiKeyRequest
|
|
1100
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1101
|
-
number provided, it will be total request
|
|
1102
|
-
timeout. It can also be a pair (tuple) of
|
|
1103
|
-
(connection, read) timeouts.
|
|
1104
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1105
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1106
|
-
request; this effectively ignores the
|
|
1107
|
-
authentication in the spec for a single request.
|
|
1108
|
-
:type _request_auth: dict, optional
|
|
1109
|
-
:param _content_type: force content-type for the request.
|
|
1110
|
-
:type _content_type: str, Optional
|
|
1111
|
-
:param _headers: set to override the headers for a single
|
|
1112
|
-
request; this effectively ignores the headers
|
|
1113
|
-
in the spec for a single request.
|
|
1114
|
-
:type _headers: dict, optional
|
|
1115
|
-
:param _host_index: set to override the host_index for a single
|
|
1116
|
-
request; this effectively ignores the host_index
|
|
1117
|
-
in the spec for a single request.
|
|
1118
|
-
:type _host_index: int, optional
|
|
1119
|
-
:return: Returns the result object.
|
|
1120
|
-
""" # noqa: E501
|
|
1121
|
-
|
|
1122
|
-
_param = self._create_api_key_serialize(
|
|
1123
|
-
create_api_key_request=create_api_key_request,
|
|
1124
|
-
_request_auth=_request_auth,
|
|
1125
|
-
_content_type=_content_type,
|
|
1126
|
-
_headers=_headers,
|
|
1127
|
-
_host_index=_host_index
|
|
1128
|
-
)
|
|
1129
|
-
|
|
1130
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1131
|
-
'200': "CreateApiKey200Response",
|
|
1132
|
-
'401': "ListRewards401Response",
|
|
1133
|
-
'404': "ListRewards401Response",
|
|
1134
|
-
'429': "ListRewards401Response",
|
|
1135
|
-
'500': "ListRewards401Response",
|
|
1136
|
-
}
|
|
1137
|
-
response_data = self.api_client.call_api(
|
|
1138
|
-
*_param,
|
|
1139
|
-
_request_timeout=_request_timeout
|
|
1140
|
-
)
|
|
1141
|
-
return response_data.response
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
def _create_api_key_serialize(
|
|
1145
|
-
self,
|
|
1146
|
-
create_api_key_request,
|
|
1147
|
-
_request_auth,
|
|
1148
|
-
_content_type,
|
|
1149
|
-
_headers,
|
|
1150
|
-
_host_index,
|
|
1151
|
-
) -> RequestSerialized:
|
|
1152
|
-
|
|
1153
|
-
_host = None
|
|
1154
|
-
|
|
1155
|
-
_collection_formats: Dict[str, str] = {
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
_path_params: Dict[str, str] = {}
|
|
1159
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1160
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1161
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1162
|
-
_files: Dict[
|
|
1163
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1164
|
-
] = {}
|
|
1165
|
-
_body_params: Optional[bytes] = None
|
|
1166
|
-
|
|
1167
|
-
# process the path parameters
|
|
1168
|
-
# process the query parameters
|
|
1169
|
-
# process the header parameters
|
|
1170
|
-
# process the form parameters
|
|
1171
|
-
# process the body parameter
|
|
1172
|
-
if create_api_key_request is not None:
|
|
1173
|
-
_body_params = create_api_key_request
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
# set the HTTP header `Accept`
|
|
1177
|
-
if 'Accept' not in _header_params:
|
|
1178
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1179
|
-
[
|
|
1180
|
-
'application/json'
|
|
1181
|
-
]
|
|
1182
|
-
)
|
|
1183
|
-
|
|
1184
|
-
# set the HTTP header `Content-Type`
|
|
1185
|
-
if _content_type:
|
|
1186
|
-
_header_params['Content-Type'] = _content_type
|
|
1187
|
-
else:
|
|
1188
|
-
_default_content_type = (
|
|
1189
|
-
self.api_client.select_header_content_type(
|
|
1190
|
-
[
|
|
1191
|
-
'application/json'
|
|
1192
|
-
]
|
|
1193
|
-
)
|
|
1194
|
-
)
|
|
1195
|
-
if _default_content_type is not None:
|
|
1196
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1197
|
-
|
|
1198
|
-
# authentication setting
|
|
1199
|
-
_auth_settings: List[str] = [
|
|
1200
|
-
'BearerApiKey'
|
|
1201
|
-
]
|
|
1202
|
-
|
|
1203
|
-
return self.api_client.param_serialize(
|
|
1204
|
-
method='POST',
|
|
1205
|
-
resource_path='/organizations/create_api_key',
|
|
1206
|
-
path_params=_path_params,
|
|
1207
|
-
query_params=_query_params,
|
|
1208
|
-
header_params=_header_params,
|
|
1209
|
-
body=_body_params,
|
|
1210
|
-
post_params=_form_params,
|
|
1211
|
-
files=_files,
|
|
1212
|
-
auth_settings=_auth_settings,
|
|
1213
|
-
collection_formats=_collection_formats,
|
|
1214
|
-
_host=_host,
|
|
1215
|
-
_request_auth=_request_auth
|
|
1216
|
-
)
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
933
|
@validate_call
|
|
1222
934
|
def create_campaign(
|
|
1223
935
|
self,
|
|
@@ -2965,7 +2677,7 @@ class TremendousApi:
|
|
|
2965
2677
|
) -> CreateMember200Response:
|
|
2966
2678
|
"""Create member
|
|
2967
2679
|
|
|
2968
|
-
Each organization has one or more users that can access and manage that organization. These users are called members. Members can take actions via the Tremendous web dashboard directly. These actions include adding funding sources to the organization, creating Campaigns, and more. ### Permissions Members can have a role that determine their permissions within the organization. Check the Roles API for the available roles. To create members of a sub-
|
|
2680
|
+
Each organization has one or more users that can access and manage that organization. These users are called members. Members can take actions via the Tremendous web dashboard directly. These actions include adding funding sources to the organization, creating Campaigns, and more. ### Permissions Members can have a role that determine their permissions within the organization. Check the Roles API for the available roles. To create members of a sub-organization, use an API key for that organization. You can create one in the Tremendous dashboard. ### Inviting new members After creating a member, an automatic invite is sent to the email address. If the user is not registered yet, that person will then need to sign up for a Tremendous account. > ❗️ Automatic invitations are not available in the sandbox > > You must manually use the returned `invite_url` field in the payload instead.
|
|
2969
2681
|
|
|
2970
2682
|
:param create_member_request: Member details (required)
|
|
2971
2683
|
:type create_member_request: CreateMemberRequest
|
|
@@ -3036,7 +2748,7 @@ class TremendousApi:
|
|
|
3036
2748
|
) -> ApiResponse[CreateMember200Response]:
|
|
3037
2749
|
"""Create member
|
|
3038
2750
|
|
|
3039
|
-
Each organization has one or more users that can access and manage that organization. These users are called members. Members can take actions via the Tremendous web dashboard directly. These actions include adding funding sources to the organization, creating Campaigns, and more. ### Permissions Members can have a role that determine their permissions within the organization. Check the Roles API for the available roles. To create members of a sub-
|
|
2751
|
+
Each organization has one or more users that can access and manage that organization. These users are called members. Members can take actions via the Tremendous web dashboard directly. These actions include adding funding sources to the organization, creating Campaigns, and more. ### Permissions Members can have a role that determine their permissions within the organization. Check the Roles API for the available roles. To create members of a sub-organization, use an API key for that organization. You can create one in the Tremendous dashboard. ### Inviting new members After creating a member, an automatic invite is sent to the email address. If the user is not registered yet, that person will then need to sign up for a Tremendous account. > ❗️ Automatic invitations are not available in the sandbox > > You must manually use the returned `invite_url` field in the payload instead.
|
|
3040
2752
|
|
|
3041
2753
|
:param create_member_request: Member details (required)
|
|
3042
2754
|
:type create_member_request: CreateMemberRequest
|
|
@@ -3107,7 +2819,7 @@ class TremendousApi:
|
|
|
3107
2819
|
) -> RESTResponseType:
|
|
3108
2820
|
"""Create member
|
|
3109
2821
|
|
|
3110
|
-
Each organization has one or more users that can access and manage that organization. These users are called members. Members can take actions via the Tremendous web dashboard directly. These actions include adding funding sources to the organization, creating Campaigns, and more. ### Permissions Members can have a role that determine their permissions within the organization. Check the Roles API for the available roles. To create members of a sub-
|
|
2822
|
+
Each organization has one or more users that can access and manage that organization. These users are called members. Members can take actions via the Tremendous web dashboard directly. These actions include adding funding sources to the organization, creating Campaigns, and more. ### Permissions Members can have a role that determine their permissions within the organization. Check the Roles API for the available roles. To create members of a sub-organization, use an API key for that organization. You can create one in the Tremendous dashboard. ### Inviting new members After creating a member, an automatic invite is sent to the email address. If the user is not registered yet, that person will then need to sign up for a Tremendous account. > ❗️ Automatic invitations are not available in the sandbox > > You must manually use the returned `invite_url` field in the payload instead.
|
|
3111
2823
|
|
|
3112
2824
|
:param create_member_request: Member details (required)
|
|
3113
2825
|
:type create_member_request: CreateMemberRequest
|
|
@@ -3835,7 +3547,7 @@ class TremendousApi:
|
|
|
3835
3547
|
) -> CreateReport200Response:
|
|
3836
3548
|
"""Create report
|
|
3837
3549
|
|
|
3838
|
-
Creating a report allows your organization to programmatically retrieve information that's available in our dashboard UI. This request creates a new report object with a unique ID, and kicks off an async report generation. To retrieve a completed report, either poll `/api/v2/reports/{id}` or listen for REPORTS webhook event. ## 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\">report_type</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Type of report for retrieval. <table> <thead> <tr> <th>Report type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>digital_rewards</code></td> <td>Report for Tremendous digital reward history</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">format</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Format the report will be generated in. <table> <thead> <tr> <th>Format</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>csv</code></td> <td>CSV format for report</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">filters</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters to apply to the report. Corresponds to the filters provided in the dashboard</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">digital_rewards</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters object for a <code>report_type: digital_rewards</code> report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">amount</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Amount of the rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Minimum amount of the rewards that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Maximum amount of the rewards that should be returned in the report</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">campaign_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous campaign that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">created_at</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Creation dates of rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Minimum date the reward was created</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Maximum date the reward was created</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivered_at</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Delivery date for gifts that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivery_method</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Delivery method for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous order that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_status</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Order status for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">status</code> </div> </td><td><span class=\"property-type\">array</span> <span class=\"property-format\">string</span></td><td><p>Status for rewards returned in the report</p> </td></tr> </tbody> </table> </tr> </tbody> </table> </tr> </tbody> </table> </div> ## Rate limits Some reports may take a long time to generate and we limit the number of reports that can be simultaneously generated by an organization at a given time. If you exceed the rate limit, you'll receive a `429` response.
|
|
3550
|
+
Creating a report allows your organization to programmatically retrieve information that's available in our dashboard UI. This request creates a new report object with a unique ID, and kicks off an async report generation. To retrieve a completed report, either poll `/api/v2/reports/{id}` or listen for REPORTS webhook event. Pass `timezone` to interpret date filters and render timestamps in a specific time zone. Reports created through the API default to UTC and never use your organization's dashboard time zone. ## 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\">report_type</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Type of report for retrieval. <table> <thead> <tr> <th>Report type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>digital_rewards</code></td> <td>Report for Tremendous digital reward history</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">format</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Format the report will be generated in. <table> <thead> <tr> <th>Format</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>csv</code></td> <td>CSV format for report</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">timezone</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Time zone used to interpret date filters and display timestamps in the generated report. Accepts IANA time zone identifiers such as America/New_York or Europe/London, and UTC. Aliases such as US/Eastern are accepted and normalized to their canonical identifier (America/New_York). Defaults to UTC when omitted, null, or blank. Reports created through the API do not inherit your organization's dashboard time zone.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">filters</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters to apply to the report. Corresponds to the filters provided in the dashboard</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">digital_rewards</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters object for a <code>report_type: digital_rewards</code> report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">amount</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Amount of the rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Minimum amount of the rewards that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Maximum amount of the rewards that should be returned in the report</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">campaign_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous campaign that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">created_at</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Creation dates of rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Minimum date the reward was created</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Maximum date the reward was created</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivered_at</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Delivery date for gifts that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivery_method</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Delivery method for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous order that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_status</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Order status for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">status</code> </div> </td><td><span class=\"property-type\">array</span> <span class=\"property-format\">string</span></td><td><p>Status for rewards returned in the report</p> </td></tr> </tbody> </table> </tr> </tbody> </table> </tr> </tbody> </table> </div> ## Rate limits Some reports may take a long time to generate and we limit the number of reports that can be simultaneously generated by an organization at a given time. If you exceed the rate limit, you'll receive a `429` response.
|
|
3839
3551
|
|
|
3840
3552
|
:param create_report_request: Report to create (required)
|
|
3841
3553
|
:type create_report_request: CreateReportRequest
|
|
@@ -3907,7 +3619,7 @@ class TremendousApi:
|
|
|
3907
3619
|
) -> ApiResponse[CreateReport200Response]:
|
|
3908
3620
|
"""Create report
|
|
3909
3621
|
|
|
3910
|
-
Creating a report allows your organization to programmatically retrieve information that's available in our dashboard UI. This request creates a new report object with a unique ID, and kicks off an async report generation. To retrieve a completed report, either poll `/api/v2/reports/{id}` or listen for REPORTS webhook event. ## 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\">report_type</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Type of report for retrieval. <table> <thead> <tr> <th>Report type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>digital_rewards</code></td> <td>Report for Tremendous digital reward history</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">format</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Format the report will be generated in. <table> <thead> <tr> <th>Format</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>csv</code></td> <td>CSV format for report</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">filters</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters to apply to the report. Corresponds to the filters provided in the dashboard</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">digital_rewards</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters object for a <code>report_type: digital_rewards</code> report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">amount</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Amount of the rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Minimum amount of the rewards that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Maximum amount of the rewards that should be returned in the report</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">campaign_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous campaign that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">created_at</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Creation dates of rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Minimum date the reward was created</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Maximum date the reward was created</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivered_at</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Delivery date for gifts that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivery_method</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Delivery method for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous order that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_status</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Order status for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">status</code> </div> </td><td><span class=\"property-type\">array</span> <span class=\"property-format\">string</span></td><td><p>Status for rewards returned in the report</p> </td></tr> </tbody> </table> </tr> </tbody> </table> </tr> </tbody> </table> </div> ## Rate limits Some reports may take a long time to generate and we limit the number of reports that can be simultaneously generated by an organization at a given time. If you exceed the rate limit, you'll receive a `429` response.
|
|
3622
|
+
Creating a report allows your organization to programmatically retrieve information that's available in our dashboard UI. This request creates a new report object with a unique ID, and kicks off an async report generation. To retrieve a completed report, either poll `/api/v2/reports/{id}` or listen for REPORTS webhook event. Pass `timezone` to interpret date filters and render timestamps in a specific time zone. Reports created through the API default to UTC and never use your organization's dashboard time zone. ## 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\">report_type</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Type of report for retrieval. <table> <thead> <tr> <th>Report type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>digital_rewards</code></td> <td>Report for Tremendous digital reward history</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">format</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Format the report will be generated in. <table> <thead> <tr> <th>Format</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>csv</code></td> <td>CSV format for report</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">timezone</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Time zone used to interpret date filters and display timestamps in the generated report. Accepts IANA time zone identifiers such as America/New_York or Europe/London, and UTC. Aliases such as US/Eastern are accepted and normalized to their canonical identifier (America/New_York). Defaults to UTC when omitted, null, or blank. Reports created through the API do not inherit your organization's dashboard time zone.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">filters</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters to apply to the report. Corresponds to the filters provided in the dashboard</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">digital_rewards</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters object for a <code>report_type: digital_rewards</code> report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">amount</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Amount of the rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Minimum amount of the rewards that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Maximum amount of the rewards that should be returned in the report</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">campaign_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous campaign that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">created_at</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Creation dates of rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Minimum date the reward was created</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Maximum date the reward was created</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivered_at</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Delivery date for gifts that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivery_method</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Delivery method for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous order that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_status</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Order status for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">status</code> </div> </td><td><span class=\"property-type\">array</span> <span class=\"property-format\">string</span></td><td><p>Status for rewards returned in the report</p> </td></tr> </tbody> </table> </tr> </tbody> </table> </tr> </tbody> </table> </div> ## Rate limits Some reports may take a long time to generate and we limit the number of reports that can be simultaneously generated by an organization at a given time. If you exceed the rate limit, you'll receive a `429` response.
|
|
3911
3623
|
|
|
3912
3624
|
:param create_report_request: Report to create (required)
|
|
3913
3625
|
:type create_report_request: CreateReportRequest
|
|
@@ -3979,7 +3691,7 @@ class TremendousApi:
|
|
|
3979
3691
|
) -> RESTResponseType:
|
|
3980
3692
|
"""Create report
|
|
3981
3693
|
|
|
3982
|
-
Creating a report allows your organization to programmatically retrieve information that's available in our dashboard UI. This request creates a new report object with a unique ID, and kicks off an async report generation. To retrieve a completed report, either poll `/api/v2/reports/{id}` or listen for REPORTS webhook event. ## 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\">report_type</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Type of report for retrieval. <table> <thead> <tr> <th>Report type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>digital_rewards</code></td> <td>Report for Tremendous digital reward history</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">format</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Format the report will be generated in. <table> <thead> <tr> <th>Format</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>csv</code></td> <td>CSV format for report</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">filters</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters to apply to the report. Corresponds to the filters provided in the dashboard</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">digital_rewards</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters object for a <code>report_type: digital_rewards</code> report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">amount</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Amount of the rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Minimum amount of the rewards that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Maximum amount of the rewards that should be returned in the report</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">campaign_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous campaign that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">created_at</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Creation dates of rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Minimum date the reward was created</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Maximum date the reward was created</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivered_at</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Delivery date for gifts that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivery_method</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Delivery method for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous order that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_status</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Order status for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">status</code> </div> </td><td><span class=\"property-type\">array</span> <span class=\"property-format\">string</span></td><td><p>Status for rewards returned in the report</p> </td></tr> </tbody> </table> </tr> </tbody> </table> </tr> </tbody> </table> </div> ## Rate limits Some reports may take a long time to generate and we limit the number of reports that can be simultaneously generated by an organization at a given time. If you exceed the rate limit, you'll receive a `429` response.
|
|
3694
|
+
Creating a report allows your organization to programmatically retrieve information that's available in our dashboard UI. This request creates a new report object with a unique ID, and kicks off an async report generation. To retrieve a completed report, either poll `/api/v2/reports/{id}` or listen for REPORTS webhook event. Pass `timezone` to interpret date filters and render timestamps in a specific time zone. Reports created through the API default to UTC and never use your organization's dashboard time zone. ## 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\">report_type</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Type of report for retrieval. <table> <thead> <tr> <th>Report type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>digital_rewards</code></td> <td>Report for Tremendous digital reward history</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">format</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Format the report will be generated in. <table> <thead> <tr> <th>Format</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>csv</code></td> <td>CSV format for report</td> </tr> </tbody> </table></p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">timezone</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Time zone used to interpret date filters and display timestamps in the generated report. Accepts IANA time zone identifiers such as America/New_York or Europe/London, and UTC. Aliases such as US/Eastern are accepted and normalized to their canonical identifier (America/New_York). Defaults to UTC when omitted, null, or blank. Reports created through the API do not inherit your organization's dashboard time zone.</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">filters</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters to apply to the report. Corresponds to the filters provided in the dashboard</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">digital_rewards</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Filters object for a <code>report_type: digital_rewards</code> report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">amount</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Amount of the rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Minimum amount of the rewards that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">number</span> <span class=\"property-format\">double</span></td><td><p>Maximum amount of the rewards that should be returned in the report</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">campaign_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous campaign that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">created_at</code> </div> </td><td><span class=\"property-type\">object</span></td><td><p>Creation dates of rewards returned in the report</p> </td></tr> <tr> <td colspan=\"3\"> <details> <summary>Show object properties</summary> <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\">gte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Minimum date the reward was created</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">lte</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Maximum date the reward was created</p> </td></tr> </tbody> </table> </tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivered_at</code> </div> </td><td><span class=\"property-type\">string</span> <span class=\"property-format\">date</span></td><td><p>Delivery date for gifts that should be returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">delivery_method</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Delivery method for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_id</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>ID of the Tremendous order that this report should be limited to</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">order_status</code> </div> </td><td><span class=\"property-type\">string</span></td><td><p>Order status for rewards returned in the report</p> </td></tr> <tr class=\"\"><td><div class=\"property-name\"> <code class=\"property-name\">status</code> </div> </td><td><span class=\"property-type\">array</span> <span class=\"property-format\">string</span></td><td><p>Status for rewards returned in the report</p> </td></tr> </tbody> </table> </tr> </tbody> </table> </tr> </tbody> </table> </div> ## Rate limits Some reports may take a long time to generate and we limit the number of reports that can be simultaneously generated by an organization at a given time. If you exceed the rate limit, you'll receive a `429` response.
|
|
3983
3695
|
|
|
3984
3696
|
:param create_report_request: Report to create (required)
|
|
3985
3697
|
:type create_report_request: CreateReportRequest
|
|
@@ -14171,7 +13883,7 @@ class TremendousApi:
|
|
|
14171
13883
|
) -> ListMembers200Response:
|
|
14172
13884
|
"""List members
|
|
14173
13885
|
|
|
14174
|
-
To list members of a sub-organization
|
|
13886
|
+
To list members of a sub-organization, use an API key for that organization. You can create one in the Tremendous dashboard.
|
|
14175
13887
|
|
|
14176
13888
|
:param _request_timeout: timeout setting for this request. If one
|
|
14177
13889
|
number provided, it will be total request
|
|
@@ -14237,7 +13949,7 @@ class TremendousApi:
|
|
|
14237
13949
|
) -> ApiResponse[ListMembers200Response]:
|
|
14238
13950
|
"""List members
|
|
14239
13951
|
|
|
14240
|
-
To list members of a sub-organization
|
|
13952
|
+
To list members of a sub-organization, use an API key for that organization. You can create one in the Tremendous dashboard.
|
|
14241
13953
|
|
|
14242
13954
|
:param _request_timeout: timeout setting for this request. If one
|
|
14243
13955
|
number provided, it will be total request
|
|
@@ -14303,7 +14015,7 @@ class TremendousApi:
|
|
|
14303
14015
|
) -> RESTResponseType:
|
|
14304
14016
|
"""List members
|
|
14305
14017
|
|
|
14306
|
-
To list members of a sub-organization
|
|
14018
|
+
To list members of a sub-organization, use an API key for that organization. You can create one in the Tremendous dashboard.
|
|
14307
14019
|
|
|
14308
14020
|
:param _request_timeout: timeout setting for this request. If one
|
|
14309
14021
|
number provided, it will be total request
|
|
@@ -35,8 +35,6 @@ from tremendous.models.connected_organization_member_session_response_connected_
|
|
|
35
35
|
from tremendous.models.connected_organization_organization import ConnectedOrganizationOrganization
|
|
36
36
|
from tremendous.models.connected_organization_response import ConnectedOrganizationResponse
|
|
37
37
|
from tremendous.models.connected_organization_response_connected_organization import ConnectedOrganizationResponseConnectedOrganization
|
|
38
|
-
from tremendous.models.create_api_key200_response import CreateApiKey200Response
|
|
39
|
-
from tremendous.models.create_api_key_request import CreateApiKeyRequest
|
|
40
38
|
from tremendous.models.create_campaign200_response import CreateCampaign200Response
|
|
41
39
|
from tremendous.models.create_campaign_request import CreateCampaignRequest
|
|
42
40
|
from tremendous.models.create_connected_organization200_response import CreateConnectedOrganization200Response
|
|
@@ -34,9 +34,10 @@ class ConnectedOrganizationOrganization(BaseModel):
|
|
|
34
34
|
name: StrictStr = Field(description="Name of the organization", json_schema_extra={"examples": ["ACME Inc."]})
|
|
35
35
|
website: StrictStr = Field(description="URL of the website of that organization", json_schema_extra={"examples": ["https://www.example.com/some-org"]})
|
|
36
36
|
currency_code: Optional[StrictStr] = Field(default=None, description="Currency used for this organization's balances, orders, and transactions.", json_schema_extra={"examples": ["USD"]})
|
|
37
|
+
timezone: Optional[StrictStr] = Field(default=None, description="The organization's time zone as a canonical IANA identifier. Returns `null` if not configured.", json_schema_extra={"examples": ["America/New_York"]})
|
|
37
38
|
status: Optional[StrictStr] = Field(default=None, description="Status of the organization. Organizations need to be approved to be able to use them to send out rewards.", json_schema_extra={"examples": ["APPROVED"]})
|
|
38
39
|
created_at: Optional[date] = Field(default=None, description="Timestamp of when the organization has been created. *This field is only returned when creating an organization.* It is not returned anymore when retrieving or listing organizations. ", json_schema_extra={"examples": ["2021-08-02"]})
|
|
39
|
-
__properties: ClassVar[List[str]] = ["id", "name", "website", "currency_code", "status", "created_at"]
|
|
40
|
+
__properties: ClassVar[List[str]] = ["id", "name", "website", "currency_code", "timezone", "status", "created_at"]
|
|
40
41
|
|
|
41
42
|
@field_validator('id', mode="before")
|
|
42
43
|
def id_validate_regular_expression(cls, value):
|
|
@@ -93,6 +94,11 @@ class ConnectedOrganizationOrganization(BaseModel):
|
|
|
93
94
|
exclude=excluded_fields,
|
|
94
95
|
exclude_none=True,
|
|
95
96
|
)
|
|
97
|
+
# set to None if timezone (nullable) is None
|
|
98
|
+
# and model_fields_set contains the field
|
|
99
|
+
if self.timezone is None and "timezone" in self.model_fields_set:
|
|
100
|
+
_dict['timezone'] = None
|
|
101
|
+
|
|
96
102
|
return _dict
|
|
97
103
|
|
|
98
104
|
@classmethod
|
|
@@ -109,6 +115,7 @@ class ConnectedOrganizationOrganization(BaseModel):
|
|
|
109
115
|
"name": obj.get("name"),
|
|
110
116
|
"website": obj.get("website"),
|
|
111
117
|
"currency_code": obj.get("currency_code"),
|
|
118
|
+
"timezone": obj.get("timezone"),
|
|
112
119
|
"status": obj.get("status"),
|
|
113
120
|
"created_at": obj.get("created_at")
|
|
114
121
|
})
|
{tremendous_python-7.0.0 → tremendous_python-8.0.0}/tremendous/models/create_organization.py
RENAMED
|
@@ -38,8 +38,9 @@ class CreateOrganization(BaseModel):
|
|
|
38
38
|
copy_settings: Optional[CreateOrganizationRequestCopySettings] = None
|
|
39
39
|
phone: Optional[StrictStr] = Field(default=None, description="Phone number of the organization. For non-US phone numbers, specify the country code (prefixed with +).", json_schema_extra={"examples": ["123-456-7890"]})
|
|
40
40
|
currency_code: Optional[StrictStr] = Field(default=None, description="Currency code for the new organization. Defaults to the current organization's currency if not provided.", json_schema_extra={"examples": ["USD"]})
|
|
41
|
+
timezone: Optional[StrictStr] = Field(default=None, description="IANA time zone identifier for the new organization, such as America/New_York or Europe/London. Aliases such as US/Eastern are accepted and converted to their canonical identifier (America/New_York). Defaults to the time zone of the organization associated with the API key used for the request if omitted or blank. If that organization has no time zone, the new organization remains unset.", json_schema_extra={"examples": ["America/New_York"]})
|
|
41
42
|
created_at: Optional[date] = Field(default=None, description="Timestamp of when the organization has been created. ")
|
|
42
|
-
__properties: ClassVar[List[str]] = ["id", "name", "website", "with_api_key", "copy_settings", "phone", "currency_code", "created_at"]
|
|
43
|
+
__properties: ClassVar[List[str]] = ["id", "name", "website", "with_api_key", "copy_settings", "phone", "currency_code", "timezone", "created_at"]
|
|
43
44
|
|
|
44
45
|
@field_validator('id', mode="before")
|
|
45
46
|
def id_validate_regular_expression(cls, value):
|
|
@@ -116,6 +117,7 @@ class CreateOrganization(BaseModel):
|
|
|
116
117
|
"copy_settings": CreateOrganizationRequestCopySettings.from_dict(obj["copy_settings"]) if obj.get("copy_settings") is not None else None,
|
|
117
118
|
"phone": obj.get("phone"),
|
|
118
119
|
"currency_code": obj.get("currency_code"),
|
|
120
|
+
"timezone": obj.get("timezone"),
|
|
119
121
|
"created_at": obj.get("created_at")
|
|
120
122
|
})
|
|
121
123
|
return _obj
|