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,224 @@
|
|
|
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 .activation_domain_option import ActivationDomainOption
|
|
10
|
+
from .activation_launch_review_status import ActivationLaunchReviewStatus
|
|
11
|
+
from .activation_onboarding_status import ActivationOnboardingStatus
|
|
12
|
+
from .activation_payment_status import ActivationPaymentStatus
|
|
13
|
+
from .activation_subscription_status import ActivationSubscriptionStatus
|
|
14
|
+
from .activation_telephony_status import ActivationTelephonyStatus
|
|
15
|
+
from .activation_timeline_event import ActivationTimelineEvent
|
|
16
|
+
from .business_activation_state_ten_dlc_draft import BusinessActivationState_tenDlcDraft
|
|
17
|
+
from .customer_activation_status import CustomerActivationStatus
|
|
18
|
+
from .ten_dlc_application_status import TenDlcApplicationStatus
|
|
19
|
+
from .website_lifecycle_status import WebsiteLifecycleStatus
|
|
20
|
+
|
|
21
|
+
@dataclass
|
|
22
|
+
class BusinessActivationState(AdditionalDataHolder, Parsable):
|
|
23
|
+
"""
|
|
24
|
+
API DTO containing business activation state data used by Leadping API contracts.
|
|
25
|
+
"""
|
|
26
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
27
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
28
|
+
|
|
29
|
+
# The date and time for the activated at value on this business activation state.
|
|
30
|
+
activated_at: Optional[datetime.datetime] = None
|
|
31
|
+
# The current billing subscription status for this business activation state.
|
|
32
|
+
billing_subscription_status: Optional[ActivationSubscriptionStatus] = None
|
|
33
|
+
# The business description value for this business activation state.
|
|
34
|
+
business_description: Optional[str] = None
|
|
35
|
+
# The compliance notes value for this business activation state.
|
|
36
|
+
compliance_notes: Optional[str] = None
|
|
37
|
+
# Whether controlled launch applies to this business activation state.
|
|
38
|
+
controlled_launch: Optional[bool] = None
|
|
39
|
+
# The date and time for the created at value on this business activation state.
|
|
40
|
+
created_at: Optional[datetime.datetime] = None
|
|
41
|
+
# The current customer facing status for this business activation state.
|
|
42
|
+
customer_facing_status: Optional[str] = None
|
|
43
|
+
# The date and time for the domain approved at value on this business activation state.
|
|
44
|
+
domain_approved_at: Optional[datetime.datetime] = None
|
|
45
|
+
# The domain options included with this business activation state.
|
|
46
|
+
domain_options: Optional[list[ActivationDomainOption]] = None
|
|
47
|
+
# The events included with this business activation state.
|
|
48
|
+
events: Optional[list[ActivationTimelineEvent]] = None
|
|
49
|
+
# The date and time for the failed at value on this business activation state.
|
|
50
|
+
failed_at: Optional[datetime.datetime] = None
|
|
51
|
+
# The industry value for this business activation state.
|
|
52
|
+
industry: Optional[str] = None
|
|
53
|
+
# The date and time for the launch approved at value on this business activation state.
|
|
54
|
+
launch_approved_at: Optional[datetime.datetime] = None
|
|
55
|
+
# The date and time for the launch review requested at value on this business activation state.
|
|
56
|
+
launch_review_requested_at: Optional[datetime.datetime] = None
|
|
57
|
+
# The current launch review status for this business activation state.
|
|
58
|
+
launch_review_status: Optional[ActivationLaunchReviewStatus] = None
|
|
59
|
+
# The offer value for this business activation state.
|
|
60
|
+
offer: Optional[str] = None
|
|
61
|
+
# The current onboarding status for this business activation state.
|
|
62
|
+
onboarding_status: Optional[ActivationOnboardingStatus] = None
|
|
63
|
+
# The date and time for the payment method confirmed at value on this business activation state.
|
|
64
|
+
payment_method_confirmed_at: Optional[datetime.datetime] = None
|
|
65
|
+
# The current payment status for this business activation state.
|
|
66
|
+
payment_status: Optional[ActivationPaymentStatus] = None
|
|
67
|
+
# The selected domain value for this business activation state.
|
|
68
|
+
selected_domain: Optional[str] = None
|
|
69
|
+
# The service area value for this business activation state.
|
|
70
|
+
service_area: Optional[str] = None
|
|
71
|
+
# The current status for this business activation state.
|
|
72
|
+
status: Optional[CustomerActivationStatus] = None
|
|
73
|
+
# The date and time for the subscription active at value on this business activation state.
|
|
74
|
+
subscription_active_at: Optional[datetime.datetime] = None
|
|
75
|
+
# The date and time for the subscription pending at value on this business activation state.
|
|
76
|
+
subscription_pending_at: Optional[datetime.datetime] = None
|
|
77
|
+
# The target audience value for this business activation state.
|
|
78
|
+
target_audience: Optional[str] = None
|
|
79
|
+
# The date and time for the telephony partially provisioned at value on this business activation state.
|
|
80
|
+
telephony_partially_provisioned_at: Optional[datetime.datetime] = None
|
|
81
|
+
# The date and time for the telephony provisioning started at value on this business activation state.
|
|
82
|
+
telephony_provisioning_started_at: Optional[datetime.datetime] = None
|
|
83
|
+
# The date and time for the telephony ready at value on this business activation state.
|
|
84
|
+
telephony_ready_at: Optional[datetime.datetime] = None
|
|
85
|
+
# The current telephony status for this business activation state.
|
|
86
|
+
telephony_status: Optional[ActivationTelephonyStatus] = None
|
|
87
|
+
# The 10DLC draft value for this business activation state.
|
|
88
|
+
ten_dlc_draft: Optional[BusinessActivationState_tenDlcDraft] = None
|
|
89
|
+
# The current 10DLC status for this business activation state.
|
|
90
|
+
ten_dlc_status: Optional[TenDlcApplicationStatus] = None
|
|
91
|
+
# The date and time for the updated at value on this business activation state.
|
|
92
|
+
updated_at: Optional[datetime.datetime] = None
|
|
93
|
+
# The website needs value for this business activation state.
|
|
94
|
+
website_needs: Optional[str] = None
|
|
95
|
+
# The current website status for this business activation state.
|
|
96
|
+
website_status: Optional[WebsiteLifecycleStatus] = None
|
|
97
|
+
# The URL associated with this business activation state.
|
|
98
|
+
website_url: Optional[str] = None
|
|
99
|
+
|
|
100
|
+
@staticmethod
|
|
101
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> BusinessActivationState:
|
|
102
|
+
"""
|
|
103
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
104
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
105
|
+
Returns: BusinessActivationState
|
|
106
|
+
"""
|
|
107
|
+
if parse_node is None:
|
|
108
|
+
raise TypeError("parse_node cannot be null.")
|
|
109
|
+
return BusinessActivationState()
|
|
110
|
+
|
|
111
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
112
|
+
"""
|
|
113
|
+
The deserialization information for the current model
|
|
114
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
115
|
+
"""
|
|
116
|
+
from .activation_domain_option import ActivationDomainOption
|
|
117
|
+
from .activation_launch_review_status import ActivationLaunchReviewStatus
|
|
118
|
+
from .activation_onboarding_status import ActivationOnboardingStatus
|
|
119
|
+
from .activation_payment_status import ActivationPaymentStatus
|
|
120
|
+
from .activation_subscription_status import ActivationSubscriptionStatus
|
|
121
|
+
from .activation_telephony_status import ActivationTelephonyStatus
|
|
122
|
+
from .activation_timeline_event import ActivationTimelineEvent
|
|
123
|
+
from .business_activation_state_ten_dlc_draft import BusinessActivationState_tenDlcDraft
|
|
124
|
+
from .customer_activation_status import CustomerActivationStatus
|
|
125
|
+
from .ten_dlc_application_status import TenDlcApplicationStatus
|
|
126
|
+
from .website_lifecycle_status import WebsiteLifecycleStatus
|
|
127
|
+
|
|
128
|
+
from .activation_domain_option import ActivationDomainOption
|
|
129
|
+
from .activation_launch_review_status import ActivationLaunchReviewStatus
|
|
130
|
+
from .activation_onboarding_status import ActivationOnboardingStatus
|
|
131
|
+
from .activation_payment_status import ActivationPaymentStatus
|
|
132
|
+
from .activation_subscription_status import ActivationSubscriptionStatus
|
|
133
|
+
from .activation_telephony_status import ActivationTelephonyStatus
|
|
134
|
+
from .activation_timeline_event import ActivationTimelineEvent
|
|
135
|
+
from .business_activation_state_ten_dlc_draft import BusinessActivationState_tenDlcDraft
|
|
136
|
+
from .customer_activation_status import CustomerActivationStatus
|
|
137
|
+
from .ten_dlc_application_status import TenDlcApplicationStatus
|
|
138
|
+
from .website_lifecycle_status import WebsiteLifecycleStatus
|
|
139
|
+
|
|
140
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
141
|
+
"activatedAt": lambda n : setattr(self, 'activated_at', n.get_datetime_value()),
|
|
142
|
+
"billingSubscriptionStatus": lambda n : setattr(self, 'billing_subscription_status', n.get_enum_value(ActivationSubscriptionStatus)),
|
|
143
|
+
"businessDescription": lambda n : setattr(self, 'business_description', n.get_str_value()),
|
|
144
|
+
"complianceNotes": lambda n : setattr(self, 'compliance_notes', n.get_str_value()),
|
|
145
|
+
"controlledLaunch": lambda n : setattr(self, 'controlled_launch', n.get_bool_value()),
|
|
146
|
+
"createdAt": lambda n : setattr(self, 'created_at', n.get_datetime_value()),
|
|
147
|
+
"customerFacingStatus": lambda n : setattr(self, 'customer_facing_status', n.get_str_value()),
|
|
148
|
+
"domainApprovedAt": lambda n : setattr(self, 'domain_approved_at', n.get_datetime_value()),
|
|
149
|
+
"domainOptions": lambda n : setattr(self, 'domain_options', n.get_collection_of_object_values(ActivationDomainOption)),
|
|
150
|
+
"events": lambda n : setattr(self, 'events', n.get_collection_of_object_values(ActivationTimelineEvent)),
|
|
151
|
+
"failedAt": lambda n : setattr(self, 'failed_at', n.get_datetime_value()),
|
|
152
|
+
"industry": lambda n : setattr(self, 'industry', n.get_str_value()),
|
|
153
|
+
"launchApprovedAt": lambda n : setattr(self, 'launch_approved_at', n.get_datetime_value()),
|
|
154
|
+
"launchReviewRequestedAt": lambda n : setattr(self, 'launch_review_requested_at', n.get_datetime_value()),
|
|
155
|
+
"launchReviewStatus": lambda n : setattr(self, 'launch_review_status', n.get_enum_value(ActivationLaunchReviewStatus)),
|
|
156
|
+
"offer": lambda n : setattr(self, 'offer', n.get_str_value()),
|
|
157
|
+
"onboardingStatus": lambda n : setattr(self, 'onboarding_status', n.get_enum_value(ActivationOnboardingStatus)),
|
|
158
|
+
"paymentMethodConfirmedAt": lambda n : setattr(self, 'payment_method_confirmed_at', n.get_datetime_value()),
|
|
159
|
+
"paymentStatus": lambda n : setattr(self, 'payment_status', n.get_enum_value(ActivationPaymentStatus)),
|
|
160
|
+
"selectedDomain": lambda n : setattr(self, 'selected_domain', n.get_str_value()),
|
|
161
|
+
"serviceArea": lambda n : setattr(self, 'service_area', n.get_str_value()),
|
|
162
|
+
"status": lambda n : setattr(self, 'status', n.get_enum_value(CustomerActivationStatus)),
|
|
163
|
+
"subscriptionActiveAt": lambda n : setattr(self, 'subscription_active_at', n.get_datetime_value()),
|
|
164
|
+
"subscriptionPendingAt": lambda n : setattr(self, 'subscription_pending_at', n.get_datetime_value()),
|
|
165
|
+
"targetAudience": lambda n : setattr(self, 'target_audience', n.get_str_value()),
|
|
166
|
+
"telephonyPartiallyProvisionedAt": lambda n : setattr(self, 'telephony_partially_provisioned_at', n.get_datetime_value()),
|
|
167
|
+
"telephonyProvisioningStartedAt": lambda n : setattr(self, 'telephony_provisioning_started_at', n.get_datetime_value()),
|
|
168
|
+
"telephonyReadyAt": lambda n : setattr(self, 'telephony_ready_at', n.get_datetime_value()),
|
|
169
|
+
"telephonyStatus": lambda n : setattr(self, 'telephony_status', n.get_enum_value(ActivationTelephonyStatus)),
|
|
170
|
+
"tenDlcDraft": lambda n : setattr(self, 'ten_dlc_draft', n.get_object_value(BusinessActivationState_tenDlcDraft)),
|
|
171
|
+
"tenDlcStatus": lambda n : setattr(self, 'ten_dlc_status', n.get_enum_value(TenDlcApplicationStatus)),
|
|
172
|
+
"updatedAt": lambda n : setattr(self, 'updated_at', n.get_datetime_value()),
|
|
173
|
+
"websiteNeeds": lambda n : setattr(self, 'website_needs', n.get_str_value()),
|
|
174
|
+
"websiteStatus": lambda n : setattr(self, 'website_status', n.get_enum_value(WebsiteLifecycleStatus)),
|
|
175
|
+
"websiteUrl": lambda n : setattr(self, 'website_url', n.get_str_value()),
|
|
176
|
+
}
|
|
177
|
+
return fields
|
|
178
|
+
|
|
179
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
180
|
+
"""
|
|
181
|
+
Serializes information the current object
|
|
182
|
+
param writer: Serialization writer to use to serialize this model
|
|
183
|
+
Returns: None
|
|
184
|
+
"""
|
|
185
|
+
if writer is None:
|
|
186
|
+
raise TypeError("writer cannot be null.")
|
|
187
|
+
writer.write_datetime_value("activatedAt", self.activated_at)
|
|
188
|
+
writer.write_enum_value("billingSubscriptionStatus", self.billing_subscription_status)
|
|
189
|
+
writer.write_str_value("businessDescription", self.business_description)
|
|
190
|
+
writer.write_str_value("complianceNotes", self.compliance_notes)
|
|
191
|
+
writer.write_bool_value("controlledLaunch", self.controlled_launch)
|
|
192
|
+
writer.write_datetime_value("createdAt", self.created_at)
|
|
193
|
+
writer.write_str_value("customerFacingStatus", self.customer_facing_status)
|
|
194
|
+
writer.write_datetime_value("domainApprovedAt", self.domain_approved_at)
|
|
195
|
+
writer.write_collection_of_object_values("domainOptions", self.domain_options)
|
|
196
|
+
writer.write_collection_of_object_values("events", self.events)
|
|
197
|
+
writer.write_datetime_value("failedAt", self.failed_at)
|
|
198
|
+
writer.write_str_value("industry", self.industry)
|
|
199
|
+
writer.write_datetime_value("launchApprovedAt", self.launch_approved_at)
|
|
200
|
+
writer.write_datetime_value("launchReviewRequestedAt", self.launch_review_requested_at)
|
|
201
|
+
writer.write_enum_value("launchReviewStatus", self.launch_review_status)
|
|
202
|
+
writer.write_str_value("offer", self.offer)
|
|
203
|
+
writer.write_enum_value("onboardingStatus", self.onboarding_status)
|
|
204
|
+
writer.write_datetime_value("paymentMethodConfirmedAt", self.payment_method_confirmed_at)
|
|
205
|
+
writer.write_enum_value("paymentStatus", self.payment_status)
|
|
206
|
+
writer.write_str_value("selectedDomain", self.selected_domain)
|
|
207
|
+
writer.write_str_value("serviceArea", self.service_area)
|
|
208
|
+
writer.write_enum_value("status", self.status)
|
|
209
|
+
writer.write_datetime_value("subscriptionActiveAt", self.subscription_active_at)
|
|
210
|
+
writer.write_datetime_value("subscriptionPendingAt", self.subscription_pending_at)
|
|
211
|
+
writer.write_str_value("targetAudience", self.target_audience)
|
|
212
|
+
writer.write_datetime_value("telephonyPartiallyProvisionedAt", self.telephony_partially_provisioned_at)
|
|
213
|
+
writer.write_datetime_value("telephonyProvisioningStartedAt", self.telephony_provisioning_started_at)
|
|
214
|
+
writer.write_datetime_value("telephonyReadyAt", self.telephony_ready_at)
|
|
215
|
+
writer.write_enum_value("telephonyStatus", self.telephony_status)
|
|
216
|
+
writer.write_object_value("tenDlcDraft", self.ten_dlc_draft)
|
|
217
|
+
writer.write_enum_value("tenDlcStatus", self.ten_dlc_status)
|
|
218
|
+
writer.write_datetime_value("updatedAt", self.updated_at)
|
|
219
|
+
writer.write_str_value("websiteNeeds", self.website_needs)
|
|
220
|
+
writer.write_enum_value("websiteStatus", self.website_status)
|
|
221
|
+
writer.write_str_value("websiteUrl", self.website_url)
|
|
222
|
+
writer.write_additional_data_value(self.additional_data)
|
|
223
|
+
|
|
224
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from collections.abc import Callable
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter
|
|
5
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .ten_dlc_application_draft import TenDlcApplicationDraft
|
|
9
|
+
|
|
10
|
+
from .ten_dlc_application_draft import TenDlcApplicationDraft
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class BusinessActivationState_tenDlcDraft(TenDlcApplicationDraft, Parsable):
|
|
14
|
+
"""
|
|
15
|
+
The 10DLC draft value for this business activation state.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
@staticmethod
|
|
19
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> BusinessActivationState_tenDlcDraft:
|
|
20
|
+
"""
|
|
21
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
22
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
23
|
+
Returns: BusinessActivationState_tenDlcDraft
|
|
24
|
+
"""
|
|
25
|
+
if parse_node is None:
|
|
26
|
+
raise TypeError("parse_node cannot be null.")
|
|
27
|
+
return BusinessActivationState_tenDlcDraft()
|
|
28
|
+
|
|
29
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
30
|
+
"""
|
|
31
|
+
The deserialization information for the current model
|
|
32
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
33
|
+
"""
|
|
34
|
+
from .ten_dlc_application_draft import TenDlcApplicationDraft
|
|
35
|
+
|
|
36
|
+
from .ten_dlc_application_draft import TenDlcApplicationDraft
|
|
37
|
+
|
|
38
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
39
|
+
}
|
|
40
|
+
super_fields = super().get_field_deserializers()
|
|
41
|
+
fields.update(super_fields)
|
|
42
|
+
return fields
|
|
43
|
+
|
|
44
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
45
|
+
"""
|
|
46
|
+
Serializes information the current object
|
|
47
|
+
param writer: Serialization writer to use to serialize this model
|
|
48
|
+
Returns: None
|
|
49
|
+
"""
|
|
50
|
+
if writer is None:
|
|
51
|
+
raise TypeError("writer cannot be null.")
|
|
52
|
+
super().serialize(writer)
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
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 BusinessCompliancePolicy(AdditionalDataHolder, Parsable):
|
|
9
|
+
"""
|
|
10
|
+
API DTO containing business compliance policy 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 allowed products included with this business compliance policy.
|
|
16
|
+
allowed_products: Optional[list[str]] = None
|
|
17
|
+
# The allowed states included with this business compliance policy.
|
|
18
|
+
allowed_states: Optional[list[str]] = None
|
|
19
|
+
# Whether this business compliance policy is enabled.
|
|
20
|
+
enabled: Optional[bool] = None
|
|
21
|
+
# Whether this business compliance policy requires agent license state.
|
|
22
|
+
require_agent_license_state: Optional[bool] = None
|
|
23
|
+
# Whether this business compliance policy requires lead state.
|
|
24
|
+
require_lead_state: Optional[bool] = None
|
|
25
|
+
# Whether this business compliance policy requires product.
|
|
26
|
+
require_product: Optional[bool] = None
|
|
27
|
+
# Whether this business compliance policy requires source compliance approval.
|
|
28
|
+
require_source_compliance_approval: Optional[bool] = None
|
|
29
|
+
# Whether this business compliance policy requires TrustedForm for automations.
|
|
30
|
+
require_trusted_form_for_automations: Optional[bool] = None
|
|
31
|
+
|
|
32
|
+
@staticmethod
|
|
33
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> BusinessCompliancePolicy:
|
|
34
|
+
"""
|
|
35
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
36
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
37
|
+
Returns: BusinessCompliancePolicy
|
|
38
|
+
"""
|
|
39
|
+
if parse_node is None:
|
|
40
|
+
raise TypeError("parse_node cannot be null.")
|
|
41
|
+
return BusinessCompliancePolicy()
|
|
42
|
+
|
|
43
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
44
|
+
"""
|
|
45
|
+
The deserialization information for the current model
|
|
46
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
47
|
+
"""
|
|
48
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
49
|
+
"allowedProducts": lambda n : setattr(self, 'allowed_products', n.get_collection_of_primitive_values(str)),
|
|
50
|
+
"allowedStates": lambda n : setattr(self, 'allowed_states', n.get_collection_of_primitive_values(str)),
|
|
51
|
+
"enabled": lambda n : setattr(self, 'enabled', n.get_bool_value()),
|
|
52
|
+
"requireAgentLicenseState": lambda n : setattr(self, 'require_agent_license_state', n.get_bool_value()),
|
|
53
|
+
"requireLeadState": lambda n : setattr(self, 'require_lead_state', n.get_bool_value()),
|
|
54
|
+
"requireProduct": lambda n : setattr(self, 'require_product', n.get_bool_value()),
|
|
55
|
+
"requireSourceComplianceApproval": lambda n : setattr(self, 'require_source_compliance_approval', n.get_bool_value()),
|
|
56
|
+
"requireTrustedFormForAutomations": lambda n : setattr(self, 'require_trusted_form_for_automations', n.get_bool_value()),
|
|
57
|
+
}
|
|
58
|
+
return fields
|
|
59
|
+
|
|
60
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
61
|
+
"""
|
|
62
|
+
Serializes information the current object
|
|
63
|
+
param writer: Serialization writer to use to serialize this model
|
|
64
|
+
Returns: None
|
|
65
|
+
"""
|
|
66
|
+
if writer is None:
|
|
67
|
+
raise TypeError("writer cannot be null.")
|
|
68
|
+
writer.write_collection_of_primitive_values("allowedProducts", self.allowed_products)
|
|
69
|
+
writer.write_collection_of_primitive_values("allowedStates", self.allowed_states)
|
|
70
|
+
writer.write_bool_value("enabled", self.enabled)
|
|
71
|
+
writer.write_bool_value("requireAgentLicenseState", self.require_agent_license_state)
|
|
72
|
+
writer.write_bool_value("requireLeadState", self.require_lead_state)
|
|
73
|
+
writer.write_bool_value("requireProduct", self.require_product)
|
|
74
|
+
writer.write_bool_value("requireSourceComplianceApproval", self.require_source_compliance_approval)
|
|
75
|
+
writer.write_bool_value("requireTrustedFormForAutomations", self.require_trusted_form_for_automations)
|
|
76
|
+
writer.write_additional_data_value(self.additional_data)
|
|
77
|
+
|
|
78
|
+
|
|
@@ -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 .business_user_role import BusinessUserRole
|
|
9
|
+
|
|
10
|
+
@dataclass
|
|
11
|
+
class BusinessInvitationRequest(AdditionalDataHolder, Parsable):
|
|
12
|
+
"""
|
|
13
|
+
Request payload for business invitation.
|
|
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 email address associated with this business invitation.
|
|
19
|
+
email: Optional[str] = None
|
|
20
|
+
# The role value for this business invitation.
|
|
21
|
+
role: Optional[BusinessUserRole] = None
|
|
22
|
+
|
|
23
|
+
@staticmethod
|
|
24
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> BusinessInvitationRequest:
|
|
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: BusinessInvitationRequest
|
|
29
|
+
"""
|
|
30
|
+
if parse_node is None:
|
|
31
|
+
raise TypeError("parse_node cannot be null.")
|
|
32
|
+
return BusinessInvitationRequest()
|
|
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 .business_user_role import BusinessUserRole
|
|
40
|
+
|
|
41
|
+
from .business_user_role import BusinessUserRole
|
|
42
|
+
|
|
43
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
44
|
+
"email": lambda n : setattr(self, 'email', n.get_str_value()),
|
|
45
|
+
"role": lambda n : setattr(self, 'role', n.get_enum_value(BusinessUserRole)),
|
|
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_str_value("email", self.email)
|
|
58
|
+
writer.write_enum_value("role", self.role)
|
|
59
|
+
writer.write_additional_data_value(self.additional_data)
|
|
60
|
+
|
|
61
|
+
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
import datetime
|
|
3
|
+
from collections.abc import Callable
|
|
4
|
+
from dataclasses import dataclass, field
|
|
5
|
+
from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
|
|
6
|
+
from typing import Any, Optional, TYPE_CHECKING, Union
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .business_invitation_status import BusinessInvitationStatus
|
|
10
|
+
from .business_user_role import BusinessUserRole
|
|
11
|
+
|
|
12
|
+
@dataclass
|
|
13
|
+
class BusinessInvitationResponse(AdditionalDataHolder, Parsable):
|
|
14
|
+
"""
|
|
15
|
+
API response containing business invitation data returned to callers.
|
|
16
|
+
"""
|
|
17
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
18
|
+
additional_data: dict[str, Any] = field(default_factory=dict)
|
|
19
|
+
|
|
20
|
+
# The date and time for the accepted at value on this business invitation.
|
|
21
|
+
accepted_at: Optional[datetime.datetime] = None
|
|
22
|
+
# The business ID associated with this business invitation.
|
|
23
|
+
business_id: Optional[str] = None
|
|
24
|
+
# The business name value for this business invitation.
|
|
25
|
+
business_name: Optional[str] = None
|
|
26
|
+
# The date and time for the created at value on this business invitation.
|
|
27
|
+
created_at: Optional[datetime.datetime] = None
|
|
28
|
+
# The email address associated with this business invitation.
|
|
29
|
+
email: Optional[str] = None
|
|
30
|
+
# The date and time for the expires at value on this business invitation.
|
|
31
|
+
expires_at: Optional[datetime.datetime] = None
|
|
32
|
+
# The unique ID for this business invitation.
|
|
33
|
+
id: Optional[str] = None
|
|
34
|
+
# The date and time this invitation's paid license was created.
|
|
35
|
+
license_activated_at: Optional[datetime.datetime] = None
|
|
36
|
+
# The billing status for the paid license created by this invitation.
|
|
37
|
+
license_billing_status: Optional[str] = None
|
|
38
|
+
# The date and time this invitation's paid license was released.
|
|
39
|
+
license_released_at: Optional[datetime.datetime] = None
|
|
40
|
+
# The renewal date used for proration of this license.
|
|
41
|
+
license_renewal_date: Optional[datetime.datetime] = None
|
|
42
|
+
# The date and time for the resent at value on this business invitation.
|
|
43
|
+
resent_at: Optional[datetime.datetime] = None
|
|
44
|
+
# The date and time for the revoked at value on this business invitation.
|
|
45
|
+
revoked_at: Optional[datetime.datetime] = None
|
|
46
|
+
# The role value for this business invitation.
|
|
47
|
+
role: Optional[BusinessUserRole] = None
|
|
48
|
+
# The safe message value for this business invitation.
|
|
49
|
+
safe_message: Optional[str] = None
|
|
50
|
+
# The human-readable send failure reason explaining this business invitation.
|
|
51
|
+
send_failure_reason: Optional[str] = None
|
|
52
|
+
# The date and time for the sent at value on this business invitation.
|
|
53
|
+
sent_at: Optional[datetime.datetime] = None
|
|
54
|
+
# The current status for this business invitation.
|
|
55
|
+
status: Optional[BusinessInvitationStatus] = None
|
|
56
|
+
|
|
57
|
+
@staticmethod
|
|
58
|
+
def create_from_discriminator_value(parse_node: ParseNode) -> BusinessInvitationResponse:
|
|
59
|
+
"""
|
|
60
|
+
Creates a new instance of the appropriate class based on discriminator value
|
|
61
|
+
param parse_node: The parse node to use to read the discriminator value and create the object
|
|
62
|
+
Returns: BusinessInvitationResponse
|
|
63
|
+
"""
|
|
64
|
+
if parse_node is None:
|
|
65
|
+
raise TypeError("parse_node cannot be null.")
|
|
66
|
+
return BusinessInvitationResponse()
|
|
67
|
+
|
|
68
|
+
def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
|
|
69
|
+
"""
|
|
70
|
+
The deserialization information for the current model
|
|
71
|
+
Returns: dict[str, Callable[[ParseNode], None]]
|
|
72
|
+
"""
|
|
73
|
+
from .business_invitation_status import BusinessInvitationStatus
|
|
74
|
+
from .business_user_role import BusinessUserRole
|
|
75
|
+
|
|
76
|
+
from .business_invitation_status import BusinessInvitationStatus
|
|
77
|
+
from .business_user_role import BusinessUserRole
|
|
78
|
+
|
|
79
|
+
fields: dict[str, Callable[[Any], None]] = {
|
|
80
|
+
"acceptedAt": lambda n : setattr(self, 'accepted_at', n.get_datetime_value()),
|
|
81
|
+
"businessId": lambda n : setattr(self, 'business_id', n.get_str_value()),
|
|
82
|
+
"businessName": lambda n : setattr(self, 'business_name', n.get_str_value()),
|
|
83
|
+
"createdAt": lambda n : setattr(self, 'created_at', n.get_datetime_value()),
|
|
84
|
+
"email": lambda n : setattr(self, 'email', n.get_str_value()),
|
|
85
|
+
"expiresAt": lambda n : setattr(self, 'expires_at', n.get_datetime_value()),
|
|
86
|
+
"id": lambda n : setattr(self, 'id', n.get_str_value()),
|
|
87
|
+
"licenseActivatedAt": lambda n : setattr(self, 'license_activated_at', n.get_datetime_value()),
|
|
88
|
+
"licenseBillingStatus": lambda n : setattr(self, 'license_billing_status', n.get_str_value()),
|
|
89
|
+
"licenseReleasedAt": lambda n : setattr(self, 'license_released_at', n.get_datetime_value()),
|
|
90
|
+
"licenseRenewalDate": lambda n : setattr(self, 'license_renewal_date', n.get_datetime_value()),
|
|
91
|
+
"resentAt": lambda n : setattr(self, 'resent_at', n.get_datetime_value()),
|
|
92
|
+
"revokedAt": lambda n : setattr(self, 'revoked_at', n.get_datetime_value()),
|
|
93
|
+
"role": lambda n : setattr(self, 'role', n.get_enum_value(BusinessUserRole)),
|
|
94
|
+
"safeMessage": lambda n : setattr(self, 'safe_message', n.get_str_value()),
|
|
95
|
+
"sendFailureReason": lambda n : setattr(self, 'send_failure_reason', n.get_str_value()),
|
|
96
|
+
"sentAt": lambda n : setattr(self, 'sent_at', n.get_datetime_value()),
|
|
97
|
+
"status": lambda n : setattr(self, 'status', n.get_enum_value(BusinessInvitationStatus)),
|
|
98
|
+
}
|
|
99
|
+
return fields
|
|
100
|
+
|
|
101
|
+
def serialize(self,writer: SerializationWriter) -> None:
|
|
102
|
+
"""
|
|
103
|
+
Serializes information the current object
|
|
104
|
+
param writer: Serialization writer to use to serialize this model
|
|
105
|
+
Returns: None
|
|
106
|
+
"""
|
|
107
|
+
if writer is None:
|
|
108
|
+
raise TypeError("writer cannot be null.")
|
|
109
|
+
writer.write_datetime_value("acceptedAt", self.accepted_at)
|
|
110
|
+
writer.write_str_value("businessId", self.business_id)
|
|
111
|
+
writer.write_str_value("businessName", self.business_name)
|
|
112
|
+
writer.write_datetime_value("createdAt", self.created_at)
|
|
113
|
+
writer.write_str_value("email", self.email)
|
|
114
|
+
writer.write_datetime_value("expiresAt", self.expires_at)
|
|
115
|
+
writer.write_str_value("id", self.id)
|
|
116
|
+
writer.write_datetime_value("licenseActivatedAt", self.license_activated_at)
|
|
117
|
+
writer.write_str_value("licenseBillingStatus", self.license_billing_status)
|
|
118
|
+
writer.write_datetime_value("licenseReleasedAt", self.license_released_at)
|
|
119
|
+
writer.write_datetime_value("licenseRenewalDate", self.license_renewal_date)
|
|
120
|
+
writer.write_datetime_value("resentAt", self.resent_at)
|
|
121
|
+
writer.write_datetime_value("revokedAt", self.revoked_at)
|
|
122
|
+
writer.write_enum_value("role", self.role)
|
|
123
|
+
writer.write_str_value("safeMessage", self.safe_message)
|
|
124
|
+
writer.write_str_value("sendFailureReason", self.send_failure_reason)
|
|
125
|
+
writer.write_datetime_value("sentAt", self.sent_at)
|
|
126
|
+
writer.write_enum_value("status", self.status)
|
|
127
|
+
writer.write_additional_data_value(self.additional_data)
|
|
128
|
+
|
|
129
|
+
|