pingram-python 0.1.0__tar.gz → 0.1.2__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.
- {pingram_python-0.1.0/generated/pingram_python.egg-info → pingram_python-0.1.2}/PKG-INFO +1 -1
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/__init__.py +23 -7
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/domains_api.py +6 -6
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/templates_api.py +311 -24
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api_client.py +1 -1
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/configuration.py +1 -1
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/__init__.py +11 -3
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_senders_response_inner.py +4 -11
- pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner.py +208 -0
- pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner_any_of.py +112 -0
- pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner_any_of1.py +115 -0
- pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner_any_of1_instant.py +91 -0
- pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner_any_of2.py +100 -0
- pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner_any_of3.py +102 -0
- pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner_any_of4.py +106 -0
- pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner_any_of5.py +136 -0
- pingram_python-0.1.0/generated/pingram/models/sender_post_body_slack_metadata.py → pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner_any_of5_metadata.py +6 -6
- pingram_python-0.1.0/generated/pingram/models/sender_post_body_slack_metadata_entities_inner.py → pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner_any_of5_metadata_entities_inner.py +7 -7
- pingram_python-0.1.0/generated/pingram/models/sender_post_body_slack_metadata_entities_inner_external_ref.py → pingram_python-0.1.2/generated/pingram/models/get_templates_list_response_inner_any_of5_metadata_entities_inner_external_ref.py +3 -3
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_templates_response.py +19 -19
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_slack.py +3 -3
- {pingram_python-0.1.0 → pingram_python-0.1.2/generated/pingram_python.egg-info}/PKG-INFO +1 -1
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram_python.egg-info/SOURCES.txt +11 -3
- {pingram_python-0.1.0 → pingram_python-0.1.2}/pyproject.toml +1 -1
- {pingram_python-0.1.0 → pingram_python-0.1.2}/LICENSE +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/MANIFEST.in +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/README.md +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/__init__.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/account_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/addresses_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/components_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/default_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/editor_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/environments_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/health_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/insights_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/keys_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/logs_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/members_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/sender_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/types_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/user_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api/users_api.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/api_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/client_wrapper.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/exceptions.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/account_addresses_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/account_addresses_response_addresses_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/account_get_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/account_get_response_pending_downgrade_usage_limit.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/address_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/auto_join_get_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/auto_join_post_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/auto_join_request_body.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/bee_token_v2.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/billing_post_request_body.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/billing_post_response_body.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/billing_post_response_body_pending_downgrade_usage_limit.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/channels_enum.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/create_account_request_body.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/create_account_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/create_address_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/create_key_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/create_key_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/delete_key_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/delete_user_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/email_auth_token_post_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/email_component_patch_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/email_component_post_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/email_component_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/email_component_response_referenced_by_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/environment.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/environment_create_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/environment_patch_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_account_metadata_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_account_metadata_response_user_account_metadata.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_email_components_response_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_environments_response_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_inapp_notifications_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_inapp_notifications_response_notifications_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_inapp_notifications_response_notifications_inner_delivery_options.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_inapp_notifications_response_notifications_inner_delivery_options_instant.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_inapp_notifications_response_notifications_inner_delivery_options_off.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_inapp_notifications_response_notifications_inner_replies_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_inapp_notifications_response_notifications_inner_template.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_inapp_notifications_response_notifications_inner_template_any_of.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_keys_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_keys_response_keys_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_logs_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_logs_response_messages_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_logs_response_messages_inner_attachments_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_members_response_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_metrics_response_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_metrics_response_inner_messages_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_notifications_response_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_notifications_response_inner_deduplication.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_notifications_response_inner_options.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_notifications_response_inner_options_email.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_notifications_response_inner_options_email_daily.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_notifications_response_inner_options_email_monthly.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_notifications_response_inner_options_email_weekly.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_notifications_response_inner_templates_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_notifications_response_inner_throttling.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_email_suppression_status.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_push_tokens_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_push_tokens_inner_device.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_slack_token.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_slack_token_authed_user.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_slack_token_enterprise.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_slack_token_incoming_webhook.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_slack_token_response_metadata.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_web_push_tokens_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_web_push_tokens_inner_sub.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/get_users_response_users_inner_web_push_tokens_inner_sub_keys.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/in_app_notification_patch_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/in_app_notification_unread_clear_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/inapp_unread_count_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/inbound_request_body.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/inbound_response_body.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/inbound_response_body_results_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/ingishts_post_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/ingishts_post_request_label_options.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/ingishts_post_request_metric_data_queries_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/ingishts_post_request_metric_data_queries_inner_metric_stat.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/ingishts_post_request_metric_data_queries_inner_metric_stat_metric.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/ingishts_post_request_metric_data_queries_inner_metric_stat_metric_dimensions_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/intercom_webhook.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/intercom_webhook_data.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/intercom_webhook_data_item.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/intercom_webhook_data_item_any_of.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/intercom_webhook_data_item_any_of_contacts.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/intercom_webhook_data_item_any_of_contacts_contacts_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/intercom_webhook_data_item_any_of_source.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/intercom_webhook_data_item_any_of_source_author.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/invite_post_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/log_query_post_body.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/logs_bulk_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/logs_get_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/logs_get_response_logs_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/logs_query_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/logs_query_result_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/logs_retention_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/logs_tail_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/member_invite_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/member_update_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/message_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/notification.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/notification_create_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/notification_patch_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/post_email_test_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/post_email_test_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/post_senders_request_body.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/post_user_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_email.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_inapp.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_mobile_push.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_options.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_options_apn.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_options_email.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_options_email_attachments_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_options_email_attachments_inner_any_of.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_options_email_attachments_inner_any_of1.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_options_fcm.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_options_fcm_android.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_sms.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_sms_auto_reply.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_to.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_user.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_body_web_push.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/sender_post_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/set_default_template_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/slack_interactivity_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/slack_oauth_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/success_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/supabase_configure_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/supabase_configure_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/supabase_o_auth_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/supabase_o_auth_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/supabase_projects_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/supabase_projects_response_projects_inner.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/supabase_status_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/template.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/template_patch_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/template_patch_request_any_of.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/template_patch_request_any_of1.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/template_patch_request_any_of1_batch.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/template_patch_request_any_of1_instant.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/template_post_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/template_post_request_batch.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/template_post_request_instant.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/update_address_request.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/user.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/user_suppression_delete_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/models/webhook_response.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/py.typed +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram/rest.py +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram_python.egg-info/dependency_links.txt +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram_python.egg-info/requires.txt +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/generated/pingram_python.egg-info/top_level.txt +0 -0
- {pingram_python-0.1.0 → pingram_python-0.1.2}/setup.cfg +0 -0
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "0.1.
|
|
17
|
+
__version__ = "0.1.2"
|
|
18
18
|
|
|
19
19
|
# Define package exports
|
|
20
20
|
__all__ = [
|
|
@@ -102,6 +102,17 @@ __all__ = [
|
|
|
102
102
|
"GetNotificationsResponseInnerTemplatesInner",
|
|
103
103
|
"GetNotificationsResponseInnerThrottling",
|
|
104
104
|
"GetSendersResponseInner",
|
|
105
|
+
"GetTemplatesListResponseInner",
|
|
106
|
+
"GetTemplatesListResponseInnerAnyOf",
|
|
107
|
+
"GetTemplatesListResponseInnerAnyOf1",
|
|
108
|
+
"GetTemplatesListResponseInnerAnyOf1Instant",
|
|
109
|
+
"GetTemplatesListResponseInnerAnyOf2",
|
|
110
|
+
"GetTemplatesListResponseInnerAnyOf3",
|
|
111
|
+
"GetTemplatesListResponseInnerAnyOf4",
|
|
112
|
+
"GetTemplatesListResponseInnerAnyOf5",
|
|
113
|
+
"GetTemplatesListResponseInnerAnyOf5Metadata",
|
|
114
|
+
"GetTemplatesListResponseInnerAnyOf5MetadataEntitiesInner",
|
|
115
|
+
"GetTemplatesListResponseInnerAnyOf5MetadataEntitiesInnerExternalRef",
|
|
105
116
|
"GetTemplatesResponse",
|
|
106
117
|
"GetUsersResponse",
|
|
107
118
|
"GetUsersResponseUsersInner",
|
|
@@ -168,9 +179,6 @@ __all__ = [
|
|
|
168
179
|
"SenderPostBodyOptionsFcm",
|
|
169
180
|
"SenderPostBodyOptionsFcmAndroid",
|
|
170
181
|
"SenderPostBodySlack",
|
|
171
|
-
"SenderPostBodySlackMetadata",
|
|
172
|
-
"SenderPostBodySlackMetadataEntitiesInner",
|
|
173
|
-
"SenderPostBodySlackMetadataEntitiesInnerExternalRef",
|
|
174
182
|
"SenderPostBodySms",
|
|
175
183
|
"SenderPostBodySmsAutoReply",
|
|
176
184
|
"SenderPostBodyTo",
|
|
@@ -292,6 +300,17 @@ from pingram.models.get_notifications_response_inner_options_email_weekly import
|
|
|
292
300
|
from pingram.models.get_notifications_response_inner_templates_inner import GetNotificationsResponseInnerTemplatesInner as GetNotificationsResponseInnerTemplatesInner
|
|
293
301
|
from pingram.models.get_notifications_response_inner_throttling import GetNotificationsResponseInnerThrottling as GetNotificationsResponseInnerThrottling
|
|
294
302
|
from pingram.models.get_senders_response_inner import GetSendersResponseInner as GetSendersResponseInner
|
|
303
|
+
from pingram.models.get_templates_list_response_inner import GetTemplatesListResponseInner as GetTemplatesListResponseInner
|
|
304
|
+
from pingram.models.get_templates_list_response_inner_any_of import GetTemplatesListResponseInnerAnyOf as GetTemplatesListResponseInnerAnyOf
|
|
305
|
+
from pingram.models.get_templates_list_response_inner_any_of1 import GetTemplatesListResponseInnerAnyOf1 as GetTemplatesListResponseInnerAnyOf1
|
|
306
|
+
from pingram.models.get_templates_list_response_inner_any_of1_instant import GetTemplatesListResponseInnerAnyOf1Instant as GetTemplatesListResponseInnerAnyOf1Instant
|
|
307
|
+
from pingram.models.get_templates_list_response_inner_any_of2 import GetTemplatesListResponseInnerAnyOf2 as GetTemplatesListResponseInnerAnyOf2
|
|
308
|
+
from pingram.models.get_templates_list_response_inner_any_of3 import GetTemplatesListResponseInnerAnyOf3 as GetTemplatesListResponseInnerAnyOf3
|
|
309
|
+
from pingram.models.get_templates_list_response_inner_any_of4 import GetTemplatesListResponseInnerAnyOf4 as GetTemplatesListResponseInnerAnyOf4
|
|
310
|
+
from pingram.models.get_templates_list_response_inner_any_of5 import GetTemplatesListResponseInnerAnyOf5 as GetTemplatesListResponseInnerAnyOf5
|
|
311
|
+
from pingram.models.get_templates_list_response_inner_any_of5_metadata import GetTemplatesListResponseInnerAnyOf5Metadata as GetTemplatesListResponseInnerAnyOf5Metadata
|
|
312
|
+
from pingram.models.get_templates_list_response_inner_any_of5_metadata_entities_inner import GetTemplatesListResponseInnerAnyOf5MetadataEntitiesInner as GetTemplatesListResponseInnerAnyOf5MetadataEntitiesInner
|
|
313
|
+
from pingram.models.get_templates_list_response_inner_any_of5_metadata_entities_inner_external_ref import GetTemplatesListResponseInnerAnyOf5MetadataEntitiesInnerExternalRef as GetTemplatesListResponseInnerAnyOf5MetadataEntitiesInnerExternalRef
|
|
295
314
|
from pingram.models.get_templates_response import GetTemplatesResponse as GetTemplatesResponse
|
|
296
315
|
from pingram.models.get_users_response import GetUsersResponse as GetUsersResponse
|
|
297
316
|
from pingram.models.get_users_response_users_inner import GetUsersResponseUsersInner as GetUsersResponseUsersInner
|
|
@@ -358,9 +377,6 @@ from pingram.models.sender_post_body_options_email_attachments_inner_any_of1 imp
|
|
|
358
377
|
from pingram.models.sender_post_body_options_fcm import SenderPostBodyOptionsFcm as SenderPostBodyOptionsFcm
|
|
359
378
|
from pingram.models.sender_post_body_options_fcm_android import SenderPostBodyOptionsFcmAndroid as SenderPostBodyOptionsFcmAndroid
|
|
360
379
|
from pingram.models.sender_post_body_slack import SenderPostBodySlack as SenderPostBodySlack
|
|
361
|
-
from pingram.models.sender_post_body_slack_metadata import SenderPostBodySlackMetadata as SenderPostBodySlackMetadata
|
|
362
|
-
from pingram.models.sender_post_body_slack_metadata_entities_inner import SenderPostBodySlackMetadataEntitiesInner as SenderPostBodySlackMetadataEntitiesInner
|
|
363
|
-
from pingram.models.sender_post_body_slack_metadata_entities_inner_external_ref import SenderPostBodySlackMetadataEntitiesInnerExternalRef as SenderPostBodySlackMetadataEntitiesInnerExternalRef
|
|
364
380
|
from pingram.models.sender_post_body_sms import SenderPostBodySms as SenderPostBodySms
|
|
365
381
|
from pingram.models.sender_post_body_sms_auto_reply import SenderPostBodySmsAutoReply as SenderPostBodySmsAutoReply
|
|
366
382
|
from pingram.models.sender_post_body_to import SenderPostBodyTo as SenderPostBodyTo
|
|
@@ -58,7 +58,7 @@ class DomainsApi:
|
|
|
58
58
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
59
59
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
60
60
|
) -> List[GetSendersResponseInner]:
|
|
61
|
-
"""Request to verify a new sender domain
|
|
61
|
+
"""Request to verify a new sender domain
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
:param post_senders_request_body: (required)
|
|
@@ -127,7 +127,7 @@ class DomainsApi:
|
|
|
127
127
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
128
128
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
129
129
|
) -> ApiResponse[List[GetSendersResponseInner]]:
|
|
130
|
-
"""Request to verify a new sender domain
|
|
130
|
+
"""Request to verify a new sender domain
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
:param post_senders_request_body: (required)
|
|
@@ -196,7 +196,7 @@ class DomainsApi:
|
|
|
196
196
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
197
197
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
198
198
|
) -> RESTResponseType:
|
|
199
|
-
"""Request to verify a new sender domain
|
|
199
|
+
"""Request to verify a new sender domain
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
:param post_senders_request_body: (required)
|
|
@@ -610,7 +610,7 @@ class DomainsApi:
|
|
|
610
610
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
611
611
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
612
612
|
) -> List[GetSendersResponseInner]:
|
|
613
|
-
"""Get all sender domains
|
|
613
|
+
"""Get all sender domains configured for the account
|
|
614
614
|
|
|
615
615
|
|
|
616
616
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -675,7 +675,7 @@ class DomainsApi:
|
|
|
675
675
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
676
676
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
677
677
|
) -> ApiResponse[List[GetSendersResponseInner]]:
|
|
678
|
-
"""Get all sender domains
|
|
678
|
+
"""Get all sender domains configured for the account
|
|
679
679
|
|
|
680
680
|
|
|
681
681
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -740,7 +740,7 @@ class DomainsApi:
|
|
|
740
740
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
741
741
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
742
742
|
) -> RESTResponseType:
|
|
743
|
-
"""Get all sender domains
|
|
743
|
+
"""Get all sender domains configured for the account
|
|
744
744
|
|
|
745
745
|
|
|
746
746
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -17,7 +17,9 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
19
|
from pydantic import Field, StrictStr
|
|
20
|
+
from typing import List
|
|
20
21
|
from typing_extensions import Annotated
|
|
22
|
+
from pingram.models.get_templates_list_response_inner import GetTemplatesListResponseInner
|
|
21
23
|
from pingram.models.get_templates_response import GetTemplatesResponse
|
|
22
24
|
from pingram.models.set_default_template_request import SetDefaultTemplateRequest
|
|
23
25
|
from pingram.models.template import Template
|
|
@@ -648,6 +650,306 @@ class TemplatesApi:
|
|
|
648
650
|
|
|
649
651
|
|
|
650
652
|
|
|
653
|
+
@validate_call
|
|
654
|
+
async def templates_get_template(
|
|
655
|
+
self,
|
|
656
|
+
notification_id: Annotated[StrictStr, Field(description="Notification ID")],
|
|
657
|
+
channel: Annotated[StrictStr, Field(description="Channel type")],
|
|
658
|
+
template_id: Annotated[StrictStr, Field(description="Template ID")],
|
|
659
|
+
_request_timeout: Union[
|
|
660
|
+
None,
|
|
661
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
662
|
+
Tuple[
|
|
663
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
664
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
665
|
+
]
|
|
666
|
+
] = None,
|
|
667
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
668
|
+
_content_type: Optional[StrictStr] = None,
|
|
669
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
670
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
671
|
+
) -> GetTemplatesResponse:
|
|
672
|
+
"""Get a single template by ID
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
:param notification_id: Notification ID (required)
|
|
676
|
+
:type notification_id: str
|
|
677
|
+
:param channel: Channel type (required)
|
|
678
|
+
:type channel: str
|
|
679
|
+
:param template_id: Template ID (required)
|
|
680
|
+
:type template_id: str
|
|
681
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
682
|
+
number provided, it will be total request
|
|
683
|
+
timeout. It can also be a pair (tuple) of
|
|
684
|
+
(connection, read) timeouts.
|
|
685
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
686
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
687
|
+
request; this effectively ignores the
|
|
688
|
+
authentication in the spec for a single request.
|
|
689
|
+
:type _request_auth: dict, optional
|
|
690
|
+
:param _content_type: force content-type for the request.
|
|
691
|
+
:type _content_type: str, Optional
|
|
692
|
+
:param _headers: set to override the headers for a single
|
|
693
|
+
request; this effectively ignores the headers
|
|
694
|
+
in the spec for a single request.
|
|
695
|
+
:type _headers: dict, optional
|
|
696
|
+
:param _host_index: set to override the host_index for a single
|
|
697
|
+
request; this effectively ignores the host_index
|
|
698
|
+
in the spec for a single request.
|
|
699
|
+
:type _host_index: int, optional
|
|
700
|
+
:return: Returns the result object.
|
|
701
|
+
""" # noqa: E501
|
|
702
|
+
|
|
703
|
+
_param = self._templates_get_template_serialize(
|
|
704
|
+
notification_id=notification_id,
|
|
705
|
+
channel=channel,
|
|
706
|
+
template_id=template_id,
|
|
707
|
+
_request_auth=_request_auth,
|
|
708
|
+
_content_type=_content_type,
|
|
709
|
+
_headers=_headers,
|
|
710
|
+
_host_index=_host_index
|
|
711
|
+
)
|
|
712
|
+
|
|
713
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
714
|
+
'200': "GetTemplatesResponse",
|
|
715
|
+
'400': None,
|
|
716
|
+
'401': None,
|
|
717
|
+
'500': None,
|
|
718
|
+
}
|
|
719
|
+
response_data = await self.api_client.call_api(
|
|
720
|
+
*_param,
|
|
721
|
+
_request_timeout=_request_timeout
|
|
722
|
+
)
|
|
723
|
+
await response_data.read()
|
|
724
|
+
return self.api_client.response_deserialize(
|
|
725
|
+
response_data=response_data,
|
|
726
|
+
response_types_map=_response_types_map,
|
|
727
|
+
).data
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
@validate_call
|
|
731
|
+
async def templates_get_template_with_http_info(
|
|
732
|
+
self,
|
|
733
|
+
notification_id: Annotated[StrictStr, Field(description="Notification ID")],
|
|
734
|
+
channel: Annotated[StrictStr, Field(description="Channel type")],
|
|
735
|
+
template_id: Annotated[StrictStr, Field(description="Template ID")],
|
|
736
|
+
_request_timeout: Union[
|
|
737
|
+
None,
|
|
738
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
739
|
+
Tuple[
|
|
740
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
741
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
742
|
+
]
|
|
743
|
+
] = None,
|
|
744
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
745
|
+
_content_type: Optional[StrictStr] = None,
|
|
746
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
747
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
748
|
+
) -> ApiResponse[GetTemplatesResponse]:
|
|
749
|
+
"""Get a single template by ID
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
:param notification_id: Notification ID (required)
|
|
753
|
+
:type notification_id: str
|
|
754
|
+
:param channel: Channel type (required)
|
|
755
|
+
:type channel: str
|
|
756
|
+
:param template_id: Template ID (required)
|
|
757
|
+
:type template_id: str
|
|
758
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
759
|
+
number provided, it will be total request
|
|
760
|
+
timeout. It can also be a pair (tuple) of
|
|
761
|
+
(connection, read) timeouts.
|
|
762
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
763
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
764
|
+
request; this effectively ignores the
|
|
765
|
+
authentication in the spec for a single request.
|
|
766
|
+
:type _request_auth: dict, optional
|
|
767
|
+
:param _content_type: force content-type for the request.
|
|
768
|
+
:type _content_type: str, Optional
|
|
769
|
+
:param _headers: set to override the headers for a single
|
|
770
|
+
request; this effectively ignores the headers
|
|
771
|
+
in the spec for a single request.
|
|
772
|
+
:type _headers: dict, optional
|
|
773
|
+
:param _host_index: set to override the host_index for a single
|
|
774
|
+
request; this effectively ignores the host_index
|
|
775
|
+
in the spec for a single request.
|
|
776
|
+
:type _host_index: int, optional
|
|
777
|
+
:return: Returns the result object.
|
|
778
|
+
""" # noqa: E501
|
|
779
|
+
|
|
780
|
+
_param = self._templates_get_template_serialize(
|
|
781
|
+
notification_id=notification_id,
|
|
782
|
+
channel=channel,
|
|
783
|
+
template_id=template_id,
|
|
784
|
+
_request_auth=_request_auth,
|
|
785
|
+
_content_type=_content_type,
|
|
786
|
+
_headers=_headers,
|
|
787
|
+
_host_index=_host_index
|
|
788
|
+
)
|
|
789
|
+
|
|
790
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
791
|
+
'200': "GetTemplatesResponse",
|
|
792
|
+
'400': None,
|
|
793
|
+
'401': None,
|
|
794
|
+
'500': None,
|
|
795
|
+
}
|
|
796
|
+
response_data = await self.api_client.call_api(
|
|
797
|
+
*_param,
|
|
798
|
+
_request_timeout=_request_timeout
|
|
799
|
+
)
|
|
800
|
+
await response_data.read()
|
|
801
|
+
return self.api_client.response_deserialize(
|
|
802
|
+
response_data=response_data,
|
|
803
|
+
response_types_map=_response_types_map,
|
|
804
|
+
)
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
@validate_call
|
|
808
|
+
async def templates_get_template_without_preload_content(
|
|
809
|
+
self,
|
|
810
|
+
notification_id: Annotated[StrictStr, Field(description="Notification ID")],
|
|
811
|
+
channel: Annotated[StrictStr, Field(description="Channel type")],
|
|
812
|
+
template_id: Annotated[StrictStr, Field(description="Template ID")],
|
|
813
|
+
_request_timeout: Union[
|
|
814
|
+
None,
|
|
815
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
816
|
+
Tuple[
|
|
817
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
818
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
819
|
+
]
|
|
820
|
+
] = None,
|
|
821
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
822
|
+
_content_type: Optional[StrictStr] = None,
|
|
823
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
824
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
825
|
+
) -> RESTResponseType:
|
|
826
|
+
"""Get a single template by ID
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
:param notification_id: Notification ID (required)
|
|
830
|
+
:type notification_id: str
|
|
831
|
+
:param channel: Channel type (required)
|
|
832
|
+
:type channel: str
|
|
833
|
+
:param template_id: Template ID (required)
|
|
834
|
+
:type template_id: str
|
|
835
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
836
|
+
number provided, it will be total request
|
|
837
|
+
timeout. It can also be a pair (tuple) of
|
|
838
|
+
(connection, read) timeouts.
|
|
839
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
840
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
841
|
+
request; this effectively ignores the
|
|
842
|
+
authentication in the spec for a single request.
|
|
843
|
+
:type _request_auth: dict, optional
|
|
844
|
+
:param _content_type: force content-type for the request.
|
|
845
|
+
:type _content_type: str, Optional
|
|
846
|
+
:param _headers: set to override the headers for a single
|
|
847
|
+
request; this effectively ignores the headers
|
|
848
|
+
in the spec for a single request.
|
|
849
|
+
:type _headers: dict, optional
|
|
850
|
+
:param _host_index: set to override the host_index for a single
|
|
851
|
+
request; this effectively ignores the host_index
|
|
852
|
+
in the spec for a single request.
|
|
853
|
+
:type _host_index: int, optional
|
|
854
|
+
:return: Returns the result object.
|
|
855
|
+
""" # noqa: E501
|
|
856
|
+
|
|
857
|
+
_param = self._templates_get_template_serialize(
|
|
858
|
+
notification_id=notification_id,
|
|
859
|
+
channel=channel,
|
|
860
|
+
template_id=template_id,
|
|
861
|
+
_request_auth=_request_auth,
|
|
862
|
+
_content_type=_content_type,
|
|
863
|
+
_headers=_headers,
|
|
864
|
+
_host_index=_host_index
|
|
865
|
+
)
|
|
866
|
+
|
|
867
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
868
|
+
'200': "GetTemplatesResponse",
|
|
869
|
+
'400': None,
|
|
870
|
+
'401': None,
|
|
871
|
+
'500': None,
|
|
872
|
+
}
|
|
873
|
+
response_data = await self.api_client.call_api(
|
|
874
|
+
*_param,
|
|
875
|
+
_request_timeout=_request_timeout
|
|
876
|
+
)
|
|
877
|
+
return response_data.response
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
def _templates_get_template_serialize(
|
|
881
|
+
self,
|
|
882
|
+
notification_id,
|
|
883
|
+
channel,
|
|
884
|
+
template_id,
|
|
885
|
+
_request_auth,
|
|
886
|
+
_content_type,
|
|
887
|
+
_headers,
|
|
888
|
+
_host_index,
|
|
889
|
+
) -> RequestSerialized:
|
|
890
|
+
|
|
891
|
+
_host = None
|
|
892
|
+
|
|
893
|
+
_collection_formats: Dict[str, str] = {
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
_path_params: Dict[str, str] = {}
|
|
897
|
+
_query_params: List[Tuple[str, str]] = []
|
|
898
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
899
|
+
_form_params: List[Tuple[str, str]] = []
|
|
900
|
+
_files: Dict[
|
|
901
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
902
|
+
] = {}
|
|
903
|
+
_body_params: Optional[bytes] = None
|
|
904
|
+
|
|
905
|
+
# process the path parameters
|
|
906
|
+
if notification_id is not None:
|
|
907
|
+
_path_params['notificationId'] = notification_id
|
|
908
|
+
if channel is not None:
|
|
909
|
+
_path_params['channel'] = channel
|
|
910
|
+
if template_id is not None:
|
|
911
|
+
_path_params['templateId'] = template_id
|
|
912
|
+
# process the query parameters
|
|
913
|
+
# process the header parameters
|
|
914
|
+
# process the form parameters
|
|
915
|
+
# process the body parameter
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
# set the HTTP header `Accept`
|
|
919
|
+
if 'Accept' not in _header_params:
|
|
920
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
921
|
+
[
|
|
922
|
+
'application/json'
|
|
923
|
+
]
|
|
924
|
+
)
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
# authentication setting
|
|
928
|
+
_auth_settings: List[str] = [
|
|
929
|
+
'endUserHashed',
|
|
930
|
+
'endUser',
|
|
931
|
+
'apiKey',
|
|
932
|
+
'clientCredentials'
|
|
933
|
+
]
|
|
934
|
+
|
|
935
|
+
return self.api_client.param_serialize(
|
|
936
|
+
method='GET',
|
|
937
|
+
resource_path='/notifications/{notificationId}/{channel}/templates/{templateId}',
|
|
938
|
+
path_params=_path_params,
|
|
939
|
+
query_params=_query_params,
|
|
940
|
+
header_params=_header_params,
|
|
941
|
+
body=_body_params,
|
|
942
|
+
post_params=_form_params,
|
|
943
|
+
files=_files,
|
|
944
|
+
auth_settings=_auth_settings,
|
|
945
|
+
collection_formats=_collection_formats,
|
|
946
|
+
_host=_host,
|
|
947
|
+
_request_auth=_request_auth
|
|
948
|
+
)
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
|
|
651
953
|
@validate_call
|
|
652
954
|
async def templates_initiate_migration(
|
|
653
955
|
self,
|
|
@@ -953,7 +1255,6 @@ class TemplatesApi:
|
|
|
953
1255
|
self,
|
|
954
1256
|
notification_id: Annotated[StrictStr, Field(description="Notification ID")],
|
|
955
1257
|
channel: Annotated[StrictStr, Field(description="Channel type")],
|
|
956
|
-
template_id: Annotated[StrictStr, Field(description="Template ID (optional for listing all)")],
|
|
957
1258
|
_request_timeout: Union[
|
|
958
1259
|
None,
|
|
959
1260
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -966,16 +1267,14 @@ class TemplatesApi:
|
|
|
966
1267
|
_content_type: Optional[StrictStr] = None,
|
|
967
1268
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
968
1269
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
969
|
-
) ->
|
|
970
|
-
"""
|
|
1270
|
+
) -> List[GetTemplatesListResponseInner]:
|
|
1271
|
+
"""List all templates for a notification and channel
|
|
971
1272
|
|
|
972
1273
|
|
|
973
1274
|
:param notification_id: Notification ID (required)
|
|
974
1275
|
:type notification_id: str
|
|
975
1276
|
:param channel: Channel type (required)
|
|
976
1277
|
:type channel: str
|
|
977
|
-
:param template_id: Template ID (optional for listing all) (required)
|
|
978
|
-
:type template_id: str
|
|
979
1278
|
:param _request_timeout: timeout setting for this request. If one
|
|
980
1279
|
number provided, it will be total request
|
|
981
1280
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1001,7 +1300,6 @@ class TemplatesApi:
|
|
|
1001
1300
|
_param = self._templates_list_templates_serialize(
|
|
1002
1301
|
notification_id=notification_id,
|
|
1003
1302
|
channel=channel,
|
|
1004
|
-
template_id=template_id,
|
|
1005
1303
|
_request_auth=_request_auth,
|
|
1006
1304
|
_content_type=_content_type,
|
|
1007
1305
|
_headers=_headers,
|
|
@@ -1009,7 +1307,7 @@ class TemplatesApi:
|
|
|
1009
1307
|
)
|
|
1010
1308
|
|
|
1011
1309
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1012
|
-
'200': "
|
|
1310
|
+
'200': "List[GetTemplatesListResponseInner]",
|
|
1013
1311
|
'400': None,
|
|
1014
1312
|
'401': None,
|
|
1015
1313
|
'500': None,
|
|
@@ -1030,7 +1328,6 @@ class TemplatesApi:
|
|
|
1030
1328
|
self,
|
|
1031
1329
|
notification_id: Annotated[StrictStr, Field(description="Notification ID")],
|
|
1032
1330
|
channel: Annotated[StrictStr, Field(description="Channel type")],
|
|
1033
|
-
template_id: Annotated[StrictStr, Field(description="Template ID (optional for listing all)")],
|
|
1034
1331
|
_request_timeout: Union[
|
|
1035
1332
|
None,
|
|
1036
1333
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1043,16 +1340,14 @@ class TemplatesApi:
|
|
|
1043
1340
|
_content_type: Optional[StrictStr] = None,
|
|
1044
1341
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1045
1342
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1046
|
-
) -> ApiResponse[
|
|
1047
|
-
"""
|
|
1343
|
+
) -> ApiResponse[List[GetTemplatesListResponseInner]]:
|
|
1344
|
+
"""List all templates for a notification and channel
|
|
1048
1345
|
|
|
1049
1346
|
|
|
1050
1347
|
:param notification_id: Notification ID (required)
|
|
1051
1348
|
:type notification_id: str
|
|
1052
1349
|
:param channel: Channel type (required)
|
|
1053
1350
|
:type channel: str
|
|
1054
|
-
:param template_id: Template ID (optional for listing all) (required)
|
|
1055
|
-
:type template_id: str
|
|
1056
1351
|
:param _request_timeout: timeout setting for this request. If one
|
|
1057
1352
|
number provided, it will be total request
|
|
1058
1353
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1078,7 +1373,6 @@ class TemplatesApi:
|
|
|
1078
1373
|
_param = self._templates_list_templates_serialize(
|
|
1079
1374
|
notification_id=notification_id,
|
|
1080
1375
|
channel=channel,
|
|
1081
|
-
template_id=template_id,
|
|
1082
1376
|
_request_auth=_request_auth,
|
|
1083
1377
|
_content_type=_content_type,
|
|
1084
1378
|
_headers=_headers,
|
|
@@ -1086,7 +1380,7 @@ class TemplatesApi:
|
|
|
1086
1380
|
)
|
|
1087
1381
|
|
|
1088
1382
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1089
|
-
'200': "
|
|
1383
|
+
'200': "List[GetTemplatesListResponseInner]",
|
|
1090
1384
|
'400': None,
|
|
1091
1385
|
'401': None,
|
|
1092
1386
|
'500': None,
|
|
@@ -1107,7 +1401,6 @@ class TemplatesApi:
|
|
|
1107
1401
|
self,
|
|
1108
1402
|
notification_id: Annotated[StrictStr, Field(description="Notification ID")],
|
|
1109
1403
|
channel: Annotated[StrictStr, Field(description="Channel type")],
|
|
1110
|
-
template_id: Annotated[StrictStr, Field(description="Template ID (optional for listing all)")],
|
|
1111
1404
|
_request_timeout: Union[
|
|
1112
1405
|
None,
|
|
1113
1406
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1121,15 +1414,13 @@ class TemplatesApi:
|
|
|
1121
1414
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1122
1415
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1123
1416
|
) -> RESTResponseType:
|
|
1124
|
-
"""
|
|
1417
|
+
"""List all templates for a notification and channel
|
|
1125
1418
|
|
|
1126
1419
|
|
|
1127
1420
|
:param notification_id: Notification ID (required)
|
|
1128
1421
|
:type notification_id: str
|
|
1129
1422
|
:param channel: Channel type (required)
|
|
1130
1423
|
:type channel: str
|
|
1131
|
-
:param template_id: Template ID (optional for listing all) (required)
|
|
1132
|
-
:type template_id: str
|
|
1133
1424
|
:param _request_timeout: timeout setting for this request. If one
|
|
1134
1425
|
number provided, it will be total request
|
|
1135
1426
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1155,7 +1446,6 @@ class TemplatesApi:
|
|
|
1155
1446
|
_param = self._templates_list_templates_serialize(
|
|
1156
1447
|
notification_id=notification_id,
|
|
1157
1448
|
channel=channel,
|
|
1158
|
-
template_id=template_id,
|
|
1159
1449
|
_request_auth=_request_auth,
|
|
1160
1450
|
_content_type=_content_type,
|
|
1161
1451
|
_headers=_headers,
|
|
@@ -1163,7 +1453,7 @@ class TemplatesApi:
|
|
|
1163
1453
|
)
|
|
1164
1454
|
|
|
1165
1455
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1166
|
-
'200': "
|
|
1456
|
+
'200': "List[GetTemplatesListResponseInner]",
|
|
1167
1457
|
'400': None,
|
|
1168
1458
|
'401': None,
|
|
1169
1459
|
'500': None,
|
|
@@ -1179,7 +1469,6 @@ class TemplatesApi:
|
|
|
1179
1469
|
self,
|
|
1180
1470
|
notification_id,
|
|
1181
1471
|
channel,
|
|
1182
|
-
template_id,
|
|
1183
1472
|
_request_auth,
|
|
1184
1473
|
_content_type,
|
|
1185
1474
|
_headers,
|
|
@@ -1205,8 +1494,6 @@ class TemplatesApi:
|
|
|
1205
1494
|
_path_params['notificationId'] = notification_id
|
|
1206
1495
|
if channel is not None:
|
|
1207
1496
|
_path_params['channel'] = channel
|
|
1208
|
-
if template_id is not None:
|
|
1209
|
-
_path_params['templateId'] = template_id
|
|
1210
1497
|
# process the query parameters
|
|
1211
1498
|
# process the header parameters
|
|
1212
1499
|
# process the form parameters
|
|
@@ -1232,7 +1519,7 @@ class TemplatesApi:
|
|
|
1232
1519
|
|
|
1233
1520
|
return self.api_client.param_serialize(
|
|
1234
1521
|
method='GET',
|
|
1235
|
-
resource_path='/notifications/{notificationId}/{channel}/templates
|
|
1522
|
+
resource_path='/notifications/{notificationId}/{channel}/templates',
|
|
1236
1523
|
path_params=_path_params,
|
|
1237
1524
|
query_params=_query_params,
|
|
1238
1525
|
header_params=_header_params,
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'pingram-python/0.1.
|
|
94
|
+
self.user_agent = 'pingram-python/0.1.2'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
async def __aenter__(self):
|
|
@@ -551,7 +551,7 @@ conf = pingram.Configuration(
|
|
|
551
551
|
"OS: {env}\n"\
|
|
552
552
|
"Python Version: {pyversion}\n"\
|
|
553
553
|
"Version of the API: 1.0.0\n"\
|
|
554
|
-
"SDK Package Version: 0.1.
|
|
554
|
+
"SDK Package Version: 0.1.2".\
|
|
555
555
|
format(env=sys.platform, pyversion=sys.version)
|
|
556
556
|
|
|
557
557
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -71,6 +71,17 @@ from pingram.models.get_notifications_response_inner_options_email_weekly import
|
|
|
71
71
|
from pingram.models.get_notifications_response_inner_templates_inner import GetNotificationsResponseInnerTemplatesInner
|
|
72
72
|
from pingram.models.get_notifications_response_inner_throttling import GetNotificationsResponseInnerThrottling
|
|
73
73
|
from pingram.models.get_senders_response_inner import GetSendersResponseInner
|
|
74
|
+
from pingram.models.get_templates_list_response_inner import GetTemplatesListResponseInner
|
|
75
|
+
from pingram.models.get_templates_list_response_inner_any_of import GetTemplatesListResponseInnerAnyOf
|
|
76
|
+
from pingram.models.get_templates_list_response_inner_any_of1 import GetTemplatesListResponseInnerAnyOf1
|
|
77
|
+
from pingram.models.get_templates_list_response_inner_any_of1_instant import GetTemplatesListResponseInnerAnyOf1Instant
|
|
78
|
+
from pingram.models.get_templates_list_response_inner_any_of2 import GetTemplatesListResponseInnerAnyOf2
|
|
79
|
+
from pingram.models.get_templates_list_response_inner_any_of3 import GetTemplatesListResponseInnerAnyOf3
|
|
80
|
+
from pingram.models.get_templates_list_response_inner_any_of4 import GetTemplatesListResponseInnerAnyOf4
|
|
81
|
+
from pingram.models.get_templates_list_response_inner_any_of5 import GetTemplatesListResponseInnerAnyOf5
|
|
82
|
+
from pingram.models.get_templates_list_response_inner_any_of5_metadata import GetTemplatesListResponseInnerAnyOf5Metadata
|
|
83
|
+
from pingram.models.get_templates_list_response_inner_any_of5_metadata_entities_inner import GetTemplatesListResponseInnerAnyOf5MetadataEntitiesInner
|
|
84
|
+
from pingram.models.get_templates_list_response_inner_any_of5_metadata_entities_inner_external_ref import GetTemplatesListResponseInnerAnyOf5MetadataEntitiesInnerExternalRef
|
|
74
85
|
from pingram.models.get_templates_response import GetTemplatesResponse
|
|
75
86
|
from pingram.models.get_users_response import GetUsersResponse
|
|
76
87
|
from pingram.models.get_users_response_users_inner import GetUsersResponseUsersInner
|
|
@@ -137,9 +148,6 @@ from pingram.models.sender_post_body_options_email_attachments_inner_any_of1 imp
|
|
|
137
148
|
from pingram.models.sender_post_body_options_fcm import SenderPostBodyOptionsFcm
|
|
138
149
|
from pingram.models.sender_post_body_options_fcm_android import SenderPostBodyOptionsFcmAndroid
|
|
139
150
|
from pingram.models.sender_post_body_slack import SenderPostBodySlack
|
|
140
|
-
from pingram.models.sender_post_body_slack_metadata import SenderPostBodySlackMetadata
|
|
141
|
-
from pingram.models.sender_post_body_slack_metadata_entities_inner import SenderPostBodySlackMetadataEntitiesInner
|
|
142
|
-
from pingram.models.sender_post_body_slack_metadata_entities_inner_external_ref import SenderPostBodySlackMetadataEntitiesInnerExternalRef
|
|
143
151
|
from pingram.models.sender_post_body_sms import SenderPostBodySms
|
|
144
152
|
from pingram.models.sender_post_body_sms_auto_reply import SenderPostBodySmsAutoReply
|
|
145
153
|
from pingram.models.sender_post_body_to import SenderPostBodyTo
|