one-msg-sdk 1.0.1__tar.gz → 1.0.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.
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/PKG-INFO +9 -9
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/README.md +8 -8
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/__init__.py +29 -1
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/calling_api.py +61 -58
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/webhooks_api.py +3 -3
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api_client.py +1 -1
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/configuration.py +1 -1
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/__init__.py +14 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/calling_settings.py +106 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/calling_settings_calling.py +178 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/calling_settings_calling_audio.py +102 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/calling_settings_calling_call_hours.py +106 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/calling_settings_calling_sip.py +122 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/calling_settings_calling_sip_servers_inner.py +112 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/calling_settings_calling_video.py +112 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/initiate_call_request.py +131 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/initiate_call_request_session.py +111 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/initiate_call_response.py +122 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/initiate_call_response_calls_inner.py +102 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/initiate_call_response_response.py +102 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/update_calling_settings200_response.py +110 -0
- one_msg_sdk-1.0.2/one_msg_sdk/models/update_calling_settings200_response_response.py +102 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk.egg-info/PKG-INFO +9 -9
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk.egg-info/SOURCES.txt +28 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/pyproject.toml +1 -1
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/setup.py +1 -1
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_calling_api.py +1 -1
- one_msg_sdk-1.0.2/test/test_calling_settings.py +52 -0
- one_msg_sdk-1.0.2/test/test_calling_settings_calling.py +62 -0
- one_msg_sdk-1.0.2/test/test_calling_settings_calling_audio.py +52 -0
- one_msg_sdk-1.0.2/test/test_calling_settings_calling_call_hours.py +54 -0
- one_msg_sdk-1.0.2/test/test_calling_settings_calling_sip.py +55 -0
- one_msg_sdk-1.0.2/test/test_calling_settings_calling_sip_servers_inner.py +59 -0
- one_msg_sdk-1.0.2/test/test_calling_settings_calling_video.py +52 -0
- one_msg_sdk-1.0.2/test/test_initiate_call_request.py +59 -0
- one_msg_sdk-1.0.2/test/test_initiate_call_request_session.py +55 -0
- one_msg_sdk-1.0.2/test/test_initiate_call_response.py +58 -0
- one_msg_sdk-1.0.2/test/test_initiate_call_response_calls_inner.py +52 -0
- one_msg_sdk-1.0.2/test/test_initiate_call_response_response.py +52 -0
- one_msg_sdk-1.0.2/test/test_update_calling_settings200_response.py +54 -0
- one_msg_sdk-1.0.2/test/test_update_calling_settings200_response_response.py +52 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/LICENSE +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/__init__.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/catalog_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/channel_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/flows_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/groups_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/messaging_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/profile_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/templates_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api/users_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/api_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/exceptions.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/add_template_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/block_user_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/conversational_automation.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/conversational_automation_commands_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/create_commerce200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/create_commerce_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/create_commerce_request_params.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/create_groups200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/create_read_message200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/create_read_message401_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/create_read_message_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/delete_flows_flow_id200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/delete_groups_group_id200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/delete_media_legacy_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/error_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/get_commerce200_response_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/get_mm_lite_status200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/get_webhook200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/get_whatsapp_business_encryption200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/list_blocked_users200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/list_flows200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/list_messages200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/list_templates200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/message_sent_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/patch_flows_flow_id_assets200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/profile_info.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/retrieve_media200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_address_message_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_button_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_button_request_sections_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_button_request_sections_inner_reply.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_carousel_request1.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_contact_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_contact_request_contacts_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_contact_request_contacts_inner_name.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_contact_request_contacts_inner_org.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_contact_request_contacts_inner_phones_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_cta_url_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_file_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_flow_request1.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_flow_request1_header.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_flow_request_header.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_list_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_list_request_sections_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_list_request_sections_inner_rows_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_location_request1.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_location_request_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_message_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_order_details_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_order_details_request_language.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_order_details_request_order.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_order_details_request_order_items_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_order_details_request_order_items_inner_amount.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_payment_request_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_reaction_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_sticker_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_template_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/send_template_request_language.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/set_whatsapp_business_encryption_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/success_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/models/update_me_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/py.typed +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk/rest.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk.egg-info/dependency_links.txt +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk.egg-info/requires.txt +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/one_msg_sdk.egg-info/top_level.txt +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/setup.cfg +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_add_template_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_block_user_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_catalog_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_channel_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_conversational_automation.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_conversational_automation_commands_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_create_commerce200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_create_commerce_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_create_commerce_request_params.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_create_groups200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_create_read_message200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_create_read_message401_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_create_read_message_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_delete_flows_flow_id200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_delete_groups_group_id200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_delete_media_legacy_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_error_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_flows_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_get_commerce200_response_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_get_mm_lite_status200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_get_webhook200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_get_whatsapp_business_encryption200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_groups_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_list_blocked_users200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_list_flows200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_list_messages200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_list_templates200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_message_sent_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_messaging_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_patch_flows_flow_id_assets200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_profile_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_profile_info.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_retrieve_media200_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_address_message_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_button_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_button_request_sections_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_button_request_sections_inner_reply.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_carousel_request1.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_contact_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_contact_request_contacts_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_contact_request_contacts_inner_name.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_contact_request_contacts_inner_org.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_contact_request_contacts_inner_phones_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_cta_url_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_file_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_flow_request1.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_flow_request1_header.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_flow_request_header.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_list_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_list_request_sections_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_list_request_sections_inner_rows_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_location_request1.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_location_request_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_message_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_order_details_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_order_details_request_language.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_order_details_request_order.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_order_details_request_order_items_inner.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_order_details_request_order_items_inner_amount.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_payment_request_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_reaction_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_sticker_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_template_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_send_template_request_language.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_set_whatsapp_business_encryption_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_success_response.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_templates_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_update_me_request.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_users_api.py +0 -0
- {one_msg_sdk-1.0.1 → one_msg_sdk-1.0.2}/test/test_webhooks_api.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: one_msg_sdk
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Official Python SDK for the 1msg WhatsApp Business API
|
|
5
5
|
Home-page: https://github.com/1msg/1msg-sdk
|
|
6
6
|
Author: 1MSG API Support
|
|
@@ -18,9 +18,9 @@ Dynamic: author
|
|
|
18
18
|
Dynamic: home-page
|
|
19
19
|
Dynamic: license-file
|
|
20
20
|
|
|
21
|
-
#
|
|
21
|
+
# 1MSG Python SDK
|
|
22
22
|
|
|
23
|
-
Official Python SDK for the **
|
|
23
|
+
Official Python SDK for the **1MSG WhatsApp Business API**.
|
|
24
24
|
|
|
25
25
|
This document is generated from the public OpenAPI contract. It covers install,
|
|
26
26
|
auth, quick start, and every public operation available in the client.
|
|
@@ -41,7 +41,7 @@ auth, quick start, and every public operation available in the client.
|
|
|
41
41
|
## Install
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
pip install one-msg-sdk==1.0.
|
|
44
|
+
pip install one-msg-sdk==1.0.2
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## Requirements
|
|
@@ -124,7 +124,7 @@ API groups: calling, catalog, channel, flows, groups, messaging, profile, templa
|
|
|
124
124
|
|
|
125
125
|
Get calling settings
|
|
126
126
|
|
|
127
|
-
WhatsApp Calling API settings (beta).
|
|
127
|
+
Return WhatsApp Calling API settings for this channel (beta). Proxies upstream `GET /calling/settings`. **Prerequisites** - Number must be eligible for Meta Calling (Cloud API; not COEX) - Trial / `subscriptionBlocked` channels receive **403** plain text - You need your own WebRTC or SIP stack; 1msg is a **signaling proxy** only and does **not** store call history or recordings See the **Calling** tag overview for inbound/outbound flows and webhooks.
|
|
128
128
|
|
|
129
129
|
```yaml
|
|
130
130
|
http: GET /callingSettings
|
|
@@ -135,9 +135,9 @@ responses: 200, 401, 500
|
|
|
135
135
|
|
|
136
136
|
#### `initiateCall`
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
Call action (connect / pre_accept / accept / reject / terminate)
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
Perform a WhatsApp Calling action (beta). Proxies upstream `POST /calling/calls`. Despite the historical path name `/initiateCall`, this endpoint handles **all** call actions: | action | Use | Required | |--------|-----|----------| | `connect` | Outbound business → user | `to` + `session` (`sdp_type: offer`) | | `pre_accept` | Inbound (optional, reduces audio clipping) | `call_id` + `session` (`sdp_type: answer`) | | `accept` | Inbound answer | `call_id` + `session` (`sdp_type: answer`) | | `reject` | Decline inbound | `call_id` | | `terminate` | Hang up | `call_id` | **SDP / media (critical)** - `accept` / `pre_accept` require a **WebRTC-generated SDP answer**. - Do **not** send Meta's offer SDP back as the answer. - Postman (or curl) alone **cannot** establish real media — you need a WebRTC or SIP stack. 1msg only proxies signaling. Answer within ~**30–60 seconds** of an inbound `connect` webhook or Meta terminates as unanswered. Common Meta errors include Calling not enabled (`138000`), no permission (`138006`), SDP validation failures. **Outbound** requires a prior Call Permission Request (CPR) acceptance. See the **Calling** tag overview for the full outbound flow and CPR limits. Trial / `subscriptionBlocked` → **403** plain text. Upstream failures often return HTTP 200 with `{ "response": { "error": "..." } }`.
|
|
141
141
|
|
|
142
142
|
```yaml
|
|
143
143
|
http: POST /initiateCall
|
|
@@ -150,7 +150,7 @@ responses: 200, 401, 500
|
|
|
150
150
|
|
|
151
151
|
Update calling settings
|
|
152
152
|
|
|
153
|
-
|
|
153
|
+
Enable, disable, or update WhatsApp Calling settings (beta). Proxies upstream `POST /calling/settings`. Body is forwarded as-is (1msg does not validate fields). **Common fields under `calling`** - `status` (`ENABLED` | `DISABLED`) — required to turn calling on/off - `call_icon_visibility` (`DEFAULT` | `DISABLE_ALL`) — optional - `callback_permission_status` (`ENABLED` | `DISABLED`) — optional; when enabled, inbound user calls grant callback permission - `call_hours` — optional hours / timezone object - `sip` — optional SIP trunk; when SIP is ENABLED, Graph call actions and calling webhooks are not used - `srtp_key_exchange_protocol` (`DTLS` | `SDES`) — SDES only with SIP - `video.status` — optional Meta may accept only one feature group per request — prefer focused updates (e.g. enable status first, then SIP). Trial / `subscriptionBlocked` → **403** plain text.
|
|
154
154
|
|
|
155
155
|
```yaml
|
|
156
156
|
http: POST /callingSettings
|
|
@@ -847,7 +847,7 @@ responses: 200, 401, 500
|
|
|
847
847
|
|
|
848
848
|
Set webhook URL
|
|
849
849
|
|
|
850
|
-
Configure the client webhook URL for inbound events.
|
|
850
|
+
Configure the client webhook URL for inbound events. WhatsApp **Calling** events (`field=calls`) are forwarded as passthrough payloads with `type: "calls"` and `instanceId` (connect / status / terminate). Call permission replies arrive on the normal messages path (`call_permission_reply`). Details: **Calling** tag.
|
|
851
851
|
|
|
852
852
|
```yaml
|
|
853
853
|
http: POST /webhook
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 1MSG Python SDK
|
|
2
2
|
|
|
3
|
-
Official Python SDK for the **
|
|
3
|
+
Official Python SDK for the **1MSG WhatsApp Business API**.
|
|
4
4
|
|
|
5
5
|
This document is generated from the public OpenAPI contract. It covers install,
|
|
6
6
|
auth, quick start, and every public operation available in the client.
|
|
@@ -21,7 +21,7 @@ auth, quick start, and every public operation available in the client.
|
|
|
21
21
|
## Install
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
pip install one-msg-sdk==1.0.
|
|
24
|
+
pip install one-msg-sdk==1.0.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
## Requirements
|
|
@@ -104,7 +104,7 @@ API groups: calling, catalog, channel, flows, groups, messaging, profile, templa
|
|
|
104
104
|
|
|
105
105
|
Get calling settings
|
|
106
106
|
|
|
107
|
-
WhatsApp Calling API settings (beta).
|
|
107
|
+
Return WhatsApp Calling API settings for this channel (beta). Proxies upstream `GET /calling/settings`. **Prerequisites** - Number must be eligible for Meta Calling (Cloud API; not COEX) - Trial / `subscriptionBlocked` channels receive **403** plain text - You need your own WebRTC or SIP stack; 1msg is a **signaling proxy** only and does **not** store call history or recordings See the **Calling** tag overview for inbound/outbound flows and webhooks.
|
|
108
108
|
|
|
109
109
|
```yaml
|
|
110
110
|
http: GET /callingSettings
|
|
@@ -115,9 +115,9 @@ responses: 200, 401, 500
|
|
|
115
115
|
|
|
116
116
|
#### `initiateCall`
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
Call action (connect / pre_accept / accept / reject / terminate)
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
Perform a WhatsApp Calling action (beta). Proxies upstream `POST /calling/calls`. Despite the historical path name `/initiateCall`, this endpoint handles **all** call actions: | action | Use | Required | |--------|-----|----------| | `connect` | Outbound business → user | `to` + `session` (`sdp_type: offer`) | | `pre_accept` | Inbound (optional, reduces audio clipping) | `call_id` + `session` (`sdp_type: answer`) | | `accept` | Inbound answer | `call_id` + `session` (`sdp_type: answer`) | | `reject` | Decline inbound | `call_id` | | `terminate` | Hang up | `call_id` | **SDP / media (critical)** - `accept` / `pre_accept` require a **WebRTC-generated SDP answer**. - Do **not** send Meta's offer SDP back as the answer. - Postman (or curl) alone **cannot** establish real media — you need a WebRTC or SIP stack. 1msg only proxies signaling. Answer within ~**30–60 seconds** of an inbound `connect` webhook or Meta terminates as unanswered. Common Meta errors include Calling not enabled (`138000`), no permission (`138006`), SDP validation failures. **Outbound** requires a prior Call Permission Request (CPR) acceptance. See the **Calling** tag overview for the full outbound flow and CPR limits. Trial / `subscriptionBlocked` → **403** plain text. Upstream failures often return HTTP 200 with `{ "response": { "error": "..." } }`.
|
|
121
121
|
|
|
122
122
|
```yaml
|
|
123
123
|
http: POST /initiateCall
|
|
@@ -130,7 +130,7 @@ responses: 200, 401, 500
|
|
|
130
130
|
|
|
131
131
|
Update calling settings
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
Enable, disable, or update WhatsApp Calling settings (beta). Proxies upstream `POST /calling/settings`. Body is forwarded as-is (1msg does not validate fields). **Common fields under `calling`** - `status` (`ENABLED` | `DISABLED`) — required to turn calling on/off - `call_icon_visibility` (`DEFAULT` | `DISABLE_ALL`) — optional - `callback_permission_status` (`ENABLED` | `DISABLED`) — optional; when enabled, inbound user calls grant callback permission - `call_hours` — optional hours / timezone object - `sip` — optional SIP trunk; when SIP is ENABLED, Graph call actions and calling webhooks are not used - `srtp_key_exchange_protocol` (`DTLS` | `SDES`) — SDES only with SIP - `video.status` — optional Meta may accept only one feature group per request — prefer focused updates (e.g. enable status first, then SIP). Trial / `subscriptionBlocked` → **403** plain text.
|
|
134
134
|
|
|
135
135
|
```yaml
|
|
136
136
|
http: POST /callingSettings
|
|
@@ -827,7 +827,7 @@ responses: 200, 401, 500
|
|
|
827
827
|
|
|
828
828
|
Set webhook URL
|
|
829
829
|
|
|
830
|
-
Configure the client webhook URL for inbound events.
|
|
830
|
+
Configure the client webhook URL for inbound events. WhatsApp **Calling** events (`field=calls`) are forwarded as passthrough payloads with `type: "calls"` and `instanceId` (connect / status / terminate). Call permission replies arrive on the normal messages path (`call_permission_reply`). Details: **Calling** tag.
|
|
831
831
|
|
|
832
832
|
```yaml
|
|
833
833
|
http: POST /webhook
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
""" # noqa: E501
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
__version__ = "1.0.
|
|
18
|
+
__version__ = "1.0.2"
|
|
19
19
|
|
|
20
20
|
# Define package exports
|
|
21
21
|
__all__ = [
|
|
@@ -40,6 +40,13 @@ __all__ = [
|
|
|
40
40
|
"ApiException",
|
|
41
41
|
"AddTemplateRequest",
|
|
42
42
|
"BlockUserRequest",
|
|
43
|
+
"CallingSettings",
|
|
44
|
+
"CallingSettingsCalling",
|
|
45
|
+
"CallingSettingsCallingAudio",
|
|
46
|
+
"CallingSettingsCallingCallHours",
|
|
47
|
+
"CallingSettingsCallingSip",
|
|
48
|
+
"CallingSettingsCallingSipServersInner",
|
|
49
|
+
"CallingSettingsCallingVideo",
|
|
43
50
|
"ConversationalAutomation",
|
|
44
51
|
"ConversationalAutomationCommandsInner",
|
|
45
52
|
"CreateCommerce200Response",
|
|
@@ -57,6 +64,11 @@ __all__ = [
|
|
|
57
64
|
"GetMmLiteStatus200Response",
|
|
58
65
|
"GetWebhook200Response",
|
|
59
66
|
"GetWhatsappBusinessEncryption200Response",
|
|
67
|
+
"InitiateCallRequest",
|
|
68
|
+
"InitiateCallRequestSession",
|
|
69
|
+
"InitiateCallResponse",
|
|
70
|
+
"InitiateCallResponseCallsInner",
|
|
71
|
+
"InitiateCallResponseResponse",
|
|
60
72
|
"ListBlockedUsers200Response",
|
|
61
73
|
"ListFlows200Response",
|
|
62
74
|
"ListMessages200Response",
|
|
@@ -98,6 +110,8 @@ __all__ = [
|
|
|
98
110
|
"SendTemplateRequestLanguage",
|
|
99
111
|
"SetWhatsappBusinessEncryptionRequest",
|
|
100
112
|
"SuccessResponse",
|
|
113
|
+
"UpdateCallingSettings200Response",
|
|
114
|
+
"UpdateCallingSettings200ResponseResponse",
|
|
101
115
|
"UpdateMeRequest",
|
|
102
116
|
]
|
|
103
117
|
|
|
@@ -127,6 +141,13 @@ from one_msg_sdk.exceptions import ApiException as ApiException
|
|
|
127
141
|
# import models into sdk package
|
|
128
142
|
from one_msg_sdk.models.add_template_request import AddTemplateRequest as AddTemplateRequest
|
|
129
143
|
from one_msg_sdk.models.block_user_request import BlockUserRequest as BlockUserRequest
|
|
144
|
+
from one_msg_sdk.models.calling_settings import CallingSettings as CallingSettings
|
|
145
|
+
from one_msg_sdk.models.calling_settings_calling import CallingSettingsCalling as CallingSettingsCalling
|
|
146
|
+
from one_msg_sdk.models.calling_settings_calling_audio import CallingSettingsCallingAudio as CallingSettingsCallingAudio
|
|
147
|
+
from one_msg_sdk.models.calling_settings_calling_call_hours import CallingSettingsCallingCallHours as CallingSettingsCallingCallHours
|
|
148
|
+
from one_msg_sdk.models.calling_settings_calling_sip import CallingSettingsCallingSip as CallingSettingsCallingSip
|
|
149
|
+
from one_msg_sdk.models.calling_settings_calling_sip_servers_inner import CallingSettingsCallingSipServersInner as CallingSettingsCallingSipServersInner
|
|
150
|
+
from one_msg_sdk.models.calling_settings_calling_video import CallingSettingsCallingVideo as CallingSettingsCallingVideo
|
|
130
151
|
from one_msg_sdk.models.conversational_automation import ConversationalAutomation as ConversationalAutomation
|
|
131
152
|
from one_msg_sdk.models.conversational_automation_commands_inner import ConversationalAutomationCommandsInner as ConversationalAutomationCommandsInner
|
|
132
153
|
from one_msg_sdk.models.create_commerce200_response import CreateCommerce200Response as CreateCommerce200Response
|
|
@@ -144,6 +165,11 @@ from one_msg_sdk.models.get_commerce200_response_inner import GetCommerce200Resp
|
|
|
144
165
|
from one_msg_sdk.models.get_mm_lite_status200_response import GetMmLiteStatus200Response as GetMmLiteStatus200Response
|
|
145
166
|
from one_msg_sdk.models.get_webhook200_response import GetWebhook200Response as GetWebhook200Response
|
|
146
167
|
from one_msg_sdk.models.get_whatsapp_business_encryption200_response import GetWhatsappBusinessEncryption200Response as GetWhatsappBusinessEncryption200Response
|
|
168
|
+
from one_msg_sdk.models.initiate_call_request import InitiateCallRequest as InitiateCallRequest
|
|
169
|
+
from one_msg_sdk.models.initiate_call_request_session import InitiateCallRequestSession as InitiateCallRequestSession
|
|
170
|
+
from one_msg_sdk.models.initiate_call_response import InitiateCallResponse as InitiateCallResponse
|
|
171
|
+
from one_msg_sdk.models.initiate_call_response_calls_inner import InitiateCallResponseCallsInner as InitiateCallResponseCallsInner
|
|
172
|
+
from one_msg_sdk.models.initiate_call_response_response import InitiateCallResponseResponse as InitiateCallResponseResponse
|
|
147
173
|
from one_msg_sdk.models.list_blocked_users200_response import ListBlockedUsers200Response as ListBlockedUsers200Response
|
|
148
174
|
from one_msg_sdk.models.list_flows200_response import ListFlows200Response as ListFlows200Response
|
|
149
175
|
from one_msg_sdk.models.list_messages200_response import ListMessages200Response as ListMessages200Response
|
|
@@ -185,5 +211,7 @@ from one_msg_sdk.models.send_template_request import SendTemplateRequest as Send
|
|
|
185
211
|
from one_msg_sdk.models.send_template_request_language import SendTemplateRequestLanguage as SendTemplateRequestLanguage
|
|
186
212
|
from one_msg_sdk.models.set_whatsapp_business_encryption_request import SetWhatsappBusinessEncryptionRequest as SetWhatsappBusinessEncryptionRequest
|
|
187
213
|
from one_msg_sdk.models.success_response import SuccessResponse as SuccessResponse
|
|
214
|
+
from one_msg_sdk.models.update_calling_settings200_response import UpdateCallingSettings200Response as UpdateCallingSettings200Response
|
|
215
|
+
from one_msg_sdk.models.update_calling_settings200_response_response import UpdateCallingSettings200ResponseResponse as UpdateCallingSettings200ResponseResponse
|
|
188
216
|
from one_msg_sdk.models.update_me_request import UpdateMeRequest as UpdateMeRequest
|
|
189
217
|
|
|
@@ -17,8 +17,11 @@ 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 Any, Dict, Optional
|
|
21
20
|
from typing_extensions import Annotated
|
|
21
|
+
from one_msg_sdk.models.calling_settings import CallingSettings
|
|
22
|
+
from one_msg_sdk.models.initiate_call_request import InitiateCallRequest
|
|
23
|
+
from one_msg_sdk.models.initiate_call_response import InitiateCallResponse
|
|
24
|
+
from one_msg_sdk.models.update_calling_settings200_response import UpdateCallingSettings200Response
|
|
22
25
|
|
|
23
26
|
from one_msg_sdk.api_client import ApiClient, RequestSerialized
|
|
24
27
|
from one_msg_sdk.api_response import ApiResponse
|
|
@@ -54,10 +57,10 @@ class CallingApi:
|
|
|
54
57
|
_content_type: Optional[StrictStr] = None,
|
|
55
58
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
56
59
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
57
|
-
) ->
|
|
60
|
+
) -> CallingSettings:
|
|
58
61
|
"""Get calling settings
|
|
59
62
|
|
|
60
|
-
WhatsApp Calling API settings (beta).
|
|
63
|
+
Return WhatsApp Calling API settings for this channel (beta). Proxies upstream `GET /calling/settings`. **Prerequisites** - Number must be eligible for Meta Calling (Cloud API; not COEX) - Trial / `subscriptionBlocked` channels receive **403** plain text - You need your own WebRTC or SIP stack; 1msg is a **signaling proxy** only and does **not** store call history or recordings See the **Calling** tag overview for inbound/outbound flows and webhooks.
|
|
61
64
|
|
|
62
65
|
:param token: JWT token or API key for authorization (required)
|
|
63
66
|
:type token: str
|
|
@@ -92,7 +95,7 @@ class CallingApi:
|
|
|
92
95
|
)
|
|
93
96
|
|
|
94
97
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
95
|
-
'200': "
|
|
98
|
+
'200': "CallingSettings",
|
|
96
99
|
'401': "ErrorResponse",
|
|
97
100
|
'500': "ErrorResponse",
|
|
98
101
|
}
|
|
@@ -123,10 +126,10 @@ class CallingApi:
|
|
|
123
126
|
_content_type: Optional[StrictStr] = None,
|
|
124
127
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
125
128
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
126
|
-
) -> ApiResponse[
|
|
129
|
+
) -> ApiResponse[CallingSettings]:
|
|
127
130
|
"""Get calling settings
|
|
128
131
|
|
|
129
|
-
WhatsApp Calling API settings (beta).
|
|
132
|
+
Return WhatsApp Calling API settings for this channel (beta). Proxies upstream `GET /calling/settings`. **Prerequisites** - Number must be eligible for Meta Calling (Cloud API; not COEX) - Trial / `subscriptionBlocked` channels receive **403** plain text - You need your own WebRTC or SIP stack; 1msg is a **signaling proxy** only and does **not** store call history or recordings See the **Calling** tag overview for inbound/outbound flows and webhooks.
|
|
130
133
|
|
|
131
134
|
:param token: JWT token or API key for authorization (required)
|
|
132
135
|
:type token: str
|
|
@@ -161,7 +164,7 @@ class CallingApi:
|
|
|
161
164
|
)
|
|
162
165
|
|
|
163
166
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
164
|
-
'200': "
|
|
167
|
+
'200': "CallingSettings",
|
|
165
168
|
'401': "ErrorResponse",
|
|
166
169
|
'500': "ErrorResponse",
|
|
167
170
|
}
|
|
@@ -195,7 +198,7 @@ class CallingApi:
|
|
|
195
198
|
) -> RESTResponseType:
|
|
196
199
|
"""Get calling settings
|
|
197
200
|
|
|
198
|
-
WhatsApp Calling API settings (beta).
|
|
201
|
+
Return WhatsApp Calling API settings for this channel (beta). Proxies upstream `GET /calling/settings`. **Prerequisites** - Number must be eligible for Meta Calling (Cloud API; not COEX) - Trial / `subscriptionBlocked` channels receive **403** plain text - You need your own WebRTC or SIP stack; 1msg is a **signaling proxy** only and does **not** store call history or recordings See the **Calling** tag overview for inbound/outbound flows and webhooks.
|
|
199
202
|
|
|
200
203
|
:param token: JWT token or API key for authorization (required)
|
|
201
204
|
:type token: str
|
|
@@ -230,7 +233,7 @@ class CallingApi:
|
|
|
230
233
|
)
|
|
231
234
|
|
|
232
235
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
233
|
-
'200': "
|
|
236
|
+
'200': "CallingSettings",
|
|
234
237
|
'401': "ErrorResponse",
|
|
235
238
|
'500': "ErrorResponse",
|
|
236
239
|
}
|
|
@@ -311,7 +314,7 @@ class CallingApi:
|
|
|
311
314
|
def initiate_call(
|
|
312
315
|
self,
|
|
313
316
|
token: Annotated[StrictStr, Field(description="JWT token or API key for authorization")],
|
|
314
|
-
|
|
317
|
+
initiate_call_request: InitiateCallRequest,
|
|
315
318
|
_request_timeout: Union[
|
|
316
319
|
None,
|
|
317
320
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -324,15 +327,15 @@ class CallingApi:
|
|
|
324
327
|
_content_type: Optional[StrictStr] = None,
|
|
325
328
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
326
329
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
327
|
-
) ->
|
|
328
|
-
"""
|
|
330
|
+
) -> InitiateCallResponse:
|
|
331
|
+
"""Call action (connect / pre_accept / accept / reject / terminate)
|
|
329
332
|
|
|
330
|
-
|
|
333
|
+
Perform a WhatsApp Calling action (beta). Proxies upstream `POST /calling/calls`. Despite the historical path name `/initiateCall`, this endpoint handles **all** call actions: | action | Use | Required | |--------|-----|----------| | `connect` | Outbound business → user | `to` + `session` (`sdp_type: offer`) | | `pre_accept` | Inbound (optional, reduces audio clipping) | `call_id` + `session` (`sdp_type: answer`) | | `accept` | Inbound answer | `call_id` + `session` (`sdp_type: answer`) | | `reject` | Decline inbound | `call_id` | | `terminate` | Hang up | `call_id` | **SDP / media (critical)** - `accept` / `pre_accept` require a **WebRTC-generated SDP answer**. - Do **not** send Meta's offer SDP back as the answer. - Postman (or curl) alone **cannot** establish real media — you need a WebRTC or SIP stack. 1msg only proxies signaling. Answer within ~**30–60 seconds** of an inbound `connect` webhook or Meta terminates as unanswered. Common Meta errors include Calling not enabled (`138000`), no permission (`138006`), SDP validation failures. **Outbound** requires a prior Call Permission Request (CPR) acceptance. See the **Calling** tag overview for the full outbound flow and CPR limits. Trial / `subscriptionBlocked` → **403** plain text. Upstream failures often return HTTP 200 with `{ \"response\": { \"error\": \"...\" } }`.
|
|
331
334
|
|
|
332
335
|
:param token: JWT token or API key for authorization (required)
|
|
333
336
|
:type token: str
|
|
334
|
-
:param
|
|
335
|
-
:type
|
|
337
|
+
:param initiate_call_request: (required)
|
|
338
|
+
:type initiate_call_request: InitiateCallRequest
|
|
336
339
|
:param _request_timeout: timeout setting for this request. If one
|
|
337
340
|
number provided, it will be total request
|
|
338
341
|
timeout. It can also be a pair (tuple) of
|
|
@@ -357,7 +360,7 @@ class CallingApi:
|
|
|
357
360
|
|
|
358
361
|
_param = self._initiate_call_serialize(
|
|
359
362
|
token=token,
|
|
360
|
-
|
|
363
|
+
initiate_call_request=initiate_call_request,
|
|
361
364
|
_request_auth=_request_auth,
|
|
362
365
|
_content_type=_content_type,
|
|
363
366
|
_headers=_headers,
|
|
@@ -365,7 +368,7 @@ class CallingApi:
|
|
|
365
368
|
)
|
|
366
369
|
|
|
367
370
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
368
|
-
'200': "
|
|
371
|
+
'200': "InitiateCallResponse",
|
|
369
372
|
'401': "ErrorResponse",
|
|
370
373
|
'500': "ErrorResponse",
|
|
371
374
|
}
|
|
@@ -384,7 +387,7 @@ class CallingApi:
|
|
|
384
387
|
def initiate_call_with_http_info(
|
|
385
388
|
self,
|
|
386
389
|
token: Annotated[StrictStr, Field(description="JWT token or API key for authorization")],
|
|
387
|
-
|
|
390
|
+
initiate_call_request: InitiateCallRequest,
|
|
388
391
|
_request_timeout: Union[
|
|
389
392
|
None,
|
|
390
393
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -397,15 +400,15 @@ class CallingApi:
|
|
|
397
400
|
_content_type: Optional[StrictStr] = None,
|
|
398
401
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
399
402
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
400
|
-
) -> ApiResponse[
|
|
401
|
-
"""
|
|
403
|
+
) -> ApiResponse[InitiateCallResponse]:
|
|
404
|
+
"""Call action (connect / pre_accept / accept / reject / terminate)
|
|
402
405
|
|
|
403
|
-
|
|
406
|
+
Perform a WhatsApp Calling action (beta). Proxies upstream `POST /calling/calls`. Despite the historical path name `/initiateCall`, this endpoint handles **all** call actions: | action | Use | Required | |--------|-----|----------| | `connect` | Outbound business → user | `to` + `session` (`sdp_type: offer`) | | `pre_accept` | Inbound (optional, reduces audio clipping) | `call_id` + `session` (`sdp_type: answer`) | | `accept` | Inbound answer | `call_id` + `session` (`sdp_type: answer`) | | `reject` | Decline inbound | `call_id` | | `terminate` | Hang up | `call_id` | **SDP / media (critical)** - `accept` / `pre_accept` require a **WebRTC-generated SDP answer**. - Do **not** send Meta's offer SDP back as the answer. - Postman (or curl) alone **cannot** establish real media — you need a WebRTC or SIP stack. 1msg only proxies signaling. Answer within ~**30–60 seconds** of an inbound `connect` webhook or Meta terminates as unanswered. Common Meta errors include Calling not enabled (`138000`), no permission (`138006`), SDP validation failures. **Outbound** requires a prior Call Permission Request (CPR) acceptance. See the **Calling** tag overview for the full outbound flow and CPR limits. Trial / `subscriptionBlocked` → **403** plain text. Upstream failures often return HTTP 200 with `{ \"response\": { \"error\": \"...\" } }`.
|
|
404
407
|
|
|
405
408
|
:param token: JWT token or API key for authorization (required)
|
|
406
409
|
:type token: str
|
|
407
|
-
:param
|
|
408
|
-
:type
|
|
410
|
+
:param initiate_call_request: (required)
|
|
411
|
+
:type initiate_call_request: InitiateCallRequest
|
|
409
412
|
:param _request_timeout: timeout setting for this request. If one
|
|
410
413
|
number provided, it will be total request
|
|
411
414
|
timeout. It can also be a pair (tuple) of
|
|
@@ -430,7 +433,7 @@ class CallingApi:
|
|
|
430
433
|
|
|
431
434
|
_param = self._initiate_call_serialize(
|
|
432
435
|
token=token,
|
|
433
|
-
|
|
436
|
+
initiate_call_request=initiate_call_request,
|
|
434
437
|
_request_auth=_request_auth,
|
|
435
438
|
_content_type=_content_type,
|
|
436
439
|
_headers=_headers,
|
|
@@ -438,7 +441,7 @@ class CallingApi:
|
|
|
438
441
|
)
|
|
439
442
|
|
|
440
443
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
441
|
-
'200': "
|
|
444
|
+
'200': "InitiateCallResponse",
|
|
442
445
|
'401': "ErrorResponse",
|
|
443
446
|
'500': "ErrorResponse",
|
|
444
447
|
}
|
|
@@ -457,7 +460,7 @@ class CallingApi:
|
|
|
457
460
|
def initiate_call_without_preload_content(
|
|
458
461
|
self,
|
|
459
462
|
token: Annotated[StrictStr, Field(description="JWT token or API key for authorization")],
|
|
460
|
-
|
|
463
|
+
initiate_call_request: InitiateCallRequest,
|
|
461
464
|
_request_timeout: Union[
|
|
462
465
|
None,
|
|
463
466
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -471,14 +474,14 @@ class CallingApi:
|
|
|
471
474
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
472
475
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
473
476
|
) -> RESTResponseType:
|
|
474
|
-
"""
|
|
477
|
+
"""Call action (connect / pre_accept / accept / reject / terminate)
|
|
475
478
|
|
|
476
|
-
|
|
479
|
+
Perform a WhatsApp Calling action (beta). Proxies upstream `POST /calling/calls`. Despite the historical path name `/initiateCall`, this endpoint handles **all** call actions: | action | Use | Required | |--------|-----|----------| | `connect` | Outbound business → user | `to` + `session` (`sdp_type: offer`) | | `pre_accept` | Inbound (optional, reduces audio clipping) | `call_id` + `session` (`sdp_type: answer`) | | `accept` | Inbound answer | `call_id` + `session` (`sdp_type: answer`) | | `reject` | Decline inbound | `call_id` | | `terminate` | Hang up | `call_id` | **SDP / media (critical)** - `accept` / `pre_accept` require a **WebRTC-generated SDP answer**. - Do **not** send Meta's offer SDP back as the answer. - Postman (or curl) alone **cannot** establish real media — you need a WebRTC or SIP stack. 1msg only proxies signaling. Answer within ~**30–60 seconds** of an inbound `connect` webhook or Meta terminates as unanswered. Common Meta errors include Calling not enabled (`138000`), no permission (`138006`), SDP validation failures. **Outbound** requires a prior Call Permission Request (CPR) acceptance. See the **Calling** tag overview for the full outbound flow and CPR limits. Trial / `subscriptionBlocked` → **403** plain text. Upstream failures often return HTTP 200 with `{ \"response\": { \"error\": \"...\" } }`.
|
|
477
480
|
|
|
478
481
|
:param token: JWT token or API key for authorization (required)
|
|
479
482
|
:type token: str
|
|
480
|
-
:param
|
|
481
|
-
:type
|
|
483
|
+
:param initiate_call_request: (required)
|
|
484
|
+
:type initiate_call_request: InitiateCallRequest
|
|
482
485
|
:param _request_timeout: timeout setting for this request. If one
|
|
483
486
|
number provided, it will be total request
|
|
484
487
|
timeout. It can also be a pair (tuple) of
|
|
@@ -503,7 +506,7 @@ class CallingApi:
|
|
|
503
506
|
|
|
504
507
|
_param = self._initiate_call_serialize(
|
|
505
508
|
token=token,
|
|
506
|
-
|
|
509
|
+
initiate_call_request=initiate_call_request,
|
|
507
510
|
_request_auth=_request_auth,
|
|
508
511
|
_content_type=_content_type,
|
|
509
512
|
_headers=_headers,
|
|
@@ -511,7 +514,7 @@ class CallingApi:
|
|
|
511
514
|
)
|
|
512
515
|
|
|
513
516
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
514
|
-
'200': "
|
|
517
|
+
'200': "InitiateCallResponse",
|
|
515
518
|
'401': "ErrorResponse",
|
|
516
519
|
'500': "ErrorResponse",
|
|
517
520
|
}
|
|
@@ -525,7 +528,7 @@ class CallingApi:
|
|
|
525
528
|
def _initiate_call_serialize(
|
|
526
529
|
self,
|
|
527
530
|
token,
|
|
528
|
-
|
|
531
|
+
initiate_call_request,
|
|
529
532
|
_request_auth,
|
|
530
533
|
_content_type,
|
|
531
534
|
_headers,
|
|
@@ -555,8 +558,8 @@ class CallingApi:
|
|
|
555
558
|
# process the header parameters
|
|
556
559
|
# process the form parameters
|
|
557
560
|
# process the body parameter
|
|
558
|
-
if
|
|
559
|
-
_body_params =
|
|
561
|
+
if initiate_call_request is not None:
|
|
562
|
+
_body_params = initiate_call_request
|
|
560
563
|
|
|
561
564
|
|
|
562
565
|
# set the HTTP header `Accept`
|
|
@@ -608,7 +611,7 @@ class CallingApi:
|
|
|
608
611
|
def update_calling_settings(
|
|
609
612
|
self,
|
|
610
613
|
token: Annotated[StrictStr, Field(description="JWT token or API key for authorization")],
|
|
611
|
-
|
|
614
|
+
calling_settings: CallingSettings,
|
|
612
615
|
_request_timeout: Union[
|
|
613
616
|
None,
|
|
614
617
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -621,15 +624,15 @@ class CallingApi:
|
|
|
621
624
|
_content_type: Optional[StrictStr] = None,
|
|
622
625
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
623
626
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
624
|
-
) ->
|
|
627
|
+
) -> UpdateCallingSettings200Response:
|
|
625
628
|
"""Update calling settings
|
|
626
629
|
|
|
627
|
-
|
|
630
|
+
Enable, disable, or update WhatsApp Calling settings (beta). Proxies upstream `POST /calling/settings`. Body is forwarded as-is (1msg does not validate fields). **Common fields under `calling`** - `status` (`ENABLED` | `DISABLED`) — required to turn calling on/off - `call_icon_visibility` (`DEFAULT` | `DISABLE_ALL`) — optional - `callback_permission_status` (`ENABLED` | `DISABLED`) — optional; when enabled, inbound user calls grant callback permission - `call_hours` — optional hours / timezone object - `sip` — optional SIP trunk; when SIP is ENABLED, Graph call actions and calling webhooks are not used - `srtp_key_exchange_protocol` (`DTLS` | `SDES`) — SDES only with SIP - `video.status` — optional Meta may accept only one feature group per request — prefer focused updates (e.g. enable status first, then SIP). Trial / `subscriptionBlocked` → **403** plain text.
|
|
628
631
|
|
|
629
632
|
:param token: JWT token or API key for authorization (required)
|
|
630
633
|
:type token: str
|
|
631
|
-
:param
|
|
632
|
-
:type
|
|
634
|
+
:param calling_settings: (required)
|
|
635
|
+
:type calling_settings: CallingSettings
|
|
633
636
|
:param _request_timeout: timeout setting for this request. If one
|
|
634
637
|
number provided, it will be total request
|
|
635
638
|
timeout. It can also be a pair (tuple) of
|
|
@@ -654,7 +657,7 @@ class CallingApi:
|
|
|
654
657
|
|
|
655
658
|
_param = self._update_calling_settings_serialize(
|
|
656
659
|
token=token,
|
|
657
|
-
|
|
660
|
+
calling_settings=calling_settings,
|
|
658
661
|
_request_auth=_request_auth,
|
|
659
662
|
_content_type=_content_type,
|
|
660
663
|
_headers=_headers,
|
|
@@ -662,7 +665,7 @@ class CallingApi:
|
|
|
662
665
|
)
|
|
663
666
|
|
|
664
667
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
665
|
-
'200': "
|
|
668
|
+
'200': "UpdateCallingSettings200Response",
|
|
666
669
|
'401': "ErrorResponse",
|
|
667
670
|
'500': "ErrorResponse",
|
|
668
671
|
}
|
|
@@ -681,7 +684,7 @@ class CallingApi:
|
|
|
681
684
|
def update_calling_settings_with_http_info(
|
|
682
685
|
self,
|
|
683
686
|
token: Annotated[StrictStr, Field(description="JWT token or API key for authorization")],
|
|
684
|
-
|
|
687
|
+
calling_settings: CallingSettings,
|
|
685
688
|
_request_timeout: Union[
|
|
686
689
|
None,
|
|
687
690
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -694,15 +697,15 @@ class CallingApi:
|
|
|
694
697
|
_content_type: Optional[StrictStr] = None,
|
|
695
698
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
696
699
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
697
|
-
) -> ApiResponse[
|
|
700
|
+
) -> ApiResponse[UpdateCallingSettings200Response]:
|
|
698
701
|
"""Update calling settings
|
|
699
702
|
|
|
700
|
-
|
|
703
|
+
Enable, disable, or update WhatsApp Calling settings (beta). Proxies upstream `POST /calling/settings`. Body is forwarded as-is (1msg does not validate fields). **Common fields under `calling`** - `status` (`ENABLED` | `DISABLED`) — required to turn calling on/off - `call_icon_visibility` (`DEFAULT` | `DISABLE_ALL`) — optional - `callback_permission_status` (`ENABLED` | `DISABLED`) — optional; when enabled, inbound user calls grant callback permission - `call_hours` — optional hours / timezone object - `sip` — optional SIP trunk; when SIP is ENABLED, Graph call actions and calling webhooks are not used - `srtp_key_exchange_protocol` (`DTLS` | `SDES`) — SDES only with SIP - `video.status` — optional Meta may accept only one feature group per request — prefer focused updates (e.g. enable status first, then SIP). Trial / `subscriptionBlocked` → **403** plain text.
|
|
701
704
|
|
|
702
705
|
:param token: JWT token or API key for authorization (required)
|
|
703
706
|
:type token: str
|
|
704
|
-
:param
|
|
705
|
-
:type
|
|
707
|
+
:param calling_settings: (required)
|
|
708
|
+
:type calling_settings: CallingSettings
|
|
706
709
|
:param _request_timeout: timeout setting for this request. If one
|
|
707
710
|
number provided, it will be total request
|
|
708
711
|
timeout. It can also be a pair (tuple) of
|
|
@@ -727,7 +730,7 @@ class CallingApi:
|
|
|
727
730
|
|
|
728
731
|
_param = self._update_calling_settings_serialize(
|
|
729
732
|
token=token,
|
|
730
|
-
|
|
733
|
+
calling_settings=calling_settings,
|
|
731
734
|
_request_auth=_request_auth,
|
|
732
735
|
_content_type=_content_type,
|
|
733
736
|
_headers=_headers,
|
|
@@ -735,7 +738,7 @@ class CallingApi:
|
|
|
735
738
|
)
|
|
736
739
|
|
|
737
740
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
738
|
-
'200': "
|
|
741
|
+
'200': "UpdateCallingSettings200Response",
|
|
739
742
|
'401': "ErrorResponse",
|
|
740
743
|
'500': "ErrorResponse",
|
|
741
744
|
}
|
|
@@ -754,7 +757,7 @@ class CallingApi:
|
|
|
754
757
|
def update_calling_settings_without_preload_content(
|
|
755
758
|
self,
|
|
756
759
|
token: Annotated[StrictStr, Field(description="JWT token or API key for authorization")],
|
|
757
|
-
|
|
760
|
+
calling_settings: CallingSettings,
|
|
758
761
|
_request_timeout: Union[
|
|
759
762
|
None,
|
|
760
763
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -770,12 +773,12 @@ class CallingApi:
|
|
|
770
773
|
) -> RESTResponseType:
|
|
771
774
|
"""Update calling settings
|
|
772
775
|
|
|
773
|
-
|
|
776
|
+
Enable, disable, or update WhatsApp Calling settings (beta). Proxies upstream `POST /calling/settings`. Body is forwarded as-is (1msg does not validate fields). **Common fields under `calling`** - `status` (`ENABLED` | `DISABLED`) — required to turn calling on/off - `call_icon_visibility` (`DEFAULT` | `DISABLE_ALL`) — optional - `callback_permission_status` (`ENABLED` | `DISABLED`) — optional; when enabled, inbound user calls grant callback permission - `call_hours` — optional hours / timezone object - `sip` — optional SIP trunk; when SIP is ENABLED, Graph call actions and calling webhooks are not used - `srtp_key_exchange_protocol` (`DTLS` | `SDES`) — SDES only with SIP - `video.status` — optional Meta may accept only one feature group per request — prefer focused updates (e.g. enable status first, then SIP). Trial / `subscriptionBlocked` → **403** plain text.
|
|
774
777
|
|
|
775
778
|
:param token: JWT token or API key for authorization (required)
|
|
776
779
|
:type token: str
|
|
777
|
-
:param
|
|
778
|
-
:type
|
|
780
|
+
:param calling_settings: (required)
|
|
781
|
+
:type calling_settings: CallingSettings
|
|
779
782
|
:param _request_timeout: timeout setting for this request. If one
|
|
780
783
|
number provided, it will be total request
|
|
781
784
|
timeout. It can also be a pair (tuple) of
|
|
@@ -800,7 +803,7 @@ class CallingApi:
|
|
|
800
803
|
|
|
801
804
|
_param = self._update_calling_settings_serialize(
|
|
802
805
|
token=token,
|
|
803
|
-
|
|
806
|
+
calling_settings=calling_settings,
|
|
804
807
|
_request_auth=_request_auth,
|
|
805
808
|
_content_type=_content_type,
|
|
806
809
|
_headers=_headers,
|
|
@@ -808,7 +811,7 @@ class CallingApi:
|
|
|
808
811
|
)
|
|
809
812
|
|
|
810
813
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
811
|
-
'200': "
|
|
814
|
+
'200': "UpdateCallingSettings200Response",
|
|
812
815
|
'401': "ErrorResponse",
|
|
813
816
|
'500': "ErrorResponse",
|
|
814
817
|
}
|
|
@@ -822,7 +825,7 @@ class CallingApi:
|
|
|
822
825
|
def _update_calling_settings_serialize(
|
|
823
826
|
self,
|
|
824
827
|
token,
|
|
825
|
-
|
|
828
|
+
calling_settings,
|
|
826
829
|
_request_auth,
|
|
827
830
|
_content_type,
|
|
828
831
|
_headers,
|
|
@@ -852,8 +855,8 @@ class CallingApi:
|
|
|
852
855
|
# process the header parameters
|
|
853
856
|
# process the form parameters
|
|
854
857
|
# process the body parameter
|
|
855
|
-
if
|
|
856
|
-
_body_params =
|
|
858
|
+
if calling_settings is not None:
|
|
859
|
+
_body_params = calling_settings
|
|
857
860
|
|
|
858
861
|
|
|
859
862
|
# set the HTTP header `Accept`
|
|
@@ -328,7 +328,7 @@ class WebhooksApi:
|
|
|
328
328
|
) -> Dict[str, object]:
|
|
329
329
|
"""Set webhook URL
|
|
330
330
|
|
|
331
|
-
Configure the client webhook URL for inbound events.
|
|
331
|
+
Configure the client webhook URL for inbound events. WhatsApp **Calling** events (`field=calls`) are forwarded as passthrough payloads with `type: \"calls\"` and `instanceId` (connect / status / terminate). Call permission replies arrive on the normal messages path (`call_permission_reply`). Details: **Calling** tag.
|
|
332
332
|
|
|
333
333
|
:param token: JWT token or API key for authorization (required)
|
|
334
334
|
:type token: str
|
|
@@ -401,7 +401,7 @@ class WebhooksApi:
|
|
|
401
401
|
) -> ApiResponse[Dict[str, object]]:
|
|
402
402
|
"""Set webhook URL
|
|
403
403
|
|
|
404
|
-
Configure the client webhook URL for inbound events.
|
|
404
|
+
Configure the client webhook URL for inbound events. WhatsApp **Calling** events (`field=calls`) are forwarded as passthrough payloads with `type: \"calls\"` and `instanceId` (connect / status / terminate). Call permission replies arrive on the normal messages path (`call_permission_reply`). Details: **Calling** tag.
|
|
405
405
|
|
|
406
406
|
:param token: JWT token or API key for authorization (required)
|
|
407
407
|
:type token: str
|
|
@@ -474,7 +474,7 @@ class WebhooksApi:
|
|
|
474
474
|
) -> RESTResponseType:
|
|
475
475
|
"""Set webhook URL
|
|
476
476
|
|
|
477
|
-
Configure the client webhook URL for inbound events.
|
|
477
|
+
Configure the client webhook URL for inbound events. WhatsApp **Calling** events (`field=calls`) are forwarded as passthrough payloads with `type: \"calls\"` and `instanceId` (connect / status / terminate). Call permission replies arrive on the normal messages path (`call_permission_reply`). Details: **Calling** tag.
|
|
478
478
|
|
|
479
479
|
:param token: JWT token or API key for authorization (required)
|
|
480
480
|
:type token: str
|
|
@@ -92,7 +92,7 @@ class ApiClient:
|
|
|
92
92
|
self.default_headers[header_name] = header_value
|
|
93
93
|
self.cookie = cookie
|
|
94
94
|
# Set default User-Agent.
|
|
95
|
-
self.user_agent = 'OpenAPI-Generator/1.0.
|
|
95
|
+
self.user_agent = 'OpenAPI-Generator/1.0.2/python'
|
|
96
96
|
self.client_side_validation = configuration.client_side_validation
|
|
97
97
|
|
|
98
98
|
def __enter__(self):
|