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
|
+
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_preview_action_result import AutomationPreviewActionResult
|
|
9
|
+
from .automation_preview_condition_result import AutomationPreviewConditionResult
|
|
10
|
+
from .automation_preview_response_sample_payload import AutomationPreviewResponse_samplePayload
|
|
11
|
+
from .automation_validation_result import AutomationValidationResult
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class AutomationPreviewResponse(AdditionalDataHolder, Parsable):
|
|
15
|
+
"""
|
|
16
|
+
API DTO containing automation preview response data.
|
|
17
|
+
"""
|
|
18
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
19
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
20
|
+
|
|
21
|
+
# The action results included with this automation preview.
|
|
22
|
+
action_results: Optional[list[AutomationPreviewActionResult]] = None
|
|
23
|
+
# The condition results included with this automation preview.
|
|
24
|
+
condition_results: Optional[list[AutomationPreviewConditionResult]] = None
|
|
25
|
+
# The sample payload key-value data carried with this automation preview; values must be safe to expose in API responses.
|
|
26
|
+
sample_payload: Optional[AutomationPreviewResponse_samplePayload] = None
|
|
27
|
+
# The trigger type classification for this automation preview.
|
|
28
|
+
trigger_type: Optional[str] = None
|
|
29
|
+
# The validation value for this automation preview.
|
|
30
|
+
validation: Optional[AutomationValidationResult] = None
|
|
31
|
+
# The warnings included with this automation preview.
|
|
32
|
+
warnings: Optional[list[str]] = None
|
|
33
|
+
|
|
34
|
+
@staticmethod
|
|
35
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationPreviewResponse:
|
|
36
|
+
"""
|
|
37
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
38
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
39
|
+
Returns: AutomationPreviewResponse
|
|
40
|
+
"""
|
|
41
|
+
if parse_node is None:
|
|
42
|
+
raise TypeError("parse_node cannot be null.")
|
|
43
|
+
return AutomationPreviewResponse()
|
|
44
|
+
|
|
45
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
46
|
+
"""
|
|
47
|
+
The deserialization information for the current model
|
|
48
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
49
|
+
"""
|
|
50
|
+
from .automation_preview_action_result import AutomationPreviewActionResult
|
|
51
|
+
from .automation_preview_condition_result import AutomationPreviewConditionResult
|
|
52
|
+
from .automation_preview_response_sample_payload import AutomationPreviewResponse_samplePayload
|
|
53
|
+
from .automation_validation_result import AutomationValidationResult
|
|
54
|
+
|
|
55
|
+
from .automation_preview_action_result import AutomationPreviewActionResult
|
|
56
|
+
from .automation_preview_condition_result import AutomationPreviewConditionResult
|
|
57
|
+
from .automation_preview_response_sample_payload import AutomationPreviewResponse_samplePayload
|
|
58
|
+
from .automation_validation_result import AutomationValidationResult
|
|
59
|
+
|
|
60
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
61
|
+
"actionResults": lambda n : setattr(self, 'action_results', n.get_collection_of_object_values(AutomationPreviewActionResult)),
|
|
62
|
+
"conditionResults": lambda n : setattr(self, 'condition_results', n.get_collection_of_object_values(AutomationPreviewConditionResult)),
|
|
63
|
+
"samplePayload": lambda n : setattr(self, 'sample_payload', n.get_object_value(AutomationPreviewResponse_samplePayload)),
|
|
64
|
+
"triggerType": lambda n : setattr(self, 'trigger_type', n.get_str_value()),
|
|
65
|
+
"validation": lambda n : setattr(self, 'validation', n.get_object_value(AutomationValidationResult)),
|
|
66
|
+
"warnings": lambda n : setattr(self, 'warnings', n.get_collection_of_primitive_values(str)),
|
|
67
|
+
}
|
|
68
|
+
return fields
|
|
69
|
+
|
|
70
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
71
|
+
"""
|
|
72
|
+
Serializes information the current object
|
|
73
|
+
param writer: Serialization writer to use to serialize this model
|
|
74
|
+
Returns: None
|
|
75
|
+
"""
|
|
76
|
+
if writer is None:
|
|
77
|
+
raise TypeError("writer cannot be null.")
|
|
78
|
+
writer.write_collection_of_object_values("actionResults", self.action_results)
|
|
79
|
+
writer.write_collection_of_object_values("conditionResults", self.condition_results)
|
|
80
|
+
writer.write_object_value("samplePayload", self.sample_payload)
|
|
81
|
+
writer.write_str_value("triggerType", self.trigger_type)
|
|
82
|
+
writer.write_object_value("validation", self.validation)
|
|
83
|
+
writer.write_collection_of_primitive_values("warnings", self.warnings)
|
|
84
|
+
writer.write_additional_data_value(self.additional_data)
|
|
85
|
+
|
|
86
|
+
|
|
@@ -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 AutomationPreviewResponse_samplePayload(AdditionalDataHolder, Parsable):
|
|
9
|
+
"""
|
|
10
|
+
The sample payload key-value data carried with this automation preview; 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) -> AutomationPreviewResponse_samplePayload:
|
|
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: AutomationPreviewResponse_samplePayload
|
|
22
|
+
"""
|
|
23
|
+
if parse_node is None:
|
|
24
|
+
raise TypeError("parse_node cannot be null.")
|
|
25
|
+
return AutomationPreviewResponse_samplePayload()
|
|
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,122 @@
|
|
|
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 import AutomationAction
|
|
9
|
+
from .automation_condition_group import AutomationConditionGroup
|
|
10
|
+
from .automation_request_admin_enablement_override import AutomationRequest_adminEnablementOverride
|
|
11
|
+
from .automation_trigger import AutomationTrigger
|
|
12
|
+
|
|
13
|
+
@dataclass
|
|
14
|
+
class AutomationRequest(AdditionalDataHolder, Parsable):
|
|
15
|
+
"""
|
|
16
|
+
Request payload for automation.
|
|
17
|
+
"""
|
|
18
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
19
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
20
|
+
|
|
21
|
+
# The actions included with this automation.
|
|
22
|
+
actions: Optional[list[AutomationAction]] = None
|
|
23
|
+
# The adminEnablementOverride property
|
|
24
|
+
admin_enablement_override: Optional[AutomationRequest_adminEnablementOverride] = None
|
|
25
|
+
# The business ID associated with this automation.
|
|
26
|
+
business_id: Optional[str] = None
|
|
27
|
+
# The condition groups included with this automation.
|
|
28
|
+
condition_groups: Optional[list[AutomationConditionGroup]] = None
|
|
29
|
+
# The created by user ID associated with this automation.
|
|
30
|
+
created_by_user_id: Optional[str] = None
|
|
31
|
+
# The human-readable description of this automation.
|
|
32
|
+
description: Optional[str] = None
|
|
33
|
+
# Whether this automation is enabled.
|
|
34
|
+
enabled: Optional[bool] = None
|
|
35
|
+
# The unique identifier for the entity, when updating an existing entity.
|
|
36
|
+
id: Optional[str] = None
|
|
37
|
+
# Whether this automation is system managed.
|
|
38
|
+
is_system_managed: Optional[bool] = None
|
|
39
|
+
# The management level value for this automation.
|
|
40
|
+
management_level: Optional[str] = None
|
|
41
|
+
# The display name for the entity.
|
|
42
|
+
name: Optional[str] = None
|
|
43
|
+
# The scope value for this automation.
|
|
44
|
+
scope: Optional[str] = None
|
|
45
|
+
# The triggers included with this automation.
|
|
46
|
+
triggers: Optional[list[AutomationTrigger]] = None
|
|
47
|
+
# The version value for this automation.
|
|
48
|
+
version: Optional[int] = None
|
|
49
|
+
# The visibility value for this automation.
|
|
50
|
+
visibility: Optional[str] = None
|
|
51
|
+
|
|
52
|
+
@staticmethod
|
|
53
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationRequest:
|
|
54
|
+
"""
|
|
55
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
56
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
57
|
+
Returns: AutomationRequest
|
|
58
|
+
"""
|
|
59
|
+
if parse_node is None:
|
|
60
|
+
raise TypeError("parse_node cannot be null.")
|
|
61
|
+
return AutomationRequest()
|
|
62
|
+
|
|
63
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
64
|
+
"""
|
|
65
|
+
The deserialization information for the current model
|
|
66
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
67
|
+
"""
|
|
68
|
+
from .automation_action import AutomationAction
|
|
69
|
+
from .automation_condition_group import AutomationConditionGroup
|
|
70
|
+
from .automation_request_admin_enablement_override import AutomationRequest_adminEnablementOverride
|
|
71
|
+
from .automation_trigger import AutomationTrigger
|
|
72
|
+
|
|
73
|
+
from .automation_action import AutomationAction
|
|
74
|
+
from .automation_condition_group import AutomationConditionGroup
|
|
75
|
+
from .automation_request_admin_enablement_override import AutomationRequest_adminEnablementOverride
|
|
76
|
+
from .automation_trigger import AutomationTrigger
|
|
77
|
+
|
|
78
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
79
|
+
"actions": lambda n : setattr(self, 'actions', n.get_collection_of_object_values(AutomationAction)),
|
|
80
|
+
"adminEnablementOverride": lambda n : setattr(self, 'admin_enablement_override', n.get_object_value(AutomationRequest_adminEnablementOverride)),
|
|
81
|
+
"businessId": lambda n : setattr(self, 'business_id', n.get_str_value()),
|
|
82
|
+
"conditionGroups": lambda n : setattr(self, 'condition_groups', n.get_collection_of_object_values(AutomationConditionGroup)),
|
|
83
|
+
"createdByUserId": lambda n : setattr(self, 'created_by_user_id', n.get_str_value()),
|
|
84
|
+
"description": lambda n : setattr(self, 'description', n.get_str_value()),
|
|
85
|
+
"enabled": lambda n : setattr(self, 'enabled', n.get_bool_value()),
|
|
86
|
+
"id": lambda n : setattr(self, 'id', n.get_str_value()),
|
|
87
|
+
"isSystemManaged": lambda n : setattr(self, 'is_system_managed', n.get_bool_value()),
|
|
88
|
+
"managementLevel": lambda n : setattr(self, 'management_level', n.get_str_value()),
|
|
89
|
+
"name": lambda n : setattr(self, 'name', n.get_str_value()),
|
|
90
|
+
"scope": lambda n : setattr(self, 'scope', n.get_str_value()),
|
|
91
|
+
"triggers": lambda n : setattr(self, 'triggers', n.get_collection_of_object_values(AutomationTrigger)),
|
|
92
|
+
"version": lambda n : setattr(self, 'version', n.get_int_value()),
|
|
93
|
+
"visibility": lambda n : setattr(self, 'visibility', n.get_str_value()),
|
|
94
|
+
}
|
|
95
|
+
return fields
|
|
96
|
+
|
|
97
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
98
|
+
"""
|
|
99
|
+
Serializes information the current object
|
|
100
|
+
param writer: Serialization writer to use to serialize this model
|
|
101
|
+
Returns: None
|
|
102
|
+
"""
|
|
103
|
+
if writer is None:
|
|
104
|
+
raise TypeError("writer cannot be null.")
|
|
105
|
+
writer.write_collection_of_object_values("actions", self.actions)
|
|
106
|
+
writer.write_object_value("adminEnablementOverride", self.admin_enablement_override)
|
|
107
|
+
writer.write_str_value("businessId", self.business_id)
|
|
108
|
+
writer.write_collection_of_object_values("conditionGroups", self.condition_groups)
|
|
109
|
+
writer.write_str_value("createdByUserId", self.created_by_user_id)
|
|
110
|
+
writer.write_str_value("description", self.description)
|
|
111
|
+
writer.write_bool_value("enabled", self.enabled)
|
|
112
|
+
writer.write_str_value("id", self.id)
|
|
113
|
+
writer.write_bool_value("isSystemManaged", self.is_system_managed)
|
|
114
|
+
writer.write_str_value("managementLevel", self.management_level)
|
|
115
|
+
writer.write_str_value("name", self.name)
|
|
116
|
+
writer.write_str_value("scope", self.scope)
|
|
117
|
+
writer.write_collection_of_object_values("triggers", self.triggers)
|
|
118
|
+
writer.write_int_value("version", self.version)
|
|
119
|
+
writer.write_str_value("visibility", self.visibility)
|
|
120
|
+
writer.write_additional_data_value(self.additional_data)
|
|
121
|
+
|
|
122
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
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 .admin_enablement_override import AdminEnablementOverride
|
|
9
|
+
|
|
10
|
+
from .admin_enablement_override import AdminEnablementOverride
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class AutomationRequest_adminEnablementOverride(AdminEnablementOverride, Parsable):
|
|
14
|
+
|
|
15
|
+
@staticmethod
|
|
16
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationRequest_adminEnablementOverride:
|
|
17
|
+
"""
|
|
18
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
20
|
+
Returns: AutomationRequest_adminEnablementOverride
|
|
21
|
+
"""
|
|
22
|
+
if parse_node is None:
|
|
23
|
+
raise TypeError("parse_node cannot be null.")
|
|
24
|
+
return AutomationRequest_adminEnablementOverride()
|
|
25
|
+
|
|
26
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
27
|
+
"""
|
|
28
|
+
The deserialization information for the current model
|
|
29
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
30
|
+
"""
|
|
31
|
+
from .admin_enablement_override import AdminEnablementOverride
|
|
32
|
+
|
|
33
|
+
from .admin_enablement_override import AdminEnablementOverride
|
|
34
|
+
|
|
35
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
36
|
+
}
|
|
37
|
+
super_fields = super().get_field_deserializers()
|
|
38
|
+
fields.update(super_fields)
|
|
39
|
+
return fields
|
|
40
|
+
|
|
41
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
42
|
+
"""
|
|
43
|
+
Serializes information the current object
|
|
44
|
+
param writer: Serialization writer to use to serialize this model
|
|
45
|
+
Returns: None
|
|
46
|
+
"""
|
|
47
|
+
if writer is None:
|
|
48
|
+
raise TypeError("writer cannot be null.")
|
|
49
|
+
super().serialize(writer)
|
|
50
|
+
|
|
51
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
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 import AutomationAction
|
|
9
|
+
from .automation_condition_group import AutomationConditionGroup
|
|
10
|
+
from .automation_trigger import AutomationTrigger
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class AutomationRequestSnapshot(AdditionalDataHolder, Parsable):
|
|
14
|
+
"""
|
|
15
|
+
API DTO containing automation request snapshot 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 actions included with this automation request snapshot.
|
|
21
|
+
actions: Optional[list[AutomationAction]] = None
|
|
22
|
+
# The business ID associated with this automation request snapshot.
|
|
23
|
+
business_id: Optional[str] = None
|
|
24
|
+
# The condition groups included with this automation request snapshot.
|
|
25
|
+
condition_groups: Optional[list[AutomationConditionGroup]] = None
|
|
26
|
+
# The created by user ID associated with this automation request snapshot.
|
|
27
|
+
created_by_user_id: Optional[str] = None
|
|
28
|
+
# The human-readable description of this automation request snapshot.
|
|
29
|
+
description: Optional[str] = None
|
|
30
|
+
# Whether this automation request snapshot is enabled.
|
|
31
|
+
enabled: Optional[bool] = None
|
|
32
|
+
# The unique ID for this automation request snapshot.
|
|
33
|
+
id: Optional[str] = None
|
|
34
|
+
# Whether this automation request snapshot is system managed.
|
|
35
|
+
is_system_managed: Optional[bool] = None
|
|
36
|
+
# The management level value for this automation request snapshot.
|
|
37
|
+
management_level: Optional[str] = None
|
|
38
|
+
# The human-readable name shown for this automation request snapshot.
|
|
39
|
+
name: Optional[str] = None
|
|
40
|
+
# The scope value for this automation request snapshot.
|
|
41
|
+
scope: Optional[str] = None
|
|
42
|
+
# The triggers included with this automation request snapshot.
|
|
43
|
+
triggers: Optional[list[AutomationTrigger]] = None
|
|
44
|
+
# The visibility value for this automation request snapshot.
|
|
45
|
+
visibility: Optional[str] = None
|
|
46
|
+
|
|
47
|
+
@staticmethod
|
|
48
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationRequestSnapshot:
|
|
49
|
+
"""
|
|
50
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
51
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
52
|
+
Returns: AutomationRequestSnapshot
|
|
53
|
+
"""
|
|
54
|
+
if parse_node is None:
|
|
55
|
+
raise TypeError("parse_node cannot be null.")
|
|
56
|
+
return AutomationRequestSnapshot()
|
|
57
|
+
|
|
58
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
59
|
+
"""
|
|
60
|
+
The deserialization information for the current model
|
|
61
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
62
|
+
"""
|
|
63
|
+
from .automation_action import AutomationAction
|
|
64
|
+
from .automation_condition_group import AutomationConditionGroup
|
|
65
|
+
from .automation_trigger import AutomationTrigger
|
|
66
|
+
|
|
67
|
+
from .automation_action import AutomationAction
|
|
68
|
+
from .automation_condition_group import AutomationConditionGroup
|
|
69
|
+
from .automation_trigger import AutomationTrigger
|
|
70
|
+
|
|
71
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
72
|
+
"actions": lambda n : setattr(self, 'actions', n.get_collection_of_object_values(AutomationAction)),
|
|
73
|
+
"businessId": lambda n : setattr(self, 'business_id', n.get_str_value()),
|
|
74
|
+
"conditionGroups": lambda n : setattr(self, 'condition_groups', n.get_collection_of_object_values(AutomationConditionGroup)),
|
|
75
|
+
"createdByUserId": lambda n : setattr(self, 'created_by_user_id', n.get_str_value()),
|
|
76
|
+
"description": lambda n : setattr(self, 'description', n.get_str_value()),
|
|
77
|
+
"enabled": lambda n : setattr(self, 'enabled', n.get_bool_value()),
|
|
78
|
+
"id": lambda n : setattr(self, 'id', n.get_str_value()),
|
|
79
|
+
"isSystemManaged": lambda n : setattr(self, 'is_system_managed', n.get_bool_value()),
|
|
80
|
+
"managementLevel": lambda n : setattr(self, 'management_level', n.get_str_value()),
|
|
81
|
+
"name": lambda n : setattr(self, 'name', n.get_str_value()),
|
|
82
|
+
"scope": lambda n : setattr(self, 'scope', n.get_str_value()),
|
|
83
|
+
"triggers": lambda n : setattr(self, 'triggers', n.get_collection_of_object_values(AutomationTrigger)),
|
|
84
|
+
"visibility": lambda n : setattr(self, 'visibility', 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_collection_of_object_values("actions", self.actions)
|
|
97
|
+
writer.write_str_value("businessId", self.business_id)
|
|
98
|
+
writer.write_collection_of_object_values("conditionGroups", self.condition_groups)
|
|
99
|
+
writer.write_str_value("createdByUserId", self.created_by_user_id)
|
|
100
|
+
writer.write_str_value("description", self.description)
|
|
101
|
+
writer.write_bool_value("enabled", self.enabled)
|
|
102
|
+
writer.write_str_value("id", self.id)
|
|
103
|
+
writer.write_bool_value("isSystemManaged", self.is_system_managed)
|
|
104
|
+
writer.write_str_value("managementLevel", self.management_level)
|
|
105
|
+
writer.write_str_value("name", self.name)
|
|
106
|
+
writer.write_str_value("scope", self.scope)
|
|
107
|
+
writer.write_collection_of_object_values("triggers", self.triggers)
|
|
108
|
+
writer.write_str_value("visibility", self.visibility)
|
|
109
|
+
writer.write_additional_data_value(self.additional_data)
|
|
110
|
+
|
|
111
|
+
|
|
@@ -0,0 +1,164 @@
|
|
|
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 .automation_action import AutomationAction
|
|
10
|
+
from .automation_condition_group import AutomationConditionGroup
|
|
11
|
+
from .automation_response_admin_enablement_override import AutomationResponse_adminEnablementOverride
|
|
12
|
+
from .automation_response_business import AutomationResponse_business
|
|
13
|
+
from .automation_response_user import AutomationResponse_user
|
|
14
|
+
from .automation_run_record import AutomationRunRecord
|
|
15
|
+
from .automation_trigger import AutomationTrigger
|
|
16
|
+
|
|
17
|
+
@dataclass
|
|
18
|
+
class AutomationResponse(AdditionalDataHolder, Parsable):
|
|
19
|
+
"""
|
|
20
|
+
API response containing automation data returned to callers.
|
|
21
|
+
"""
|
|
22
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
23
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
24
|
+
|
|
25
|
+
# The actions included with this automation.
|
|
26
|
+
actions: Optional[list[AutomationAction]] = None
|
|
27
|
+
# The adminEnablementOverride property
|
|
28
|
+
admin_enablement_override: Optional[AutomationResponse_adminEnablementOverride] = None
|
|
29
|
+
# The business value for this automation.
|
|
30
|
+
business: Optional[AutomationResponse_business] = None
|
|
31
|
+
# The business ID associated with this automation.
|
|
32
|
+
business_id: Optional[str] = None
|
|
33
|
+
# The condition groups included with this automation.
|
|
34
|
+
condition_groups: Optional[list[AutomationConditionGroup]] = None
|
|
35
|
+
# The date and time when the entity was created.
|
|
36
|
+
created_at: Optional[datetime.datetime] = None
|
|
37
|
+
# The created by user ID associated with this automation.
|
|
38
|
+
created_by_user_id: Optional[str] = None
|
|
39
|
+
# The human-readable description of this automation.
|
|
40
|
+
description: Optional[str] = None
|
|
41
|
+
# Whether this automation is enabled.
|
|
42
|
+
enabled: Optional[bool] = None
|
|
43
|
+
# The unique identifier for the entity.
|
|
44
|
+
id: Optional[str] = None
|
|
45
|
+
# Whether this automation is system managed.
|
|
46
|
+
is_system_managed: Optional[bool] = None
|
|
47
|
+
# The date and time for the last run at value on this automation.
|
|
48
|
+
last_run_at: Optional[datetime.datetime] = None
|
|
49
|
+
# The date and time for the last run error value on this automation.
|
|
50
|
+
last_run_error: Optional[str] = None
|
|
51
|
+
# The current last run status for this automation.
|
|
52
|
+
last_run_status: Optional[str] = None
|
|
53
|
+
# The management level value for this automation.
|
|
54
|
+
management_level: Optional[str] = None
|
|
55
|
+
# The date and time when the entity was last modified, if applicable.
|
|
56
|
+
modified_at: Optional[datetime.datetime] = None
|
|
57
|
+
# The display name for the entity.
|
|
58
|
+
name: Optional[str] = None
|
|
59
|
+
# The recent runs included with this automation.
|
|
60
|
+
recent_runs: Optional[list[AutomationRunRecord]] = None
|
|
61
|
+
# The scope value for this automation.
|
|
62
|
+
scope: Optional[str] = None
|
|
63
|
+
# The triggers included with this automation.
|
|
64
|
+
triggers: Optional[list[AutomationTrigger]] = None
|
|
65
|
+
# The user value for this automation.
|
|
66
|
+
user: Optional[AutomationResponse_user] = None
|
|
67
|
+
# The version value for this automation.
|
|
68
|
+
version: Optional[int] = None
|
|
69
|
+
# The visibility value for this automation.
|
|
70
|
+
visibility: Optional[str] = None
|
|
71
|
+
|
|
72
|
+
@staticmethod
|
|
73
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationResponse:
|
|
74
|
+
"""
|
|
75
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
76
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
77
|
+
Returns: AutomationResponse
|
|
78
|
+
"""
|
|
79
|
+
if parse_node is None:
|
|
80
|
+
raise TypeError("parse_node cannot be null.")
|
|
81
|
+
return AutomationResponse()
|
|
82
|
+
|
|
83
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
84
|
+
"""
|
|
85
|
+
The deserialization information for the current model
|
|
86
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
87
|
+
"""
|
|
88
|
+
from .automation_action import AutomationAction
|
|
89
|
+
from .automation_condition_group import AutomationConditionGroup
|
|
90
|
+
from .automation_response_admin_enablement_override import AutomationResponse_adminEnablementOverride
|
|
91
|
+
from .automation_response_business import AutomationResponse_business
|
|
92
|
+
from .automation_response_user import AutomationResponse_user
|
|
93
|
+
from .automation_run_record import AutomationRunRecord
|
|
94
|
+
from .automation_trigger import AutomationTrigger
|
|
95
|
+
|
|
96
|
+
from .automation_action import AutomationAction
|
|
97
|
+
from .automation_condition_group import AutomationConditionGroup
|
|
98
|
+
from .automation_response_admin_enablement_override import AutomationResponse_adminEnablementOverride
|
|
99
|
+
from .automation_response_business import AutomationResponse_business
|
|
100
|
+
from .automation_response_user import AutomationResponse_user
|
|
101
|
+
from .automation_run_record import AutomationRunRecord
|
|
102
|
+
from .automation_trigger import AutomationTrigger
|
|
103
|
+
|
|
104
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
105
|
+
"actions": lambda n : setattr(self, 'actions', n.get_collection_of_object_values(AutomationAction)),
|
|
106
|
+
"adminEnablementOverride": lambda n : setattr(self, 'admin_enablement_override', n.get_object_value(AutomationResponse_adminEnablementOverride)),
|
|
107
|
+
"business": lambda n : setattr(self, 'business', n.get_object_value(AutomationResponse_business)),
|
|
108
|
+
"businessId": lambda n : setattr(self, 'business_id', n.get_str_value()),
|
|
109
|
+
"conditionGroups": lambda n : setattr(self, 'condition_groups', n.get_collection_of_object_values(AutomationConditionGroup)),
|
|
110
|
+
"createdAt": lambda n : setattr(self, 'created_at', n.get_datetime_value()),
|
|
111
|
+
"createdByUserId": lambda n : setattr(self, 'created_by_user_id', n.get_str_value()),
|
|
112
|
+
"description": lambda n : setattr(self, 'description', n.get_str_value()),
|
|
113
|
+
"enabled": lambda n : setattr(self, 'enabled', n.get_bool_value()),
|
|
114
|
+
"id": lambda n : setattr(self, 'id', n.get_str_value()),
|
|
115
|
+
"isSystemManaged": lambda n : setattr(self, 'is_system_managed', n.get_bool_value()),
|
|
116
|
+
"lastRunAt": lambda n : setattr(self, 'last_run_at', n.get_datetime_value()),
|
|
117
|
+
"lastRunError": lambda n : setattr(self, 'last_run_error', n.get_str_value()),
|
|
118
|
+
"lastRunStatus": lambda n : setattr(self, 'last_run_status', n.get_str_value()),
|
|
119
|
+
"managementLevel": lambda n : setattr(self, 'management_level', n.get_str_value()),
|
|
120
|
+
"modifiedAt": lambda n : setattr(self, 'modified_at', n.get_datetime_value()),
|
|
121
|
+
"name": lambda n : setattr(self, 'name', n.get_str_value()),
|
|
122
|
+
"recentRuns": lambda n : setattr(self, 'recent_runs', n.get_collection_of_object_values(AutomationRunRecord)),
|
|
123
|
+
"scope": lambda n : setattr(self, 'scope', n.get_str_value()),
|
|
124
|
+
"triggers": lambda n : setattr(self, 'triggers', n.get_collection_of_object_values(AutomationTrigger)),
|
|
125
|
+
"user": lambda n : setattr(self, 'user', n.get_object_value(AutomationResponse_user)),
|
|
126
|
+
"version": lambda n : setattr(self, 'version', n.get_int_value()),
|
|
127
|
+
"visibility": lambda n : setattr(self, 'visibility', n.get_str_value()),
|
|
128
|
+
}
|
|
129
|
+
return fields
|
|
130
|
+
|
|
131
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
132
|
+
"""
|
|
133
|
+
Serializes information the current object
|
|
134
|
+
param writer: Serialization writer to use to serialize this model
|
|
135
|
+
Returns: None
|
|
136
|
+
"""
|
|
137
|
+
if writer is None:
|
|
138
|
+
raise TypeError("writer cannot be null.")
|
|
139
|
+
writer.write_collection_of_object_values("actions", self.actions)
|
|
140
|
+
writer.write_object_value("adminEnablementOverride", self.admin_enablement_override)
|
|
141
|
+
writer.write_object_value("business", self.business)
|
|
142
|
+
writer.write_str_value("businessId", self.business_id)
|
|
143
|
+
writer.write_collection_of_object_values("conditionGroups", self.condition_groups)
|
|
144
|
+
writer.write_datetime_value("createdAt", self.created_at)
|
|
145
|
+
writer.write_str_value("createdByUserId", self.created_by_user_id)
|
|
146
|
+
writer.write_str_value("description", self.description)
|
|
147
|
+
writer.write_bool_value("enabled", self.enabled)
|
|
148
|
+
writer.write_str_value("id", self.id)
|
|
149
|
+
writer.write_bool_value("isSystemManaged", self.is_system_managed)
|
|
150
|
+
writer.write_datetime_value("lastRunAt", self.last_run_at)
|
|
151
|
+
writer.write_str_value("lastRunError", self.last_run_error)
|
|
152
|
+
writer.write_str_value("lastRunStatus", self.last_run_status)
|
|
153
|
+
writer.write_str_value("managementLevel", self.management_level)
|
|
154
|
+
writer.write_datetime_value("modifiedAt", self.modified_at)
|
|
155
|
+
writer.write_str_value("name", self.name)
|
|
156
|
+
writer.write_collection_of_object_values("recentRuns", self.recent_runs)
|
|
157
|
+
writer.write_str_value("scope", self.scope)
|
|
158
|
+
writer.write_collection_of_object_values("triggers", self.triggers)
|
|
159
|
+
writer.write_object_value("user", self.user)
|
|
160
|
+
writer.write_int_value("version", self.version)
|
|
161
|
+
writer.write_str_value("visibility", self.visibility)
|
|
162
|
+
writer.write_additional_data_value(self.additional_data)
|
|
163
|
+
|
|
164
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
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 .admin_enablement_override import AdminEnablementOverride
|
|
9
|
+
|
|
10
|
+
from .admin_enablement_override import AdminEnablementOverride
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class AutomationResponse_adminEnablementOverride(AdminEnablementOverride, Parsable):
|
|
14
|
+
|
|
15
|
+
@staticmethod
|
|
16
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> AutomationResponse_adminEnablementOverride:
|
|
17
|
+
"""
|
|
18
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
20
|
+
Returns: AutomationResponse_adminEnablementOverride
|
|
21
|
+
"""
|
|
22
|
+
if parse_node is None:
|
|
23
|
+
raise TypeError("parse_node cannot be null.")
|
|
24
|
+
return AutomationResponse_adminEnablementOverride()
|
|
25
|
+
|
|
26
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
27
|
+
"""
|
|
28
|
+
The deserialization information for the current model
|
|
29
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
30
|
+
"""
|
|
31
|
+
from .admin_enablement_override import AdminEnablementOverride
|
|
32
|
+
|
|
33
|
+
from .admin_enablement_override import AdminEnablementOverride
|
|
34
|
+
|
|
35
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
36
|
+
}
|
|
37
|
+
super_fields = super().get_field_deserializers()
|
|
38
|
+
fields.update(super_fields)
|
|
39
|
+
return fields
|
|
40
|
+
|
|
41
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
42
|
+
"""
|
|
43
|
+
Serializes information the current object
|
|
44
|
+
param writer: Serialization writer to use to serialize this model
|
|
45
|
+
Returns: None
|
|
46
|
+
"""
|
|
47
|
+
if writer is None:
|
|
48
|
+
raise TypeError("writer cannot be null.")
|
|
49
|
+
super().serialize(writer)
|
|
50
|
+
|
|
51
|
+
|