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.
Files changed (479) hide show
  1. leadping/__init__.py +3 -0
  2. leadping/analytics/analytics_request_builder.py +33 -0
  3. leadping/analytics/my/my_request_builder.py +111 -0
  4. leadping/automations/all/all_request_builder.py +33 -0
  5. leadping/automations/all/my/my_request_builder.py +89 -0
  6. leadping/automations/automations_request_builder.py +124 -0
  7. leadping/automations/item/automations_item_request_builder.py +164 -0
  8. leadping/automations/preview/preview_request_builder.py +89 -0
  9. leadping/businesses/businesses_request_builder.py +43 -0
  10. leadping/businesses/invitations/accept/accept_request_builder.py +89 -0
  11. leadping/businesses/invitations/invitations_request_builder.py +43 -0
  12. leadping/businesses/invitations/token/item/with_token_item_request_builder.py +81 -0
  13. leadping/businesses/invitations/token/token_request_builder.py +38 -0
  14. leadping/businesses/me/invitations/invitations_request_builder.py +138 -0
  15. leadping/businesses/me/invitations/item/resend/resend_request_builder.py +81 -0
  16. leadping/businesses/me/invitations/item/with_invitation_item_request_builder.py +88 -0
  17. leadping/businesses/me/me_request_builder.py +167 -0
  18. leadping/businesses/me/options/options_request_builder.py +75 -0
  19. leadping/businesses/me/switch/switch_request_builder.py +89 -0
  20. leadping/businesses/me/users/item/with_user_item_request_builder.py +127 -0
  21. leadping/businesses/me/users/users_request_builder.py +139 -0
  22. leadping/contact/contact_request_builder.py +89 -0
  23. leadping/conversations/conversations_request_builder.py +43 -0
  24. leadping/conversations/lead/item/with_lead_item_request_builder.py +90 -0
  25. leadping/conversations/lead/lead_request_builder.py +38 -0
  26. leadping/conversations/my/my_request_builder.py +110 -0
  27. leadping/dispositions/dispositions_request_builder.py +115 -0
  28. leadping/dispositions/item/dispositions_item_request_builder.py +164 -0
  29. leadping/dispositions/lead/item/export/export_request_builder.py +81 -0
  30. leadping/dispositions/lead/item/with_lead_item_request_builder.py +91 -0
  31. leadping/dispositions/lead/lead_request_builder.py +38 -0
  32. leadping/events/all/all_request_builder.py +33 -0
  33. leadping/events/all/my/my_request_builder.py +97 -0
  34. leadping/events/businesses/businesses_request_builder.py +38 -0
  35. leadping/events/businesses/item/with_business_item_request_builder.py +89 -0
  36. leadping/events/calls/all/all_request_builder.py +33 -0
  37. leadping/events/calls/all/my/my_request_builder.py +89 -0
  38. leadping/events/calls/calls_request_builder.py +68 -0
  39. leadping/events/calls/item/with_call_event_item_request_builder.py +81 -0
  40. leadping/events/calls/lead/item/with_lead_item_request_builder.py +89 -0
  41. leadping/events/calls/lead/lead_request_builder.py +38 -0
  42. leadping/events/calls/phone/item/with_phone_number_item_request_builder.py +89 -0
  43. leadping/events/calls/phone/phone_request_builder.py +38 -0
  44. leadping/events/conversations/conversations_request_builder.py +38 -0
  45. leadping/events/conversations/item/notes/notes_request_builder.py +89 -0
  46. leadping/events/conversations/item/with_conversation_item_request_builder.py +99 -0
  47. leadping/events/events_request_builder.py +98 -0
  48. leadping/events/item/detail/detail_request_builder.py +81 -0
  49. leadping/events/item/with_event_item_request_builder.py +91 -0
  50. leadping/events/leads/item/with_lead_item_request_builder.py +89 -0
  51. leadping/events/leads/leads_request_builder.py +38 -0
  52. leadping/events/sms/all/all_request_builder.py +33 -0
  53. leadping/events/sms/all/my/my_request_builder.py +89 -0
  54. leadping/events/sms/item/with_sms_event_item_request_builder.py +81 -0
  55. leadping/events/sms/lead/item/with_lead_item_request_builder.py +89 -0
  56. leadping/events/sms/lead/lead_request_builder.py +38 -0
  57. leadping/events/sms/phone/item/with_phone_number_item_request_builder.py +89 -0
  58. leadping/events/sms/phone/phone_request_builder.py +38 -0
  59. leadping/events/sms/sms_request_builder.py +68 -0
  60. leadping/feedback/admin/admin_request_builder.py +143 -0
  61. leadping/feedback/admin/item/admin_item_request_builder.py +128 -0
  62. leadping/feedback/feedback_request_builder.py +99 -0
  63. leadping/leadping_open_api_client.py +253 -0
  64. leadping/leads/all/all_request_builder.py +33 -0
  65. leadping/leads/all/my/my_request_builder.py +115 -0
  66. leadping/leads/intake/intake_request_builder.py +339 -0
  67. leadping/leads/item/archive/archive_post_request_body.py +54 -0
  68. leadping/leads/item/archive/archive_request_builder.py +90 -0
  69. leadping/leads/item/leads_item_request_builder.py +205 -0
  70. leadping/leads/item/tags/item/with_tag_item_request_builder.py +81 -0
  71. leadping/leads/item/tags/tags_request_builder.py +151 -0
  72. leadping/leads/item/unarchive/unarchive_request_builder.py +81 -0
  73. leadping/leads/item/workflow_status/workflow_status_request_builder.py +81 -0
  74. leadping/leads/leads_request_builder.py +148 -0
  75. leadping/models/accept_business_invitation_request.py +62 -0
  76. leadping/models/activation_domain_option.py +70 -0
  77. leadping/models/activation_launch_review_status.py +9 -0
  78. leadping/models/activation_onboarding_status.py +7 -0
  79. leadping/models/activation_payment_status.py +7 -0
  80. leadping/models/activation_subscription_status.py +8 -0
  81. leadping/models/activation_telephony_status.py +10 -0
  82. leadping/models/activation_timeline_event.py +79 -0
  83. leadping/models/admin_enablement_override.py +60 -0
  84. leadping/models/analytics_comparison.py +55 -0
  85. leadping/models/analytics_date_range.py +56 -0
  86. leadping/models/analytics_trend_point_ofdecimal.py +60 -0
  87. leadping/models/analytics_trend_point_ofint.py +60 -0
  88. leadping/models/automation_action.py +73 -0
  89. leadping/models/automation_action_run_record.py +115 -0
  90. leadping/models/automation_action_settings.py +46 -0
  91. leadping/models/automation_condition.py +73 -0
  92. leadping/models/automation_condition_group.py +65 -0
  93. leadping/models/automation_condition_settings.py +46 -0
  94. leadping/models/automation_preview_action_result.py +66 -0
  95. leadping/models/automation_preview_condition_result.py +58 -0
  96. leadping/models/automation_preview_request.py +61 -0
  97. leadping/models/automation_preview_response.py +86 -0
  98. leadping/models/automation_preview_response_sample_payload.py +46 -0
  99. leadping/models/automation_request.py +122 -0
  100. leadping/models/automation_request_admin_enablement_override.py +51 -0
  101. leadping/models/automation_request_snapshot.py +111 -0
  102. leadping/models/automation_response.py +164 -0
  103. leadping/models/automation_response_admin_enablement_override.py +51 -0
  104. leadping/models/automation_response_business.py +54 -0
  105. leadping/models/automation_response_user.py +54 -0
  106. leadping/models/automation_run_record.py +129 -0
  107. leadping/models/automation_run_record_context_snapshot.py +46 -0
  108. leadping/models/automation_table_row.py +152 -0
  109. leadping/models/automation_table_row_admin_enablement_override.py +54 -0
  110. leadping/models/automation_table_row_business.py +54 -0
  111. leadping/models/automation_table_row_user.py +54 -0
  112. leadping/models/automation_trigger.py +73 -0
  113. leadping/models/automation_trigger_settings.py +46 -0
  114. leadping/models/automation_validation_result.py +54 -0
  115. leadping/models/automation_workflow_action_response.py +123 -0
  116. leadping/models/automation_workflow_event_response.py +87 -0
  117. leadping/models/automation_workflow_run_response.py +185 -0
  118. leadping/models/automation_workflow_status_response.py +61 -0
  119. leadping/models/billable_unit.py +16 -0
  120. leadping/models/billing_plan.py +6 -0
  121. leadping/models/business_activation_state.py +224 -0
  122. leadping/models/business_activation_state_ten_dlc_draft.py +54 -0
  123. leadping/models/business_compliance_policy.py +78 -0
  124. leadping/models/business_invitation_request.py +61 -0
  125. leadping/models/business_invitation_response.py +129 -0
  126. leadping/models/business_invitation_status.py +10 -0
  127. leadping/models/business_invitation_table_row.py +125 -0
  128. leadping/models/business_request.py +171 -0
  129. leadping/models/business_request_activation.py +54 -0
  130. leadping/models/business_request_address.py +54 -0
  131. leadping/models/business_request_admin_enablement_override.py +51 -0
  132. leadping/models/business_request_billing_plan.py +6 -0
  133. leadping/models/business_request_compliance_policy.py +54 -0
  134. leadping/models/business_request_ein_document.py +54 -0
  135. leadping/models/business_request_setup_step.py +15 -0
  136. leadping/models/business_request_status.py +7 -0
  137. leadping/models/business_request_stripe_info.py +54 -0
  138. leadping/models/business_request_subscription_status.py +8 -0
  139. leadping/models/business_response.py +198 -0
  140. leadping/models/business_response_activation.py +54 -0
  141. leadping/models/business_response_address.py +54 -0
  142. leadping/models/business_response_admin_enablement_override.py +51 -0
  143. leadping/models/business_response_billing_plan.py +6 -0
  144. leadping/models/business_response_compliance_policy.py +54 -0
  145. leadping/models/business_response_ein_document.py +54 -0
  146. leadping/models/business_response_setup_step.py +15 -0
  147. leadping/models/business_response_site.py +54 -0
  148. leadping/models/business_response_status.py +7 -0
  149. leadping/models/business_response_stripe_info.py +54 -0
  150. leadping/models/business_response_subscription_status.py +8 -0
  151. leadping/models/business_response_user.py +54 -0
  152. leadping/models/business_stripe_info.py +109 -0
  153. leadping/models/business_stripe_info_cancellation.py +54 -0
  154. leadping/models/business_stripe_info_dunning.py +54 -0
  155. leadping/models/business_switch_option.py +100 -0
  156. leadping/models/business_switch_option_activation_status.py +24 -0
  157. leadping/models/business_switch_option_business_status.py +7 -0
  158. leadping/models/business_switch_request.py +50 -0
  159. leadping/models/business_user_request.py +65 -0
  160. leadping/models/business_user_response.py +121 -0
  161. leadping/models/business_user_role.py +7 -0
  162. leadping/models/business_user_table_row.py +86 -0
  163. leadping/models/call_event_table_row.py +149 -0
  164. leadping/models/call_event_table_row_metadata.py +46 -0
  165. leadping/models/call_event_table_row_status.py +24 -0
  166. leadping/models/change_billing_plan_request.py +61 -0
  167. leadping/models/compliance_update_request.py +61 -0
  168. leadping/models/compliance_update_request_compliance.py +54 -0
  169. leadping/models/contact_request.py +62 -0
  170. leadping/models/contact_response.py +50 -0
  171. leadping/models/conversation_response.py +132 -0
  172. leadping/models/conversation_response_current_disposition.py +54 -0
  173. leadping/models/conversation_response_phone_number.py +54 -0
  174. leadping/models/conversation_response_status.py +8 -0
  175. leadping/models/coordinate.py +54 -0
  176. leadping/models/create_note_request.py +50 -0
  177. leadping/models/current_disposition_summary.py +89 -0
  178. leadping/models/current_disposition_summary_category.py +10 -0
  179. leadping/models/current_disposition_summary_source.py +9 -0
  180. leadping/models/customer_activation_health.py +58 -0
  181. leadping/models/customer_activation_health_item.py +63 -0
  182. leadping/models/customer_activation_status.py +24 -0
  183. leadping/models/customer_analytics_response.py +115 -0
  184. leadping/models/customer_analytics_summary.py +110 -0
  185. leadping/models/customer_automation_health.py +81 -0
  186. leadping/models/customer_automation_health_last_failure.py +51 -0
  187. leadping/models/customer_communication_usage.py +90 -0
  188. leadping/models/customer_communication_usage_point.py +76 -0
  189. leadping/models/customer_failing_automation.py +60 -0
  190. leadping/models/customer_lead_source_breakdown.py +55 -0
  191. leadping/models/customer_lead_trend.py +65 -0
  192. leadping/models/customer_needs_attention_item.py +63 -0
  193. leadping/models/customer_response_metrics.py +74 -0
  194. leadping/models/disposition_export_response.py +69 -0
  195. leadping/models/disposition_export_row.py +161 -0
  196. leadping/models/disposition_export_row_category.py +10 -0
  197. leadping/models/disposition_export_row_change_source.py +9 -0
  198. leadping/models/disposition_request.py +133 -0
  199. leadping/models/disposition_request_category.py +10 -0
  200. leadping/models/disposition_request_change_source.py +9 -0
  201. leadping/models/disposition_response.py +169 -0
  202. leadping/models/disposition_response_category.py +10 -0
  203. leadping/models/disposition_response_change_source.py +9 -0
  204. leadping/models/eligible_outgoing_number_response.py +112 -0
  205. leadping/models/eligible_outgoing_number_response_health_status.py +11 -0
  206. leadping/models/event_detail_response.py +188 -0
  207. leadping/models/event_detail_response_status.py +9 -0
  208. leadping/models/event_detail_response_timeline_type.py +16 -0
  209. leadping/models/event_detail_response_user.py +54 -0
  210. leadping/models/event_table_row.py +247 -0
  211. leadping/models/event_table_row_selection_reason.py +12 -0
  212. leadping/models/event_table_row_status.py +25 -0
  213. leadping/models/event_table_row_traffic_type.py +9 -0
  214. leadping/models/event_timeline_type.py +16 -0
  215. leadping/models/exact_match_filter.py +50 -0
  216. leadping/models/feedback_admin_update_request.py +80 -0
  217. leadping/models/feedback_admin_update_request_status.py +11 -0
  218. leadping/models/feedback_admin_update_request_type.py +9 -0
  219. leadping/models/feedback_create_request.py +77 -0
  220. leadping/models/feedback_create_request_type.py +9 -0
  221. leadping/models/feedback_response.py +157 -0
  222. leadping/models/feedback_status.py +11 -0
  223. leadping/models/feedback_type.py +9 -0
  224. leadping/models/id_name_pair.py +54 -0
  225. leadping/models/id_name_value.py +58 -0
  226. leadping/models/internal_phone_number_status.py +11 -0
  227. leadping/models/lead_archive_request.py +54 -0
  228. leadping/models/lead_contact.py +87 -0
  229. leadping/models/lead_contact_coordinate.py +54 -0
  230. leadping/models/lead_contact_phone.py +54 -0
  231. leadping/models/lead_contact_street_address.py +54 -0
  232. leadping/models/lead_intake_request.py +178 -0
  233. leadping/models/lead_intake_request_source_metadata.py +46 -0
  234. leadping/models/lead_metadata.py +182 -0
  235. leadping/models/lead_metadata_source_metadata.py +46 -0
  236. leadping/models/lead_profile.py +88 -0
  237. leadping/models/lead_profile_employment_type.py +15 -0
  238. leadping/models/lead_profile_gender.py +9 -0
  239. leadping/models/lead_profile_marital_status.py +9 -0
  240. leadping/models/lead_request.py +94 -0
  241. leadping/models/lead_request_admin_enablement_override.py +51 -0
  242. leadping/models/lead_response.py +129 -0
  243. leadping/models/lead_response_admin_enablement_override.py +51 -0
  244. leadping/models/lead_response_current_disposition.py +54 -0
  245. leadping/models/lead_table_row.py +140 -0
  246. leadping/models/lead_table_row_admin_enablement_override.py +54 -0
  247. leadping/models/lead_table_row_current_disposition.py +54 -0
  248. leadping/models/lead_tags_request.py +58 -0
  249. leadping/models/mobile_device_preferences.py +63 -0
  250. leadping/models/notification_priority.py +8 -0
  251. leadping/models/notification_table_row.py +113 -0
  252. leadping/models/notification_type.py +16 -0
  253. leadping/models/order_by_option.py +61 -0
  254. leadping/models/order_by_option_direction.py +6 -0
  255. leadping/models/outbound_capacity_overview.py +89 -0
  256. leadping/models/outbound_delivery_channel.py +9 -0
  257. leadping/models/outbound_delivery_source.py +12 -0
  258. leadping/models/outbound_delivery_status.py +13 -0
  259. leadping/models/outbound_phone_number_capacity.py +70 -0
  260. leadping/models/outbound_queue_item.py +92 -0
  261. leadping/models/outbound_queue_item_reason_code.py +27 -0
  262. leadping/models/outgoing_number_manual_override_request.py +61 -0
  263. leadping/models/outgoing_number_selection_reason.py +12 -0
  264. leadping/models/outgoing_number_selection_request.py +81 -0
  265. leadping/models/outgoing_number_selection_request_channel.py +6 -0
  266. leadping/models/outgoing_number_selection_response.py +115 -0
  267. leadping/models/outgoing_number_selection_response_health_status.py +11 -0
  268. leadping/models/outgoing_number_selection_response_selection_reason.py +12 -0
  269. leadping/models/paged_result_of_automation_table_row.py +65 -0
  270. leadping/models/paged_result_of_call_event_table_row.py +65 -0
  271. leadping/models/paged_result_of_conversation_response.py +65 -0
  272. leadping/models/paged_result_of_event_table_row.py +65 -0
  273. leadping/models/paged_result_of_feedback_response.py +65 -0
  274. leadping/models/paged_result_of_lead_table_row.py +65 -0
  275. leadping/models/paged_result_of_notification_table_row.py +65 -0
  276. leadping/models/paged_result_of_phone_number_table_row.py +65 -0
  277. leadping/models/paged_result_of_sms_event_table_row.py +65 -0
  278. leadping/models/paged_result_of_source_table_row.py +65 -0
  279. leadping/models/paged_result_of_transaction_table_row.py +65 -0
  280. leadping/models/paged_result_of_usage_ledger_table_row.py +65 -0
  281. leadping/models/phone.py +65 -0
  282. leadping/models/phone_lookup.py +92 -0
  283. leadping/models/phone_lookup_carrier_type.py +16 -0
  284. leadping/models/phone_lookup_line_type.py +10 -0
  285. leadping/models/phone_lookup_location.py +54 -0
  286. leadping/models/phone_number_availability_request.py +50 -0
  287. leadping/models/phone_number_availability_response.py +69 -0
  288. leadping/models/phone_number_availability_response_location.py +54 -0
  289. leadping/models/phone_number_billing_attribution.py +70 -0
  290. leadping/models/phone_number_capabilities.py +62 -0
  291. leadping/models/phone_number_event_record.py +86 -0
  292. leadping/models/phone_number_event_record_state.py +16 -0
  293. leadping/models/phone_number_inventory_state.py +16 -0
  294. leadping/models/phone_number_location.py +73 -0
  295. leadping/models/phone_number_location_coordinate.py +54 -0
  296. leadping/models/phone_number_messaging_event_response.py +87 -0
  297. leadping/models/phone_number_opt_out_metrics_response.py +67 -0
  298. leadping/models/phone_number_outbound_health_status.py +12 -0
  299. leadping/models/phone_number_provider_lifecycle_state.py +13 -0
  300. leadping/models/phone_number_request.py +77 -0
  301. leadping/models/phone_number_request_admin_enablement_override.py +51 -0
  302. leadping/models/phone_number_response.py +316 -0
  303. leadping/models/phone_number_response_admin_enablement_override.py +51 -0
  304. leadping/models/phone_number_response_business.py +54 -0
  305. leadping/models/phone_number_response_call_warmup_stage.py +9 -0
  306. leadping/models/phone_number_response_call_warmup_state.py +11 -0
  307. leadping/models/phone_number_response_health_status.py +11 -0
  308. leadping/models/phone_number_response_location.py +54 -0
  309. leadping/models/phone_number_response_user.py +54 -0
  310. leadping/models/phone_number_response_warmup_state.py +11 -0
  311. leadping/models/phone_number_routing_metadata.py +82 -0
  312. leadping/models/phone_number_search_request.py +61 -0
  313. leadping/models/phone_number_search_request_location.py +54 -0
  314. leadping/models/phone_number_search_response.py +57 -0
  315. leadping/models/phone_number_search_result.py +61 -0
  316. leadping/models/phone_number_search_result_location.py +54 -0
  317. leadping/models/phone_number_status_response.py +105 -0
  318. leadping/models/phone_number_status_response_call_warmup.py +54 -0
  319. leadping/models/phone_number_status_response_sms_warmup.py +54 -0
  320. leadping/models/phone_number_table_row.py +184 -0
  321. leadping/models/phone_number_table_row_admin_enablement_override.py +54 -0
  322. leadping/models/phone_number_table_row_health_status.py +11 -0
  323. leadping/models/phone_number_table_row_warmup_state.py +11 -0
  324. leadping/models/phone_number_ten_dlc_association.py +79 -0
  325. leadping/models/phone_number_traffic_metrics_response.py +71 -0
  326. leadping/models/phone_number_warmup_call_response.py +98 -0
  327. leadping/models/phone_number_warmup_call_status.py +15 -0
  328. leadping/models/phone_number_warmup_health_status.py +11 -0
  329. leadping/models/phone_number_warmup_stage.py +9 -0
  330. leadping/models/phone_number_warmup_status_response.py +156 -0
  331. leadping/models/problem_details.py +66 -0
  332. leadping/models/range_filter.py +50 -0
  333. leadping/models/request_data_options.py +91 -0
  334. leadping/models/send_sms_request.py +136 -0
  335. leadping/models/send_sms_request_outbound_priority.py +13 -0
  336. leadping/models/send_sms_request_outbound_source.py +12 -0
  337. leadping/models/send_sms_request_selection_reason.py +12 -0
  338. leadping/models/sms_event_table_row.py +232 -0
  339. leadping/models/sms_event_table_row_outbound_source.py +12 -0
  340. leadping/models/sms_event_table_row_status.py +18 -0
  341. leadping/models/sms_event_table_row_traffic_type.py +9 -0
  342. leadping/models/sms_response.py +212 -0
  343. leadping/models/sms_response_selection_reason.py +12 -0
  344. leadping/models/sms_response_status.py +18 -0
  345. leadping/models/sms_response_traffic_type.py +9 -0
  346. leadping/models/sms_warmup_action_response.py +97 -0
  347. leadping/models/sms_warmup_action_status.py +14 -0
  348. leadping/models/sms_warmup_action_type.py +8 -0
  349. leadping/models/sms_warmup_health_state.py +11 -0
  350. leadping/models/sms_warmup_status_response.py +176 -0
  351. leadping/models/sms_warmup_ui_state.py +65 -0
  352. leadping/models/source_metrics_response.py +70 -0
  353. leadping/models/source_request.py +109 -0
  354. leadping/models/source_request_admin_enablement_override.py +51 -0
  355. leadping/models/source_response.py +157 -0
  356. leadping/models/source_response_admin_enablement_override.py +51 -0
  357. leadping/models/source_response_business.py +54 -0
  358. leadping/models/source_response_created_by_user.py +54 -0
  359. leadping/models/source_response_modified_by_user.py +54 -0
  360. leadping/models/source_response_user.py +54 -0
  361. leadping/models/source_table_row.py +165 -0
  362. leadping/models/source_table_row_admin_enablement_override.py +54 -0
  363. leadping/models/source_table_row_business.py +54 -0
  364. leadping/models/source_table_row_created_by_user.py +54 -0
  365. leadping/models/source_table_row_modified_by_user.py +54 -0
  366. leadping/models/source_table_row_user.py +54 -0
  367. leadping/models/street_address.py +82 -0
  368. leadping/models/stripe_payment_method_response.py +75 -0
  369. leadping/models/tag_request.py +62 -0
  370. leadping/models/tag_response.py +91 -0
  371. leadping/models/tag_summary.py +62 -0
  372. leadping/models/ten_dlc_application_draft.py +131 -0
  373. leadping/models/ten_dlc_application_status.py +15 -0
  374. leadping/models/transaction_response.py +148 -0
  375. leadping/models/transaction_response_metadata.py +46 -0
  376. leadping/models/transaction_status.py +7 -0
  377. leadping/models/transaction_table_row.py +117 -0
  378. leadping/models/transaction_type.py +7 -0
  379. leadping/models/trusted_form_certificate.py +63 -0
  380. leadping/models/usage_channel.py +15 -0
  381. leadping/models/usage_counter_line.py +70 -0
  382. leadping/models/usage_ledger_table_row.py +148 -0
  383. leadping/models/usage_record_status.py +13 -0
  384. leadping/models/usage_summary_line.py +91 -0
  385. leadping/models/usage_summary_response.py +109 -0
  386. leadping/models/user_compliance.py +85 -0
  387. leadping/models/user_data_export_file.py +59 -0
  388. leadping/models/user_data_export_response.py +110 -0
  389. leadping/models/user_data_export_statuses.py +9 -0
  390. leadping/models/user_dunning_info.py +91 -0
  391. leadping/models/user_identity.py +58 -0
  392. leadping/models/user_notification_preferences.py +98 -0
  393. leadping/models/user_request.py +123 -0
  394. leadping/models/user_request_billing_plan.py +6 -0
  395. leadping/models/user_request_business.py +54 -0
  396. leadping/models/user_request_compliance.py +54 -0
  397. leadping/models/user_request_current_business.py +54 -0
  398. leadping/models/user_request_notification_preferences.py +54 -0
  399. leadping/models/user_request_subscription_status.py +8 -0
  400. leadping/models/user_response.py +166 -0
  401. leadping/models/user_response_billing_plan.py +6 -0
  402. leadping/models/user_response_business.py +54 -0
  403. leadping/models/user_response_compliance.py +54 -0
  404. leadping/models/user_response_current_business.py +54 -0
  405. leadping/models/user_response_notification_preferences.py +54 -0
  406. leadping/models/user_response_stripe_info.py +54 -0
  407. leadping/models/user_response_subscription_status.py +8 -0
  408. leadping/models/user_stripe_info.py +109 -0
  409. leadping/models/user_stripe_info_cancellation.py +54 -0
  410. leadping/models/user_stripe_info_dunning.py +54 -0
  411. leadping/models/user_subscription_cancellation_info.py +83 -0
  412. leadping/models/wallet_response.py +121 -0
  413. leadping/models/wallet_response_credit_status.py +10 -0
  414. leadping/models/wallet_response_source_type.py +11 -0
  415. leadping/models/website_lifecycle_status.py +16 -0
  416. leadping/notifications/announcements/announcements_request_builder.py +90 -0
  417. leadping/notifications/item/mark_read/mark_read_request_builder.py +80 -0
  418. leadping/notifications/item/notifications_item_request_builder.py +33 -0
  419. leadping/notifications/mark_all_read/mark_all_read_request_builder.py +79 -0
  420. leadping/notifications/me/me_request_builder.py +90 -0
  421. leadping/notifications/notifications_request_builder.py +78 -0
  422. leadping/notifications/unread_count/unread_count_request_builder.py +79 -0
  423. leadping/outbound/outbound_request_builder.py +33 -0
  424. leadping/outbound/overview/overview_request_builder.py +75 -0
  425. leadping/payment_methods/item/payment_methods_item_request_builder.py +119 -0
  426. leadping/payment_methods/payment_methods_request_builder.py +38 -0
  427. leadping/phone_numbers/all/all_request_builder.py +33 -0
  428. leadping/phone_numbers/all/my/my_request_builder.py +89 -0
  429. leadping/phone_numbers/is_available_for_purchase/is_available_for_purchase_request_builder.py +90 -0
  430. leadping/phone_numbers/item/phone_number_item_request_builder.py +187 -0
  431. leadping/phone_numbers/item/status/status_request_builder.py +114 -0
  432. leadping/phone_numbers/item/warmup/warmup_request_builder.py +113 -0
  433. leadping/phone_numbers/outgoing/conversation/conversation_request_builder.py +38 -0
  434. leadping/phone_numbers/outgoing/conversation/item/override/override_request_builder.py +127 -0
  435. leadping/phone_numbers/outgoing/conversation/item/with_conversation_item_request_builder.py +99 -0
  436. leadping/phone_numbers/outgoing/manual_override/manual_override_request_builder.py +89 -0
  437. leadping/phone_numbers/outgoing/new/new_request_builder.py +89 -0
  438. leadping/phone_numbers/outgoing/outgoing_request_builder.py +53 -0
  439. leadping/phone_numbers/phone_numbers_request_builder.py +145 -0
  440. leadping/phone_numbers/search/search_request_builder.py +90 -0
  441. leadping/reports/exports/exports_request_builder.py +48 -0
  442. leadping/reports/exports/item/download/download_request_builder.py +88 -0
  443. leadping/reports/exports/item/with_export_item_request_builder.py +85 -0
  444. leadping/reports/exports/my/my_request_builder.py +75 -0
  445. leadping/reports/reports_request_builder.py +33 -0
  446. leadping/sms/item/cancel/cancel_request_builder.py +82 -0
  447. leadping/sms/item/with_sms_event_item_request_builder.py +33 -0
  448. leadping/sms/send/send_request_builder.py +90 -0
  449. leadping/sms/sms_request_builder.py +48 -0
  450. leadping/sources/all/all_request_builder.py +33 -0
  451. leadping/sources/all/my/my_request_builder.py +83 -0
  452. leadping/sources/item/metrics/metrics_request_builder.py +113 -0
  453. leadping/sources/item/sources_item_request_builder.py +173 -0
  454. leadping/sources/sources_request_builder.py +114 -0
  455. leadping/tags/item/tags_item_request_builder.py +126 -0
  456. leadping/tags/tags_request_builder.py +157 -0
  457. leadping/transactions/all/all_request_builder.py +33 -0
  458. leadping/transactions/all/my/my_request_builder.py +83 -0
  459. leadping/transactions/item/transactions_item_request_builder.py +82 -0
  460. leadping/transactions/transactions_request_builder.py +48 -0
  461. leadping/usage/all/all_request_builder.py +33 -0
  462. leadping/usage/all/my/my_request_builder.py +83 -0
  463. leadping/usage/summary/my/my_request_builder.py +102 -0
  464. leadping/usage/summary/summary_request_builder.py +33 -0
  465. leadping/usage/usage_request_builder.py +43 -0
  466. leadping/users/change_billing_plan/change_billing_plan_request_builder.py +90 -0
  467. leadping/users/compliance/compliance_request_builder.py +89 -0
  468. leadping/users/me/last_login/last_login_request_builder.py +81 -0
  469. leadping/users/me/me_request_builder.py +147 -0
  470. leadping/users/me/paymentmethod/paymentmethod_request_builder.py +81 -0
  471. leadping/users/users_request_builder.py +53 -0
  472. leadping/wallets/item/wallets_item_request_builder.py +82 -0
  473. leadping/wallets/me/me_request_builder.py +82 -0
  474. leadping/wallets/wallets_request_builder.py +48 -0
  475. leadping-1.0.0.dist-info/METADATA +69 -0
  476. leadping-1.0.0.dist-info/RECORD +479 -0
  477. leadping-1.0.0.dist-info/WHEEL +5 -0
  478. leadping-1.0.0.dist-info/licenses/LICENSE +5 -0
  479. leadping-1.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,60 @@
