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,60 @@
|
|
|
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
|
+
@dataclass
|
|
9
|
+
class AnalyticsTrendPointOfint(AdditionalDataHolder, Parsable):
|
|
10
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
11
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
12
|
+
|
|
13
|
+
# The endAt property
|
|
14
|
+
end_at: Optional[datetime.datetime] = None
|
|
15
|
+
# The label property
|
|
16
|
+
label: Optional[str] = None
|
|
17
|
+
# The startAt property
|
|
18
|
+
start_at: Optional[datetime.datetime] = None
|
|
19
|
+
# The value property
|
|
20
|
+
value: Optional[int] = None
|
|
21
|
+
|
|
22
|
+
@staticmethod
|
|
23
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AnalyticsTrendPointOfint:
|
|
24
|
+
"""
|
|
25
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
26
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
27
|
+
Returns: AnalyticsTrendPointOfint
|
|
28
|
+
"""
|
|
29
|
+
if parse_node is None:
|
|
30
|
+
raise TypeError("parse_node cannot be null.")
|
|
31
|
+
return AnalyticsTrendPointOfint()
|
|
32
|
+
|
|
33
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
34
|
+
"""
|
|
35
|
+
The deserialization information for the current model
|
|
36
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
37
|
+
"""
|
|
38
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
39
|
+
"endAt": lambda n : setattr(self, 'end_at', n.get_datetime_value()),
|
|
40
|
+
"label": lambda n : setattr(self, 'label', n.get_str_value()),
|
|
41
|
+
"startAt": lambda n : setattr(self, 'start_at', n.get_datetime_value()),
|
|
42
|
+
"value": lambda n : setattr(self, 'value', n.get_int_value()),
|
|
43
|
+
}
|
|
44
|
+
return fields
|
|
45
|
+
|
|
46
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
47
|
+
"""
|
|
48
|
+
Serializes information the current object
|
|
49
|
+
param writer: Serialization writer to use to serialize this model
|
|
50
|
+
Returns: None
|
|
51
|
+
"""
|
|
52
|
+
if writer is None:
|
|
53
|
+
raise TypeError("writer cannot be null.")
|
|
54
|
+
writer.write_datetime_value("endAt", self.end_at)
|
|
55
|
+
writer.write_str_value("label", self.label)
|
|
56
|
+
writer.write_datetime_value("startAt", self.start_at)
|
|
57
|
+
writer.write_int_value("value", self.value)
|
|
58
|
+
writer.write_additional_data_value(self.additional_data)
|
|
59
|
+
|
|
60
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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 .automation_action_settings import AutomationAction_settings
|
|
9
|
+
|
|
10
|
+
@dataclass
|
|
11
|
+
class AutomationAction(AdditionalDataHolder, Parsable):
|
|
12
|
+
"""
|
|
13
|
+
API DTO containing automation action data used by Leadping API contracts.
|
|
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 unique ID for this automation action.
|
|
19
|
+
id: Optional[str] = None
|
|
20
|
+
# Whether this automation action is enabled.
|
|
21
|
+
is_enabled: Optional[bool] = None
|
|
22
|
+
# The order value for this automation action.
|
|
23
|
+
order: Optional[int] = None
|
|
24
|
+
# The settings key-value data carried with this automation action; values must be safe to expose in API responses.
|
|
25
|
+
settings: Optional[AutomationAction_settings] = None
|
|
26
|
+
# The type classification for this automation action.
|
|
27
|
+
type: Optional[str] = None
|
|
28
|
+
|
|
29
|
+
@staticmethod
|
|
30
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationAction:
|
|
31
|
+
"""
|
|
32
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
33
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
34
|
+
Returns: AutomationAction
|
|
35
|
+
"""
|
|
36
|
+
if parse_node is None:
|
|
37
|
+
raise TypeError("parse_node cannot be null.")
|
|
38
|
+
return AutomationAction()
|
|
39
|
+
|
|
40
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
41
|
+
"""
|
|
42
|
+
The deserialization information for the current model
|
|
43
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
44
|
+
"""
|
|
45
|
+
from .automation_action_settings import AutomationAction_settings
|
|
46
|
+
|
|
47
|
+
from .automation_action_settings import AutomationAction_settings
|
|
48
|
+
|
|
49
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
50
|
+
"id": lambda n : setattr(self, 'id', n.get_str_value()),
|
|
51
|
+
"isEnabled": lambda n : setattr(self, 'is_enabled', n.get_bool_value()),
|
|
52
|
+
"order": lambda n : setattr(self, 'order', n.get_int_value()),
|
|
53
|
+
"settings": lambda n : setattr(self, 'settings', n.get_object_value(AutomationAction_settings)),
|
|
54
|
+
"type": lambda n : setattr(self, 'type', n.get_str_value()),
|
|
55
|
+
}
|
|
56
|
+
return fields
|
|
57
|
+
|
|
58
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
59
|
+
"""
|
|
60
|
+
Serializes information the current object
|
|
61
|
+
param writer: Serialization writer to use to serialize this model
|
|
62
|
+
Returns: None
|
|
63
|
+
"""
|
|
64
|
+
if writer is None:
|
|
65
|
+
raise TypeError("writer cannot be null.")
|
|
66
|
+
writer.write_str_value("id", self.id)
|
|
67
|
+
writer.write_bool_value("isEnabled", self.is_enabled)
|
|
68
|
+
writer.write_int_value("order", self.order)
|
|
69
|
+
writer.write_object_value("settings", self.settings)
|
|
70
|
+
writer.write_str_value("type", self.type)
|
|
71
|
+
writer.write_additional_data_value(self.additional_data)
|
|
72
|
+
|
|
73
|
+
|
|
@@ -0,0 +1,115 @@
|
|
|
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
|
+
@dataclass
|
|
9
|
+
class AutomationActionRunRecord(AdditionalDataHolder, Parsable):
|
|
10
|
+
"""
|
|
11
|
+
API DTO containing automation action run record data used by Leadping API contracts.
|
|
12
|
+
"""
|
|
13
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
14
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
15
|
+
|
|
16
|
+
# The action ID associated with this automation action run record.
|
|
17
|
+
action_id: Optional[str] = None
|
|
18
|
+
# The action type classification for this automation action run record.
|
|
19
|
+
action_type: Optional[str] = None
|
|
20
|
+
# The automation run ID associated with this automation action run record.
|
|
21
|
+
automation_run_id: Optional[str] = None
|
|
22
|
+
# The date and time for the completed at value on this automation action run record.
|
|
23
|
+
completed_at: Optional[datetime.datetime] = None
|
|
24
|
+
# The connection key value for this automation action run record.
|
|
25
|
+
connection_key: Optional[str] = None
|
|
26
|
+
# The error value for this automation action run record.
|
|
27
|
+
error: Optional[str] = None
|
|
28
|
+
# The execution key value for this automation action run record.
|
|
29
|
+
execution_key: Optional[str] = None
|
|
30
|
+
# The date and time when this action failed.
|
|
31
|
+
failed_at: Optional[datetime.datetime] = None
|
|
32
|
+
# The failure code value for this automation action run record.
|
|
33
|
+
failure_code: Optional[str] = None
|
|
34
|
+
# The unique ID for this automation action run record.
|
|
35
|
+
id: Optional[str] = None
|
|
36
|
+
# The date and time when this action will retry, if retrying is scheduled.
|
|
37
|
+
next_retry_at: Optional[datetime.datetime] = None
|
|
38
|
+
# The order value for this automation action run record.
|
|
39
|
+
order: Optional[int] = None
|
|
40
|
+
# The output value for this automation action run record.
|
|
41
|
+
output: Optional[str] = None
|
|
42
|
+
# The processing attempts value for this automation action run record.
|
|
43
|
+
processing_attempts: Optional[int] = None
|
|
44
|
+
# The date and time when this action was scheduled to run, if it is delayed.
|
|
45
|
+
scheduled_at: Optional[datetime.datetime] = None
|
|
46
|
+
# The date and time for the started at value on this automation action run record.
|
|
47
|
+
started_at: Optional[datetime.datetime] = None
|
|
48
|
+
# The current status for this automation action run record.
|
|
49
|
+
status: Optional[str] = None
|
|
50
|
+
|
|
51
|
+
@staticmethod
|
|
52
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationActionRunRecord:
|
|
53
|
+
"""
|
|
54
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
55
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
56
|
+
Returns: AutomationActionRunRecord
|
|
57
|
+
"""
|
|
58
|
+
if parse_node is None:
|
|
59
|
+
raise TypeError("parse_node cannot be null.")
|
|
60
|
+
return AutomationActionRunRecord()
|
|
61
|
+
|
|
62
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
63
|
+
"""
|
|
64
|
+
The deserialization information for the current model
|
|
65
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
66
|
+
"""
|
|
67
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
68
|
+
"actionId": lambda n : setattr(self, 'action_id', n.get_str_value()),
|
|
69
|
+
"actionType": lambda n : setattr(self, 'action_type', n.get_str_value()),
|
|
70
|
+
"automationRunId": lambda n : setattr(self, 'automation_run_id', n.get_str_value()),
|
|
71
|
+
"completedAt": lambda n : setattr(self, 'completed_at', n.get_datetime_value()),
|
|
72
|
+
"connectionKey": lambda n : setattr(self, 'connection_key', n.get_str_value()),
|
|
73
|
+
"error": lambda n : setattr(self, 'error', n.get_str_value()),
|
|
74
|
+
"executionKey": lambda n : setattr(self, 'execution_key', n.get_str_value()),
|
|
75
|
+
"failedAt": lambda n : setattr(self, 'failed_at', n.get_datetime_value()),
|
|
76
|
+
"failureCode": lambda n : setattr(self, 'failure_code', n.get_str_value()),
|
|
77
|
+
"id": lambda n : setattr(self, 'id', n.get_str_value()),
|
|
78
|
+
"nextRetryAt": lambda n : setattr(self, 'next_retry_at', n.get_datetime_value()),
|
|
79
|
+
"order": lambda n : setattr(self, 'order', n.get_int_value()),
|
|
80
|
+
"output": lambda n : setattr(self, 'output', n.get_str_value()),
|
|
81
|
+
"processingAttempts": lambda n : setattr(self, 'processing_attempts', n.get_int_value()),
|
|
82
|
+
"scheduledAt": lambda n : setattr(self, 'scheduled_at', n.get_datetime_value()),
|
|
83
|
+
"startedAt": lambda n : setattr(self, 'started_at', n.get_datetime_value()),
|
|
84
|
+
"status": lambda n : setattr(self, 'status', n.get_str_value()),
|
|
85
|
+
}
|
|
86
|
+
return fields
|
|
87
|
+
|
|
88
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
89
|
+
"""
|
|
90
|
+
Serializes information the current object
|
|
91
|
+
param writer: Serialization writer to use to serialize this model
|
|
92
|
+
Returns: None
|
|
93
|
+
"""
|
|
94
|
+
if writer is None:
|
|
95
|
+
raise TypeError("writer cannot be null.")
|
|
96
|
+
writer.write_str_value("actionId", self.action_id)
|
|
97
|
+
writer.write_str_value("actionType", self.action_type)
|
|
98
|
+
writer.write_str_value("automationRunId", self.automation_run_id)
|
|
99
|
+
writer.write_datetime_value("completedAt", self.completed_at)
|
|
100
|
+
writer.write_str_value("connectionKey", self.connection_key)
|
|
101
|
+
writer.write_str_value("error", self.error)
|
|
102
|
+
writer.write_str_value("executionKey", self.execution_key)
|
|
103
|
+
writer.write_datetime_value("failedAt", self.failed_at)
|
|
104
|
+
writer.write_str_value("failureCode", self.failure_code)
|
|
105
|
+
writer.write_str_value("id", self.id)
|
|
106
|
+
writer.write_datetime_value("nextRetryAt", self.next_retry_at)
|
|
107
|
+
writer.write_int_value("order", self.order)
|
|
108
|
+
writer.write_str_value("output", self.output)
|
|
109
|
+
writer.write_int_value("processingAttempts", self.processing_attempts)
|
|
110
|
+
writer.write_datetime_value("scheduledAt", self.scheduled_at)
|
|
111
|
+
writer.write_datetime_value("startedAt", self.started_at)
|
|
112
|
+
writer.write_str_value("status", self.status)
|
|
113
|
+
writer.write_additional_data_value(self.additional_data)
|
|
114
|
+
|
|
115
|
+
|
|
@@ -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 AutomationAction_settings(AdditionalDataHolder, Parsable):
|
|
9
|
+
"""
|
|
10
|
+
The settings key-value data carried with this automation action; 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) -> AutomationAction_settings:
|
|
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: AutomationAction_settings
|
|
22
|
+
"""
|
|
23
|
+
if parse_node is None:
|
|
24
|
+
raise TypeError("parse_node cannot be null.")
|
|
25
|
+
return AutomationAction_settings()
|
|
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,73 @@
|
|
|
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 .automation_condition_settings import AutomationCondition_settings
|
|
9
|
+
|
|
10
|
+
@dataclass
|
|
11
|
+
class AutomationCondition(AdditionalDataHolder, Parsable):
|
|
12
|
+
"""
|
|
13
|
+
API DTO containing automation condition data used by Leadping API contracts.
|
|
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 unique ID for this automation condition.
|
|
19
|
+
id: Optional[str] = None
|
|
20
|
+
# Whether this automation condition is enabled.
|
|
21
|
+
is_enabled: Optional[bool] = None
|
|
22
|
+
# The operator value for this automation condition.
|
|
23
|
+
operator: Optional[str] = None
|
|
24
|
+
# The settings key-value data carried with this automation condition; values must be safe to expose in API responses.
|
|
25
|
+
settings: Optional[AutomationCondition_settings] = None
|
|
26
|
+
# The type classification for this automation condition.
|
|
27
|
+
type: Optional[str] = None
|
|
28
|
+
|
|
29
|
+
@staticmethod
|
|
30
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationCondition:
|
|
31
|
+
"""
|
|
32
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
33
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
34
|
+
Returns: AutomationCondition
|
|
35
|
+
"""
|
|
36
|
+
if parse_node is None:
|
|
37
|
+
raise TypeError("parse_node cannot be null.")
|
|
38
|
+
return AutomationCondition()
|
|
39
|
+
|
|
40
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
41
|
+
"""
|
|
42
|
+
The deserialization information for the current model
|
|
43
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
44
|
+
"""
|
|
45
|
+
from .automation_condition_settings import AutomationCondition_settings
|
|
46
|
+
|
|
47
|
+
from .automation_condition_settings import AutomationCondition_settings
|
|
48
|
+
|
|
49
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
50
|
+
"id": lambda n : setattr(self, 'id', n.get_str_value()),
|
|
51
|
+
"isEnabled": lambda n : setattr(self, 'is_enabled', n.get_bool_value()),
|
|
52
|
+
"operator": lambda n : setattr(self, 'operator', n.get_str_value()),
|
|
53
|
+
"settings": lambda n : setattr(self, 'settings', n.get_object_value(AutomationCondition_settings)),
|
|
54
|
+
"type": lambda n : setattr(self, 'type', n.get_str_value()),
|
|
55
|
+
}
|
|
56
|
+
return fields
|
|
57
|
+
|
|
58
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
59
|
+
"""
|
|
60
|
+
Serializes information the current object
|
|
61
|
+
param writer: Serialization writer to use to serialize this model
|
|
62
|
+
Returns: None
|
|
63
|
+
"""
|
|
64
|
+
if writer is None:
|
|
65
|
+
raise TypeError("writer cannot be null.")
|
|
66
|
+
writer.write_str_value("id", self.id)
|
|
67
|
+
writer.write_bool_value("isEnabled", self.is_enabled)
|
|
68
|
+
writer.write_str_value("operator", self.operator)
|
|
69
|
+
writer.write_object_value("settings", self.settings)
|
|
70
|
+
writer.write_str_value("type", self.type)
|
|
71
|
+
writer.write_additional_data_value(self.additional_data)
|
|
72
|
+
|
|
73
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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 .automation_condition import AutomationCondition
|
|
9
|
+
|
|
10
|
+
@dataclass
|
|
11
|
+
class AutomationConditionGroup(AdditionalDataHolder, Parsable):
|
|
12
|
+
"""
|
|
13
|
+
API DTO containing automation condition group data used by Leadping API contracts.
|
|
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 conditions included with this automation condition group.
|
|
19
|
+
conditions: Optional[list[AutomationCondition]] = None
|
|
20
|
+
# The unique ID for this automation condition group.
|
|
21
|
+
id: Optional[str] = None
|
|
22
|
+
# The mode value for this automation condition group.
|
|
23
|
+
mode: Optional[str] = None
|
|
24
|
+
|
|
25
|
+
@staticmethod
|
|
26
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationConditionGroup:
|
|
27
|
+
"""
|
|
28
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
29
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
30
|
+
Returns: AutomationConditionGroup
|
|
31
|
+
"""
|
|
32
|
+
if parse_node is None:
|
|
33
|
+
raise TypeError("parse_node cannot be null.")
|
|
34
|
+
return AutomationConditionGroup()
|
|
35
|
+
|
|
36
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
37
|
+
"""
|
|
38
|
+
The deserialization information for the current model
|
|
39
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
40
|
+
"""
|
|
41
|
+
from .automation_condition import AutomationCondition
|
|
42
|
+
|
|
43
|
+
from .automation_condition import AutomationCondition
|
|
44
|
+
|
|
45
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
46
|
+
"conditions": lambda n : setattr(self, 'conditions', n.get_collection_of_object_values(AutomationCondition)),
|
|
47
|
+
"id": lambda n : setattr(self, 'id', n.get_str_value()),
|
|
48
|
+
"mode": lambda n : setattr(self, 'mode', n.get_str_value()),
|
|
49
|
+
}
|
|
50
|
+
return fields
|
|
51
|
+
|
|
52
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
53
|
+
"""
|
|
54
|
+
Serializes information the current object
|
|
55
|
+
param writer: Serialization writer to use to serialize this model
|
|
56
|
+
Returns: None
|
|
57
|
+
"""
|
|
58
|
+
if writer is None:
|
|
59
|
+
raise TypeError("writer cannot be null.")
|
|
60
|
+
writer.write_collection_of_object_values("conditions", self.conditions)
|
|
61
|
+
writer.write_str_value("id", self.id)
|
|
62
|
+
writer.write_str_value("mode", self.mode)
|
|
63
|
+
writer.write_additional_data_value(self.additional_data)
|
|
64
|
+
|
|
65
|
+
|
|
@@ -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 AutomationCondition_settings(AdditionalDataHolder, Parsable):
|
|
9
|
+
"""
|
|
10
|
+
The settings key-value data carried with this automation condition; 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) -> AutomationCondition_settings:
|
|
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: AutomationCondition_settings
|
|
22
|
+
"""
|
|
23
|
+
if parse_node is None:
|
|
24
|
+
raise TypeError("parse_node cannot be null.")
|
|
25
|
+
return AutomationCondition_settings()
|
|
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,66 @@
|
|
|
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 AutomationPreviewActionResult(AdditionalDataHolder, Parsable):
|
|
9
|
+
"""
|
|
10
|
+
API DTO containing automation preview action result data used by Leadping API contracts.
|
|
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 action ID associated with this automation preview action result.
|
|
16
|
+
action_id: Optional[str] = None
|
|
17
|
+
# The rendered output value for this automation preview action result.
|
|
18
|
+
rendered_output: Optional[str] = None
|
|
19
|
+
# The summary value for this automation preview action result.
|
|
20
|
+
summary: Optional[str] = None
|
|
21
|
+
# The warnings included with this automation preview action result.
|
|
22
|
+
warnings: Optional[list[str]] = None
|
|
23
|
+
# Whether this automation preview action result would have side effect.
|
|
24
|
+
would_have_side_effect: Optional[bool] = None
|
|
25
|
+
|
|
26
|
+
@staticmethod
|
|
27
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationPreviewActionResult:
|
|
28
|
+
"""
|
|
29
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
30
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
31
|
+
Returns: AutomationPreviewActionResult
|
|
32
|
+
"""
|
|
33
|
+
if parse_node is None:
|
|
34
|
+
raise TypeError("parse_node cannot be null.")
|
|
35
|
+
return AutomationPreviewActionResult()
|
|
36
|
+
|
|
37
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
38
|
+
"""
|
|
39
|
+
The deserialization information for the current model
|
|
40
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
41
|
+
"""
|
|
42
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
43
|
+
"actionId": lambda n : setattr(self, 'action_id', n.get_str_value()),
|
|
44
|
+
"renderedOutput": lambda n : setattr(self, 'rendered_output', n.get_str_value()),
|
|
45
|
+
"summary": lambda n : setattr(self, 'summary', n.get_str_value()),
|
|
46
|
+
"warnings": lambda n : setattr(self, 'warnings', n.get_collection_of_primitive_values(str)),
|
|
47
|
+
"wouldHaveSideEffect": lambda n : setattr(self, 'would_have_side_effect', n.get_bool_value()),
|
|
48
|
+
}
|
|
49
|
+
return fields
|
|
50
|
+
|
|
51
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
52
|
+
"""
|
|
53
|
+
Serializes information the current object
|
|
54
|
+
param writer: Serialization writer to use to serialize this model
|
|
55
|
+
Returns: None
|
|
56
|
+
"""
|
|
57
|
+
if writer is None:
|
|
58
|
+
raise TypeError("writer cannot be null.")
|
|
59
|
+
writer.write_str_value("actionId", self.action_id)
|
|
60
|
+
writer.write_str_value("renderedOutput", self.rendered_output)
|
|
61
|
+
writer.write_str_value("summary", self.summary)
|
|
62
|
+
writer.write_collection_of_primitive_values("warnings", self.warnings)
|
|
63
|
+
writer.write_bool_value("wouldHaveSideEffect", self.would_have_side_effect)
|
|
64
|
+
writer.write_additional_data_value(self.additional_data)
|
|
65
|
+
|
|
66
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
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 AutomationPreviewConditionResult(AdditionalDataHolder, Parsable):
|
|
9
|
+
"""
|
|
10
|
+
API DTO containing automation preview condition result data used by Leadping API contracts.
|
|
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 condition ID associated with this automation preview condition result.
|
|
16
|
+
condition_id: Optional[str] = None
|
|
17
|
+
# Whether this automation preview condition result is passed.
|
|
18
|
+
passed: Optional[bool] = None
|
|
19
|
+
# The summary value for this automation preview condition result.
|
|
20
|
+
summary: Optional[str] = None
|
|
21
|
+
|
|
22
|
+
@staticmethod
|
|
23
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationPreviewConditionResult:
|
|
24
|
+
"""
|
|
25
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
26
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
27
|
+
Returns: AutomationPreviewConditionResult
|
|
28
|
+
"""
|
|
29
|
+
if parse_node is None:
|
|
30
|
+
raise TypeError("parse_node cannot be null.")
|
|
31
|
+
return AutomationPreviewConditionResult()
|
|
32
|
+
|
|
33
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
34
|
+
"""
|
|
35
|
+
The deserialization information for the current model
|
|
36
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
37
|
+
"""
|
|
38
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
39
|
+
"conditionId": lambda n : setattr(self, 'condition_id', n.get_str_value()),
|
|
40
|
+
"passed": lambda n : setattr(self, 'passed', n.get_bool_value()),
|
|
41
|
+
"summary": lambda n : setattr(self, 'summary', n.get_str_value()),
|
|
42
|
+
}
|
|
43
|
+
return fields
|
|
44
|
+
|
|
45
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
46
|
+
"""
|
|
47
|
+
Serializes information the current object
|
|
48
|
+
param writer: Serialization writer to use to serialize this model
|
|
49
|
+
Returns: None
|
|
50
|
+
"""
|
|
51
|
+
if writer is None:
|
|
52
|
+
raise TypeError("writer cannot be null.")
|
|
53
|
+
writer.write_str_value("conditionId", self.condition_id)
|
|
54
|
+
writer.write_bool_value("passed", self.passed)
|
|
55
|
+
writer.write_str_value("summary", self.summary)
|
|
56
|
+
writer.write_additional_data_value(self.additional_data)
|
|
57
|
+
|
|
58
|
+
|
|
@@ -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 .automation_request_snapshot import AutomationRequestSnapshot
|
|
9
|
+
|
|
10
|
+
@dataclass
|
|
11
|
+
class AutomationPreviewRequest(AdditionalDataHolder, Parsable):
|
|
12
|
+
"""
|
|
13
|
+
API DTO containing automation preview data used by Leadping API contracts.
|
|
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 automation value for this automation preview.
|
|
19
|
+
automation: Optional[AutomationRequestSnapshot] = None
|
|
20
|
+
# The trigger type classification for this automation preview.
|
|
21
|
+
trigger_type: Optional[str] = None
|
|
22
|
+
|
|
23
|
+
@staticmethod
|
|
24
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationPreviewRequest:
|
|
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: AutomationPreviewRequest
|
|
29
|
+
"""
|
|
30
|
+
if parse_node is None:
|
|
31
|
+
raise TypeError("parse_node cannot be null.")
|
|
32
|
+
return AutomationPreviewRequest()
|
|
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 .automation_request_snapshot import AutomationRequestSnapshot
|
|
40
|
+
|
|
41
|
+
from .automation_request_snapshot import AutomationRequestSnapshot
|
|
42
|
+
|
|
43
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
44
|
+
"automation": lambda n : setattr(self, 'automation', n.get_object_value(AutomationRequestSnapshot)),
|
|
45
|
+
"triggerType": lambda n : setattr(self, 'trigger_type', 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("automation", self.automation)
|
|
58
|
+
writer.write_str_value("triggerType", self.trigger_type)
|
|
59
|
+
writer.write_additional_data_value(self.additional_data)
|
|
60
|
+
|
|
61
|
+
|