leadping 1.0.0__py3-none-any.whl
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.
- leadping/__init__.py +3 -0
- leadping/analytics/analytics_request_builder.py +33 -0
- leadping/analytics/my/my_request_builder.py +111 -0
- leadping/automations/all/all_request_builder.py +33 -0
- leadping/automations/all/my/my_request_builder.py +89 -0
- leadping/automations/automations_request_builder.py +124 -0
- leadping/automations/item/automations_item_request_builder.py +164 -0
- leadping/automations/preview/preview_request_builder.py +89 -0
- leadping/businesses/businesses_request_builder.py +43 -0
- leadping/businesses/invitations/accept/accept_request_builder.py +89 -0
- leadping/businesses/invitations/invitations_request_builder.py +43 -0
- leadping/businesses/invitations/token/item/with_token_item_request_builder.py +81 -0
- leadping/businesses/invitations/token/token_request_builder.py +38 -0
- leadping/businesses/me/invitations/invitations_request_builder.py +138 -0
- leadping/businesses/me/invitations/item/resend/resend_request_builder.py +81 -0
- leadping/businesses/me/invitations/item/with_invitation_item_request_builder.py +88 -0
- leadping/businesses/me/me_request_builder.py +167 -0
- leadping/businesses/me/options/options_request_builder.py +75 -0
- leadping/businesses/me/switch/switch_request_builder.py +89 -0
- leadping/businesses/me/users/item/with_user_item_request_builder.py +127 -0
- leadping/businesses/me/users/users_request_builder.py +139 -0
- leadping/contact/contact_request_builder.py +89 -0
- leadping/conversations/conversations_request_builder.py +43 -0
- leadping/conversations/lead/item/with_lead_item_request_builder.py +90 -0
- leadping/conversations/lead/lead_request_builder.py +38 -0
- leadping/conversations/my/my_request_builder.py +110 -0
- leadping/dispositions/dispositions_request_builder.py +115 -0
- leadping/dispositions/item/dispositions_item_request_builder.py +164 -0
- leadping/dispositions/lead/item/export/export_request_builder.py +81 -0
- leadping/dispositions/lead/item/with_lead_item_request_builder.py +91 -0
- leadping/dispositions/lead/lead_request_builder.py +38 -0
- leadping/events/all/all_request_builder.py +33 -0
- leadping/events/all/my/my_request_builder.py +97 -0
- leadping/events/businesses/businesses_request_builder.py +38 -0
- leadping/events/businesses/item/with_business_item_request_builder.py +89 -0
- leadping/events/calls/all/all_request_builder.py +33 -0
- leadping/events/calls/all/my/my_request_builder.py +89 -0
- leadping/events/calls/calls_request_builder.py +68 -0
- leadping/events/calls/item/with_call_event_item_request_builder.py +81 -0
- leadping/events/calls/lead/item/with_lead_item_request_builder.py +89 -0
- leadping/events/calls/lead/lead_request_builder.py +38 -0
- leadping/events/calls/phone/item/with_phone_number_item_request_builder.py +89 -0
- leadping/events/calls/phone/phone_request_builder.py +38 -0
- leadping/events/conversations/conversations_request_builder.py +38 -0
- leadping/events/conversations/item/notes/notes_request_builder.py +89 -0
- leadping/events/conversations/item/with_conversation_item_request_builder.py +99 -0
- leadping/events/events_request_builder.py +98 -0
- leadping/events/item/detail/detail_request_builder.py +81 -0
- leadping/events/item/with_event_item_request_builder.py +91 -0
- leadping/events/leads/item/with_lead_item_request_builder.py +89 -0
- leadping/events/leads/leads_request_builder.py +38 -0
- leadping/events/sms/all/all_request_builder.py +33 -0
- leadping/events/sms/all/my/my_request_builder.py +89 -0
- leadping/events/sms/item/with_sms_event_item_request_builder.py +81 -0
- leadping/events/sms/lead/item/with_lead_item_request_builder.py +89 -0
- leadping/events/sms/lead/lead_request_builder.py +38 -0
- leadping/events/sms/phone/item/with_phone_number_item_request_builder.py +89 -0
- leadping/events/sms/phone/phone_request_builder.py +38 -0
- leadping/events/sms/sms_request_builder.py +68 -0
- leadping/feedback/admin/admin_request_builder.py +143 -0
- leadping/feedback/admin/item/admin_item_request_builder.py +128 -0
- leadping/feedback/feedback_request_builder.py +99 -0
- leadping/leadping_open_api_client.py +253 -0
- leadping/leads/all/all_request_builder.py +33 -0
- leadping/leads/all/my/my_request_builder.py +115 -0
- leadping/leads/intake/intake_request_builder.py +339 -0
- leadping/leads/item/archive/archive_post_request_body.py +54 -0
- leadping/leads/item/archive/archive_request_builder.py +90 -0
- leadping/leads/item/leads_item_request_builder.py +205 -0
- leadping/leads/item/tags/item/with_tag_item_request_builder.py +81 -0
- leadping/leads/item/tags/tags_request_builder.py +151 -0
- leadping/leads/item/unarchive/unarchive_request_builder.py +81 -0
- leadping/leads/item/workflow_status/workflow_status_request_builder.py +81 -0
- leadping/leads/leads_request_builder.py +148 -0
- leadping/models/accept_business_invitation_request.py +62 -0
- leadping/models/activation_domain_option.py +70 -0
- leadping/models/activation_launch_review_status.py +9 -0
- leadping/models/activation_onboarding_status.py +7 -0
- leadping/models/activation_payment_status.py +7 -0
- leadping/models/activation_subscription_status.py +8 -0
- leadping/models/activation_telephony_status.py +10 -0
- leadping/models/activation_timeline_event.py +79 -0
- leadping/models/admin_enablement_override.py +60 -0
- leadping/models/analytics_comparison.py +55 -0
- leadping/models/analytics_date_range.py +56 -0
- leadping/models/analytics_trend_point_ofdecimal.py +60 -0
- leadping/models/analytics_trend_point_ofint.py +60 -0
- leadping/models/automation_action.py +73 -0
- leadping/models/automation_action_run_record.py +115 -0
- leadping/models/automation_action_settings.py +46 -0
- leadping/models/automation_condition.py +73 -0
- leadping/models/automation_condition_group.py +65 -0
- leadping/models/automation_condition_settings.py +46 -0
- leadping/models/automation_preview_action_result.py +66 -0
- leadping/models/automation_preview_condition_result.py +58 -0
- leadping/models/automation_preview_request.py +61 -0
- leadping/models/automation_preview_response.py +86 -0
- leadping/models/automation_preview_response_sample_payload.py +46 -0
- leadping/models/automation_request.py +122 -0
- leadping/models/automation_request_admin_enablement_override.py +51 -0
- leadping/models/automation_request_snapshot.py +111 -0
- leadping/models/automation_response.py +164 -0
- leadping/models/automation_response_admin_enablement_override.py +51 -0
- leadping/models/automation_response_business.py +54 -0
- leadping/models/automation_response_user.py +54 -0
- leadping/models/automation_run_record.py +129 -0
- leadping/models/automation_run_record_context_snapshot.py +46 -0
- leadping/models/automation_table_row.py +152 -0
- leadping/models/automation_table_row_admin_enablement_override.py +54 -0
- leadping/models/automation_table_row_business.py +54 -0
- leadping/models/automation_table_row_user.py +54 -0
- leadping/models/automation_trigger.py +73 -0
- leadping/models/automation_trigger_settings.py +46 -0
- leadping/models/automation_validation_result.py +54 -0
- leadping/models/automation_workflow_action_response.py +123 -0
- leadping/models/automation_workflow_event_response.py +87 -0
- leadping/models/automation_workflow_run_response.py +185 -0
- leadping/models/automation_workflow_status_response.py +61 -0
- leadping/models/billable_unit.py +16 -0
- leadping/models/billing_plan.py +6 -0
- leadping/models/business_activation_state.py +224 -0
- leadping/models/business_activation_state_ten_dlc_draft.py +54 -0
- leadping/models/business_compliance_policy.py +78 -0
- leadping/models/business_invitation_request.py +61 -0
- leadping/models/business_invitation_response.py +129 -0
- leadping/models/business_invitation_status.py +10 -0
- leadping/models/business_invitation_table_row.py +125 -0
- leadping/models/business_request.py +171 -0
- leadping/models/business_request_activation.py +54 -0
- leadping/models/business_request_address.py +54 -0
- leadping/models/business_request_admin_enablement_override.py +51 -0
- leadping/models/business_request_billing_plan.py +6 -0
- leadping/models/business_request_compliance_policy.py +54 -0
- leadping/models/business_request_ein_document.py +54 -0
- leadping/models/business_request_setup_step.py +15 -0
- leadping/models/business_request_status.py +7 -0
- leadping/models/business_request_stripe_info.py +54 -0
- leadping/models/business_request_subscription_status.py +8 -0
- leadping/models/business_response.py +198 -0
- leadping/models/business_response_activation.py +54 -0
- leadping/models/business_response_address.py +54 -0
- leadping/models/business_response_admin_enablement_override.py +51 -0
- leadping/models/business_response_billing_plan.py +6 -0
- leadping/models/business_response_compliance_policy.py +54 -0
- leadping/models/business_response_ein_document.py +54 -0
- leadping/models/business_response_setup_step.py +15 -0
- leadping/models/business_response_site.py +54 -0
- leadping/models/business_response_status.py +7 -0
- leadping/models/business_response_stripe_info.py +54 -0
- leadping/models/business_response_subscription_status.py +8 -0
- leadping/models/business_response_user.py +54 -0
- leadping/models/business_stripe_info.py +109 -0
- leadping/models/business_stripe_info_cancellation.py +54 -0
- leadping/models/business_stripe_info_dunning.py +54 -0
- leadping/models/business_switch_option.py +100 -0
- leadping/models/business_switch_option_activation_status.py +24 -0
- leadping/models/business_switch_option_business_status.py +7 -0
- leadping/models/business_switch_request.py +50 -0
- leadping/models/business_user_request.py +65 -0
- leadping/models/business_user_response.py +121 -0
- leadping/models/business_user_role.py +7 -0
- leadping/models/business_user_table_row.py +86 -0
- leadping/models/call_event_table_row.py +149 -0
- leadping/models/call_event_table_row_metadata.py +46 -0
- leadping/models/call_event_table_row_status.py +24 -0
- leadping/models/change_billing_plan_request.py +61 -0
- leadping/models/compliance_update_request.py +61 -0
- leadping/models/compliance_update_request_compliance.py +54 -0
- leadping/models/contact_request.py +62 -0
- leadping/models/contact_response.py +50 -0
- leadping/models/conversation_response.py +132 -0
- leadping/models/conversation_response_current_disposition.py +54 -0
- leadping/models/conversation_response_phone_number.py +54 -0
- leadping/models/conversation_response_status.py +8 -0
- leadping/models/coordinate.py +54 -0
- leadping/models/create_note_request.py +50 -0
- leadping/models/current_disposition_summary.py +89 -0
- leadping/models/current_disposition_summary_category.py +10 -0
- leadping/models/current_disposition_summary_source.py +9 -0
- leadping/models/customer_activation_health.py +58 -0
- leadping/models/customer_activation_health_item.py +63 -0
- leadping/models/customer_activation_status.py +24 -0
- leadping/models/customer_analytics_response.py +115 -0
- leadping/models/customer_analytics_summary.py +110 -0
- leadping/models/customer_automation_health.py +81 -0
- leadping/models/customer_automation_health_last_failure.py +51 -0
- leadping/models/customer_communication_usage.py +90 -0
- leadping/models/customer_communication_usage_point.py +76 -0
- leadping/models/customer_failing_automation.py +60 -0
- leadping/models/customer_lead_source_breakdown.py +55 -0
- leadping/models/customer_lead_trend.py +65 -0
- leadping/models/customer_needs_attention_item.py +63 -0
- leadping/models/customer_response_metrics.py +74 -0
- leadping/models/disposition_export_response.py +69 -0
- leadping/models/disposition_export_row.py +161 -0
- leadping/models/disposition_export_row_category.py +10 -0
- leadping/models/disposition_export_row_change_source.py +9 -0
- leadping/models/disposition_request.py +133 -0
- leadping/models/disposition_request_category.py +10 -0
- leadping/models/disposition_request_change_source.py +9 -0
- leadping/models/disposition_response.py +169 -0
- leadping/models/disposition_response_category.py +10 -0
- leadping/models/disposition_response_change_source.py +9 -0
- leadping/models/eligible_outgoing_number_response.py +112 -0
- leadping/models/eligible_outgoing_number_response_health_status.py +11 -0
- leadping/models/event_detail_response.py +188 -0
- leadping/models/event_detail_response_status.py +9 -0
- leadping/models/event_detail_response_timeline_type.py +16 -0
- leadping/models/event_detail_response_user.py +54 -0
- leadping/models/event_table_row.py +247 -0
- leadping/models/event_table_row_selection_reason.py +12 -0
- leadping/models/event_table_row_status.py +25 -0
- leadping/models/event_table_row_traffic_type.py +9 -0
- leadping/models/event_timeline_type.py +16 -0
- leadping/models/exact_match_filter.py +50 -0
- leadping/models/feedback_admin_update_request.py +80 -0
- leadping/models/feedback_admin_update_request_status.py +11 -0
- leadping/models/feedback_admin_update_request_type.py +9 -0
- leadping/models/feedback_create_request.py +77 -0
- leadping/models/feedback_create_request_type.py +9 -0
- leadping/models/feedback_response.py +157 -0
- leadping/models/feedback_status.py +11 -0
- leadping/models/feedback_type.py +9 -0
- leadping/models/id_name_pair.py +54 -0
- leadping/models/id_name_value.py +58 -0
- leadping/models/internal_phone_number_status.py +11 -0
- leadping/models/lead_archive_request.py +54 -0
- leadping/models/lead_contact.py +87 -0
- leadping/models/lead_contact_coordinate.py +54 -0
- leadping/models/lead_contact_phone.py +54 -0
- leadping/models/lead_contact_street_address.py +54 -0
- leadping/models/lead_intake_request.py +178 -0
- leadping/models/lead_intake_request_source_metadata.py +46 -0
- leadping/models/lead_metadata.py +182 -0
- leadping/models/lead_metadata_source_metadata.py +46 -0
- leadping/models/lead_profile.py +88 -0
- leadping/models/lead_profile_employment_type.py +15 -0
- leadping/models/lead_profile_gender.py +9 -0
- leadping/models/lead_profile_marital_status.py +9 -0
- leadping/models/lead_request.py +94 -0
- leadping/models/lead_request_admin_enablement_override.py +51 -0
- leadping/models/lead_response.py +129 -0
- leadping/models/lead_response_admin_enablement_override.py +51 -0
- leadping/models/lead_response_current_disposition.py +54 -0
- leadping/models/lead_table_row.py +140 -0
- leadping/models/lead_table_row_admin_enablement_override.py +54 -0
- leadping/models/lead_table_row_current_disposition.py +54 -0
- leadping/models/lead_tags_request.py +58 -0
- leadping/models/mobile_device_preferences.py +63 -0
- leadping/models/notification_priority.py +8 -0
- leadping/models/notification_table_row.py +113 -0
- leadping/models/notification_type.py +16 -0
- leadping/models/order_by_option.py +61 -0
- leadping/models/order_by_option_direction.py +6 -0
- leadping/models/outbound_capacity_overview.py +89 -0
- leadping/models/outbound_delivery_channel.py +9 -0
- leadping/models/outbound_delivery_source.py +12 -0
- leadping/models/outbound_delivery_status.py +13 -0
- leadping/models/outbound_phone_number_capacity.py +70 -0
- leadping/models/outbound_queue_item.py +92 -0
- leadping/models/outbound_queue_item_reason_code.py +27 -0
- leadping/models/outgoing_number_manual_override_request.py +61 -0
- leadping/models/outgoing_number_selection_reason.py +12 -0
- leadping/models/outgoing_number_selection_request.py +81 -0
- leadping/models/outgoing_number_selection_request_channel.py +6 -0
- leadping/models/outgoing_number_selection_response.py +115 -0
- leadping/models/outgoing_number_selection_response_health_status.py +11 -0
- leadping/models/outgoing_number_selection_response_selection_reason.py +12 -0
- leadping/models/paged_result_of_automation_table_row.py +65 -0
- leadping/models/paged_result_of_call_event_table_row.py +65 -0
- leadping/models/paged_result_of_conversation_response.py +65 -0
- leadping/models/paged_result_of_event_table_row.py +65 -0
- leadping/models/paged_result_of_feedback_response.py +65 -0
- leadping/models/paged_result_of_lead_table_row.py +65 -0
- leadping/models/paged_result_of_notification_table_row.py +65 -0
- leadping/models/paged_result_of_phone_number_table_row.py +65 -0
- leadping/models/paged_result_of_sms_event_table_row.py +65 -0
- leadping/models/paged_result_of_source_table_row.py +65 -0
- leadping/models/paged_result_of_transaction_table_row.py +65 -0
- leadping/models/paged_result_of_usage_ledger_table_row.py +65 -0
- leadping/models/phone.py +65 -0
- leadping/models/phone_lookup.py +92 -0
- leadping/models/phone_lookup_carrier_type.py +16 -0
- leadping/models/phone_lookup_line_type.py +10 -0
- leadping/models/phone_lookup_location.py +54 -0
- leadping/models/phone_number_availability_request.py +50 -0
- leadping/models/phone_number_availability_response.py +69 -0
- leadping/models/phone_number_availability_response_location.py +54 -0
- leadping/models/phone_number_billing_attribution.py +70 -0
- leadping/models/phone_number_capabilities.py +62 -0
- leadping/models/phone_number_event_record.py +86 -0
- leadping/models/phone_number_event_record_state.py +16 -0
- leadping/models/phone_number_inventory_state.py +16 -0
- leadping/models/phone_number_location.py +73 -0
- leadping/models/phone_number_location_coordinate.py +54 -0
- leadping/models/phone_number_messaging_event_response.py +87 -0
- leadping/models/phone_number_opt_out_metrics_response.py +67 -0
- leadping/models/phone_number_outbound_health_status.py +12 -0
- leadping/models/phone_number_provider_lifecycle_state.py +13 -0
- leadping/models/phone_number_request.py +77 -0
- leadping/models/phone_number_request_admin_enablement_override.py +51 -0
- leadping/models/phone_number_response.py +316 -0
- leadping/models/phone_number_response_admin_enablement_override.py +51 -0
- leadping/models/phone_number_response_business.py +54 -0
- leadping/models/phone_number_response_call_warmup_stage.py +9 -0
- leadping/models/phone_number_response_call_warmup_state.py +11 -0
- leadping/models/phone_number_response_health_status.py +11 -0
- leadping/models/phone_number_response_location.py +54 -0
- leadping/models/phone_number_response_user.py +54 -0
- leadping/models/phone_number_response_warmup_state.py +11 -0
- leadping/models/phone_number_routing_metadata.py +82 -0
- leadping/models/phone_number_search_request.py +61 -0
- leadping/models/phone_number_search_request_location.py +54 -0
- leadping/models/phone_number_search_response.py +57 -0
- leadping/models/phone_number_search_result.py +61 -0
- leadping/models/phone_number_search_result_location.py +54 -0
- leadping/models/phone_number_status_response.py +105 -0
- leadping/models/phone_number_status_response_call_warmup.py +54 -0
- leadping/models/phone_number_status_response_sms_warmup.py +54 -0
- leadping/models/phone_number_table_row.py +184 -0
- leadping/models/phone_number_table_row_admin_enablement_override.py +54 -0
- leadping/models/phone_number_table_row_health_status.py +11 -0
- leadping/models/phone_number_table_row_warmup_state.py +11 -0
- leadping/models/phone_number_ten_dlc_association.py +79 -0
- leadping/models/phone_number_traffic_metrics_response.py +71 -0
- leadping/models/phone_number_warmup_call_response.py +98 -0
- leadping/models/phone_number_warmup_call_status.py +15 -0
- leadping/models/phone_number_warmup_health_status.py +11 -0
- leadping/models/phone_number_warmup_stage.py +9 -0
- leadping/models/phone_number_warmup_status_response.py +156 -0
- leadping/models/problem_details.py +66 -0
- leadping/models/range_filter.py +50 -0
- leadping/models/request_data_options.py +91 -0
- leadping/models/send_sms_request.py +136 -0
- leadping/models/send_sms_request_outbound_priority.py +13 -0
- leadping/models/send_sms_request_outbound_source.py +12 -0
- leadping/models/send_sms_request_selection_reason.py +12 -0
- leadping/models/sms_event_table_row.py +232 -0
- leadping/models/sms_event_table_row_outbound_source.py +12 -0
- leadping/models/sms_event_table_row_status.py +18 -0
- leadping/models/sms_event_table_row_traffic_type.py +9 -0
- leadping/models/sms_response.py +212 -0
- leadping/models/sms_response_selection_reason.py +12 -0
- leadping/models/sms_response_status.py +18 -0
- leadping/models/sms_response_traffic_type.py +9 -0
- leadping/models/sms_warmup_action_response.py +97 -0
- leadping/models/sms_warmup_action_status.py +14 -0
- leadping/models/sms_warmup_action_type.py +8 -0
- leadping/models/sms_warmup_health_state.py +11 -0
- leadping/models/sms_warmup_status_response.py +176 -0
- leadping/models/sms_warmup_ui_state.py +65 -0
- leadping/models/source_metrics_response.py +70 -0
- leadping/models/source_request.py +109 -0
- leadping/models/source_request_admin_enablement_override.py +51 -0
- leadping/models/source_response.py +157 -0
- leadping/models/source_response_admin_enablement_override.py +51 -0
- leadping/models/source_response_business.py +54 -0
- leadping/models/source_response_created_by_user.py +54 -0
- leadping/models/source_response_modified_by_user.py +54 -0
- leadping/models/source_response_user.py +54 -0
- leadping/models/source_table_row.py +165 -0
- leadping/models/source_table_row_admin_enablement_override.py +54 -0
- leadping/models/source_table_row_business.py +54 -0
- leadping/models/source_table_row_created_by_user.py +54 -0
- leadping/models/source_table_row_modified_by_user.py +54 -0
- leadping/models/source_table_row_user.py +54 -0
- leadping/models/street_address.py +82 -0
- leadping/models/stripe_payment_method_response.py +75 -0
- leadping/models/tag_request.py +62 -0
- leadping/models/tag_response.py +91 -0
- leadping/models/tag_summary.py +62 -0
- leadping/models/ten_dlc_application_draft.py +131 -0
- leadping/models/ten_dlc_application_status.py +15 -0
- leadping/models/transaction_response.py +148 -0
- leadping/models/transaction_response_metadata.py +46 -0
- leadping/models/transaction_status.py +7 -0
- leadping/models/transaction_table_row.py +117 -0
- leadping/models/transaction_type.py +7 -0
- leadping/models/trusted_form_certificate.py +63 -0
- leadping/models/usage_channel.py +15 -0
- leadping/models/usage_counter_line.py +70 -0
- leadping/models/usage_ledger_table_row.py +148 -0
- leadping/models/usage_record_status.py +13 -0
- leadping/models/usage_summary_line.py +91 -0
- leadping/models/usage_summary_response.py +109 -0
- leadping/models/user_compliance.py +85 -0
- leadping/models/user_data_export_file.py +59 -0
- leadping/models/user_data_export_response.py +110 -0
- leadping/models/user_data_export_statuses.py +9 -0
- leadping/models/user_dunning_info.py +91 -0
- leadping/models/user_identity.py +58 -0
- leadping/models/user_notification_preferences.py +98 -0
- leadping/models/user_request.py +123 -0
- leadping/models/user_request_billing_plan.py +6 -0
- leadping/models/user_request_business.py +54 -0
- leadping/models/user_request_compliance.py +54 -0
- leadping/models/user_request_current_business.py +54 -0
- leadping/models/user_request_notification_preferences.py +54 -0
- leadping/models/user_request_subscription_status.py +8 -0
- leadping/models/user_response.py +166 -0
- leadping/models/user_response_billing_plan.py +6 -0
- leadping/models/user_response_business.py +54 -0
- leadping/models/user_response_compliance.py +54 -0
- leadping/models/user_response_current_business.py +54 -0
- leadping/models/user_response_notification_preferences.py +54 -0
- leadping/models/user_response_stripe_info.py +54 -0
- leadping/models/user_response_subscription_status.py +8 -0
- leadping/models/user_stripe_info.py +109 -0
- leadping/models/user_stripe_info_cancellation.py +54 -0
- leadping/models/user_stripe_info_dunning.py +54 -0
- leadping/models/user_subscription_cancellation_info.py +83 -0
- leadping/models/wallet_response.py +121 -0
- leadping/models/wallet_response_credit_status.py +10 -0
- leadping/models/wallet_response_source_type.py +11 -0
- leadping/models/website_lifecycle_status.py +16 -0
- leadping/notifications/announcements/announcements_request_builder.py +90 -0
- leadping/notifications/item/mark_read/mark_read_request_builder.py +80 -0
- leadping/notifications/item/notifications_item_request_builder.py +33 -0
- leadping/notifications/mark_all_read/mark_all_read_request_builder.py +79 -0
- leadping/notifications/me/me_request_builder.py +90 -0
- leadping/notifications/notifications_request_builder.py +78 -0
- leadping/notifications/unread_count/unread_count_request_builder.py +79 -0
- leadping/outbound/outbound_request_builder.py +33 -0
- leadping/outbound/overview/overview_request_builder.py +75 -0
- leadping/payment_methods/item/payment_methods_item_request_builder.py +119 -0
- leadping/payment_methods/payment_methods_request_builder.py +38 -0
- leadping/phone_numbers/all/all_request_builder.py +33 -0
- leadping/phone_numbers/all/my/my_request_builder.py +89 -0
- leadping/phone_numbers/is_available_for_purchase/is_available_for_purchase_request_builder.py +90 -0
- leadping/phone_numbers/item/phone_number_item_request_builder.py +187 -0
- leadping/phone_numbers/item/status/status_request_builder.py +114 -0
- leadping/phone_numbers/item/warmup/warmup_request_builder.py +113 -0
- leadping/phone_numbers/outgoing/conversation/conversation_request_builder.py +38 -0
- leadping/phone_numbers/outgoing/conversation/item/override/override_request_builder.py +127 -0
- leadping/phone_numbers/outgoing/conversation/item/with_conversation_item_request_builder.py +99 -0
- leadping/phone_numbers/outgoing/manual_override/manual_override_request_builder.py +89 -0
- leadping/phone_numbers/outgoing/new/new_request_builder.py +89 -0
- leadping/phone_numbers/outgoing/outgoing_request_builder.py +53 -0
- leadping/phone_numbers/phone_numbers_request_builder.py +145 -0
- leadping/phone_numbers/search/search_request_builder.py +90 -0
- leadping/reports/exports/exports_request_builder.py +48 -0
- leadping/reports/exports/item/download/download_request_builder.py +88 -0
- leadping/reports/exports/item/with_export_item_request_builder.py +85 -0
- leadping/reports/exports/my/my_request_builder.py +75 -0
- leadping/reports/reports_request_builder.py +33 -0
- leadping/sms/item/cancel/cancel_request_builder.py +82 -0
- leadping/sms/item/with_sms_event_item_request_builder.py +33 -0
- leadping/sms/send/send_request_builder.py +90 -0
- leadping/sms/sms_request_builder.py +48 -0
- leadping/sources/all/all_request_builder.py +33 -0
- leadping/sources/all/my/my_request_builder.py +83 -0
- leadping/sources/item/metrics/metrics_request_builder.py +113 -0
- leadping/sources/item/sources_item_request_builder.py +173 -0
- leadping/sources/sources_request_builder.py +114 -0
- leadping/tags/item/tags_item_request_builder.py +126 -0
- leadping/tags/tags_request_builder.py +157 -0
- leadping/transactions/all/all_request_builder.py +33 -0
- leadping/transactions/all/my/my_request_builder.py +83 -0
- leadping/transactions/item/transactions_item_request_builder.py +82 -0
- leadping/transactions/transactions_request_builder.py +48 -0
- leadping/usage/all/all_request_builder.py +33 -0
- leadping/usage/all/my/my_request_builder.py +83 -0
- leadping/usage/summary/my/my_request_builder.py +102 -0
- leadping/usage/summary/summary_request_builder.py +33 -0
- leadping/usage/usage_request_builder.py +43 -0
- leadping/users/change_billing_plan/change_billing_plan_request_builder.py +90 -0
- leadping/users/compliance/compliance_request_builder.py +89 -0
- leadping/users/me/last_login/last_login_request_builder.py +81 -0
- leadping/users/me/me_request_builder.py +147 -0
- leadping/users/me/paymentmethod/paymentmethod_request_builder.py +81 -0
- leadping/users/users_request_builder.py +53 -0
- leadping/wallets/item/wallets_item_request_builder.py +82 -0
- leadping/wallets/me/me_request_builder.py +82 -0
- leadping/wallets/wallets_request_builder.py +48 -0
- leadping-1.0.0.dist-info/METADATA +69 -0
- leadping-1.0.0.dist-info/RECORD +479 -0
- leadping-1.0.0.dist-info/WHEEL +5 -0
- leadping-1.0.0.dist-info/licenses/LICENSE +5 -0
- leadping-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
import datetime
|
|
3
|
+
from collections.abc import Callable
|
|
4
|
+
from dataclasses import dataclass, field
|
|
5
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
|
6
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .business_user_role import BusinessUserRole
|
|
10
|
+
|
|
11
|
+
@dataclass
|
|
12
|
+
class BusinessUserTableRow(AdditionalDataHolder, Parsable):
|
|
13
|
+
"""
|
|
14
|
+
API DTO containing business user data used by Leadping API contracts.
|
|
15
|
+
"""
|
|
16
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
17
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
18
|
+
|
|
19
|
+
# The date and time for the created at value on this business user.
|
|
20
|
+
created_at: Optional[datetime.datetime] = None
|
|
21
|
+
# The unique ID for this business user.
|
|
22
|
+
id: Optional[str] = None
|
|
23
|
+
# The billing status for this user's business license.
|
|
24
|
+
license_billing_status: Optional[str] = None
|
|
25
|
+
# The renewal date used for this user's license proration.
|
|
26
|
+
license_renewal_date: Optional[datetime.datetime] = None
|
|
27
|
+
# The role value for this business user.
|
|
28
|
+
role: Optional[BusinessUserRole] = None
|
|
29
|
+
# The user email value for this business user.
|
|
30
|
+
user_email: Optional[str] = None
|
|
31
|
+
# The user ID associated with this business user.
|
|
32
|
+
user_id: Optional[str] = None
|
|
33
|
+
# The user name value for this business user.
|
|
34
|
+
user_name: Optional[str] = None
|
|
35
|
+
|
|
36
|
+
@staticmethod
|
|
37
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> BusinessUserTableRow:
|
|
38
|
+
"""
|
|
39
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
40
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
41
|
+
Returns: BusinessUserTableRow
|
|
42
|
+
"""
|
|
43
|
+
if parse_node is None:
|
|
44
|
+
raise TypeError("parse_node cannot be null.")
|
|
45
|
+
return BusinessUserTableRow()
|
|
46
|
+
|
|
47
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
48
|
+
"""
|
|
49
|
+
The deserialization information for the current model
|
|
50
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
51
|
+
"""
|
|
52
|
+
from .business_user_role import BusinessUserRole
|
|
53
|
+
|
|
54
|
+
from .business_user_role import BusinessUserRole
|
|
55
|
+
|
|
56
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
57
|
+
"createdAt": lambda n : setattr(self, 'created_at', n.get_datetime_value()),
|
|
58
|
+
"id": lambda n : setattr(self, 'id', n.get_str_value()),
|
|
59
|
+
"licenseBillingStatus": lambda n : setattr(self, 'license_billing_status', n.get_str_value()),
|
|
60
|
+
"licenseRenewalDate": lambda n : setattr(self, 'license_renewal_date', n.get_datetime_value()),
|
|
61
|
+
"role": lambda n : setattr(self, 'role', n.get_enum_value(BusinessUserRole)),
|
|
62
|
+
"userEmail": lambda n : setattr(self, 'user_email', n.get_str_value()),
|
|
63
|
+
"userId": lambda n : setattr(self, 'user_id', n.get_str_value()),
|
|
64
|
+
"userName": lambda n : setattr(self, 'user_name', n.get_str_value()),
|
|
65
|
+
}
|
|
66
|
+
return fields
|
|
67
|
+
|
|
68
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
69
|
+
"""
|
|
70
|
+
Serializes information the current object
|
|
71
|
+
param writer: Serialization writer to use to serialize this model
|
|
72
|
+
Returns: None
|
|
73
|
+
"""
|
|
74
|
+
if writer is None:
|
|
75
|
+
raise TypeError("writer cannot be null.")
|
|
76
|
+
writer.write_datetime_value("createdAt", self.created_at)
|
|
77
|
+
writer.write_str_value("id", self.id)
|
|
78
|
+
writer.write_str_value("licenseBillingStatus", self.license_billing_status)
|
|
79
|
+
writer.write_datetime_value("licenseRenewalDate", self.license_renewal_date)
|
|
80
|
+
writer.write_enum_value("role", self.role)
|
|
81
|
+
writer.write_str_value("userEmail", self.user_email)
|
|
82
|
+
writer.write_str_value("userId", self.user_id)
|
|
83
|
+
writer.write_str_value("userName", self.user_name)
|
|
84
|
+
writer.write_additional_data_value(self.additional_data)
|
|
85
|
+
|
|
86
|
+
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
import datetime
|
|
3
|
+
from collections.abc import Callable
|
|
4
|
+
from dataclasses import dataclass, field
|
|
5
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
|
6
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .call_event_table_row_metadata import CallEventTableRow_metadata
|
|
10
|
+
from .call_event_table_row_status import CallEventTableRow_status
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class CallEventTableRow(AdditionalDataHolder, Parsable):
|
|
14
|
+
"""
|
|
15
|
+
API DTO containing call event data used by Leadping API contracts.
|
|
16
|
+
"""
|
|
17
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
18
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
19
|
+
|
|
20
|
+
# The date and time for the answered at value on this call event.
|
|
21
|
+
answered_at: Optional[datetime.datetime] = None
|
|
22
|
+
# The billing phone number ID associated with this call event.
|
|
23
|
+
billing_phone_number_id: Optional[str] = None
|
|
24
|
+
# The current billing status for this call event.
|
|
25
|
+
billing_status: Optional[str] = None
|
|
26
|
+
# The business value for this call event.
|
|
27
|
+
business: Optional[str] = None
|
|
28
|
+
# The business ID associated with this call event.
|
|
29
|
+
business_id: Optional[str] = None
|
|
30
|
+
# The caller ID associated with this call event.
|
|
31
|
+
caller_id: Optional[str] = None
|
|
32
|
+
# The conversation ID associated with this call event.
|
|
33
|
+
conversation_id: Optional[str] = None
|
|
34
|
+
# The date and time for the created at value on this call event.
|
|
35
|
+
created_at: Optional[datetime.datetime] = None
|
|
36
|
+
# The direction value for this call event.
|
|
37
|
+
direction: Optional[str] = None
|
|
38
|
+
# The date and time for the ended at value on this call event.
|
|
39
|
+
ended_at: Optional[datetime.datetime] = None
|
|
40
|
+
# The phone number associated with this call event.
|
|
41
|
+
from_phone_number: Optional[str] = None
|
|
42
|
+
# The from phone number ID associated with this call event.
|
|
43
|
+
from_phone_number_id: Optional[str] = None
|
|
44
|
+
# The unique ID for this call event.
|
|
45
|
+
id: Optional[str] = None
|
|
46
|
+
# The lead ID associated with this call event.
|
|
47
|
+
lead_id: Optional[str] = None
|
|
48
|
+
# The metadata key-value data carried with this call event; values must be safe to expose in API responses.
|
|
49
|
+
metadata: Optional[CallEventTableRow_metadata] = None
|
|
50
|
+
# The current provider status for this call event.
|
|
51
|
+
provider_status: Optional[str] = None
|
|
52
|
+
# The URL associated with this call event.
|
|
53
|
+
recording_url: Optional[str] = None
|
|
54
|
+
# Defines the supported Phone Call Status values.
|
|
55
|
+
status: Optional[CallEventTableRow_status] = None
|
|
56
|
+
# The human-readable status reason explaining this call event.
|
|
57
|
+
status_reason: Optional[str] = None
|
|
58
|
+
# The Telnyx ID associated with this call event.
|
|
59
|
+
telnyx_id: Optional[str] = None
|
|
60
|
+
# The phone number associated with this call event.
|
|
61
|
+
to_phone_number: Optional[str] = None
|
|
62
|
+
# The user value for this call event.
|
|
63
|
+
user: Optional[str] = None
|
|
64
|
+
# The user ID associated with this call event.
|
|
65
|
+
user_id: Optional[str] = None
|
|
66
|
+
|
|
67
|
+
@staticmethod
|
|
68
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> CallEventTableRow:
|
|
69
|
+
"""
|
|
70
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
71
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
72
|
+
Returns: CallEventTableRow
|
|
73
|
+
"""
|
|
74
|
+
if parse_node is None:
|
|
75
|
+
raise TypeError("parse_node cannot be null.")
|
|
76
|
+
return CallEventTableRow()
|
|
77
|
+
|
|
78
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
79
|
+
"""
|
|
80
|
+
The deserialization information for the current model
|
|
81
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
82
|
+
"""
|
|
83
|
+
from .call_event_table_row_metadata import CallEventTableRow_metadata
|
|
84
|
+
from .call_event_table_row_status import CallEventTableRow_status
|
|
85
|
+
|
|
86
|
+
from .call_event_table_row_metadata import CallEventTableRow_metadata
|
|
87
|
+
from .call_event_table_row_status import CallEventTableRow_status
|
|
88
|
+
|
|
89
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
90
|
+
"answeredAt": lambda n : setattr(self, 'answered_at', n.get_datetime_value()),
|
|
91
|
+
"billingPhoneNumberId": lambda n : setattr(self, 'billing_phone_number_id', n.get_str_value()),
|
|
92
|
+
"billingStatus": lambda n : setattr(self, 'billing_status', n.get_str_value()),
|
|
93
|
+
"business": lambda n : setattr(self, 'business', n.get_str_value()),
|
|
94
|
+
"businessId": lambda n : setattr(self, 'business_id', n.get_str_value()),
|
|
95
|
+
"callerId": lambda n : setattr(self, 'caller_id', n.get_str_value()),
|
|
96
|
+
"conversationId": lambda n : setattr(self, 'conversation_id', n.get_str_value()),
|
|
97
|
+
"createdAt": lambda n : setattr(self, 'created_at', n.get_datetime_value()),
|
|
98
|
+
"direction": lambda n : setattr(self, 'direction', n.get_str_value()),
|
|
99
|
+
"endedAt": lambda n : setattr(self, 'ended_at', n.get_datetime_value()),
|
|
100
|
+
"fromPhoneNumber": lambda n : setattr(self, 'from_phone_number', n.get_str_value()),
|
|
101
|
+
"fromPhoneNumberId": lambda n : setattr(self, 'from_phone_number_id', n.get_str_value()),
|
|
102
|
+
"id": lambda n : setattr(self, 'id', n.get_str_value()),
|
|
103
|
+
"leadId": lambda n : setattr(self, 'lead_id', n.get_str_value()),
|
|
104
|
+
"metadata": lambda n : setattr(self, 'metadata', n.get_object_value(CallEventTableRow_metadata)),
|
|
105
|
+
"providerStatus": lambda n : setattr(self, 'provider_status', n.get_str_value()),
|
|
106
|
+
"recordingUrl": lambda n : setattr(self, 'recording_url', n.get_str_value()),
|
|
107
|
+
"status": lambda n : setattr(self, 'status', n.get_enum_value(CallEventTableRow_status)),
|
|
108
|
+
"statusReason": lambda n : setattr(self, 'status_reason', n.get_str_value()),
|
|
109
|
+
"telnyxId": lambda n : setattr(self, 'telnyx_id', n.get_str_value()),
|
|
110
|
+
"toPhoneNumber": lambda n : setattr(self, 'to_phone_number', n.get_str_value()),
|
|
111
|
+
"user": lambda n : setattr(self, 'user', n.get_str_value()),
|
|
112
|
+
"userId": lambda n : setattr(self, 'user_id', n.get_str_value()),
|
|
113
|
+
}
|
|
114
|
+
return fields
|
|
115
|
+
|
|
116
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
117
|
+
"""
|
|
118
|
+
Serializes information the current object
|
|
119
|
+
param writer: Serialization writer to use to serialize this model
|
|
120
|
+
Returns: None
|
|
121
|
+
"""
|
|
122
|
+
if writer is None:
|
|
123
|
+
raise TypeError("writer cannot be null.")
|
|
124
|
+
writer.write_datetime_value("answeredAt", self.answered_at)
|
|
125
|
+
writer.write_str_value("billingPhoneNumberId", self.billing_phone_number_id)
|
|
126
|
+
writer.write_str_value("billingStatus", self.billing_status)
|
|
127
|
+
writer.write_str_value("business", self.business)
|
|
128
|
+
writer.write_str_value("businessId", self.business_id)
|
|
129
|
+
writer.write_str_value("callerId", self.caller_id)
|
|
130
|
+
writer.write_str_value("conversationId", self.conversation_id)
|
|
131
|
+
writer.write_datetime_value("createdAt", self.created_at)
|
|
132
|
+
writer.write_str_value("direction", self.direction)
|
|
133
|
+
writer.write_datetime_value("endedAt", self.ended_at)
|
|
134
|
+
writer.write_str_value("fromPhoneNumber", self.from_phone_number)
|
|
135
|
+
writer.write_str_value("fromPhoneNumberId", self.from_phone_number_id)
|
|
136
|
+
writer.write_str_value("id", self.id)
|
|
137
|
+
writer.write_str_value("leadId", self.lead_id)
|
|
138
|
+
writer.write_object_value("metadata", self.metadata)
|
|
139
|
+
writer.write_str_value("providerStatus", self.provider_status)
|
|
140
|
+
writer.write_str_value("recordingUrl", self.recording_url)
|
|
141
|
+
writer.write_enum_value("status", self.status)
|
|
142
|
+
writer.write_str_value("statusReason", self.status_reason)
|
|
143
|
+
writer.write_str_value("telnyxId", self.telnyx_id)
|
|
144
|
+
writer.write_str_value("toPhoneNumber", self.to_phone_number)
|
|
145
|
+
writer.write_str_value("user", self.user)
|
|
146
|
+
writer.write_str_value("userId", self.user_id)
|
|
147
|
+
writer.write_additional_data_value(self.additional_data)
|
|
148
|
+
|
|
149
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class CallEventTableRow_metadata(AdditionalDataHolder, Parsable):
|
|
9
|
+
"""
|
|
10
|
+
The metadata key-value data carried with this call event; values must be safe to expose in API responses.
|
|
11
|
+
"""
|
|
12
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
13
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@staticmethod
|
|
17
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> CallEventTableRow_metadata:
|
|
18
|
+
"""
|
|
19
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
20
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
21
|
+
Returns: CallEventTableRow_metadata
|
|
22
|
+
"""
|
|
23
|
+
if parse_node is None:
|
|
24
|
+
raise TypeError("parse_node cannot be null.")
|
|
25
|
+
return CallEventTableRow_metadata()
|
|
26
|
+
|
|
27
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
28
|
+
"""
|
|
29
|
+
The deserialization information for the current model
|
|
30
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
31
|
+
"""
|
|
32
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
33
|
+
}
|
|
34
|
+
return fields
|
|
35
|
+
|
|
36
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
37
|
+
"""
|
|
38
|
+
Serializes information the current object
|
|
39
|
+
param writer: Serialization writer to use to serialize this model
|
|
40
|
+
Returns: None
|
|
41
|
+
"""
|
|
42
|
+
if writer is None:
|
|
43
|
+
raise TypeError("writer cannot be null.")
|
|
44
|
+
writer.write_additional_data_value(self.additional_data)
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from enum import Enum
|
|
2
|
+
|
|
3
|
+
class CallEventTableRow_status(str, Enum):
|
|
4
|
+
Scheduled = "scheduled",
|
|
5
|
+
Queued = "queued",
|
|
6
|
+
Initiated = "initiated",
|
|
7
|
+
Ringing = "ringing",
|
|
8
|
+
In_progress = "in_progress",
|
|
9
|
+
Active = "active",
|
|
10
|
+
Completed = "completed",
|
|
11
|
+
Ended = "ended",
|
|
12
|
+
Busy = "busy",
|
|
13
|
+
No_answer = "no_answer",
|
|
14
|
+
Failed = "failed",
|
|
15
|
+
Canceled = "canceled",
|
|
16
|
+
Missed = "missed",
|
|
17
|
+
Transferred = "transferred",
|
|
18
|
+
Voicemail = "voicemail",
|
|
19
|
+
Blocked_billing = "blocked_billing",
|
|
20
|
+
Blocked_phone_number_status = "blocked_phone_number_status",
|
|
21
|
+
Blocked_configuration = "blocked_configuration",
|
|
22
|
+
Blocked_permission = "blocked_permission",
|
|
23
|
+
Configuration_required = "configuration_required",
|
|
24
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .billing_plan import BillingPlan
|
|
9
|
+
|
|
10
|
+
@dataclass
|
|
11
|
+
class ChangeBillingPlanRequest(AdditionalDataHolder, Parsable):
|
|
12
|
+
"""
|
|
13
|
+
Request payload for change billing plan.
|
|
14
|
+
"""
|
|
15
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
16
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
17
|
+
|
|
18
|
+
# The billing plan value for this billing plan.
|
|
19
|
+
billing_plan: Optional[BillingPlan] = None
|
|
20
|
+
# The user ID associated with this billing plan.
|
|
21
|
+
user_id: Optional[str] = None
|
|
22
|
+
|
|
23
|
+
@staticmethod
|
|
24
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ChangeBillingPlanRequest:
|
|
25
|
+
"""
|
|
26
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
27
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
28
|
+
Returns: ChangeBillingPlanRequest
|
|
29
|
+
"""
|
|
30
|
+
if parse_node is None:
|
|
31
|
+
raise TypeError("parse_node cannot be null.")
|
|
32
|
+
return ChangeBillingPlanRequest()
|
|
33
|
+
|
|
34
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
35
|
+
"""
|
|
36
|
+
The deserialization information for the current model
|
|
37
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
38
|
+
"""
|
|
39
|
+
from .billing_plan import BillingPlan
|
|
40
|
+
|
|
41
|
+
from .billing_plan import BillingPlan
|
|
42
|
+
|
|
43
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
44
|
+
"billingPlan": lambda n : setattr(self, 'billing_plan', n.get_enum_value(BillingPlan)),
|
|
45
|
+
"userId": lambda n : setattr(self, 'user_id', n.get_str_value()),
|
|
46
|
+
}
|
|
47
|
+
return fields
|
|
48
|
+
|
|
49
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
50
|
+
"""
|
|
51
|
+
Serializes information the current object
|
|
52
|
+
param writer: Serialization writer to use to serialize this model
|
|
53
|
+
Returns: None
|
|
54
|
+
"""
|
|
55
|
+
if writer is None:
|
|
56
|
+
raise TypeError("writer cannot be null.")
|
|
57
|
+
writer.write_enum_value("billingPlan", self.billing_plan)
|
|
58
|
+
writer.write_str_value("userId", self.user_id)
|
|
59
|
+
writer.write_additional_data_value(self.additional_data)
|
|
60
|
+
|
|
61
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .compliance_update_request_compliance import ComplianceUpdateRequest_compliance
|
|
9
|
+
|
|
10
|
+
@dataclass
|
|
11
|
+
class ComplianceUpdateRequest(AdditionalDataHolder, Parsable):
|
|
12
|
+
"""
|
|
13
|
+
Request payload for compliance update.
|
|
14
|
+
"""
|
|
15
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
16
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
17
|
+
|
|
18
|
+
# The compliance value for this compliance update.
|
|
19
|
+
compliance: Optional[ComplianceUpdateRequest_compliance] = None
|
|
20
|
+
# The source value for this compliance update.
|
|
21
|
+
source: Optional[str] = None
|
|
22
|
+
|
|
23
|
+
@staticmethod
|
|
24
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ComplianceUpdateRequest:
|
|
25
|
+
"""
|
|
26
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
27
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
28
|
+
Returns: ComplianceUpdateRequest
|
|
29
|
+
"""
|
|
30
|
+
if parse_node is None:
|
|
31
|
+
raise TypeError("parse_node cannot be null.")
|
|
32
|
+
return ComplianceUpdateRequest()
|
|
33
|
+
|
|
34
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
35
|
+
"""
|
|
36
|
+
The deserialization information for the current model
|
|
37
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
38
|
+
"""
|
|
39
|
+
from .compliance_update_request_compliance import ComplianceUpdateRequest_compliance
|
|
40
|
+
|
|
41
|
+
from .compliance_update_request_compliance import ComplianceUpdateRequest_compliance
|
|
42
|
+
|
|
43
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
44
|
+
"compliance": lambda n : setattr(self, 'compliance', n.get_object_value(ComplianceUpdateRequest_compliance)),
|
|
45
|
+
"source": lambda n : setattr(self, 'source', n.get_str_value()),
|
|
46
|
+
}
|
|
47
|
+
return fields
|
|
48
|
+
|
|
49
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
50
|
+
"""
|
|
51
|
+
Serializes information the current object
|
|
52
|
+
param writer: Serialization writer to use to serialize this model
|
|
53
|
+
Returns: None
|
|
54
|
+
"""
|
|
55
|
+
if writer is None:
|
|
56
|
+
raise TypeError("writer cannot be null.")
|
|
57
|
+
writer.write_object_value("compliance", self.compliance)
|
|
58
|
+
writer.write_str_value("source", self.source)
|
|
59
|
+
writer.write_additional_data_value(self.additional_data)
|
|
60
|
+
|
|
61
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .user_compliance import UserCompliance
|
|
9
|
+
|
|
10
|
+
from .user_compliance import UserCompliance
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class ComplianceUpdateRequest_compliance(UserCompliance, Parsable):
|
|
14
|
+
"""
|
|
15
|
+
The compliance value for this compliance update.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
@staticmethod
|
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ComplianceUpdateRequest_compliance:
|
|
20
|
+
"""
|
|
21
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
22
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
23
|
+
Returns: ComplianceUpdateRequest_compliance
|
|
24
|
+
"""
|
|
25
|
+
if parse_node is None:
|
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
|
27
|
+
return ComplianceUpdateRequest_compliance()
|
|
28
|
+
|
|
29
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
30
|
+
"""
|
|
31
|
+
The deserialization information for the current model
|
|
32
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
33
|
+
"""
|
|
34
|
+
from .user_compliance import UserCompliance
|
|
35
|
+
|
|
36
|
+
from .user_compliance import UserCompliance
|
|
37
|
+
|
|
38
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
39
|
+
}
|
|
40
|
+
super_fields = super().get_field_deserializers()
|
|
41
|
+
fields.update(super_fields)
|
|
42
|
+
return fields
|
|
43
|
+
|
|
44
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
45
|
+
"""
|
|
46
|
+
Serializes information the current object
|
|
47
|
+
param writer: Serialization writer to use to serialize this model
|
|
48
|
+
Returns: None
|
|
49
|
+
"""
|
|
50
|
+
if writer is None:
|
|
51
|
+
raise TypeError("writer cannot be null.")
|
|
52
|
+
super().serialize(writer)
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class ContactRequest(AdditionalDataHolder, Parsable):
|
|
9
|
+
"""
|
|
10
|
+
Request model for submitting a contact form.
|
|
11
|
+
"""
|
|
12
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
13
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
14
|
+
|
|
15
|
+
# The email address associated with this contact.
|
|
16
|
+
email: Optional[str] = None
|
|
17
|
+
# The message value for this contact.
|
|
18
|
+
message: Optional[str] = None
|
|
19
|
+
# The human-readable name shown for this contact.
|
|
20
|
+
name: Optional[str] = None
|
|
21
|
+
# The token supplied to authorize or complete this contact.
|
|
22
|
+
token: Optional[str] = None
|
|
23
|
+
|
|
24
|
+
@staticmethod
|
|
25
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ContactRequest:
|
|
26
|
+
"""
|
|
27
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
28
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
29
|
+
Returns: ContactRequest
|
|
30
|
+
"""
|
|
31
|
+
if parse_node is None:
|
|
32
|
+
raise TypeError("parse_node cannot be null.")
|
|
33
|
+
return ContactRequest()
|
|
34
|
+
|
|
35
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
36
|
+
"""
|
|
37
|
+
The deserialization information for the current model
|
|
38
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
39
|
+
"""
|
|
40
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
41
|
+
"email": lambda n : setattr(self, 'email', n.get_str_value()),
|
|
42
|
+
"message": lambda n : setattr(self, 'message', n.get_str_value()),
|
|
43
|
+
"name": lambda n : setattr(self, 'name', n.get_str_value()),
|
|
44
|
+
"token": lambda n : setattr(self, 'token', n.get_str_value()),
|
|
45
|
+
}
|
|
46
|
+
return fields
|
|
47
|
+
|
|
48
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
49
|
+
"""
|
|
50
|
+
Serializes information the current object
|
|
51
|
+
param writer: Serialization writer to use to serialize this model
|
|
52
|
+
Returns: None
|
|
53
|
+
"""
|
|
54
|
+
if writer is None:
|
|
55
|
+
raise TypeError("writer cannot be null.")
|
|
56
|
+
writer.write_str_value("email", self.email)
|
|
57
|
+
writer.write_str_value("message", self.message)
|
|
58
|
+
writer.write_str_value("name", self.name)
|
|
59
|
+
writer.write_str_value("token", self.token)
|
|
60
|
+
writer.write_additional_data_value(self.additional_data)
|
|
61
|
+
|
|
62
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
@dataclass
|
|
8
|
+
class ContactResponse(AdditionalDataHolder, Parsable):
|
|
9
|
+
"""
|
|
10
|
+
Response model for contact form submissions.
|
|
11
|
+
"""
|
|
12
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
13
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
14
|
+
|
|
15
|
+
# The message value for this contact.
|
|
16
|
+
message: Optional[str] = None
|
|
17
|
+
|
|
18
|
+
@staticmethod
|
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> ContactResponse:
|
|
20
|
+
"""
|
|
21
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
22
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
23
|
+
Returns: ContactResponse
|
|
24
|
+
"""
|
|
25
|
+
if parse_node is None:
|
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
|
27
|
+
return ContactResponse()
|
|
28
|
+
|
|
29
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
30
|
+
"""
|
|
31
|
+
The deserialization information for the current model
|
|
32
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
33
|
+
"""
|
|
34
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
35
|
+
"message": lambda n : setattr(self, 'message', n.get_str_value()),
|
|
36
|
+
}
|
|
37
|
+
return fields
|
|
38
|
+
|
|
39
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
40
|
+
"""
|
|
41
|
+
Serializes information the current object
|
|
42
|
+
param writer: Serialization writer to use to serialize this model
|
|
43
|
+
Returns: None
|
|
44
|
+
"""
|
|
45
|
+
if writer is None:
|
|
46
|
+
raise TypeError("writer cannot be null.")
|
|
47
|
+
writer.write_str_value("message", self.message)
|
|
48
|
+
writer.write_additional_data_value(self.additional_data)
|
|
49
|
+
|
|
50
|
+
|