1
+ from __future__ import annotations
2
+ import datetime
3
+ from collections.abc import Callable
4
+ from dataclasses import dataclass, field
5
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
6
+ from typing import Any, Optional, TYPE_CHECKING, Union
7
+
8
+ @dataclass
9
+ class AnalyticsTrendPointOfint(AdditionalDataHolder, Parsable):
10
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
11
+ additional_data: dict[str, Any] = field(default_factory=dict)
12
+
13
+ # The endAt property
14
+ end_at: Optional[datetime.datetime] = None
15
+ # The label property
16
+ label: Optional[str] = None
17
+ # The startAt property
18
+ start_at: Optional[datetime.datetime] = None
19
+ # The value property
20
+ value: Optional[int] = None
21
+
22
+ @staticmethod
23
+ def create_from_discriminator_value(parse_node: ParseNode) -> AnalyticsTrendPointOfint:
24
+ """
25
+ Creates a new instance of the appropriate class based on discriminator value
26
+ param parse_node: The parse node to use to read the discriminator value and create the object
27
+ Returns: AnalyticsTrendPointOfint
28
+ """
29
+ if parse_node is None:
30
+ raise TypeError("parse_node cannot be null.")
31
+ return AnalyticsTrendPointOfint()
32
+
33
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
34
+ """
35
+ The deserialization information for the current model
36
+ Returns: dict[str, Callable[[ParseNode], None]]
37
+ """
38
+ fields: dict[str, Callable[[Any], None]] = {
39
+ "endAt": lambda n : setattr(self, 'end_at', n.get_datetime_value()),
40
+ "label": lambda n : setattr(self, 'label', n.get_str_value()),
41
+ "startAt": lambda n : setattr(self, 'start_at', n.get_datetime_value()),
42
+ "value": lambda n : setattr(self, 'value', n.get_int_value()),
43
+ }
44
+ return fields
45
+
46
+ def serialize(self,writer: SerializationWriter) -> None:
47
+ """
48
+ Serializes information the current object
49
+ param writer: Serialization writer to use to serialize this model
50
+ Returns: None
51
+ """
52
+ if writer is None:
53
+ raise TypeError("writer cannot be null.")
54
+ writer.write_datetime_value("endAt", self.end_at)
55
+ writer.write_str_value("label", self.label)
56
+ writer.write_datetime_value("startAt", self.start_at)
57
+ writer.write_int_value("value", self.value)
58
+ writer.write_additional_data_value(self.additional_data)
59
+
60
+
@@ -0,0 +1,73 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .automation_action_settings import AutomationAction_settings
9
+
10
+ @dataclass
11
+ class AutomationAction(AdditionalDataHolder, Parsable):
12
+ """
13
+ API DTO containing automation action data used by Leadping API contracts.
14
+ """
15
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
16
+ additional_data: dict[str, Any] = field(default_factory=dict)
17
+
18
+ # The unique ID for this automation action.
19
+ id: Optional[str] = None
20
+ # Whether this automation action is enabled.
21
+ is_enabled: Optional[bool] = None
22
+ # The order value for this automation action.
23
+ order: Optional[int] = None
24
+ # The settings key-value data carried with this automation action; values must be safe to expose in API responses.
25
+ settings: Optional[AutomationAction_settings] = None
26
+ # The type classification for this automation action.
27
+ type: Optional[str] = None
28
+
29
+ @staticmethod
30
+ def create_from_discriminator_value(parse_node: ParseNode) -> AutomationAction:
31
+ """
32
+ Creates a new instance of the appropriate class based on discriminator value
33
+ param parse_node: The parse node to use to read the discriminator value and create the object
34
+ Returns: AutomationAction
35
+ """
36
+ if parse_node is None:
37
+ raise TypeError("parse_node cannot be null.")
38
+ return AutomationAction()
39
+
40
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
41
+ """
42
+ The deserialization information for the current model
43
+ Returns: dict[str, Callable[[ParseNode], None]]
44
+ """
45
+ from .automation_action_settings import AutomationAction_settings
46
+
47
+ from .automation_action_settings import AutomationAction_settings
48
+
49
+ fields: dict[str, Callable[[Any], None]] = {
50
+ "id": lambda n : setattr(self, 'id', n.get_str_value()),
51
+ "isEnabled": lambda n : setattr(self, 'is_enabled', n.get_bool_value()),
52
+ "order": lambda n : setattr(self, 'order', n.get_int_value()),
53
+ "settings": lambda n : setattr(self, 'settings', n.get_object_value(AutomationAction_settings)),
54
+ "type": lambda n : setattr(self, 'type', n.get_str_value()),
55
+ }
56
+ return fields
57
+
58
+ def serialize(self,writer: SerializationWriter) -> None:
59
+ """
60
+ Serializes information the current object
61
+ param writer: Serialization writer to use to serialize this model
62
+ Returns: None
63
+ """
64
+ if writer is None:
65
+ raise TypeError("writer cannot be null.")
66
+ writer.write_str_value("id", self.id)
67
+ writer.write_bool_value("isEnabled", self.is_enabled)
68
+ writer.write_int_value("order", self.order)
69
+ writer.write_object_value("settings", self.settings)
70
+ writer.write_str_value("type", self.type)
71
+ writer.write_additional_data_value(self.additional_data)
72
+
73
+
@@ -0,0 +1,115 @@
1
+ from __future__ import annotations
2
+ import datetime
3
+ from collections.abc import Callable
4
+ from dataclasses import dataclass, field
5
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
6
+ from typing import Any, Optional, TYPE_CHECKING, Union
7
+
8
+ @dataclass
9
+ class AutomationActionRunRecord(AdditionalDataHolder, Parsable):
10
+ """
11
+ API DTO containing automation action run record data used by Leadping API contracts.
12
+ """
13
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
14
+ additional_data: dict[str, Any] = field(default_factory=dict)
15
+
16
+ # The action ID associated with this automation action run record.
17
+ action_id: Optional[str] = None
18
+ # The action type classification for this automation action run record.
19
+ action_type: Optional[str] = None
20
+ # The automation run ID associated with this automation action run record.
21
+ automation_run_id: Optional[str] = None
22
+ # The date and time for the completed at value on this automation action run record.
23
+ completed_at: Optional[datetime.datetime] = None
24
+ # The connection key value for this automation action run record.
25
+ connection_key: Optional[str] = None
26
+ # The error value for this automation action run record.
27
+ error: Optional[str] = None
28
+ # The execution key value for this automation action run record.
29
+ execution_key: Optional[str] = None
30
+ # The date and time when this action failed.
31
+ failed_at: Optional[datetime.datetime] = None
32
+ # The failure code value for this automation action run record.
33
+ failure_code: Optional[str] = None
34
+ # The unique ID for this automation action run record.
35
+ id: Optional[str] = None
36
+ # The date and time when this action will retry, if retrying is scheduled.
37
+ next_retry_at: Optional[datetime.datetime] = None
38
+ # The order value for this automation action run record.
39
+ order: Optional[int] = None
40
+ # The output value for this automation action run record.
41
+ output: Optional[str] = None
42
+ # The processing attempts value for this automation action run record.
43
+ processing_attempts: Optional[int] = None
44
+ # The date and time when this action was scheduled to run, if it is delayed.
45
+ scheduled_at: Optional[datetime.datetime] = None
46
+ # The date and time for the started at value on this automation action run record.
47
+ started_at: Optional[datetime.datetime] = None
48
+ # The current status for this automation action run record.
49
+ status: Optional[str] = None
50
+
51
+ @staticmethod
52
+ def create_from_discriminator_value(parse_node: ParseNode) -> AutomationActionRunRecord:
53
+ """
54
+ Creates a new instance of the appropriate class based on discriminator value
55
+ param parse_node: The parse node to use to read the discriminator value and create the object
56
+ Returns: AutomationActionRunRecord
57
+ """
58
+ if parse_node is None:
59
+ raise TypeError("parse_node cannot be null.")
60
+ return AutomationActionRunRecord()
61
+
62
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
63
+ """
64
+ The deserialization information for the current model
65
+ Returns: dict[str, Callable[[ParseNode], None]]
66
+ """
67
+ fields: dict[str, Callable[[Any], None]] = {
68
+ "actionId": lambda n : setattr(self, 'action_id', n.get_str_value()),
69
+ "actionType": lambda n : setattr(self, 'action_type', n.get_str_value()),
70
+ "automationRunId": lambda n : setattr(self, 'automation_run_id', n.get_str_value()),
71
+ "completedAt": lambda n : setattr(self, 'completed_at', n.get_datetime_value()),
72
+ "connectionKey": lambda n : setattr(self, 'connection_key', n.get_str_value()),
73
+ "error": lambda n : setattr(self, 'error', n.get_str_value()),
74
+ "executionKey": lambda n : setattr(self, 'execution_key', n.get_str_value()),
75
+ "failedAt": lambda n : setattr(self, 'failed_at', n.get_datetime_value()),
76
+ "failureCode": lambda n : setattr(self, 'failure_code', n.get_str_value()),
77
+ "id": lambda n : setattr(self, 'id', n.get_str_value()),
78
+ "nextRetryAt": lambda n : setattr(self, 'next_retry_at', n.get_datetime_value()),
79
+ "order": lambda n : setattr(self, 'order', n.get_int_value()),
80
+ "output": lambda n : setattr(self, 'output', n.get_str_value()),
81
+ "processingAttempts": lambda n : setattr(self, 'processing_attempts', n.get_int_value()),
82
+ "scheduledAt": lambda n : setattr(self, 'scheduled_at', n.get_datetime_value()),
83
+ "startedAt": lambda n : setattr(self, 'started_at', n.get_datetime_value()),
84
+ "status": lambda n : setattr(self, 'status', n.get_str_value()),
85
+ }
86
+ return fields
87
+
88
+ def serialize(self,writer: SerializationWriter) -> None:
89
+ """
90
+ Serializes information the current object
91
+ param writer: Serialization writer to use to serialize this model
92
+ Returns: None
93
+ """
94
+ if writer is None:
95
+ raise TypeError("writer cannot be null.")
96
+ writer.write_str_value("actionId", self.action_id)
97
+ writer.write_str_value("actionType", self.action_type)
98
+ writer.write_str_value("automationRunId", self.automation_run_id)
99
+ writer.write_datetime_value("completedAt", self.completed_at)
100
+ writer.write_str_value("connectionKey", self.connection_key)
101
+ writer.write_str_value("error", self.error)
102
+ writer.write_str_value("executionKey", self.execution_key)
103
+ writer.write_datetime_value("failedAt", self.failed_at)
104
+ writer.write_str_value("failureCode", self.failure_code)
105
+ writer.write_str_value("id", self.id)
106
+ writer.write_datetime_value("nextRetryAt", self.next_retry_at)
107
+ writer.write_int_value("order", self.order)
108
+ writer.write_str_value("output", self.output)
109
+ writer.write_int_value("processingAttempts", self.processing_attempts)
110
+ writer.write_datetime_value("scheduledAt", self.scheduled_at)
111
+ writer.write_datetime_value("startedAt", self.started_at)
112
+ writer.write_str_value("status", self.status)
113
+ writer.write_additional_data_value(self.additional_data)
114
+
115
+
@@ -0,0 +1,46 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ @dataclass
8
+ class AutomationAction_settings(AdditionalDataHolder, Parsable):
9
+ """
10
+ The settings key-value data carried with this automation action; values must be safe to expose in API responses.
11
+ """
12
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
13
+ additional_data: dict[str, Any] = field(default_factory=dict)
14
+
15
+
16
+ @staticmethod
17
+ def create_from_discriminator_value(parse_node: ParseNode) -> AutomationAction_settings:
18
+ """
19
+ Creates a new instance of the appropriate class based on discriminator value
20
+ param parse_node: The parse node to use to read the discriminator value and create the object
21
+ Returns: AutomationAction_settings
22
+ """
23
+ if parse_node is None:
24
+ raise TypeError("parse_node cannot be null.")
25
+ return AutomationAction_settings()
26
+
27
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
28
+ """
29
+ The deserialization information for the current model
30
+ Returns: dict[str, Callable[[ParseNode], None]]
31
+ """
32
+ fields: dict[str, Callable[[Any], None]] = {
33
+ }
34
+ return fields
35
+
36
+ def serialize(self,writer: SerializationWriter) -> None:
37
+ """
38
+ Serializes information the current object
39
+ param writer: Serialization writer to use to serialize this model
40
+ Returns: None
41
+ """
42
+ if writer is None:
43
+ raise TypeError("writer cannot be null.")
44
+ writer.write_additional_data_value(self.additional_data)
45
+
46
+
@@ -0,0 +1,73 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .automation_condition_settings import AutomationCondition_settings
9
+
10
+ @dataclass
11
+ class AutomationCondition(AdditionalDataHolder, Parsable):
12
+ """
13
+ API DTO containing automation condition data used by Leadping API contracts.
14
+ """
15
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
16
+ additional_data: dict[str, Any] = field(default_factory=dict)
17
+
18
+ # The unique ID for this automation condition.
19
+ id: Optional[str] = None
20
+ # Whether this automation condition is enabled.
21
+ is_enabled: Optional[bool] = None
22
+ # The operator value for this automation condition.
23
+ operator: Optional[str] = None
24
+ # The settings key-value data carried with this automation condition; values must be safe to expose in API responses.
25
+ settings: Optional[AutomationCondition_settings] = None
26
+ # The type classification for this automation condition.
27
+ type: Optional[str] = None
28
+
29
+ @staticmethod
30
+ def create_from_discriminator_value(parse_node: ParseNode) -> AutomationCondition:
31
+ """
32
+ Creates a new instance of the appropriate class based on discriminator value
33
+ param parse_node: The parse node to use to read the discriminator value and create the object
34
+ Returns: AutomationCondition
35
+ """
36
+ if parse_node is None:
37
+ raise TypeError("parse_node cannot be null.")
38
+ return AutomationCondition()
39
+
40
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
41
+ """
42
+ The deserialization information for the current model
43
+ Returns: dict[str, Callable[[ParseNode], None]]
44
+ """
45
+ from .automation_condition_settings import AutomationCondition_settings
46
+
47
+ from .automation_condition_settings import AutomationCondition_settings
48
+
49
+ fields: dict[str, Callable[[Any], None]] = {
50
+ "id": lambda n : setattr(self, 'id', n.get_str_value()),
51
+ "isEnabled": lambda n : setattr(self, 'is_enabled', n.get_bool_value()),
52
+ "operator": lambda n : setattr(self, 'operator', n.get_str_value()),
53
+ "settings": lambda n : setattr(self, 'settings', n.get_object_value(AutomationCondition_settings)),
54
+ "type": lambda n : setattr(self, 'type', n.get_str_value()),
55
+ }
56
+ return fields
57
+
58
+ def serialize(self,writer: SerializationWriter) -> None:
59
+ """
60
+ Serializes information the current object
61
+ param writer: Serialization writer to use to serialize this model
62
+ Returns: None
63
+ """
64
+ if writer is None:
65
+ raise TypeError("writer cannot be null.")
66
+ writer.write_str_value("id", self.id)
67
+ writer.write_bool_value("isEnabled", self.is_enabled)
68
+ writer.write_str_value("operator", self.operator)
69
+ writer.write_object_value("settings", self.settings)
70
+ writer.write_str_value("type", self.type)
71
+ writer.write_additional_data_value(self.additional_data)
72
+
73
+
@@ -0,0 +1,65 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .automation_condition import AutomationCondition
9
+
10
+ @dataclass
11
+ class AutomationConditionGroup(AdditionalDataHolder, Parsable):
12
+ """
13
+ API DTO containing automation condition group data used by Leadping API contracts.
14
+ """
15
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
16
+ additional_data: dict[str, Any] = field(default_factory=dict)
17
+
18
+ # The conditions included with this automation condition group.
19
+ conditions: Optional[list[AutomationCondition]] = None
20
+ # The unique ID for this automation condition group.
21
+ id: Optional[str] = None
22
+ # The mode value for this automation condition group.
23
+ mode: Optional[str] = None
24
+
25
+ @staticmethod
26
+ def create_from_discriminator_value(parse_node: ParseNode) -> AutomationConditionGroup:
27
+ """
28
+ Creates a new instance of the appropriate class based on discriminator value
29
+ param parse_node: The parse node to use to read the discriminator value and create the object
30
+ Returns: AutomationConditionGroup
31
+ """
32
+ if parse_node is None:
33
+ raise TypeError("parse_node cannot be null.")
34
+ return AutomationConditionGroup()
35
+
36
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
37
+ """
38
+ The deserialization information for the current model
39
+ Returns: dict[str, Callable[[ParseNode], None]]
40
+ """
41
+ from .automation_condition import AutomationCondition
42
+
43
+ from .automation_condition import AutomationCondition
44
+
45
+ fields: dict[str, Callable[[Any], None]] = {
46
+ "conditions": lambda n : setattr(self, 'conditions', n.get_collection_of_object_values(AutomationCondition)),
47
+ "id": lambda n : setattr(self, 'id', n.get_str_value()),
48
+ "mode": lambda n : setattr(self, 'mode', n.get_str_value()),
49
+ }
50
+ return fields
51
+
52
+ def serialize(self,writer: SerializationWriter) -> None:
53
+ """
54
+ Serializes information the current object
55
+ param writer: Serialization writer to use to serialize this model
56
+ Returns: None
57
+ """
58
+ if writer is None:
59
+ raise TypeError("writer cannot be null.")
60
+ writer.write_collection_of_object_values("conditions", self.conditions)
61
+ writer.write_str_value("id", self.id)
62
+ writer.write_str_value("mode", self.mode)
63
+ writer.write_additional_data_value(self.additional_data)
64
+
65
+
@@ -0,0 +1,46 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ @dataclass
8
+ class AutomationCondition_settings(AdditionalDataHolder, Parsable):
9
+ """
10
+ The settings key-value data carried with this automation condition; values must be safe to expose in API responses.
11
+ """
12
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
13
+ additional_data: dict[str, Any] = field(default_factory=dict)
14
+
15
+
16
+ @staticmethod
17
+ def create_from_discriminator_value(parse_node: ParseNode) -> AutomationCondition_settings:
18
+ """
19
+ Creates a new instance of the appropriate class based on discriminator value
20
+ param parse_node: The parse node to use to read the discriminator value and create the object
21
+ Returns: AutomationCondition_settings
22
+ """
23
+ if parse_node is None:
24
+ raise TypeError("parse_node cannot be null.")
25
+ return AutomationCondition_settings()
26
+
27
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
28
+ """
29
+ The deserialization information for the current model
30
+ Returns: dict[str, Callable[[ParseNode], None]]
31
+ """
32
+ fields: dict[str, Callable[[Any], None]] = {
33
+ }
34
+ return fields
35
+
36
+ def serialize(self,writer: SerializationWriter) -> None:
37
+ """
38
+ Serializes information the current object
39
+ param writer: Serialization writer to use to serialize this model
40
+ Returns: None
41
+ """
42
+ if writer is None:
43
+ raise TypeError("writer cannot be null.")
44
+ writer.write_additional_data_value(self.additional_data)
45
+
46
+
@@ -0,0 +1,66 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ @dataclass
8
+ class AutomationPreviewActionResult(AdditionalDataHolder, Parsable):
9
+ """
10
+ API DTO containing automation preview action result data used by Leadping API contracts.
11
+ """
12
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
13
+ additional_data: dict[str, Any] = field(default_factory=dict)
14
+
15
+ # The action ID associated with this automation preview action result.
16
+ action_id: Optional[str] = None
17
+ # The rendered output value for this automation preview action result.
18
+ rendered_output: Optional[str] = None
19
+ # The summary value for this automation preview action result.
20
+ summary: Optional[str] = None
21
+ # The warnings included with this automation preview action result.
22
+ warnings: Optional[list[str]] = None
23
+ # Whether this automation preview action result would have side effect.
24
+ would_have_side_effect: Optional[bool] = None
25
+
26
+ @staticmethod
27
+ def create_from_discriminator_value(parse_node: ParseNode) -> AutomationPreviewActionResult:
28
+ """
29
+ Creates a new instance of the appropriate class based on discriminator value
30
+ param parse_node: The parse node to use to read the discriminator value and create the object
31
+ Returns: AutomationPreviewActionResult
32
+ """
33
+ if parse_node is None:
34
+ raise TypeError("parse_node cannot be null.")
35
+ return AutomationPreviewActionResult()
36
+
37
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
38
+ """
39
+ The deserialization information for the current model
40
+ Returns: dict[str, Callable[[ParseNode], None]]
41
+ """
42
+ fields: dict[str, Callable[[Any], None]] = {
43
+ "actionId": lambda n : setattr(self, 'action_id', n.get_str_value()),
44
+ "renderedOutput": lambda n : setattr(self, 'rendered_output', n.get_str_value()),
45
+ "summary": lambda n : setattr(self, 'summary', n.get_str_value()),
46
+ "warnings": lambda n : setattr(self, 'warnings', n.get_collection_of_primitive_values(str)),
47
+ "wouldHaveSideEffect": lambda n : setattr(self, 'would_have_side_effect', n.get_bool_value()),
48
+ }
49
+ return fields
50
+
51
+ def serialize(self,writer: SerializationWriter) -> None:
52
+ """
53
+ Serializes information the current object
54
+ param writer: Serialization writer to use to serialize this model
55
+ Returns: None
56
+ """
57
+ if writer is None:
58
+ raise TypeError("writer cannot be null.")
59
+ writer.write_str_value("actionId", self.action_id)
60
+ writer.write_str_value("renderedOutput", self.rendered_output)
61
+ writer.write_str_value("summary", self.summary)
62
+ writer.write_collection_of_primitive_values("warnings", self.warnings)
63
+ writer.write_bool_value("wouldHaveSideEffect", self.would_have_side_effect)
64
+ writer.write_additional_data_value(self.additional_data)
65
+
66
+
@@ -0,0 +1,58 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ @dataclass
8
+ class AutomationPreviewConditionResult(AdditionalDataHolder, Parsable):
9
+ """
10
+ API DTO containing automation preview condition result data used by Leadping API contracts.
11
+ """
12
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
13
+ additional_data: dict[str, Any] = field(default_factory=dict)
14
+
15
+ # The condition ID associated with this automation preview condition result.
16
+ condition_id: Optional[str] = None
17
+ # Whether this automation preview condition result is passed.
18
+ passed: Optional[bool] = None
19
+ # The summary value for this automation preview condition result.
20
+ summary: Optional[str] = None
21
+
22
+ @staticmethod
23
+ def create_from_discriminator_value(parse_node: ParseNode) -> AutomationPreviewConditionResult:
24
+ """
25
+ Creates a new instance of the appropriate class based on discriminator value
26
+ param parse_node: The parse node to use to read the discriminator value and create the object
27
+ Returns: AutomationPreviewConditionResult
28
+ """
29
+ if parse_node is None:
30
+ raise TypeError("parse_node cannot be null.")
31
+ return AutomationPreviewConditionResult()
32
+
33
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
34
+ """
35
+ The deserialization information for the current model
36
+ Returns: dict[str, Callable[[ParseNode], None]]
37
+ """
38
+ fields: dict[str, Callable[[Any], None]] = {
39
+ "conditionId": lambda n : setattr(self, 'condition_id', n.get_str_value()),
40
+ "passed": lambda n : setattr(self, 'passed', n.get_bool_value()),
41
+ "summary": lambda n : setattr(self, 'summary', n.get_str_value()),
42
+ }
43
+ return fields
44
+
45
+ def serialize(self,writer: SerializationWriter) -> None:
46
+ """
47
+ Serializes information the current object
48
+ param writer: Serialization writer to use to serialize this model
49
+ Returns: None
50
+ """
51
+ if writer is None:
52
+ raise TypeError("writer cannot be null.")
53
+ writer.write_str_value("conditionId", self.condition_id)
54
+ writer.write_bool_value("passed", self.passed)
55
+ writer.write_str_value("summary", self.summary)
56
+ writer.write_additional_data_value(self.additional_data)
57
+
58
+
@@ -0,0 +1,61 @@
1
+ from __future__ import annotations
2
+ from collections.abc import Callable
3
+ from dataclasses import dataclass, field
4
+ from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter
5
+ from typing import Any, Optional, TYPE_CHECKING, Union
6
+
7
+ if TYPE_CHECKING:
8
+ from .automation_request_snapshot import AutomationRequestSnapshot
9
+
10
+ @dataclass
11
+ class AutomationPreviewRequest(AdditionalDataHolder, Parsable):
12
+ """
13
+ API DTO containing automation preview data used by Leadping API contracts.
14
+ """
15
+ # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
16
+ additional_data: dict[str, Any] = field(default_factory=dict)
17
+
18
+ # The automation value for this automation preview.
19
+ automation: Optional[AutomationRequestSnapshot] = None
20
+ # The trigger type classification for this automation preview.
21
+ trigger_type: Optional[str] = None
22
+
23
+ @staticmethod
24
+ def create_from_discriminator_value(parse_node: ParseNode) -> AutomationPreviewRequest:
25
+ """
26
+ Creates a new instance of the appropriate class based on discriminator value
27
+ param parse_node: The parse node to use to read the discriminator value and create the object
28
+ Returns: AutomationPreviewRequest
29
+ """
30
+ if parse_node is None:
31
+ raise TypeError("parse_node cannot be null.")
32
+ return AutomationPreviewRequest()
33
+
34
+ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]:
35
+ """
36
+ The deserialization information for the current model
37
+ Returns: dict[str, Callable[[ParseNode], None]]
38
+ """
39
+ from .automation_request_snapshot import AutomationRequestSnapshot
40
+
41
+ from .automation_request_snapshot import AutomationRequestSnapshot
42
+
43
+ fields: dict[str, Callable[[Any], None]] = {
44
+ "automation": lambda n : setattr(self, 'automation', n.get_object_value(AutomationRequestSnapshot)),
45
+ "triggerType": lambda n : setattr(self, 'trigger_type', n.get_str_value()),
46
+ }
47
+ return fields
48
+
49
+ def serialize(self,writer: SerializationWriter) -> None:
50
+ """
51
+ Serializes information the current object
52
+ param writer: Serialization writer to use to serialize this model
53
+ Returns: None
54
+ """
55
+ if writer is None:
56
+ raise TypeError("writer cannot be null.")
57
+ writer.write_object_value("automation", self.automation)
58
+ writer.write_str_value("triggerType", self.trigger_type)
59
+ writer.write_additional_data_value(self.additional_data)
60
+
61
+